@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500&family=Poppins:wght@200;300;400;500&display=swap');

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.7;
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

:root {
    --primary-color: #000000;
    --secondary-color: #f8f8f8;
    --accent-color: #d4a373;
    --text-muted: #888888;
    --border-color: #eeeeee;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-blur: 20px;
    --container-width: 1440px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 4rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 3.5rem 0;
    background: transparent;
    transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

.navbar.scrolled {
    padding: 1.5rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
    letter-spacing: 10px;
    color: #fff;
    margin: 0;
    transition: color 0.4s ease;
}

.navbar.scrolled .nav-logo a h1 {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 4.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.4s ease;
}

.navbar.scrolled .nav-links a {
    color: #333;
}

.nav-links a:hover, .navbar.scrolled .nav-links a:hover {
    color: var(--accent-color);
}

.nav-icons {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-icons i {
    font-size: 1.05rem;
    cursor: pointer;
    color: #fff;
    transition: transform 0.4s ease, color 0.4s ease;
}

.navbar.scrolled .nav-icons i {
    color: #1a1a1a;
}

.nav-icons i:hover {
    transform: translateY(-2px);
}

.cart-count {
    background: var(--primary-color);
    color: white;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -10px;
    right: -10px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.8s ease-in-out, transform 10s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.12);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 100%;
}

.hero-content h2 {
    font-size: 5.5rem;
    font-weight: 200;
    margin-bottom: 1.5rem;
    letter-spacing: 5px;
    white-space: nowrap;
    animation: fadeInDown 1.5s ease;
}

.hero-content p {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
    opacity: 0.85;
    animation: fadeInUp 1.5s ease 0.4s backwards;
}

.btn {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: var(--primary-color);
    color: white;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 3px;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.8);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: black;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page Headers for subpages */
.page-header {
    padding: 12rem 0 6rem 0;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    margin-bottom: 4rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 200;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page-header p {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

/* Sections */
.section {
    padding: 12rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 8rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 200;
    letter-spacing: 3px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Category Cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    height: 650px;
    overflow: hidden;
    background: #f5f5f5;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 4rem;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    color: white;
    text-align: center;
    transition: all 0.5s ease;
}

.category-content h3 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5.5rem 2rem;
}

.product-card {
    position: relative;
}

.product-image {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #f9f9f9;
    margin-bottom: 1.5rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease, opacity 0.8s ease;
}

.product-image img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.product-card:hover .product-image img.main-img {
    opacity: 0;
}

.product-card:hover .product-image img.hover-img {
    opacity: 1;
    transform: scale(1.05);
}

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

.product-actions-overlay {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10;
    width: 100%;
    justify-content: center;
}

.product-card:hover .product-actions-overlay {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.btn-icon {
    background: white;
    color: black;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-icon:hover {
    background: black;
    color: white;
}

.btn-action {
    background: white;
    color: black;
    border: none;
    padding: 0 1.5rem;
    height: 45px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-action:hover {
    background: black;
    color: white;
}

.product-info {
    text-align: center;
}

.product-info h3 {
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
    color: #333;
}

.product-price {
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
}

/* Footer */
footer {
    background: #0a0a0a;
    color: white;
    padding: 10rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 6rem;
    margin-bottom: 8rem;
}

.footer-col h4 {
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.footer-col p, .footer-col ul li {
    color: #777;
    font-size: 0.85rem;
    line-height: 2;
    margin-bottom: 1rem;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 3rem;
    text-align: center;
    font-size: 0.75rem;
    color: #444;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}



/* Footer */
footer {
    background: #111;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
}

/* Responsive Grid & Flex Utilities */
.responsive-grid-400 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.responsive-grid-350 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
.responsive-grid-300 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.responsive-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.responsive-cart-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
}
.responsive-checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}
.responsive-checkout-subgrid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.responsive-checkout-subgrid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.responsive-flex-row {
    display: flex;
    gap: 2rem;
}

.mobile-product-header {
    display: none;
}
.desktop-product-header {
    display: block;
}

/* Responsive */
.mobile-menu-icon {
    display: none;
}

.filters-summary {
    display: none;
}


@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem !important;
    }
    .mobile-menu-icon {
        display: inline-block !important;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0 !important;
        width: 100% !important;
        background: #fff;
        padding: 2rem 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        text-align: center;
        z-index: 1000;
        gap: 1.5rem;
        transform: none !important;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li a {
        font-size: 1.1rem;
        font-weight: 500;
        display: block;
    }
    .nav-links a, .navbar.scrolled .nav-links a {
        color: #1a1a1a !important;
    }
    .nav-links a:hover, .navbar.scrolled .nav-links a:hover {
        color: var(--accent-color) !important;
    }
    .hero-content h2 {
        font-size: 2.2rem !important;
        white-space: normal !important;
        line-height: 1.3;
        padding: 0 1rem;
    }
    .hero-content p {
        font-size: 0.8rem !important;
        white-space: normal !important;
        line-height: 1.5;
        padding: 0 1rem;
    }
    .section-header h2, .section h2 {
        font-size: 2rem !important;
    }
    .page-header h1 {
        font-size: 2.2rem !important;
    }
    .nav-icons {
        gap: 1rem !important;
    }
    .nav-logo h1 {
        font-size: 1.1rem !important;
    }
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }
    .product-image {
        height: 180px !important;
    }
    .product-info {
        margin-top: 1rem !important;
    }
    .product-info h3 {
        font-size: 0.75rem !important;
        margin-bottom: 0.2rem !important;
    }
    .product-price {
        font-size: 0.8rem !important;
    }
    .filters-summary {
        display: flex;
        justify-content: space-between;
        padding: 1rem;
        background: #fafafa;
        border: 1px solid #eee;
        cursor: pointer;
        font-weight: 500;
        margin-bottom: 1rem;
    }
    .filters-content {
        display: none;
    }
    #filter-toggle:checked ~ .filters-content {
        display: block;
    }
    .sidebar {
        margin-bottom: 2rem;
    }
    
    /* Responsive overrides for utilities */
    .responsive-grid-400,
    .responsive-grid-350,
    .responsive-grid-300,
    .responsive-grid-2col,
    .responsive-cart-grid,
    .responsive-checkout-grid,
    .responsive-checkout-subgrid-2,
    .responsive-checkout-subgrid-3 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .responsive-flex-row {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    .product-detail-main-image {
        height: 350px !important;
    }
    .categories-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .category-card {
        height: 350px !important;
    }
    .category-content {
        padding: 2rem !important;
    }
    .reviews-slider {
        padding: 1rem 1.5rem 2rem 1.5rem !important;
        gap: 1rem !important;
    }
    .review-card {
        min-width: calc(100vw - 4rem) !important;
        width: calc(100vw - 4rem) !important;
    }
    .mobile-product-header {
        display: block;
        margin-bottom: 2.5rem;
    }
    .mobile-product-header .category {
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 2px;
        color: var(--text-muted);
        margin-bottom: 0.5rem;
    }
    .mobile-product-header h1 {
        font-size: 1.6rem !important;
        margin-bottom: 0.8rem;
        line-height: 1.4;
        font-weight: 300;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
    }
    .mobile-product-header .price {
        font-size: 1.3rem;
        font-weight: 400;
    }
    .mobile-product-header .old-price {
        text-decoration: line-through;
        color: #999;
        margin-right: 0.8rem;
        font-size: 1.1rem;
    }
    .desktop-product-header {
        display: none !important;
    }
}



/* Infinity Scroll Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #000;
    color: #fff;
    padding: 1.5rem 0;
    display: flex;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-content {
    display: flex;
    animation: marquee 25s linear infinite;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.marquee-content span {
    margin: 0 3rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reviews Auto-Slider */
.reviews-section {
    padding: 8rem 0 2rem 0;
    background: #fafafa;
    overflow: hidden;
}

.reviews-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 4rem;
}

.reviews-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 4rem 4rem 4rem;
    scrollbar-width: none; /* Firefox */
}

.reviews-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.review-card {
    min-width: calc((100vw - 14rem) / 4);
    width: calc((100vw - 14rem) / 4);
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (max-width: 1200px) {
    .review-card {
        min-width: calc((100vw - 12rem) / 3);
        width: calc((100vw - 12rem) / 3);
    }
}

@media (max-width: 768px) {
    .review-card {
        min-width: calc((100vw - 10rem) / 2);
        width: calc((100vw - 10rem) / 2);
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: calc(100vw - 8rem);
        width: calc(100vw - 8rem);
    }
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.review-stars {
    color: #d4a373;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2rem;
}

.review-author {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
}

/* FAQ Accordion */
.faq-section {
    padding: 10rem 0;
    background: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details.faq-item {
    border-bottom: 1px solid #eee;
    padding: 2rem 0;
    transition: all 0.3s ease;
}

details.faq-item summary {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    outline: none;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 200;
    transition: transform 0.3s ease;
}

details.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

details.faq-item p {
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeInDown 0.4s ease;
}

/* Hover Image Card Animation */
.hover-img-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-img-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15) !important;
}

.hover-img-card img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-img-card:hover img {
    transform: scale(1.05);
}
