@import url('shared.css');

/* Reset & Base Variables */
:root {
    --color-bg: #0a0a0a;
    --color-text: #e0e0e0;
    --color-text-muted: #888888;
    --color-accent: #8d6e63; /* Warm brown */
    --color-gold: #c5a059;
    --color-card-bg: #141414;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.6;
    user-select: none; /* Prevent text selection cursor */
    -webkit-user-select: none;
    cursor: default;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(10,10,10,0.8), transparent);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
}

.nav-links a:hover {
    color: var(--color-gold);
}

.cart-icon {
    font-size: 0.9rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 4rem;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: -1;
}

/* Mask effect for image blending */
.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--color-bg) 10%, transparent 60%);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.subtitle {
    display: block;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #fff;
}

.hero p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

/* Collection Section */
.collection {
    padding: 6rem 4rem;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.line {
    width: 60px;
    height: 1px;
    background-color: var(--color-accent);
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    background-color: var(--color-card-bg);
    transition: transform 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-image {
    height: 400px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at center, #2a2a2a 0%, #141414 70%);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
    padding: 1rem;
}

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

.card-info {
    padding: 1.5rem;
    text-align: center;
}

.card-info h3 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: #fff;
}

.price {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-shop {
    background: none;
    border: none;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    padding-bottom: 3px;
    transition: 0.3s;
}

.product-card:hover .btn-shop {
    color: #fff;
    border-bottom-color: #fff;
}

/* About / Footer */
.about {
    padding: 6rem 4rem;
    text-align: center;
    background-color: #0f0f0f;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.about h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.about p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

footer {
    padding: 3rem 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #444;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-col a {
    margin-left: 1.5rem;
}

.footer-col a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
    .navbar {
        padding: 1.5rem 2rem;
        position: fixed; /* Sticky behavior */
        background-color: rgba(10, 10, 10, 0.95); /* Slightly transparent dark bg for better readability when scrolling */
        backdrop-filter: blur(10px); /* Glassmorphism effect */
    }
    
    /* Hamburger Style */
    .hamburger {
        cursor: pointer;
        z-index: 20; /* Above overlay */
    }
    
    .hamburger div {
        width: 25px;
        height: 2px;
        background-color: #fff;
        margin: 5px;
        transition: all 0.3s ease;
    }

    /* Mobile Nav Overlay */
    .nav-links {
        display: flex; /* Override d-none if it was set, we control via transform/opacity now */
        position: fixed;
        right: 0px;
        top: 0px;
        height: 100vh;
        width: 100%; /* Full screen overlay */
        background-color: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%); /* Slide from top */
        transition: transform 0.5s ease-in-out;
        z-index: 15;
    }

    .nav-links.nav-active {
        transform: translateY(0%);
    }

    .nav-links li {
        opacity: 0; /* Fade in links */ 
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.5rem; /* Larger font for mobile */
    }

    /* Hamburger Animation */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding: 0 2rem;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-image-container {
        width: 100%;
        position: absolute;
        opacity: 0.3;
        z-index: 0;
    }
    
    .hero-content {
        margin-top: 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .collection, .about, footer {
        padding: 4rem 2rem;
    }
}

/* Product Detail Page Styles */
.page-container {
    padding: 8rem 4rem 4rem; /* Top padding for fixed navbar */
    max-width: 1400px;
    margin: 0 auto;
}

.solid-nav {
    background-color: var(--color-bg); /* Solid bg for inner pages */
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.breadcrumb {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.breadcrumb a:hover {
    color: var(--color-gold);
}

.product-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

/* Sticky removed as requested */
.product-gallery {
    height: fit-content;
}

.main-image {
    background: radial-gradient(circle at center, #2a2a2a 0%, #141414 70%);
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.main-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

.product-info h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.product-price {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.product-description {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.size-selector {
    margin-bottom: 2.5rem;
}

.size-selector span {
    display: block;
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sizes {
    display: flex;
    gap: 1rem;
}

.size-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.size-btn:hover {
    border-color: #fff;
}

.size-btn.selected {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.btn-full {
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
}

.product-details-list {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.detail-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.detail-item h4 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 500;
}

.detail-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Responsive Product Page */
@media (max-width: 900px) {
    .product-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-image {
        height: 400px;
    }

    .page-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .page-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Sticky WhatsApp Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
    background-color: #20bd5a;
    color: #fff;
}

.whatsapp-sticky svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}
