/* ==========================================
   BLIND FESTIVAL - PREMIUM NICHE AESTHETIC
   ========================================== */

/* CSS VARIABLES */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-mid: #999999;
    --gray-dark: #333333;
    --accent-blue: #0047ab;
    --accent-light-blue: #add8e6;
    --bg-light-blue: #f0f8ff;
    --transition-smooth: cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-instant: cubic-bezier(0.4, 0.0, 1, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-light-blue);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* HEADER */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s var(--transition-smooth);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
    padding: 0;
}

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

.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1D1D1F;
    transition: color 0.3s var(--transition-smooth);
}

.nav-brand:hover .brand-text {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 20px;
    background: var(--gray-mid);
}

.nav-links a {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    padding: 12px 32px;
    position: relative;
    transition: all 0.3s var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 32px;
    right: 32px;
    height: 3px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 120px;
    position: relative;
    /* Background with 50% transparency overlay */
    background-color: #ADD8E6; /* Light blue shows through transparency */
    background-image: linear-gradient(rgba(173, 216, 230, 0.5), rgba(173, 216, 230, 0.5)), url('hero-bg-NEW.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: visible;
}

/* REMOVED ::before pseudo-element approach - testing direct background instead */

/* White overlay removed - background photo shows through clearly */

/* Transparent Background Overlay Image */
/* TRANSPARENT OVERLAY - Rename your image to: hero-overlay.png (will display at 30% opacity) */
.hero-transparent-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('hero-overlay.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Floating Decorative Images */
.floating-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}

.float-img {
    position: absolute;
    width: 120px !important;
    height: 120px !important;
    min-width: 120px;
    max-width: 120px;
    min-height: 120px;
    max-height: 120px;
    background: transparent;
    object-fit: contain;
    object-position: center;
    opacity: 0.8;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.float-1 {
    top: 16%;
    left: 2%;
    animation: float-1 1.5s ease-in-out infinite; /* Much faster - 1.5s cycle */
}

.float-2 {
    top: 12%;
    right: 5%;
    animation: float-2 1.8s ease-in-out infinite; /* Much faster - 1.8s cycle */
}

.float-3 {
    bottom: 5%;
    left: 5%;
    animation: float-3 2s ease-in-out infinite; /* Much faster - 2s cycle */
}

.float-4 {
    bottom: 5%;
    right: 5%;
    animation: float-4 9s ease-in-out infinite;
    display: none; /* Hidden per user request */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 620px; /* Reduced from 700px - narrower box */
    margin: 0 auto;
    padding: 45px 55px; /* Reduced from 60px 80px - more compact */
    border: 6px solid var(--black);
    background: rgba(255, 255, 255, 0.15); /* Very transparent - photo shows through */
    backdrop-filter: blur(2px); /* Minimal blur - photo stays crisp */
    box-shadow: 0 0 0 var(--accent-blue);
    overflow: hidden; /* Contain the background image */
}

/* Semi-transparent background image behind hero text */
.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('hero-content-bg.jpg'); /* Your background image file */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2; /* 20% opacity - adjust between 0.1 (subtle) to 0.4 (strong) */
    z-index: 0; /* Base layer - text will be above */
    pointer-events: none; /* Don't interfere with clicks */
}

/* NEW: Small tagline above main title */
.hero-tagline {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 20px;
    opacity: 0.8;
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.9),
        0 2px 4px rgba(255, 255, 255, 0.7);
}

.hero-title {
    position: relative;
    z-index: 1;
    font-size: clamp(48px, 8vw, 90px); /* Reduced from clamp(64px, 10vw, 140px) to fit smaller box */
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
    color: var(--black);
    /* Strong text shadows for readability against photo background */
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.9),
        0 4px 8px rgba(255, 255, 255, 0.8),
        0 8px 16px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--black);
    margin-bottom: 60px;
    /* Text shadow for readability */
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.95),
        0 4px 8px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.6);
}

.hero-cta {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* BUTTONS */
.btn-primary,
.btn-outline {
    padding: 18px 48px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
    border: 3px solid var(--accent-blue);
    border-bottom: 6px solid var(--black);
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.3s var(--transition-smooth);
    z-index: 0;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--white);
    border: 3px solid var(--black);
    border-bottom: 6px solid var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 0 var(--accent-blue), 0 10px 20px rgba(0, 71, 171, 0.4);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn-primary span {
    position: relative;
    z-index: 1;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}

/* FEATURES */
.features {
    padding: 160px 0;
    background: var(--accent-light-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}

.feature-item {
    text-align: center;
    padding: 48px 32px;
    border: 3px solid var(--black);
    background: var(--white);
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 100%;
    height: 100%;
    background: var(--white);
    border: 3px solid var(--black);
    z-index: -1;
    transition: all 0.3s var(--transition-smooth);
    opacity: 0;
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
}

.feature-item:hover::after {
    opacity: 1;
    top: -10px;
    right: -10px;
}

.feature-item:hover i {
    color: var(--accent-blue);
}

.feature-item:hover h3 {
    color: var(--accent-blue);
}

.feature-item:hover p {
    color: var(--accent-blue);
}

.feature-item i {
    font-size: 40px;
    color: var(--black);
    margin-bottom: 32px;
    display: block;
}

.feature-item h3 {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--black);
}

.feature-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-dark);
}

/* SECTION DIVIDERS */
.section-divider {
    width: 100%;
    height: 3px;
    background: var(--black);
    margin: 0;
}

.section-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    color: var(--black);
    padding: 20px 0;
    border-bottom: 2px solid var(--black);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-blue);
}

/* PRODUCT SHOWCASE */
/* VALUE PROPOSITION SECTION */
.value-proposition {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.value-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #86868B;
    margin: 0 0 16px 0;
}

.value-headline {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1D1D1F;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.value-subheadline {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #86868B;
    max-width: 600px;
    margin: 0 auto;
}


.product-showcase {
    padding: 60px 0 80px 0;
    background: var(--bg-light-blue);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 850px;
    margin: 0 auto;
}

.product-box {
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    border: 3px solid var(--black);
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-box:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 12px 32px rgba(0, 71, 171, 0.2);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 0.75;
    background: var(--bg-light);
    margin-bottom: 0;
    overflow: hidden;
    border-bottom: 3px solid var(--black);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.product-box:hover .product-image img {
    transform: scale(1.05);
}

/* Click Hint Overlay */

.click-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 10px 20px;
    background: var(--accent-blue);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
}

.product-box:hover .click-hint {
    opacity: 1;
}

.product-info {
    text-align: center;
    padding: 18px 16px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--black);
}

.product-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-mid);
}

.product-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--black);
}

.shirt-value {
    font-size: 12px;
    font-weight: 600;
    color: #0047ab;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.product-hook {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    margin: 0;
}



/* GALLERY */
.gallery {
    padding: 160px 0;
    background: var(--bg-light-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* Dedication Item Wrapper - Bulletproof Fallback Structure */
.dedication-item {
    background-color: #F5F5F7;
    border-radius: 24px;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

/* Fallback Text (Background Layer - Shows When Image Fails) */
.fallback-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #86868B;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    z-index: 1;
    pointer-events: none;
}

/* Dedication Image (Foreground Layer - Overlays Fallback) */
.dedication-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.6s var(--transition-smooth);
}

.dedication-item:hover .dedication-img {
    transform: scale(1.08);
}

/* Gallery Button Container */
.gallery-button-container {
    text-align: center;
    margin-top: 24px;
}

/* See More Button (Coming Soon) */
.see-more-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    color: #1D1D1F;
    background-color: #E5E5EA;
    border: none;
    border-radius: 99px;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    background-color: #D1D1D6;
    transform: translateY(-2px);
}

.see-more-btn:active {
    transform: translateY(0);
}

/* Hide See More button when all photos loaded */
.see-more-btn.hidden {
    display: none;
}

/* Lightbox Modal */
.lightbox-hidden {
    display: none;
}

.lightbox-visible {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 10000;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Lightbox Navigation Arrows - Dark Frosted Glass for High Contrast */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.6);
}

#lightbox-prev {
    left: 20px;
}

#lightbox-next {
    right: 20px;
}

/* Mobile adjustments for lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    #lightbox-img {
        max-width: 95vw;
        max-height: 85vh;
        border-radius: 12px;
    }
    
    /* Move navigation arrows below image on small screens to avoid overlap */
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    #lightbox-prev {
        left: 10px;
    }
    
    #lightbox-next {
        right: 10px;
    }
}

/* CONTRIBUTORS */
.contributors {
    padding: 160px 0;
    background: var(--accent-light-blue);
}

.loading-state {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gray-mid);
    padding: 60px 0;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 3px;
    background: var(--black);
    border: 3px solid var(--black);
}

.contributor-item {
    background: var(--white);
    padding: 32px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--black);
    transition: all 0.3s var(--transition-smooth);
}

.contributor-item:hover {
    background: var(--accent-blue);
    color: var(--white);
}

/* SPLIT SECTION (ABOUT + CONTACT) */
.split-section {
    padding: 160px 0;
    background: var(--bg-light-blue);
    border-top: 4px solid var(--black);
    border-bottom: 4px solid var(--black);
    position: relative;
}

.split-section::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-blue);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 160px;
}

.about-side h2,
.contact-side {
    border-left: 4px solid var(--black);
    padding-left: 120px;
    position: relative;
}

.about-side h2::before,
.contact-side::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-blue);
}

.contact-side h2 {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 48px;
    color: var(--black);
    padding-bottom: 20px;
    border-bottom: 3px solid var(--black);
    position: relative;
}

.contact-side h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
}

.about-text p {
    font-size: 20px;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 28px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* CONTACT FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-field {
    position: relative;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 20px 24px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.1em;
    background: var(--white);
    border: 2px solid var(--gray-mid);
    color: var(--black);
    text-transform: uppercase;
    appearance: none;
    border-radius: 0;
    transition: all 0.3s var(--transition-smooth);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    background: var(--bg-light-blue);
    color: var(--black);
    border: 3px solid var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 71, 171, 0.1), 0 4px 12px rgba(0, 71, 171, 0.2);
    transform: translateY(-2px);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--gray-mid);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.form-field textarea {
    resize: none;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 20px;
    background: var(--accent-blue);
    color: var(--white);
    border: 3px solid var(--accent-blue);
    border-radius: 0;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #003d8f;
    transition: left 0.3s var(--transition-smooth);
    z-index: 0;
}

.contact-form .btn-primary:hover::before {
    left: 0;
}

.contact-form .btn-primary:hover {
    color: var(--white);
    border: 3px solid var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.4);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.contact-form .btn-primary span {
    position: relative;
    z-index: 1;
    font-weight: 900;
    letter-spacing: 1.5px;
}

/* SOCIAL LINKS IN CONTACT SECTION */
.social-links {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #E5E5EA;
}

.social-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #86868B;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: #1D1D1F;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link i {
    font-size: 20px;
    color: #0047ab;
    transition: transform 0.2s ease;
}

.social-link:hover {
    color: #0047ab;
}

.social-link:hover i {
    transform: scale(1.1);
}

/* ABOUT IMAGE CONTAINER */
.about-image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-bottom: 24px;
    aspect-ratio: 1 / 1;
    border: none;
    border-radius: 16px;
    background-color: #F5F5F7;
    overflow: hidden;
}

.about-image-container .fallback-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #86868B;
    font-size: 14px;
    font-weight: 500;
}

.borderless-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    border: none;
    border-radius: 16px;
}


/* FOOTER */
.footer {
    padding: 60px 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
    border-top: 6px solid var(--black);
}

.footer p {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* MODAL - PREMIUM SMOOTH ANIMATION */
.modal {
    /* Remove display: none - use opacity/visibility instead for smooth transitions */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.96);
    z-index: 2000;
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Premium easing with cubic-bezier */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
    /* Active state - smooth reveal */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    width: 90vw;
    max-width: 950px;
    height: 80vh;
    max-height: 80vh;
    overflow: hidden;
    padding: 0;
    border: none;
    background: var(--white);
    border-radius: 24px;
    /* Soft Apple-style shadow */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    /* Prevent zoom on touch devices */
    touch-action: manipulation;
    /* Default state - slightly shifted down */
    transform: translateY(20px);
    /* Premium easing - matches modal */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
    /* Active state - slide up to position */
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    color: #666;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2001;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    transform: scale(1.1);
}

/* MODAL BODY - 2 COLUMN GRID */
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: 50vh;
    max-height: calc(95vh - 120px);
    background: var(--white);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Single column layout for standard edition (no model lookbook) */
.modal-body.single-column {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

/* LEFT COLUMN - DATA HUB */
.modal-left {
    padding: 4%;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    border-right: 1px solid #E5E5EA;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

/* Premium iOS-style scrollbar */
.modal-left::-webkit-scrollbar {
    width: 6px;
}

.modal-left::-webkit-scrollbar-track {
    background: transparent;
}

.modal-left::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.modal-left::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Fix bottom padding trap - force extra scrollable space */
.modal-left::after {
    content: "";
    display: block;
    height: 40px;
    width: 100%;
    flex-shrink: 0;
}

.modal-body.single-column .modal-left {
    border-right: none;
}

.modal-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: none;
    margin-bottom: 12px;
    color: #1d1d1f;
}
.modal-price {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: #1d1d1f;
    margin: 16px 0 12px 0;
}

.modal-hook {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 400;
    line-height: 1.5;
    color: #666;
    margin: 0 0 24px 0;
}



/* STATS LIST */
.modal-stats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-stats li {
    padding: 16px 0;
    border-bottom: 1px solid #E5E5EA;
    display: flex;
    justify-content: space-between;
    font-weight: 400;
    font-size: 15px;
    color: #666;
}

.modal-stats li:last-child {
    border-bottom: none;
}

.modal-stats li.jackpot {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 17px;
}

/* SHIRT DISPLAY */
.shirt-display {
    width: 100%;
    aspect-ratio: 1;
    background: #F5F5F7;
    border: none;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.shirt-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* DYNAMIC SHIRT CONTAINER - Premium Crossfade Animation */
.dynamic-shirt-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.shirt-base,
.shirt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shirt-base {
    z-index: 1;
}

.shirt-overlay {
    z-index: 2;
    animation: shirtCrossfade 4s ease-in-out infinite; /* Updated: 4s total, 1.7s pauses */
}

/* Crossfade Animation - 1.7s pause phases with 0.3s fades */
@keyframes shirtCrossfade {
    0% {
        opacity: 1; /* Image 1 visible - start of 1.7s hold */
    }
    42.5% {
        opacity: 1; /* End of 1.7s hold */
    }
    50% {
        opacity: 0; /* Fade complete after 0.3s - Image 2 now visible */
    }
    92.5% {
        opacity: 0; /* End of 1.7s hold on Image 2 */
    }
    100% {
        opacity: 1; /* Fade complete after 0.3s - back to Image 1 */
    }
}

/* Image fade animations */
.shirt-display img.fade-out,
.model-image.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

.shirt-display img.fade-in,
.model-image.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* COLOR SWATCHES */
.color-swatches {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap !important;
}

.color-swatch {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 1;
}

.color-swatch:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-swatch.active {
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 0 0 2px var(--white),
        0 0 0 4px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

/* Click animation for color swatches */
@keyframes swatchClick {
    0% { 
        transform: scale(1.05); 
    }
    50% { 
        transform: scale(1.12); 
    }
    100% { 
        transform: scale(1.05); 
    }
}

/* Color Swatch Specific Colors */
.color-swatch[data-color="khaki"] { background: #C3B091; }
.color-swatch[data-color="olive"] { background: #556B2F; }
.color-swatch[data-color="charcoal"] { background: #6E6E6E; }
.color-swatch[data-color="navy"] { background: #000080; }
.color-swatch[data-color="electric"] { background: #00adff; }
.color-swatch[data-color="lime"] { background: #01ef01; }
.color-swatch[data-color="yellow"] { background: #FFD700; }
.color-swatch[data-color="orange"] { background: #FF8C00; }

/* DYNAMIC COLOR TEXT IN LEFT COLUMN */
.color-meaning-dynamic {
    padding: 24px 0;
    border-bottom: 1px solid #E5E5EA;
    margin-bottom: 20px;
}

.dynamic-color-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: #1d1d1f;
}

.dynamic-color-description {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: #666;
    font-weight: 400;
}

/* RIGHT COLUMN - MODEL LOOKBOOK */
.modal-right {
    width: 100%;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    background: var(--gray-dark);
}

.model-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

/* RESPONSIVE - MODAL INTERIOR */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .modal-left {
        padding: 3%;
        border-right: none;
        border-bottom: 3px solid var(--black);
    }
    
    .modal-stats li {
        font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    }
    
    .shirt-display {
        padding: 16px;
    }
    
    .color-swatch {
        width: 38px;
        height: 38px;
    }
    
    .color-meaning-dynamic {
        padding: 16px 0;
        margin-bottom: 12px;
    }
    
    .dynamic-color-title {
        font-size: 14px;
        letter-spacing: 0.8px;
    }
    
    .dynamic-color-description {
        font-size: 12px;
    }
    
    .modal-right {
        padding: 0;
        min-height: 300px;
    }
    
    .model-image {
        min-height: 40vh;
    }
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }

    .products-grid {
        gap: 30px;
    }

    .split-grid {
        gap: 80px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    /* FORCE UNLOCK SCROLL ON MOBILE - FIX SCROLL LOCK */
    body {
        overflow-x: hidden !important;
        overflow-y: auto !important; /* Ensure vertical scrolling always works */
        position: relative !important;
    }
    
    html {
        overflow-y: auto !important; /* Ensure page can scroll */
    }
    
    /* Hide floating decorative images on mobile */
    .float-1, .float-2, .float-3, .float-4 {
        display: none;
    }
    
    .container {
        padding: 0 24px;
    }

    .main-nav {
        height: 70px;
    }

    .nav-links {
        display: none;
    }
    
    /* Apple-style mobile navigation */
    .nav-brand {
        gap: 8px !important; /* Reduce gap between logo and text on mobile */
    }
    
    .brand-text {
        font-size: 16px !important;
    }
    
    .brand-logo {
        height: 32px !important; /* Larger logo on mobile - matches previous desktop size */
        width: auto !important;
    }

    .hero {
        min-height: 70vh !important; /* Taller hero = more image visible, better crop */
        padding: 120px 0 60px; /* Adjusted padding */
        padding-top: 120px !important; /* Reduced from 140px - adequate header clearance */
        padding-bottom: 60px !important; /* Extra bottom space to prevent button overlap */
        height: auto !important; /* Allow natural height expansion */
        background-attachment: scroll !important; /* Disable parallax on mobile for smooth scrolling */
        /* CROP AND ZOOM BACKGROUND IMAGE FOR MOBILE */
        background-size: cover !important; /* Force zoom to fill space */
        background-position: center 30% !important; /* Crop to show upper portion - focuses on people */
        background-repeat: no-repeat !important;
    }
    
    .hero-content {
        backdrop-filter: none; /* Remove blur effect on mobile for better performance */
        -webkit-backdrop-filter: none;
        transform: translateZ(0); /* Enable hardware acceleration for smooth scrolling */
        width: 90%; /* Responsive width */
        max-width: 400px; /* Maximum width constraint */
        padding: 30px 20px; /* Clean internal padding */
        margin: 0 auto; /* Center the card */
        box-sizing: border-box; /* Include padding in width calculation */
        border: none; /* REMOVE heavy black borders */
        box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Subtle Apple-style shadow */
        border-radius: 24px; /* Soft rounded corners */
        overflow: visible !important; /* Allow content to breathe - no scroll lock */
    }
    
    .hero-content::before {
        display: none; /* Remove background image overlay on mobile - prevents layering issues */
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 5rem); /* Responsive scaling - never cuts off */
        margin-bottom: 24px; /* Reduced spacing */
        line-height: 1.1; /* Tighter line height */
        word-break: break-word; /* Prevent overflow */
    }

    .hero-subtitle {
        font-size: 15px; /* Slightly smaller */
        margin-bottom: 32px; /* Reduced spacing */
        line-height: 1.5; /* Better readability */
    }

    .hero-cta {
        flex-direction: column;
        gap: 14px; /* Tighter gap */
        width: 100%; /* Full width of container */
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        padding: 16px 32px; /* Smaller padding for mobile */
        font-size: 14px; /* Slightly smaller text */
        white-space: nowrap; /* Prevent text wrapping */
        /* FORCE REMOVE BRUTALIST BORDERS & SHADOWS */
        border: none !important; /* Remove thick borders */
        border-bottom: none !important; /* Remove heavy bottom border */
        box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important; /* Apple-style soft shadow */
        border-radius: 24px !important; /* Soft rounded corners */
    }
    
    .btn-primary {
        background: var(--accent-blue) !important;
        color: var(--white) !important;
    }
    
    .btn-outline {
        background: var(--white) !important;
        color: var(--black) !important;
        border: 1px solid #E5E5EA !important; /* Subtle Apple border */
    }

    .features,
    .product-showcase,
    .gallery,
    .contributors,
    .split-section {
        padding: 50px 0;
    }

    .features-grid {
        display: flex !important; /* Change from grid to flex */
        flex-direction: column !important; /* Stack vertically */
        gap: 24px !important; /* Clean breathing space between cards */
    }
    
    /* NUKE BRUTALIST FEATURE CARD BORDERS & SHADOWS */
    .feature-item {
        border: none !important; /* Remove thick black borders */
        box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important; /* Apple-style shadow */
        border-radius: 24px !important; /* Soft rounded corners */
        padding: 32px 24px !important; /* Adjust padding for mobile */
    }
    
    .feature-item::after {
        display: none !important; /* Remove brutalist double-border effect */
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    /* Make click hints always visible on mobile (no hover on touch) */
    .click-hint {
        opacity: 1;
        font-size: 13px;
        animation: mobile-pulse 1.8s ease-in-out infinite; /* Faster pulse - reduced from 2.5s */
    }
    
    @keyframes mobile-pulse {
        0%, 100% { 
            transform: translateX(-50%) scale(1); 
        }
        50% { 
            transform: translateX(-50%) scale(1.08); 
        }
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .modal-content {
        padding: 48px 32px;
    }

    .modal-left {
        padding: 4%;
        gap: 24px;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .modal-images {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contributors-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    /* Contact Form Mobile */
    .contact-form {
        padding: 48px 32px;
    }

    .contact-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .contact-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }

    /* Feature Boxes Mobile - Reduce shadow offset */
    .feature-item::after {
        top: -5px;
        right: -5px;
    }

    .feature-item:hover::after {
        top: -6px;
        right: -6px;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 60px;
    }

    /* Floating Images Mobile - Repositioned but same size */
    .float-img {
        opacity: 0.5;
    }

    .float-1 {
        top: 10%;
        left: 5%;
    }

    .float-2 {
        top: 20%;
        right: 5%;
    }

    .float-3 {
        bottom: 15%;
        left: 8%;
    }

    .float-4 {
        bottom: 25%;
        right: 8%;
    }
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */

/* Floating Animation 1 - Gentle diagonal movement */
@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(var(--zoom-compensation, 1));
    }
    25% {
        transform: translate(10px, -15px) rotate(5deg) scale(var(--zoom-compensation, 1));
    }
    50% {
        transform: translate(20px, -10px) rotate(-5deg) scale(var(--zoom-compensation, 1));
    }
    75% {
        transform: translate(10px, -20px) rotate(3deg) scale(var(--zoom-compensation, 1));
    }
}

/* Floating Animation 2 - Wave-like motion */
@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(var(--zoom-compensation, 1));
    }
    25% {
        transform: translate(-15px, 10px) rotate(-5deg) scale(var(--zoom-compensation, 1));
    }
    50% {
        transform: translate(-25px, 5px) rotate(5deg) scale(var(--zoom-compensation, 1));
    }
    75% {
        transform: translate(-15px, 15px) rotate(-3deg) scale(var(--zoom-compensation, 1));
    }
}

/* Floating Animation 3 - Circular path */
@keyframes float-3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(var(--zoom-compensation, 1));
    }
    25% {
        transform: translate(15px, 10px) rotate(7deg) scale(var(--zoom-compensation, 1));
    }
    50% {
        transform: translate(10px, 20px) rotate(-7deg) scale(var(--zoom-compensation, 1));
    }
    75% {
        transform: translate(-5px, 10px) rotate(4deg) scale(var(--zoom-compensation, 1));
    }
}

/* Floating Animation 4 - Smooth drift */
@keyframes float-4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(var(--zoom-compensation, 1));
    }
    25% {
        transform: translate(-10px, -12px) rotate(-6deg) scale(var(--zoom-compensation, 1));
    }
    50% {
        transform: translate(-20px, -8px) rotate(6deg) scale(var(--zoom-compensation, 1));
    }
    75% {
        transform: translate(-10px, -18px) rotate(-4deg) scale(var(--zoom-compensation, 1));
    }
}


/* ==========================================
   HERO ENTRANCE ANIMATIONS
   ========================================== */

/* Hero title entrance - dramatic scale and fade */
@keyframes heroTitleEntrance {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Hero subtitle entrance - fade up */
@keyframes heroSubtitleEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero button entrance - pop effect */
@keyframes heroButtonEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Pulse glow effect for primary button */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 71, 171, 0.7);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(0, 71, 171, 0);
    }
}



/* ==========================================
   HERO VISUAL ENHANCEMENTS
   ========================================== */

/* Apply entrance animation to hero title */
.hero-title {
    animation: heroTitleEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

/* Apply entrance animation to hero subtitle */
.hero-subtitle {
    animation: heroSubtitleEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

/* Apply entrance animation to hero buttons */
.hero-cta .btn-primary {
    animation: heroButtonEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

.hero-cta .btn-outline {
    animation: heroButtonEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s backwards;
}

/* Enhanced glow effect for primary button */
.hero-cta .btn-primary {
    animation: heroButtonEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards,
               pulseGlow 2s ease-in-out 2s infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 71, 171, 0.3));
}

.hero-cta .btn-primary:hover {
    filter: drop-shadow(0 8px 20px rgba(0, 71, 171, 0.5));
}

/* Enhanced hover for outline button */
.hero-cta .btn-outline:hover {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Add depth to hero content box */
.hero-content {
    animation: heroContentEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0s backwards;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-content:hover {
    transform: scale(1.02);
    box-shadow: 0 0 0 var(--accent-blue),
                0 10px 40px rgba(0, 71, 171, 0.2);
}

/* Hero content entrance animation */
@keyframes heroContentEntrance {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced floating images with better glow */
.float-img {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
    transition: filter 0.3s ease;
}

.float-img:hover {
    filter: drop-shadow(0 12px 30px rgba(0, 71, 171, 0.4));
}

/* Add subtle gradient overlay to hero background for depth */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(173, 216, 230, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 71, 171, 0.15) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
    animation: gradientShift 10s ease-in-out infinite;
}

/* Gradient shift animation for ambient movement */
@keyframes gradientShift {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.7;
    }
}



/* ==========================================
   ADVANCED HERO POLISH & EFFECTS
   ========================================== */

/* Text glow effect on hero title hover */
.hero-title {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-title:hover {
    text-shadow:
        0 2px 4px rgba(255, 255, 255, 0.9),
        0 4px 8px rgba(255, 255, 255, 0.8),
        0 8px 16px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(0, 71, 171, 0.5),
        0 0 80px rgba(0, 71, 171, 0.3);
    transform: scale(1.02);
}

/* Shimmer effect on hero subtitle */
.hero-subtitle {
    position: relative;
    overflow: hidden;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: shimmer 3s ease-in-out 2s infinite;
}

@keyframes shimmer {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

/* Button press effect */
.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 var(--accent-blue), 0 5px 10px rgba(0, 71, 171, 0.3);
}

.btn-outline:active {
    transform: translateY(2px) scale(0.98);
}

/* Floating images parallax effect on scroll */
.float-img {
    will-change: transform;
    transition: transform 0.1s ease-out, filter 0.3s ease;
}

/* Add breathing animation to floating images */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.float-1, .float-2, .float-3, .float-4 {
    animation-duration: 8s, 4s;
    animation-name: float-1, breathe;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.float-2 {
    animation-name: float-2, breathe;
    animation-delay: 0s, 1s;
}

.float-3 {
    animation-name: float-3, breathe;
    animation-delay: 0s, 2s;
}


/* ==========================================
   FINAL HERO POLISH - SCROLL & PREMIUM EFFECTS
   ========================================== */

/* Smooth parallax scroll effect for hero background */
@media (prefers-reduced-motion: no-preference) {
    .hero {
        background-attachment: fixed;
    }
}

/* Add subtle vignette effect to hero edges */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Premium glass morphism effect on hover for hero content */
.hero-content {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hero-content:hover {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.25);
}

/* Sophisticated border glow on hero content */
.hero-content::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid rgba(0, 71, 171, 0.3);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-content:hover::after {
    opacity: 1;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(0, 71, 171, 0.3);
    }
    50% {
        border-color: rgba(0, 71, 171, 0.6);
    }
}

/* Premium button text effect */
.btn-primary span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-primary:hover span {
    transform: scale(1.05);
}




/* ==========================================
   SCROLL REVEAL ANIMATIONS FOR ALL SECTIONS
   ========================================== */

/* Base scroll reveal animation */
@keyframes scrollReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature items reveal on scroll */
.feature-item {
    animation: scrollReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Enhanced hover effects for feature items */
.feature-item {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.feature-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-blue);
}

/* Box items reveal */
.box-card {
    animation: scrollReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.box-card:hover {
    transform: translateY(-12px) scale(1.03);
}

/* Gallery items reveal with stagger */
.gallery-item {
    animation: scrollReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* Section titles reveal */
.section-title {
    animation: scrollReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}



/* ==========================================
   GALLERY, CONTACT & OVERALL SITE POLISH
   ========================================== */

/* Enhanced gallery image effects */
.gallery-item img {
    transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    filter: grayscale(0%) brightness(1);
}

.gallery-item:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.2) 0%, rgba(173, 216, 230, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Enhanced contact form with glow effects */
.contact-form input,
.contact-form textarea {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 71, 171, 0.15),
                0 0 0 3px rgba(0, 71, 171, 0.1);
    border-color: var(--accent-blue);
}

/* Social links hover effects */
.social-link {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

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

.social-link:hover {
    transform: translateX(8px);
    color: var(--accent-blue);
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Smooth page entrance */
body {
    animation: pageEntrance 0.6s ease-out;
}

@keyframes pageEntrance {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Enhanced section transitions */
section {
    transition: all 0.3s ease;
}

