:root {
    --primary: #1a1a1a;
    --gold: #ffd700;
    --gold-dark: #b8860b;
}

/* ===== FONT FACES ===== */
@font-face {
    font-family: 'Josefin Sans';
    src: url('../images/fonts/JosefinSans-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('../images/fonts/JosefinSans-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('../images/fonts/JosefinSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('../images/fonts/JosefinSans-Bold.ttf') format('truetype');
    font-weight: 700;
}

body {
    font-family: 'Josefin Sans', sans-serif !important;
    background-color: var(--primary) !important;
    color: white !important;
}

.bg-primary {
    background-color: #1a1a1a !important;
}

.navbar {
    background-color: #1a1a1a !important;
}

.bg-primary-nav {
    background-color: var(--primary) !important;
    backdrop-filter: blur(12px);
}

.navbar.bg-primary-nav {
    background-color: var(--primary) !important;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary), rgba(30, 58, 138, 0.2), var(--primary)) !important;
}

.bg-gold-gradient {
    background: linear-gradient(to right, var(--gold), var(--gold-dark)) !important;
}

.bg-gold-subtle {
    background-color: rgba(255, 215, 0, 0.2) !important;
}

.bg-dark-subtle {
    background-color: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(4px);
}

.text-gold {
    color: white !important;
}

.text-gold-gradient {
    color: white !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-light-emphasis {
    color: #9ca3af !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

.font-josefin {
    font-family: 'Josefin Sans', sans-serif !important;
}

.btn-gold {
    background: linear-gradient(to right, var(--gold), var(--gold-dark));
    border: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    color: var(--primary);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--primary);
}

.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    color: white !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover {
    color: white !important;
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
}

/* Hero Carousel */
.hero-carousel {
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 14, 33, 0.6);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 80px;
}

/* Swiper Customization */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    background: var(--gold);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gold);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--gold);
    width: 44px;
    height: 44px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

/* Scroll Section */
.scroll-section {
    height: 100vh;
}

.drone-showcase {
    position: relative;
    z-index: 1;
}

.scroll-text-1,
.scroll-text-2,
.scroll-text-3,
.scroll-text-4 {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.text-content {
    max-width: 600px;
}

.scroll-text-1 h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-text-4 .bg-dark-subtle {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.scroll-text-3 .bg-gold {
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Scroll Progress Indicator */
.scroll-progress {
    z-index: 1000;
}

.scroll-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.3);
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-indicator.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

.scroll-indicator:hover {
    background-color: var(--gold);
    transform: scale(1.1);
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

/* Video Section */
.video-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.video-container:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.lazy-video {
    transition: opacity 0.3s ease;
}

.lazy-video[data-loaded="false"] {
    opacity: 0.7;
}

.video-overlay {
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .scroll-section .row {
        text-align: center;
    }

    .drone-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        min-height: 500px;
    }

    .slide-content {
        margin-top: 60px;
        padding: 0 15px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .drone-image {
        top: -35%;
        left: 34%;
    }

    .drone-image-container {
        width: 200px !important;
        height: 200px !important;
        margin: 0 auto !important;
        left: 20% !important;
        transform: translateX(-50%) !important;
    }

    .scroll-text-1 h2,
    .scroll-text-2 h2,
    .scroll-text-3 h2,
    .scroll-text-4 h2 {
        font-size: 1.5rem !important;
    }

    .text-content {
        text-align: center;
        padding: 0 15px;
    }

    .col-lg-6:last-child {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .scroll-section .row {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-carousel {
        min-height: 450px;
    }

    .slide-content {
        margin-top: 40px;
    }
}

@media (max-width: 991px) {
    .drone-image-container {
        width: 250px !important;
        height: 250px !important;
    }

    .text-content {
        padding-left: 0 !important;
        text-align: center;
    }
}