/* Universal Settings Layout Framework */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.6;
    overflow-x: hidden !important;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* NAVBAR SYSTEM FIXED ALIGNMENTS */
.navbar {
    background-color: #000000 !important;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: background-color 0.4s ease;
}

.nav-content {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.brand-logo-link {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    display: inline-block;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vector-drone-graphic {
    position: relative;
    width: 32px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}
.brand-logo-container:hover .vector-drone-graphic { transform: scale(1.3) translateY(1px); }

.drone-body-core {
    width: 14px;
    height: 10px;
    background-color: #f5f5f7;
    border-radius: 4px;
    z-index: 5;
    border: 1.5px solid #0b2545;
}
.drone-camera-eye {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #000000;
    border-radius: 50%;
    bottom: 2px;
    z-index: 6;
    border: 1px solid #2997ff;
}
.drone-wing-left, .drone-wing-right {
    position: absolute;
    width: 12px;
    height: 4px;
    background-color: #cbd5e1;
    top: 4px;
    border-radius: 2px;
}
.drone-wing-left { left: -2px; transform: rotate(-12px); }
.drone-wing-right { right: -2px; transform: rotate(12px); }
.drone-prop-l, .drone-prop-r {
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: rgba(41, 151, 255, 0.6);
    top: 1px;
    border-radius: 50%;
}
.drone-prop-l { left: -5px; }
.drone-prop-r { right: -5px; }

/* GRADIENT BRANDING LOGO (BLACK-TO-BLUE-TO-WHITE) */
.logo-text-gradient {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #111112 0%, #0071e3 50%, #ffffff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
    text-decoration: none !important;
}

.nav-links { display: flex; align-items: center; }
.nav-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    margin-left: 24px;
    font-weight: 500;
    transition: color 0.2s;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.nav-links a:hover { color: #2997ff !important; }

.nav-links .nav-cta {
    background-color: #0071e3;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    border: none;
}

.theme-btn {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 24px;
}

/* BUTTON COMPRESSION PHYSICS INTERFACES */
.bouncable-btn {
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.bouncable-btn:active {
    transform: scale(0.96) !important;
}

/* Background Carousel Engine */
.hero-section {
    position: relative;
    height: 85vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000000;
}

#hero-carousel-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.carousel-item {
    position: absolute;
    top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover;
    transform: translate(-50%, -50%); opacity: 0; transition: opacity 1s ease-in-out; 
}
.carousel-item.active { opacity: 1; }

.hero-overlay-darkener {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); z-index: 2;
}

.hero-content-box { position: relative; z-index: 3; color: #ffffff; text-align: center; padding: 0 24px; }
.hero-badge {
    background-color: rgba(41, 151, 255, 0.25); color: #2997ff; padding: 6px 16px;
    border-radius: 30px; font-size: 13px; font-weight: 500; display: inline-block; margin-bottom: 24px;
    backdrop-filter: blur(5px);
}
.hero-section h1 {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 750px;
    margin: 0 auto 16px auto;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.tagline {
    font-size: 20px;
    color: #f5f5f7;
    max-width: 650px;
    margin: 0 auto 40px auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background-color: #0071e3;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.02);
}

.secondary-button {
    display: inline-block;
    color: #2997ff;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 20px;
    text-decoration: none;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 24px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #0b2545;
    transition: color 0.4s;
}

.story-box {
    max-width: 750px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: background-color 0.4s;
}

.highlight-p {
    font-size: 20px;
    font-weight: 600;
    color: #0071e3;
    margin-bottom: 20px;
}

.story-text {
    font-size: 16px;
    color: #1d1d1f;
    transition: color 0.4s;
}

.intro-p {
    font-size: 18px;
    color: #515154;
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px auto;
    transition: color 0.4s;
}

.card-grid {
    display: flex;
    gap: 30px;
}

.card {
    background-color: #ffffff;
    border-radius: 22px;
    padding: 40px;
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.4s;
}

.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pilot-badge {
    background-color: #0b2545;
    color: #ffffff;
}

.ops-badge {
    background-color: #e6f2ff;
    color: #0071e3;
}

.card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0b2545;
    transition: color 0.4s;
}

.card-text {
    font-size: 15px;
    color: #515154;
    margin-bottom: 16px;
    transition: color 0.4s;
}
.gallery-card-anchor {
    text-decoration: none !important;
    display: block;
    width: 100%;
}

.gallery-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 72px !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.gallery-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    overflow: visible !important;
}

.home-photo-wrapper-rounded {
    width: 100% !important;
    height: 620px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06) !important;
}

.gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.gallery-card-anchor:hover .gallery-item img {
    transform: scale(1.025) !important;
}

.gallery-overlay {
    position: static !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 750px !important;
    margin-top: 24px !important;
    padding: 0 16px !important;
    background: none !important;
    color: #1d1d1f !important;
}

.gallery-overlay h5 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0b2545 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.01em !important;
}

.gallery-overlay p {
    font-size: 16px !important;
    color: #515154 !important;
    line-height: 1.5 !important;
}

.gallery-clean-hero-title {
    padding-top: 150px;
    text-align: center;
    width: 100%;
}

.master-gallery-title {
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0b2545;
    transition: color 0.4s ease;
}

.gallery-viewport-matrix-grid {
    max-width: 1200px;
    margin: 40px auto 100px auto;
    padding: 0 24px;
    width: 100%;
}

.clean-grid-3x4 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
}

.matrix-grid-card-asset {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.asset-rounded-rectangle-box {
    width: 100%;
    height: 100%;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.asset-rounded-rectangle-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.matrix-grid-card-asset:hover .asset-rounded-rectangle-box img {
    transform: scale(1.035) !important;
}

.hover-expand-hint-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-radius: 24px;
    transition: opacity 0.3s ease;
}

.hover-expand-hint-badge span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.matrix-grid-card-asset:hover .hover-expand-hint-badge {
    opacity: 1;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-window-content {
    max-width: 85%;
    max-height: 80vh;
}

.lightbox-window-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 44px;
    cursor: pointer;
    opacity: 0.6;
}

.lightbox-close-btn:hover {
    opacity: 1;
}

.lightbox-nav-btn {
    position: absolute;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 44px;
    cursor: pointer;
    padding: 20px;
    opacity: 0.4;
}

.lightbox-nav-btn:hover {
    opacity: 1;
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

.spec-grid {
    display: flex;
    gap: 20px;
}

.spec-box {
    flex: 1;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    border-top: 3px solid #0071e3;
    border-left: 1px solid rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background-color 0.4s;
}

.spec-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0b2545;
    transition: color 0.4s;
}

.spec-box p {
    font-size: 14px;
    color: #515154;
    transition: color 0.4s;
}

.contact-box {
    background-color: #0b2545;
    color: #ffffff;
    border-radius: 28px;
    max-width: 976px;
    margin: 40px auto 100px auto;
    padding: 60px 40px;
    text-align: center;
}

.contact-box h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-box p {
    font-size: 18px;
    color: #f5f5f7;
    max-width: 750px;
    margin: 16px auto 40px auto;
}

.booking-form {
    max-width: 600px;
    margin: 30px auto 0 auto;
    text-align: left;
}

.input-group {
    margin-bottom: 20px;
}

.booking-form input, .booking-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
}

.booking-form .large-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

footer, .minimalist-brand-footer {
    background-color: #000000;
    color: #86868b;
    text-align: center;
    padding: 30px 20px;
    font-size: 13px;
}

body.dark-mode {
    background-color: #0d1117;
    color: #f0f6fc;
}

body.dark-mode .navbar {
    background-color: #000000 !important;
    border-bottom: none !important;
}

body.dark-mode .section-title, body.dark-mode .master-gallery-title {
    color: #58a6ff;
}

body.dark-mode .story-box, body.dark-mode .card, body.dark-mode .spec-box {
    background-color: #161b22;
    border-color: #30363d;
}

body.dark-mode .story-text, body.dark-mode .card h3, body.dark-mode .spec-box h4, body.dark-mode .gallery-overlay h5 {
    color: #ffffff !important;
}

body.dark-mode .card-text, body.dark-mode .spec-box p, body.dark-mode .gallery-overlay p {
    color: #c9d1d9 !important;
}

@media screen and (min-width: 1025px) {
    .gallery-viewport-matrix-grid {
        max-width: 1350px !important;
    }
    .clean-grid-3x4 {
        gap: 36px !important;
    }
    .asset-rounded-rectangle-box {
        border-radius: 28px !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05) !important;
    }
}

@media screen and (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }
    .nav-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .nav-links a {
        font-size: 12px;
        margin-left: 0;
        padding: 4px 6px;
    }
    .hero-section {
        height: auto !important;
        min-height: 65vh !important;
        padding-top: 140px !important;
        padding-bottom: 40px !important;
        display: flex !important;
        align-items: center !important;
    }
    .hero-content-box {
        margin-top: 0 !important;
    }
    .hero-section h1 {
        font-size: 34px;
    }
    .tagline {
        font-size: 16px;
    }
    .home-photo-wrapper-rounded {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        border-radius: 16px !important;
    }
    .gallery-grid {
        gap: 40px !important;
    }
    .clean-grid-3x4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .gallery-clean-hero-title {
        padding-top: 135px;
    }
    .master-gallery-title {
        font-size: 32px;
    }
    .gallery-viewport-matrix-grid {
        padding: 0 12px;
        margin-top: 24px;
    }
    .card-grid, .gallery-grid, .spec-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .gallery-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .gallery-overlay h5 {
        font-size: 19px !important;
    }
    .gallery-overlay p {
        font-size: 13px !important;
    }
}
