/* ========================================
   RETAIL DIVISION SPECIFIC STYLES
   Modern 2025 Design System Implementation
======================================== */
/* ========================================
   MAIN LAYOUT
======================================== */
.retail-main {
    padding-top: 70px; /* Header height offset */
    min-height: 100vh;
    margin-top: 70px;
}

@media screen and (max-width: 767px) {
    .retail-main {
        padding-top: 10px;
    }
}
/* ========================================
   HERO SECTION
======================================== */
.section-hero {
    background: var(--color-bg-base);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.hero-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 182px;
    line-height: 190px;
    letter-spacing: -4.7%;
    color: var(--color-hero);
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

@media screen and (max-width: 1023px) {
    .section-hero {
       padding: var(--spacing-xl) 0;
     }
    .hero-title {
        font-size: 120px;
        line-height: 128px;
        min-height: 150px;
    }
}
@media screen and (max-width: 767px) {
    .section-hero {
       padding: var(--spacing-lg) 0;
     }
    .hero-title {
        font-size: 52px;
        line-height: 56px;
        min-height: 80px;
    }
}
/* ========================================
   HERO IMAGE SECTION
======================================== */
.hero-image-section {
    padding: 0 0 var(--spacing-xxl) 0;
    background: var(--color-bg-base);
}

.hero-image-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--grid-margin);
    position: relative;
}

.hero-image {
    width: 100%;
    height: 824px;
    object-fit: cover;
    border-radius: clamp(12px, 3vw, 50px);
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(69, 48, 48, 0.2);
    /*border-radius: 50px;*/
    border-radius: clamp(12px, 3vw, 50px);

}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 900px;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay h1 {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 48px;
    line-height: 56px;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* Responsive */
@media screen and (max-width: 1023px) {
    .hero-image {
        height: 600px;
        /*border-radius: 25px;*/
    }
    
    .hero-image::after {
        /*border-radius: 25px;*/
    }
    
   .hero-overlay {
        width: 80%;
        height: auto;
        min-height: 80px;
    }
    
    .hero-overlay h1 {
        font-size: 36px;
        line-height: 42px;
    }
}

@media screen and (max-width: 767px) {
    .hero-image {
        height: 400px;
        /*border-radius: 16px;*/
    }
    
    .hero-image::after {
        /*border-radius: 16px;*/
    }
    
   .hero-overlay {
        width: 90%;
        height: auto;
        min-height: 60px;
    }
    
    .hero-overlay h1 {
        font-size: 28px;
        line-height: 34px;
    }
}
/* ========================================
   ABOUT OXYGEN DIGITAL SHOP SECTION
======================================== */
.about-section {
    padding: var(--spacing-xxl) 0; /* Increased padding for better scroll room */
    background: var(--color-bg-base);
    overflow: hidden; /* Important for animations that go outside bounds */
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--grid-margin);
}

.about-text {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: 38px;
    line-height: 52px;
    letter-spacing: -1.5%;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xl);
    text-align: left;
    display: block;
    word-spacing: 2px;
}

/* Initially hide words for GSAP animation to prevent FOUC */
.about-text .word {
    visibility: hidden;
}

.about-text .highlight {
    color: var(--color-primary);
    font-weight: var(--font-weight-regular);
    display: inline;
}

/* IMAGE FLASHING STYLES */
.image-flash-wrapper {
    position: relative; /* Container for absolutely positioned images */
    width: 80px;
    height: 50px;
    border-radius: 25px;
    vertical-align: middle;
    display: inline-block;
    margin: 0 6px;
}

.flash-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    opacity: 0; /* All images are hidden by default */
}

/* About Section - Tablet Responsive */
@media screen and (max-width: 1023px) {
    .about-content {
        max-width: 1000px;
    }
    
    .about-text {
        font-size: 32px;
        line-height: 44px;
        text-align: center;
    }
    
    .image-flash-wrapper {
        width: 60px;
        height: 45px;
        border-radius: 20px;
        margin: 0 4px;
    }
}

/* About Section - Mobile Responsive */
@media screen and (max-width: 767px) {
    .about-section {
        padding: var(--spacing-lg) 0;
    }   
    .about-content {
        max-width: 100%;
    }
    
    .about-text {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: var(--spacing-lg);
        text-align: justify;
    }
    
    .image-flash-wrapper {
        width: 40px;
        height: 30px;
        border-radius: 15px;
        margin: 0 3px;
    }
}
/* ========================================
   FEATURES SECTION - 3 COLUMN LAYOUT
======================================== */
.features-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-base);
    overflow: hidden;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--grid-margin);
    display: grid;
    grid-template-columns: 1fr 410px 1fr;
    gap: var(--spacing-xxl);
    align-items: flex-start;
}

/* Left Column - Title */
.features-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.features-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.badge-circle {
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.features-subtitle {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-medium);
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.36px;
    color: var(--color-text-primary);
    margin: 0;
}

.features-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-medium);
    font-size: 42px;
    line-height: 50px;
    letter-spacing: -0.9996px;
    color: var(--color-primary);
    margin: 0;
}

/* Center Column - Image */
.features-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 410px;
    height: 476px;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 auto; /* Add this line */
    /*box-shadow: var(--shadow-medium);*/
}

.features-image {
    width: 410px;
    height: 476px;
    object-fit: cover;
    border-radius: 20px;
    will-change: transform;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Right Column - Features */
.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.feature-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-medium);
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.2976px;
    color: var(--color-primary);
    margin: 0;
}

.feature-description {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0;
    color: var(--color-text-primary);
    margin: 0;
}

/* Responsive 
@media screen and (max-width: 1023px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
        text-align: left;
    }
    
    .features-title {
        font-size: 48px;
        line-height: 56px;
    }
    
    .features-image {
        width: 350px;
        height: 407px;
    }
    
    .features-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
}*/
@media screen and (max-width: 1023px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl); /* Change from var(--spacing-xs) */
        text-align: center; /* Change from "left" */
        max-width: 800px; /* Add this line */
    }
    
    .features-header {
        order: 1;
        align-items: center; /* Add this line */
    }
    
    .features-image-container {
        order: 2;
        width: 100%;
        max-width: 350px;
        height: 407px;
        margin: 0 auto;
    }
    
    .features-image {
        width: 100%;
        max-width: 350px;
        height: 407px;
    }
    
    .features-list {
        order: 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
        margin-top: var(--spacing-lg); /* Add this line */
    }
    
    .features-title {
        font-size: 48px;
        line-height: 56px;
        text-align: center; /* Add this line */
    }
}

@media screen and (max-width: 767px) {
   .features-header {
        text-align: left; /* Add this line */
    }

    .features-title {
        font-size: 34px;
        line-height: 40px;
        text-align: left; /* Add this line */
    }
    
    .feature-title {
        font-size: 24px;
        line-height: 30px;
        text-align: left;
    }

    .features-image-container {
        width: 100%;
        max-width: 280px; /* Add max-width */
    }
    
    .feature-description {
        font-size: 16px;
        line-height: 24px;
    }
    /*
    .features-image {
        width: 280px;
        height: 325px;
    }*/
    .features-image {
        width: 100%;
        height: 325px ;
        max-width: 280px; /* Add max-width */
    }
    
    .features-list {
        grid-template-columns: 1fr;
        text-align: left; /* Add this line */
    }
}
/* ========================================
   LOCATIONS SECTION
======================================== */
.locations-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-primary);
    color: white;
}

.locations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--grid-margin);
    text-align: center;
}

.locations-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-medium);
    font-size: 42px;
    line-height: 50px;
    letter-spacing: -0.9996px;
    color: white;
    margin-bottom: var(--spacing-xxl);
    text-align: left;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.location-item {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 50px;
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.location-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Locations Section Responsive */
@media screen and (max-width: 1023px) {
    .locations-section {
        padding: var(--spacing-xl) 0;
    }
    
    .locations-title {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: var(--spacing-xl);
    }
    
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .location-item {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 14px;
        line-height: 20px;
        border-radius: 40px;
    }
}

@media screen and (max-width: 767px) {
    .locations-section {
        padding: var(--spacing-lg) 0;
    }
    
    .locations-title {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: var(--spacing-lg);
        text-align: center;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .location-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 13px;
        line-height: 18px;
        border-radius: 30px;
    }
}


/* ========================================
   UTILITY STYLES
======================================== */

/* Container utility */
.container {
    max-width: var(--grid-max-width, 1440px);
    margin: 0 auto;
    padding: 0 var(--grid-margin, 80px);
    width: 100%;
}

/* Mobile visibility utilities */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media screen and (max-width: 767px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .container {
        padding: 0 var(--grid-margin, 20px);
    }
}

/* Focus states for accessibility */
.banner-btn:focus,
.location-item:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Performance optimizations */
.hero-image,
.features-image {
    will-change: transform;
}

.stat-icon,
.location-item,
.banner-btn {
    will-change: transform;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .banner-decoration {
        animation: none;
    }
}