.gallery-item.coming-soon {
    opacity: 0.6;
    filter: grayscale(1);
    position: relative;
    pointer-events: none;
}
.gallery-item .coming-soon-label {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 0.4em 1.2em;
    border-radius: 2em;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}
@media (min-width: 600px) {
    .gallery-track {
        display: flex;
        justify-content: center;
        gap: 2vw;
    }
}
@media (max-width: 599px) {
    .gallery-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4vw;
        justify-items: center;
    }
}
/* Reset & Base Styles */
:root {
    /* DEFAULT: DARK Mode Variables */
    --bg-body: #121212;
    --text-main: #e0e0e0;
    --text-secondary: #a0a0a0;
    --bg-nav: rgba(18, 18, 18, 0.9);
    --bg-showcase: #1a1a1a;
    --bg-details: #121212;
    --bg-card: #1e1e1e;
    --bg-cta: #000;
    --text-cta: #fff;
    --text-cta-sub: #888;
    --btn-bg: #333;
    --btn-text: #fff;
    --btn-hover: #555;
    --shadow-color: rgba(0,0,0,0.5);
    --hero-bg-image: url('assets/images/background-dark.png');
    --hero-text: #fff;
}

[data-theme="light"] {
    /* Light Mode Variables */
    --bg-body: #f4f4f4;
    --text-main: #333;
    --text-secondary: #666;
    --bg-nav: rgba(255, 255, 255, 0.9);
    --bg-showcase: #fff;
    --bg-details: #f9f9f9;
    --bg-card: #ffffff;
    --bg-cta: #111;
    --text-cta: #fff;
    --text-cta-sub: #aaa;
    --btn-bg: #fff;
    --btn-text: #111;
    --btn-hover: #ddd;
    --shadow-color: rgba(0,0,0,0.05);
    --hero-bg-image: url('assets/images/background-light.png');
    --hero-text: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

body.no-scroll {
    overflow: hidden !important;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent; /* Transparent initially */
    transition: all 0.3s ease;
}

/* Scrolled State (Added via JS) */
nav.scrolled {
    padding: 10px 50px; /* Shrink padding */
    background: transparent; /* Keep transparent */
    backdrop-filter: none;
    box-shadow: none;
}

.logo {
    display: flex;
    align-items: center;
    /* Initially hidden in first section */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px); /* Slide in from left optionally, or top */
    transition: all 0.4s ease;
}

nav.scrolled .logo {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

/* Scrolled State: Smaller Logo */
nav.scrolled .logo-img {
    height: 40px;
}

/* LOGO THEME LOGIC */
/* Default (Dark Mode): Hide Light Logo, Show Dark Logo */
.logo-light {
    display: none;
    filter: invert(1); 
}
.logo-dark {
    display: block;
}

/* Light Mode: Show Light Logo, Hide Dark Logo */
[data-theme="light"] .logo-light {
    display: block;
}
[data-theme="light"] .logo-dark {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hamburger Animation active state */
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-icon {
    display: flex;
    align-items: center;
}

/* Theme Toggle (Premium Slider) */
.theme-toggle-btn {
    background: none;
    border: none;
    padding: 10px; /* Increase hit area for mobile */
    margin-left: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.theme-toggle-track {
    width: 52px;
    height: 28px;
    background-color: var(--text-main);
    border-radius: 20px;
    position: relative;
    transition: background-color 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.theme-toggle-knob {
    width: 22px;
    height: 22px;
    background-color: var(--bg-body);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Knob Icon */
.theme-toggle-knob svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* Light Mode State */
[data-theme="light"] .theme-toggle-knob {
    transform: translateX(24px);
}

/* Hover Effect */
.theme-toggle-btn:focus-visible .theme-toggle-track {
    outline: 2px solid var(--text-main);
    outline-offset: 4px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    color: var(--hero-text);
    /* Reverting to Block for Absolute Positioning Strategy */
    display: block; 
}

/* Animated Background using Real Element for GSAP Control */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Background Image with Overlay */
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), var(--hero-bg-image);
    background-position: center;
    
    z-index: -1;
}

#space-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind content */
    pointer-events: none;
}

.hero-wrapper {
    /* Full Screen Flex Overlay Strategy */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    pointer-events: none; /* Let clicks pass through */
    margin: 0 !important;
    padding: 0 !important;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0; 
    padding: 0;
}

.hero-content h1 {
    font-family: 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-size: 5rem;
    line-height: 1.1; /* Fix line-height to prevent visual offset */
    margin: 0 0 10px 0; /* Explicit margins */
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--hero-text);
}

.hero-logo {
    height: 15rem;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.hero-content p {
    font-family: 'Orbitron', sans-serif; /* Applied Orbitron font */
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0; /* Explicit margins */
    color: var(--hero-text);
    opacity: 0.9;
    letter-spacing: 2px; /* Added spacing for the sci-fi look */
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none; /* Simple hide for mobile, would need hamburger menu */
    }
}

/* --- SECTION 2: INFINITE MARQUEE --- */
.marquee-section {
    padding: 100px 0;
    background: var(--bg-body);
    overflow: hidden;
    position: relative;
}

.marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}

.marquee-text {
    font-family: 'Bungee', cursive;
    font-size: 8rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-main);
    margin-right: 50px;
    cursor: default;
    transition: color 0.3s;
}

.marquee-text:hover {
    color: var(--text-main);
}

.hover-reveal-img {
    position: fixed;
    width: 300px;
    height: 400px;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.3s, transform 0.3s;
    border-radius: 10px;
    /* Placeholder image for reveal */
    background-image: url('https://placehold.co/300x400/333/fff?text=REVEAL'); 
}

/* --- SECTION 3: HORIZONTAL SCROLL GALLERY (Desktop) / GRID (Mobile) --- */
.gallery-section {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--bg-showcase);
    display: flex;
    align-items: center;
}

.gallery-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hide the 5th gallery card on phone view */
@media (max-width: 768px) {
    .gallery-track .gallery-item:nth-child(5) {
        display: none !important;
    }
}

/* View all button styles - Global */
.gallery-view-all {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 30px;
    width: 100%;
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    padding: 10px 35px;
    background: #4a4a4a; /* Grey */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.view-all-btn:hover {
    background: #5a5a5a;
    transform: none;
}

.gallery-track {
    display: flex;
    gap: 50px;
    padding-left: 100px; /* Start offset */
}

.gallery-item {
    position: relative;
    width: 400px;
    height: 600px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-number {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    color: rgba(255,255,255,0.5);
    z-index: 2;
}

/* --- SECTION 4: BENTO BOX GRID --- */
.bento-section {
    padding: 100px 50px;
    background: var(--bg-body);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: 'Bungee', cursive;
    font-size: 3rem;
    margin-bottom: 50px;
    color: var(--text-main);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 300px 300px 300px;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.bento-item:hover img {
    transform: scale(1.1);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-overlay h3 {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Grid Areas */
.item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.item-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.item-3 { grid-column: 3 / 4; grid-row: 2 / 3; }
.item-4 { grid-column: 1 / 4; grid-row: 3 / 4; display: block; }


/* --- SECTION 5: IMAGE COMPARISON SLIDER --- */
.comparison-section {
    padding: 100px 0;
    background: var(--bg-details);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comparison-container {
    position: relative;
    width: 800px;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-wrapper img {
    width: 800px; /* Fixed width to prevent squishing */
    height: 100%;
    object-fit: cover;
    display: block;
}

.label {
    position: absolute;
    top: 20px;
    padding: 5px 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    border-radius: 4px;
}

.before .label { left: 20px; }
.after .label { right: 20px; }

.after {
    width: 50%; /* Initial state */
    border-right: 2px solid #fff;
    z-index: 2;
}

.scroller {
    position: absolute;
    top: 0;
    left: 50%; /* Initial state */
    width: 40px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: ew-resize;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroller-handle {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .marquee-text { font-size: 4rem; }
    .bento-grid { display: flex; flex-direction: column; height: auto; }
    .bento-item { height: 300px; width: 100%; }
    .comparison-container { width: 90%; height: 300px; }
    .img-wrapper img { width: 100%; } /* Allow squish or cover on mobile */
}

/* --- PRODUCT OVERLAY (GLOSSY / GLASSMORPHISM) --- */
.product-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px); /* Blur the background page */
}

.overlay-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    /* GLOSSY EFFECT START */
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent white */
    backdrop-filter: blur(20px); /* Strong blur for the glass look */
    -webkit-backdrop-filter: blur(20px);
    border: none;
    box-shadow: none;
    /* GLOSSY EFFECT END */
    border-radius: 0;
    padding: 40px;
    overflow-y: auto; /* Allow scrolling */
    transform: translateY(50px); /* Start slightly down for animation */
}

/* Default Dark Mode Overlay */
.overlay-content {
    background: rgba(30, 30, 30, 0.95); /* Semi-transparent dark */
    border: none;
    color: #fff;
}

/* Light Mode Overlay (Override) */
[data-theme="light"] .overlay-content {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0,0,0,0.1);
    color: #333;
}

.close-overlay-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
    z-index: 10;
    transition: transform 0.3s;
}

.close-overlay-btn:hover {
    transform: rotate(90deg);
}

.overlay-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    height: 100%;
}

.overlay-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.main-image {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 400px; /* Ensure height for slider */
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Default Dark Mode Slider Btn */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Light Mode Slider Btn */
[data-theme="light"] .slider-btn {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}
[data-theme="light"] .slider-btn:hover {
    background: #fff;
}


.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto; /* Scroll if content is too long */
}

.overlay-details h2 {
    font-family: 'Bungee', cursive;
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.1;
}

.overlay-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.overlay-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.size-selector {
    margin-bottom: 30px;
}

.size-selector span {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.sizes {
    display: flex;
    gap: 10px;
}

.size-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-secondary);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
}

.size-btn:hover, .size-btn.active {
    background: var(--text-main);
    color: var(--bg-body);
    border-color: var(--text-main);
}

.overlay-actions {
    display: flex;
    gap: 15px;
}

.add-to-cart-btn {
    flex: 1;
    padding: 15px;
    background: var(--text-main);
    color: var(--bg-body);
    border: none;
    font-family: 'Bungee', cursive;
    font-size: 1.2rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.add-to-cart-btn:hover {
    opacity: 0.9;
}

.wishlist-btn {
    width: 50px;
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    background: rgba(0,0,0,0.05);
}

/* --- ABOUT PAGE STYLES --- */
.about-page {
    width: 100%;
    overflow-x: hidden;
    padding-top: 80px;
}

.about-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    gap: 50px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.about-hero-content {
    flex: 1;
    max-width: 600px;
}

.about-hero-content h1 {
    font-size: 5rem;
    font-family: 'Bungee', cursive;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--text-main);
}

.about-hero-content .subtitle {
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 4px;
    color: var(--text-secondary);
}

.about-hero-image {
    flex: 1;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-section {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.text-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.text-section h2 {
    font-size: 3rem;
    font-family: 'Bungee', cursive;
    margin-bottom: 40px;
    color: var(--text-main);
}

.text-block p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-image, .split-content {
    flex: 1;
}

.split-image img {
    width: 100%;
    border-radius: 20px;
    height: auto;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.split-content h2 {
    font-size: 3rem;
    font-family: 'Bungee', cursive;
    margin-bottom: 30px;
    color: var(--text-main);
}

.split-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* About Page Mobile */
@media (max-width: 968px) {
    .about-hero {
        flex-direction: column-reverse;
        padding: 40px 20px;
        text-align: center;
        justify-content: flex-end;
        align-items: center;
        min-height: auto;
        padding-top: 40px;
    }

    .about-hero-content {
        margin-top: 30px;
    }

    .about-hero-content h1 {
        font-size: 3rem;
    }

    .about-hero-content .subtitle {
        font-size: 1rem;
    }

    .about-hero-image {
        width: 100%;
        height: 350px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .text-section h2 {
        font-size: 2rem;
    }
    
    .text-block p {
        font-size: 1.1rem;
    }

    .split-section {
        flex-direction: column;
        gap: 40px;
    }
}

/* --- FOOTER STYLES --- */
.site-footer {
    background: #0a0a0a;
    padding: 60px 50px 30px;
    color: #e0e0e0;
}

[data-theme="light"] .site-footer {
    background: #1a1a1a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-logo {
    font-family: 'Bungee', cursive;
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-tagline {
    color: #999;
    font-size: 0.95rem;
    margin-top: 10px;
    line-height: 1.5;
}

.footer-section p {
    color: #999;
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

/* Shopify note in sidebar */
.shopify-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- ENHANCED MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 15px 20px;
    }
    
    nav.scrolled {
        padding: 10px 20px;
    }
    
    .logo-img {
        height: 40px;
    }

    /* Mobile Hamburger Menu */
    .hamburger-menu {
        display: block;
    }

    /* Mobile Nav Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0; /* Reset left/right positioning */
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-body); /* Ensure background is solid */
        display: flex; /* Force flex display */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%); /* Move off-screen to right */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        visibility: hidden; /* Hide cleanly when closed */
        opacity: 0;
    }

    .nav-links.active {
        transform: translateX(0); /* Slide in */
        visibility: visible;
        opacity: 1;
        right: 0; /* Fallback */
    }
    
    .nav-links a {
        margin: 15px 0;
        font-size: 1.8rem;
        font-family: 'Bungee', cursive; /* Match brand font for menu */
    }
    
    /* Ensure text links are big */
    .nav-links a:not(.nav-icon) {
        font-size: 1.8rem;
    }

    /* Cart icon in mobile menu */
    .nav-icon svg {
        width: 32px;
        height: 32px;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-logo {
        height: 14rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    /* Marquee */
    .marquee-text {
        font-size: 4rem;
    }
    
    .hover-reveal-img {
        display: none; /* Disable hover reveal on mobile */
    }
    
    /* Gallery - Convert to 2-column grid on mobile (NO horizontal scroll) */
    .gallery-section {
        height: auto;
        min-height: auto;
        overflow: hidden;
        overflow-x: hidden;
        padding: 5px;
        position: relative;
    }
    
    .gallery-wrapper {
        width: 100%;
        height: auto;
        overflow: hidden;
        overflow-x: hidden;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* MOBILE GRID: 2 columns, vertical scrolling only */
    .gallery-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        overflow-x: hidden;
        box-sizing: border-box;
        transform: none;
        will-change: auto;
    }
    
    .gallery-item {
        width: 100%;
        height: 0;
        padding-bottom: 120%;
        position: relative;
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 4px;
        box-sizing: border-box;
    }
    
    .gallery-item img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .gallery-item .item-overlay,
    .gallery-item .item-title {
        position: absolute;
        z-index: 1;
    }
    
    /* Bento Grid - Stack on mobile */
    .bento-section {
        padding: 50px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .bento-grid {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    
    .bento-item {
        height: 300px;
        width: 100%;
    }
    
    /* Comparison - Smaller on mobile */
    .comparison-section {
        padding: 50px 20px;
    }
    
    .comparison-container {
        width: 100%;
        height: 300px;
    }
    
    .img-wrapper img {
        width: 100%;
    }
    
    /* Categories Page */
    .categories-container {
        flex-direction: column;
        padding-top: 80px;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid var(--text-secondary);
    }
    
    .category-list {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 10px;
        white-space: nowrap;
    }
    
    .category-list li {
        margin-bottom: 0;
    }
    
    .filter-group {
        display: none; /* Hide filters on mobile for simplicity */
    }
    
    .product-feed {
        padding: 20px;
    }
    
    .feed-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .feed-header h2 {
        font-size: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Product Cards - Ensure touch-friendly */
    .product-card {
        width: 100%;
    }
    
    .add-btn {
        opacity: 1; /* Always show on mobile */
        transform: translateY(0);
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    /* Overlay - Full screen on mobile */
    .overlay-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        padding: 20px;
        overflow-y: auto;
    }
    
    .overlay-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-image {
        height: 200px;
        min-height: 200px;
        width: 100%;
        object-fit: contain;
    }
    
    .overlay-details h2 {
        font-size: 1.8rem;
    }
    
    .overlay-price {
        font-size: 1.2rem;
    }
    
    .overlay-desc {
        font-size: 0.9rem;
    }
    
    .add-to-cart-btn {
        font-size: 1rem;
        padding: 12px;
    }
    
    /* Cart Page */
    .cart-container {
        padding-top: 100px;
    }
    
    .receipt-paper {
        width: 95%;
        padding: 20px;
    }
    
    .receipt-header h2 {
        font-size: 1.2rem;
    }
    
    .item-name {
        font-size: 0.85rem;
    }
    
    .checkout-btn {
        font-size: 0.95rem;
    }
    
    /* Footer */
    .site-footer {
        padding: 40px 20px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }

    .footer-section .social-icons {
        justify-content: center;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    /* Disable heavy animations on mobile */
    @media (prefers-reduced-motion: no-preference) {
        .hero-background {
            animation: none !important;
        }
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-logo {
        height: 12rem;
    }
    
    .marquee-text {
        font-size: 3rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    /* Even smaller gallery items on very small phones */
    .gallery-section {
        padding: 3px;
    }
    
    .gallery-track {
        gap: 3px;
    }
    
    .gallery-item {
        padding-bottom: 100%;
        border-radius: 3px;
    }
}

/* --- MOBILE PRODUCT HERO SHOWCASE (APPLE STYLE) --- */
/* Wrapper for the stack of products */
.mobile-product-showcase {
    width: 100%;
    display: block;
    background-color: var(--bg-body);
}

.mobile-hero-item {
    height: 100vh; /* Full viewport height */
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push content to bottom */
    align-items: center;
    padding-bottom: 60px; /* Space for fixed/bottom button */
    overflow: hidden;
    /* Optional: minimalist border between sections */
    border-bottom: 1px solid var(--bg-body); 
    scroll-snap-align: start;
}

/* Hero Image Layer */
.mobile-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mobile-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers screen nicely */
    display: block;
    transition: transform 0.5s ease;
}

/* Subtle zoom on hover/focus */
.mobile-hero-item:hover .mobile-hero-image img {
    transform: scale(1.02);
}

/* Content Layer (Button + Title) */
.mobile-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 20px;
    text-align: center;
    /* Gradient to ensure button is visible over image */
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    padding-top: 150px; /* Fade area height */
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.mobile-hero-title {
    color: #fff; /* Always white on mobile photo backgrounds */
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-weight: 600;
}

.shop-now-hero-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #fff; /* Solid White */
    color: #000;           /* Solid Black Text */
    text-decoration: none;
    padding: 16px 50px;
    border-radius: 50px;   /* Pill Shape */
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    /* "Sticky" feel setup */
    min-width: 200px;
}

.shop-now-hero-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.shop-now-hero-btn:active {
    transform: scale(0.95);
}

/* Jeans Collection */
.jeans-collection {
    width: 100%;
    background: #090909;
    padding: 52px 12px;
}

.jeans-collection-inner {
    max-width: 1360px;
    margin: 0 auto;
}

.jeans-title {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    font-size: clamp(1.15rem, 2.1vw, 1.9rem);
    letter-spacing: 2.4px;
    margin-bottom: 16px;
    color: #ededed;
    font-weight: 800;
    text-transform: uppercase;
}

.jeans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.jeans-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: clamp(320px, 54vw, 640px);
    background: #121212;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.jeans-card:focus-visible {
    outline: 2px solid #f2f2f2;
    outline-offset: 3px;
}

.jeans-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
}

.jeans-image-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.jeans-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.34) 45%, rgba(8, 8, 8, 0.12) 72%, rgba(8, 8, 8, 0.1) 100%);
    z-index: 1;
}

.jeans-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.jeans-card:hover .jeans-image-wrap img {
    transform: scale(1.05);
}

.jeans-overlay-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px 16px;
}

.jeans-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.95rem, 2vw, 2.2rem);
    color: #ffffff;
    margin-bottom: 5px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.6);
}

.jeans-desc {
    font-size: clamp(0.65rem, 0.8vw, 0.9rem);
    color: #efefef;
    margin-bottom: 3px;
    line-height: 1.4;
    opacity: 0.92;
}

.jeans-price {
    font-size: clamp(0.62rem, 0.75vw, 0.82rem);
    color: #dadada;
    margin-bottom: 10px;
    font-weight: 600;
    opacity: 0.86;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(86%, 220px);
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid #2a2727;
    background: #272120;
    color: #ffffff;
    font-size: clamp(0.62rem, 0.8vw, 0.98rem);
    font-weight: 600;
    padding: 12px 10px;
    letter-spacing: 0.3px;
    text-transform: lowercase;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.shop-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0f0f0f;
}

@media (max-width: 768px) {
    .jeans-collection {
        padding: 40px 8px;
    }

    .jeans-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
}

@media (max-width: 420px) {
    .jeans-collection {
        padding: 34px 6px;
    }

    .jeans-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .jeans-card {
        min-height: 260px;
        border-radius: 8px;
    }

    .jeans-overlay-content {
        padding: 0 8px 10px;
    }

    .shop-btn {
        width: 90%;
        padding: 10px 8px;
    }
}

/* TABLET & DESKTOP: Split Layout */
@media (min-width: 768px) {
    .mobile-hero-item {
        flex-direction: row;
        padding-bottom: 0;
        height: 80vh; /* Slightly shorter on desktop maybe? or keep 100vh */
    }
    
    .mobile-hero-image {
        position: relative;
        width: 60%;
        height: 100%;
        order: 1;
    }
    
    .mobile-hero-content {
        width: 40%;
        height: 100%;
        order: 2;
        background: var(--bg-body); /* Solid background, no gradient */
        padding: 50px;
        justify-content: center;
        align-items: flex-start; /* Left align text */
        text-align: left;
    }
    
    .mobile-hero-title {
        color: var(--text-main);
        text-shadow: none;
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .shop-now-hero-btn {
        background-color: var(--text-main);
        color: var(--bg-body);
    }

    /* Alternating Layout for Desktop */
    .mobile-hero-item:nth-child(even) {
        flex-direction: row-reverse;
    }
}