/* Import Fun Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* ============================================
   INDUSTRIAL DENIM MONOCHROME COLOR TOKENS
   ============================================ */
:root {
    /* Core Color Tokens */
    --onr-black: #111111;
    --onr-washed-black: #3A3A3A;
    --onr-denim-gray: #5C5C5C;
    --onr-fabric-gray: #9A9A9A;
    --onr-raw-cotton: #E8E8E8;
    --onr-soft-white: #FAFAFA;
    --onr-white: #FFFFFF;

    /* Semantic Variables */
    --bg: var(--onr-soft-white);
    --surface: var(--onr-white);
    --surface-2: var(--onr-raw-cotton);
    --text: var(--onr-black);
    --text-muted: var(--onr-denim-gray);
    --border: var(--onr-raw-cotton);
    --divider: var(--onr-raw-cotton);

    /* Button Variables */
    --btn-primary-bg: var(--onr-black);
    --btn-primary-text: var(--onr-white);
    --btn-primary-hover: var(--onr-washed-black);
    --btn-secondary-bg: var(--onr-white);
    --btn-secondary-text: var(--onr-black);
    --btn-secondary-border: var(--onr-raw-cotton);

    /* Link Variables */
    --link: var(--onr-black);
    --link-hover: var(--onr-washed-black);

    /* Focus Ring */
    --focus: rgba(17, 17, 17, 0.3);
}

/* Global Styles */
html {
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
    max-width: 100%;
    width: 100%;
    position: relative; /* Fix for line at top */
}

/* Reset all margins and paddings to prevent line at top */
* {
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    border: none;
    outline: none;
    cursor: pointer;
    overflow: hidden;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    background-color: #128C7E;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    display: block;
    fill: currentColor;
    pointer-events: none;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent content overflow */
* {
    box-sizing: border-box;
}

/* Make all buttons and links touch-friendly on mobile */
button,
a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Ensure text doesn't overflow on mobile */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--text);
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: var(--link-hover);
}

a:focus {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 2px;
}

.logo-image-face {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
border-radius: 50%;
}

.logo-nav-rework {
    width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-nav-rework:hover {
    transform: scale(1.05);
}
/* Navigation Bar */
.store-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--surface-2);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Store Header (for product category pages) */
.store-header {
    padding: 120px 20px 60px;
    text-align: center;
    background-color: var(--bg);
}

.store-header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.store-header p {
    font-size: 1.2em;
    color: var(--text-muted);
    margin: 0;
}

.store-nav .logo {
    font-weight: 700;
    font-size: 1.8em;
    color: var(--text);
    cursor: pointer;
}

.store-nav .nav-links {
    display: flex;
    align-items: center;
}

.store-nav .nav-links a {
    margin-left: 25px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.store-nav .nav-links a:hover {
    color: var(--link-hover);
}

.store-nav .nav-links a:focus {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Skip to Main Content Link (Accessibility) */
.skip-to-main {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--onr-black);
    color: var(--onr-white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    opacity: 0;
    transform: translateY(-100%);
}

.skip-to-main:focus {
    top: 0;
    opacity: 1;
    transform: translateY(0);
    outline: 3px solid var(--focus);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    border: none;
    font-weight: 600;
    font-size: 1em;
    color: var(--text);
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--surface);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.15);
    z-index: 1;
}

.dropdown-content a {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin: 0;
}

.dropdown-content a:hover {
    background-color: var(--surface-2);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile dropdown behavior */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 10px 20px;
        border-left: 3px solid var(--onr-black);
        margin-left: 15px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 115vh;
    background-color: var(--onr-black);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: var(--onr-washed-black);
}

.hero-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    background-color: var(--onr-washed-black);
}

.hero-grid img:hover {
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    background: rgba(250, 250, 250, 0.6);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 3s backwards;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--onr-black);
    animation: popIn 0.6s ease-out 3s backwards;
}

/* Pop-up Animation */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pop-in {
    animation: popIn 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge {
    background-color: var(--onr-black);
    color: var(--onr-white);
    padding: 6px 12px;
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 4px;
}

.hero-text h1 {
    font-size: clamp(1.3em, 3.5vw, 2.5em);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--onr-black);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(0.85em, 2vw, 1.05em);
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary-link {
    padding: 10px 20px;
    font-size: clamp(0.85em, 1.8vw, 0.95em);
    font-weight: 600;
    color: var(--onr-black);
    text-decoration: none;
    border: 2px solid var(--onr-black);
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary-link:hover {
    background-color: var(--onr-black);
    color: var(--onr-white);
    text-decoration: none;
}

.btn-secondary-link:focus {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-content {
        padding: 0 30px;
    }

    .hero-text {
        padding: 50px 40px;
    }

    .hero-text h1 {
        font-size: 3.2em;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .left-column {
        grid-column: span 2;
    }
    
    .menu-column {
        grid-column: span 2;
    }
    
    .newsletter-column,
    .social-column {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
        order: -1;
    }

    .store-nav {
        padding: 15px 20px;
    }

    .store-nav .logo {
        margin-left: 15px;
    }

    .store-nav .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--surface);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .store-nav .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .store-nav .nav-links a {
        margin: 0;
        padding: 15px 10px;
        border-bottom: 1px solid var(--border);
        text-align: center;
        font-size: 1.1em;
    }

    .store-nav .nav-links a:last-child {
        border-bottom: none;
    }

    .store-nav .logo img {
        width: 100px;
    }

    /* Hero Responsive */
    .hero-section {
        padding: 80px 0 40px;
        min-height: 100vh;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-text {
        padding: 30px 20px;
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 2.5em;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .hero-brand {
        flex-direction: column;
        gap: 15px;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .cta-button,
    .hero-actions .btn-secondary-link {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        font-size: 1em;
    }

    /* Modal Responsive */
    .modal-content {
        flex-direction: column;
        padding: 20px;
        max-width: 95%;
    }

    .modal-content img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        font-size: 1.8em;
    }

    /* General Responsive */
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .product-card img {
        height: 200px;
    }

    .models-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .model-card img {
        height: 300px;
    }

    .collaborations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .collaboration-item {
        padding: 15px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .impact-item {
        padding: 10px;
    }

    .content-section {
        padding: 50px 10px;
        overflow-x: hidden;
    }

    .content-section h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    /* Carousel Responsive */
    .carousel-slide {
        padding: 30px 15px;
    }

    .carousel-slide img {
        height: 200px;
        max-width: 300px;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
        padding: 8px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .models-section {
        padding: 40px 15px;
    }
    
    .models-section h2 {
        font-size: 1.8em;
    }
    
    .models-section .models-subtitle {
        font-size: 1em;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        width: 200px;
        height: 200px;
    }

    .activity-card,
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }

    .activity-card img,
    .testimonial-card img {
        margin: 0 0 20px 0;
    }

    .activity-card:nth-child(even),
    .testimonial-card:nth-child(even) {
        flex-direction: column;
    }

    .activity-card:nth-child(even) img,
    .testimonial-card:nth-child(even) img {
        margin: 0 0 20px 0;
    }

    .portfolio-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .bottom-left select {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .store-nav {
        padding: 12px 15px;
    }

    .store-nav .logo img {
        width: 80px;
    }

    /* Hero Responsive */
    .hero-text {
        padding: 25px 15px;
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .hero-badge {
        font-size: 0.65em;
        padding: 6px 12px;
    }
    
    .hero-logo {
        width: 110px;
        height: 110px;
    }
    
    .logo-nav-rework {
        width: 145px;
    }

    /* Buttons */
    .cta-button,
    .btn-secondary-link {
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Modal */
    .modal-content {
        padding: 15px;
        border-radius: 10px;
    }

    .modal-content img {
        max-width: 100%;
        height: 250px;
    }

    .modal-details h3 {
        font-size: 1.4em;
    }

    .modal-details p {
        font-size: 1em;
    }

    /* General Responsive */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card img {
        height: 250px;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .model-card img {
        height: 250px;
    }

    .content-section {
        padding: 40px 10px;
        overflow-x: hidden;
    }

    .content-section h2 {
        font-size: 1.8em;
    }

    .content-section p {
        font-size: 1em;
    }

    .impact-grid {
        gap: 15px;
        padding: 0 5px;
    }

    .impact-item {
        padding: 10px 5px;
    }

    .impact-icon {
        font-size: 2.5em;
        margin-bottom: 15px;
    }

    .impact-item h3 {
        font-size: 1.3em;
    }

    .impact-item p {
        font-size: 0.9em;
    }

    .impact-icon {
        font-size: 2.5em;
    }

    /* Carousel */
    .carousel-slide {
        padding: 20px 10px;
    }

    .carousel-slide img {
        height: 180px;
        max-width: 280px;
    }

    .carousel-slide h3 {
        font-size: 1.3em;
    }

    .carousel-slide p {
        font-size: 0.95em;
    }

    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 1em;
        padding: 6px;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }

    .models-section {
        padding: 30px 10px;
    }
    
    .models-section h2 {
        font-size: 1.6em;
    }

    .footer-menu-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        padding: 20px 0 15px;
    }

    .activity-card,
    .testimonial-card {
        padding: 20px;
    }

    .activity-card img {
        width: 100%;
        height: auto;
    }

    .testimonial-card img {
        width: 80px;
        height: 80px;
    }
}

/* Extra Small Devices (320px - 360px) */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.8em;
    }

    .hero-text {
        padding: 25px 15px;
    }

    .cta-button,
    .btn-secondary-link {
        padding: 10px 15px;
        font-size: 0.95em;
    }

    .content-section h2 {
        font-size: 1.5em;
    }

    .carousel-slide h3 {
        font-size: 1.2em;
    }

    .product-card h3 {
        font-size: 0.95em;
    }

    .modal-content {
        padding: 10px;
    }

    .modal-details h3 {
        font-size: 1.2em;
    }
}

.cta-button {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    padding: 10px 20px;
    font-size: clamp(0.85em, 1.8vw, 1em);
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--btn-primary-hover);
    color: var(--btn-primary-text);
    transform: scale(1.05);
    text-decoration: none;
}

.cta-button:focus {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.cta-button:disabled {
    background-color: var(--onr-fabric-gray);
    color: rgba(255, 255, 255, 0.7);
    cursor: not-allowed;
    transform: none;
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 2px solid var(--btn-secondary-border);
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--surface-2);
    border-color: var(--onr-denim-gray);
}

.btn-secondary:focus {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.btn-secondary:disabled {
    background-color: var(--onr-raw-cotton);
    color: var(--onr-fabric-gray);
    border-color: var(--onr-raw-cotton);
    cursor: not-allowed;
}

/* Product Section */
.product-section {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.product-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    contain: layout style paint;
}

.product-card:hover {
    transform: scale(1.02);
    will-change: transform;
}

.product-card:focus {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 8px;
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-card h3 {
    margin: 0 0 5px 0;
    font-size: 1em;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.product-card p.price {
    font-weight: 600;
    color: var(--text);
    font-size: 1em;
    margin: 0;
}

/* Sold Out Overlay */
.product-card.sold-out {
    position: relative;
    opacity: 0.7;
}

.product-card.sold-out::before {
    content: "SOLD OUT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--onr-black);
    color: var(--onr-white);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9em;
    z-index: 10;
    letter-spacing: 1px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 17, 17, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: var(--surface);
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2em;
    font-weight: 700;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: var(--text);
    transform: scale(1.1);
}

.close-btn:focus {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 4px;
}

.modal-content img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.modal-details {
    flex: 1;
}

.modal-details h3 {
    margin-top: 0;
    font-size: 1.8em;
    color: var(--text);
}

.modal-details p {
    font-size: 1.1em;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.modal-price {
    font-weight: 700;
    font-size: 1.3em;
    color: var(--text);
}
#modalDescription {
    white-space: pre-wrap;
}
/* Content Sections */
.content-section {
    padding: 80px 20px;
    background-color: var(--bg);
    text-align: center;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.content-section h2 {
    font-size: clamp(1.8em, 4vw, 2.5em);
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text);
}

.content-section p {
    font-size: clamp(1em, 2vw, 1.2em);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Impact Section */
.impact-section {
    background-color: var(--bg);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
}

.impact-item {
    text-align: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.impact-icon {
    font-size: clamp(2em, 5vw, 3em);
    margin-bottom: 20px;
    width: 100%;
    overflow: hidden;
}

.impact-item h3 {
    font-size: clamp(1.2em, 3vw, 1.5em);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
    width: 100%;
    word-wrap: break-word;
}

.impact-item p {
    color: var(--text-muted);
    line-height: 1.6;
    width: 100%;
    word-wrap: break-word;
    font-size: clamp(0.9em, 2vw, 1em);
}

/* Carousel Section - Testimony */
.content-section#community {
    padding: 60px 20px;
    background-color: var(--bg);
}

.content-section#community h2 {
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 40px;
    position: relative;
}

.content-section#community h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--onr-black);
    margin: 15px auto 0;
    border-radius: 2px;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: var(--surface);
    padding: 50px 30px;
}

.carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

/* Testimony Specific Styles */
.testimony-slide {
    padding: 20px 60px;
}

.quote-icon {
    font-size: 4em;
    color: var(--onr-fabric-gray);
    opacity: 0.3;
    line-height: 0.5;
    margin-bottom: 20px;
}

.testimony-text {
    color: var(--text);
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 30px;
    font-style: italic;
    position: relative;
}

.star-rating {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 25px;
}

.star-rating .star {
    color: #FFB800;
    font-size: 1.5em;
}

.customer-photo {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 3px solid var(--onr-raw-cotton);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.customer-name {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 15px 0;
}

/* Old carousel slide styles for backwards compatibility */
.carousel-slide img:not(.customer-photo) {
    width: 100%;
    max-width: 350px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 3px solid var(--surface);
    display: block;
    margin: 0 auto; /* Explicit horizontal centering */
}

.carousel-slide img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.carousel-slide h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
    line-height: 1.4;
    max-width: 100%;
    width: auto;
}

.carousel-slide p {
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 450px;
    font-size: 1.05em;
    margin: 0 auto; /* Ensure paragraph centers too */
}

/* Navigation Buttons */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface);
    color: var(--text);
    border: 2px solid var(--border);
    padding: 12px 16px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--onr-black);
    color: var(--onr-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev:focus, .carousel-next:focus {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--fabric-gray);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--onr-black);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--onr-washed-black);
}

.indicator:focus {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

/* Background Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10; /* Much lower z-index to ensure it's way behind content */
    pointer-events: none; /* Prevent interaction with background elements */
    overflow: hidden; /* Prevent background elements from extending beyond container */
}

.light-rays, .shimmer, .floating-elements, .geometric-shapes, .sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10; /* Ensure all background elements are behind content */
}

/* Product Section - Ensure products are above background */
.product-section {
    position: relative;
    z-index: 10;
}

.product-grid {
    position: relative;
    z-index: 10;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Portfolio Section */
.portfolio-section {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
    text-align: center;
}

.portfolio-section h2 {
    margin-bottom: 20px;
}

.portfolio-section p {
    margin-bottom: 40px;
    color: var(--text-muted);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.portfolio-item h3 {
    margin: 0;
    font-size: 1.2em;
}

/* About Section */
.about-section {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
    text-align: center;
}

.about-section h2 {
    margin-bottom: 20px;
}

.about-section p {
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 1.1em;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.about-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.about-text h3 {
    margin-bottom: 15px;
}

.about-text p {
    color: var(--text-muted);
}

/* Activities Section */
.activities-section {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.activities-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.activity-card {
    display: flex;
    align-items: center;
    background: var(--surface);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card img {
    width: 250px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 30px;
    flex-shrink: 0;
}

.activity-card:nth-child(even) {
    flex-direction: row-reverse;
}

.activity-card:nth-child(even) img {
    margin-right: 0;
    margin-left: 30px;
}

.activity-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.4em;
}

.activity-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.testimonial-card {
    display: flex;
    align-items: center;
    background: var(--surface);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 30px;
    flex-shrink: 0;
}

.testimonial-card:nth-child(even) {
    flex-direction: row-reverse;
}

.testimonial-card:nth-child(even) img {
    margin-right: 0;
    margin-left: 30px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin: 0 0 10px 0;
    flex: 1;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--text);
}

/* Footer */
.store-footer {
    background-color: var(--onr-washed-black);
    color: var(--onr-white);
    padding: 40px 20px 0;
    margin-top: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--onr-washed-black);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.left-column {
    gap: 20px;
    align-items: center;
    text-align: center;
}

.award-badge {
    width: 180px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
    object-fit: contain;
}

.land-acknowledgment {
    font-size: 0.9em;
    color: var(--onr-raw-cotton);
    line-height: 1.5;
    margin: 0;
}

.menu-column h4 {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--onr-fabric-gray);
    margin-bottom: 25px;
}

.footer-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.menu-group h5 {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--onr-white);
    margin-bottom: 15px;
    font-weight: 600;
}

.menu-group a {
    display: block;
    color: var(--onr-raw-cotton);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.menu-group a:hover {
    color: var(--onr-white);
}

.newsletter-column h4 {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--onr-fabric-gray);
    margin-bottom: 15px;
}

.newsletter-column p {
    color: var(--onr-raw-cotton);
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--onr-washed-black);
    border-radius: 4px;
    font-size: 0.9em;
    background: rgba(255,255,255,0.1);
    color: var(--onr-white);
}

.newsletter-form input:focus {
    outline: 2px solid var(--onr-white);
    outline-offset: 2px;
    border-color: var(--onr-white);
}

.newsletter-form input::placeholder {
    color: var(--onr-fabric-gray);
}

.newsletter-form button {
    background: var(--onr-white);
    color: var(--onr-black);
    border: none;
    padding: 0 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--onr-raw-cotton);
}

.newsletter-form button:focus {
    outline: 2px solid var(--onr-white);
    outline-offset: 2px;
}

.social-column h4 {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--onr-fabric-gray);
    margin-bottom: 25px;
}

.social-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-column li {
    margin-bottom: 12px;
}

.social-column a {
    color: var(--onr-raw-cotton);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.social-column a:hover {
    color: var(--onr-white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: var(--onr-fabric-gray);
    border-top: 1px solid var(--onr-washed-black);
}

.bottom-left select {
    background: transparent;
    border: none;
    color: var(--onr-raw-cotton);
    font-size: 0.85em;
    padding: 5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.bottom-left select:hover {
    color: var(--onr-white);
}

.bottom-left select:focus {
    outline: 2px solid var(--onr-white);
    outline-offset: 2px;
    border-radius: 2px;
}

.bottom-center {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85em;
}

.bottom-center span {
    white-space: nowrap;
}

.bottom-right .payment-icons {
    display: flex;
    gap: 10px;
    font-size: 1.2em;
}

/* Categories Section */
.categories-section {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
    text-align: center;
}

.categories-section h2 {
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
    contain: layout style paint;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    will-change: transform, box-shadow;
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.category-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.4em;
}

.category-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Models Section */
/* Models Section */
.models-section {
    padding: 60px 20px;
    background-color: var(--bg);
}

.models-section h2 {
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    position: relative;
}

.models-section .models-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.model-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    contain: layout style paint;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    will-change: transform, box-shadow;
}

.model-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    border-radius: 12px;
    display: block;
    cursor: pointer;
}

.model-card:hover img {
    transform: scale(1.02);
    will-change: transform;
}

/* Model overlay styles (hidden since overlay removed from HTML) */
.model-overlay {
    display: none;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    padding: 50px 20px 20px 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
    line-height: 40px;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 30px;
    font-size: 16px;
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
    .lightbox-close {
        font-size: 40px;
        right: 20px;
        top: 10px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .lightbox {
        padding: 40px 10px 10px 10px;
    }
}

/* Collaborations Section */
.collaborations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.collaboration-item {
    background: var(--surface);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.collaboration-item:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px auto;
    display: block;
    border-radius: 8px;
}

.collaboration-item h3 {
    margin-bottom: 10px;
    color: var(--text);
}

.collaboration-item p {
    color: var(--text-muted);
    font-size: 0.9em;
}

/* Large Screen Optimization */
@media (min-width: 1440px) {
    .hero-logo {
        width: 180px;
        height: 180px;
    }
    
    .hero-text h1 {
        font-size: 4.5em;
    }
    
    .content-section {
        padding: 80px 40px;
    }
}

/* Ensure proper responsive behavior for models grid */
@media (max-width: 768px) {
    .models-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .model-card img {
        height: 300px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Prevent layout shift during image loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    min-height: 100px;
}



