/* ========================================
   ECOMMERCE DEPARTMENT PAGE STYLES
   Modern 2025 Design System Implementation
   Organized by sections with responsive styles
======================================== */

/* ========================================
   MAIN LAYOUT & GLOBAL STYLES
======================================== */
.ecommerce-main {
    /*padding-top: 70px; /* Header height offset */
    min-height: 100vh;
    
}


/* ========================================
   HERO SECTION (PAGE TITLE)
======================================== */
.ecommerce-hero {
    background: var(--color-bg-base);
    padding: var(--spacing-sm) 0;
    text-align: center;
}

.hero-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 116px;
    line-height: 124px;
    letter-spacing: -4.7%;
    color: var(--color-hero);
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Hero Section - Tablet Responsive */
@media screen and (max-width: 1023px) {
    .hero-title {
        font-size: 120px;
        line-height: 126px;
        min-height: 150px;
    }
}

/* Hero Section - Mobile Responsive */
@media screen and (max-width: 767px) {
    .ecommerce-hero {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-title {
        font-size: 80px;
        line-height: 45px;
        min-height: 120px;
    }
}

/* Hero Section - Very Small Mobile */
@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 42px;
        line-height: 46px;
        min-height: 100px;
    }
}

@media screen and (max-width: 360px) {
    .hero-title {
        font-size: 45px;
        line-height: 30px;
        min-height: 80px;
    }
}

/* ========================================
   BANNER SECTION (CONTENT WITH PHONE ANIMATION)
======================================== */
.ecommerce-banner {
    background: var(--color-bg-base);
    /*padding: var(--spacing-xxl) 0;*/
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.banner-left {
    padding-right: var(--spacing-lg);
}

.banner-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-animation-container {
    width: 100%;
    max-width: 720px;
    height: 700px;
    position: relative;
    /*border-radius: 20px;*/
    overflow: hidden;
}

#phone-3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    /*transition: opacity 0.6s ease;*/
}

.banner-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 42px;
    line-height: 50px;
    letter-spacing: -0.9996px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.banner-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

.banner-description:last-of-type {
    margin-bottom: 0;
}

.banner-description .highlight {
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
}

/* Banner Section - Tablet Responsive */
@media screen and (max-width: 1023px) {
    .ecommerce-banner {
        padding: var(--spacing-lg) 0;
        min-height: auto;
    }
    .banner-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: left;
    }
    
    .banner-left {
        order: 1;
        padding-right: 0;
    }
    
    .banner-right {
        order: 2;
        justify-content: center;
    }
    
    .phone-animation-container {
         width: 100%;
        max-width: 630px;
        height: 600px;
        position: relative;
        overflow: hidden;
    }


    
    .banner-title {
        font-size: 40px;
        line-height: 48px;
        letter-spacing: -1.92px;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }
}

/* Banner Section - Mobile Responsive */
@media screen and (max-width: 767px) {
    .ecommerce-banner {
        padding: var(--spacing-sm) 0;
        min-height: auto;
    }
   
    
    .phone-animation-container {
        width: 100%;
        max-width: 400px;
        height: 370px;
        position: relative;
        /*border-radius: 20px;*/
        overflow: hidden;
    }

    
 
    .banner-title {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: -1.536px;
        margin-bottom: var(--spacing-sm);
    }


/* Banner Section - Small Mobile 
@media screen and (max-width: 480px) {
    .phone-animation-container {
        max-width: 350px;
        height: 320px;
        position: relative;
        overflow: hidden;
    }*/


    

    
    .banner-title {
        font-size: 28px;
        line-height: 34px;
        letter-spacing: -1.344px;
    }
}

/* Banner Section - Very Small Mobile */
@media screen and (max-width: 360px) {
    .phone-animation-container {
        max-width: 300px;
        height: 280px;
        position: relative;
        overflow: hidden;
       /* margin: 5px auto;*/
    }
    
    .banner-title {
        font-size: 24px;
        line-height: 30px;
    }
}

/* ========================================
   SECTION 2: STICKER-PATTERN ELECTRONICS
======================================== */
.ecommerce-platform-section {
    background: var(--color-bg-base);
    padding: var(--spacing-xxl) 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.platform-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0 var(--grid-margin);
}

.platform-text {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: 38px;
    line-height: 52px;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-lg);
    text-align: left;
    position: relative;
    z-index: 15; /* Above stickers */
}

.platform-text:last-child {
    margin-bottom: 0;
}

.highlight-red {
    color: var(--color-primary);
    font-weight: var(--font-weight-regular);
}

/* Floating Electronics Sticker Container */
.floating-electronics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Device Sticker Base Styles - Like the food stickers */
.device-sticker {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 80px; /* Smaller sticker size */
    max-height: 80px;
    object-fit: contain;
    transform: scale(0.6) rotate(var(--rotation, 15deg));
    opacity: 0.4; /* Normal opacity */
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.15));
    transition: filter 0.3s ease, opacity 0.3s ease;
    z-index: 5;
}

/* Text Overlap Class - Minimal opacity when under text */
.device-sticker.text-overlap {
    opacity: 0.08; /* Very minimal when under text */
    z-index: 2; /* Behind text */
}

/* STICKER POSITIONS - Random scattered like the food image */
/* Row 1 - Top scattered */
.sticker-1 { top: 5%; left: 8%; --rotation: -25deg; max-width: 75px; }
.sticker-2 { top: 12%; left: 25%; --rotation: 45deg; max-width: 50px; }
.sticker-3 { top: 3%; left: 45%; --rotation: -15deg; max-width: 85px; }
.sticker-4 { top: 8%; left: 65%; --rotation: 30deg; max-width: 60px; }
.sticker-5 { top: 15%; left: 85%; --rotation: -40deg; max-width: 55px; }

/* Row 2 - Upper middle scattered */
.sticker-6 { top: 22%; left: 5%; --rotation: 60deg; max-width: 65px; }
.sticker-7 { top: 28%; left: 18%; --rotation: -20deg; max-width: 70px; }
.sticker-8 { top: 25%; left: 40%; --rotation: 35deg; max-width: 80px; } /* Text overlap */
.sticker-9 { top: 32%; left: 58%; --rotation: -45deg; max-width: 45px; } /* Text overlap */
.sticker-10 { top: 20%; left: 78%; --rotation: 25deg; max-width: 75px; }

/* Row 3 - Middle scattered */
.sticker-11 { top: 42%; left: 12%; --rotation: -30deg; max-width: 65px; } /* Text overlap */
.sticker-12 { top: 45%; left: 88%; --rotation: 50deg; max-width: 60px; }
.sticker-13 { top: 48%; left: 3%; --rotation: 15deg; max-width: 85px; }
.sticker-14 { top: 52%; left: 35%; --rotation: -50deg; max-width: 40px; } /* Text overlap */
.sticker-15 { top: 38%; left: 72%; --rotation: 40deg; max-width: 55px; }

/* Row 4 - Lower middle scattered */
.sticker-16 { top: 62%; left: 22%; --rotation: -35deg; max-width: 70px; } /* Text overlap */
.sticker-17 { top: 58%; left: 92%; --rotation: 20deg; max-width: 80px; }
.sticker-18 { top: 68%; left: 8%; --rotation: 55deg; max-width: 65px; }
.sticker-19 { top: 65%; left: 48%; --rotation: -25deg; max-width: 60px; } /* Text overlap */
.sticker-20 { top: 72%; left: 75%; --rotation: 45deg; max-width: 50px; }

/* Row 5 - Bottom scattered */
.sticker-21 { top: 82%; left: 15%; --rotation: -40deg; max-width: 85px; }
.sticker-22 { top: 88%; left: 35%; --rotation: 30deg; max-width: 55px; }
.sticker-23 { top: 85%; left: 55%; --rotation: -20deg; max-width: 70px; }
.sticker-24 { top: 78%; left: 88%; --rotation: 35deg; max-width: 75px; }
.sticker-25 { top: 92%; left: 70%; --rotation: -45deg; max-width: 60px; }

/* RESPONSIVE - TABLET */
@media screen and (max-width: 1023px) {
    .platform-text {
        font-size: 18px;
        line-height: 28px;
    }
    
    .device-sticker {
        max-width: 60px; /* Smaller on tablets */
        opacity: 0.3;
    }
    
    .device-sticker.text-overlap {
        opacity: 0.05; /* Even more minimal */
    }
    
    /* Hide some stickers to reduce clutter */
    .sticker-8, .sticker-11, .sticker-14, .sticker-16, .sticker-19,
    .sticker-22, .sticker-23, .sticker-24, .sticker-25 {
        display: none;
    }
    
    /* Adjust remaining sticker sizes */
    .sticker-1, .sticker-3, .sticker-10, .sticker-13, .sticker-17, .sticker-21 {
        max-width: 50px; /* Laptops/TVs smaller */
    }
}

/* RESPONSIVE - MOBILE */
@media screen and (max-width: 767px) {
    .platform-content {
      padding: 0px;
}
    .platform-text {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: var(--spacing-lg);
        text-align: justify;
    }
    
    .device-sticker {
        max-width: 45px; /* Much smaller on mobile */
        opacity: 0.2;
    }
    
    .device-sticker.text-overlap {
        opacity: 0.03; /* Almost invisible */
    }
    
    /* Hide even more stickers on mobile - keep only essentials */
    .sticker-5, .sticker-6, .sticker-7, .sticker-8, .sticker-9, .sticker-11,
    .sticker-12, .sticker-14, .sticker-15, .sticker-16, .sticker-18, .sticker-19,
    .sticker-20, .sticker-22, .sticker-23, .sticker-24, .sticker-25 {
        display: none;
    }
    
    /* Keep only 8 stickers on mobile for clean look */
    .sticker-1, .sticker-2, .sticker-3, .sticker-4,
    .sticker-10, .sticker-13, .sticker-17, .sticker-21 {
        max-width: 35px;
    }
}

/* RESPONSIVE - SMALL MOBILE */
@media screen and (max-width: 480px) {
    .device-sticker {
        max-width: 30px;
        opacity: 0.15;
    }
    
    .device-sticker.text-overlap {
        opacity: 0.02;
    }
    
    /* Only 4 stickers on very small screens */
    .sticker-2, .sticker-4, .sticker-10, .sticker-17 {
        display: none;
    }
}

/* Performance optimizations */
.ecommerce-platform-section,
.floating-electronics,
.device-sticker {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Hover effect for stickers (subtle) */
.device-sticker:hover {
    transform: scale(0.65) rotate(var(--rotation, 15deg));
    opacity: 0.6;
}

.device-sticker.text-overlap:hover {
    opacity: 0.12; /* Still minimal on hover */
}
/* ========================================
   SECTION 3: WHY CHOOSE OXYGENDIGITALSHOP.COM
======================================== */
.why-choose-section {
    background: var(--color-bg-base);
    padding: var(--spacing-xxl) 0;
    position: relative;
    margin-top: 74px;
    overflow: hidden;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side - Phone Container */
.phone-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Initial zoom state for GSAP */
    transform: scale(1);
    will-change: transform;
}

.phone-image {
    width: 100%;
    height: 310px;
    max-width: 350px;
    object-fit: contain;
    /* Remove the drop-shadow */
    position: relative;
    z-index: 2;
}

/* Add natural bottom shadow with animation support */
.phone-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%) scale(var(--shadow-scale, 1));
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    opacity: var(--shadow-opacity, 0.6);
    transition: transform 0.1s ease, opacity 0.1s ease;
}

/* Right Side - Content */
.why-choose-content {
    padding-left: var(--spacing-lg);
}

.why-choose-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-medium);
    font-size: 42px;
    line-height: 50px;
    letter-spacing: -2.304px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xxl);
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.feature-item {
    position: relative;
    padding-bottom: var(--spacing-lg);
}

.feature-text {
    font-family: var(--font-family-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: var(--spacing-md);
}

/* Feature Lines */
.feature-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-text-caption) 0%, transparent 100%);
    position: relative;
}

.feature-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary) 0%, transparent 100%);
    transition: width 0.6s ease;
}

/* Animation classes for GSAP */
.feature-item.animate .feature-line::after {
    width: 60%;
}

/* Responsive - Tablet */
@media screen and (max-width: 1023px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .phone-container {
        order: 1;
    }
    
    .why-choose-content {
        order: 2;
        padding-left: 0;
    }
    
    .phone-image-wrapper {
        max-width: 320px;
        height: 400px;
    }
    
    .phone-image {
        max-width: 280px;
        height: 290px;
    }
    
    .why-choose-title {
        font-size: 36px;
        line-height: 42px;
        letter-spacing: -1.728px;
    }
    
    .feature-text {
        font-size: 16px;
        line-height: 24px;
    }
    
    /* Responsive shadow adjustments */
    .phone-image-wrapper::after {
        width: 55%;
        height: 18px;
        bottom: 8%;
    }
}

/* Responsive - Mobile */
@media screen and (max-width: 767px) {
    .why-choose-section {
        padding: var(--spacing-lg) 0;
        margin-top: 42px;
    }
    
    .phone-image-wrapper {
        max-width: 280px;
        height: 350px;
    }
    
    .phone-image {
        max-width: 240px;
        height: 250px;
    }
    
    .why-choose-title {
        font-size: 28px;
        line-height: 34px;
        letter-spacing: -1.344px;
        margin-bottom: var(--spacing-lg);
        margin-top: var(--spacing-xxl)
    }
    
    .feature-text {
        font-size: 16px;
        line-height: 24px;
    }
    
    .features-list {
        gap: var(--spacing-lg);
    }
    
    /* Responsive shadow adjustments */
    .phone-image-wrapper::after {
        width: 50%;
        height: 15px;
        bottom: 6%;
    }
}

/* Performance optimizations */
.phone-image-wrapper,
.feature-item,
.feature-line {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ========================================
   UTILITY COMPONENTS
======================================== */

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn:hover {
    background: #c20019;
    transform: translateY(-2px);
    box-shadow: var(--shadow-high);
}

.scroll-top-btn i {
    font-size: 18px;
}

/* Scroll to Top Button - Mobile Responsive */
@media screen and (max-width: 767px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-top-btn i {
        font-size: 16px;
    }
}

/* ========================================
   ANIMATION UTILITIES
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations on scroll */
.animate-on-scroll {
    opacity: 0;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
}

.animate-on-scroll.fade-in-up {
    animation-name: fadeInUp;
}

.animate-on-scroll.fade-in-left {
    animation-name: fadeInLeft;
}

.animate-on-scroll.fade-in-right {
    animation-name: fadeInRight;
}

/* Loading States */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ========================================
   ACCESSIBILITY & SPECIAL FEATURES
======================================== */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.contact-action:focus,
.form-input:focus,
.form-textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border-color: #000;
        color: #fff;
    }
    
    .btn-secondary {
        background: #fff;
        border-color: #000;
        color: #000;
    }
    
    .section-title,
    .hero-title,
    .contact-info-title {
        color: #000;
    }
}