/* ==========================================================================
   1. GLOBAL STYLES & VARIABLES
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root { 
    --primary: #2b2118;       /* Deep espresso */
    --secondary: #b88e66;     /* Muted warm oat/gold */
    --bg-light: #faf8f5;      /* Crisp, clean, linen off-white */
    --text-dark: #2c2520;     /* Soft dark brown for high-end readability */
    --text-muted: #6b6259;    /* Elegant secondary text */
    --card-bg: #ffffff;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body { 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7; 
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
header { 
    background-color: rgba(250, 248, 245, 0.9); 
    backdrop-filter: blur(10px);
    padding: 1.2rem 2rem; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid rgba(43, 33, 24, 0.05);
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.logo { 
    color: var(--primary); 
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; 
    font-weight: 700; 
    text-decoration: none; 
    letter-spacing: -0.5px;
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 2.5rem; 
}

.nav-links a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover, 
.nav-links .active { 
    color: var(--primary); 
}

/* ==========================================================================
   3. HERO SECTION & BUTTONS
   ========================================================================== */
.hero { 
    background: linear-gradient(rgba(43, 33, 24, 0.45), rgba(43, 33, 24, 0.45)), url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    height: 70vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    color: white; 
    padding: 0 1rem;
}

.hero h1 { 
    font-family: 'Playfair Display', serif;
    font-size: 4rem; 
    font-weight: 600;
    margin-bottom: 0.5rem; 
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.btn { 
    background-color: var(--primary); 
    color: white; 
    padding: 1rem 2.5rem; 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0px; 
    display: inline-block; 
    margin-top: 1.5rem; 
    transition: var(--transition);
}

.btn:hover { 
    background-color: var(--secondary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.7rem 2rem;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

/* ==========================================================================
   4. SHARED LAYOUT & CONTAINERS
   ========================================================================== */
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 6rem 2rem; 
}

.section-preview { 
    text-align: center; 
    max-width: 700px; 
    margin: 0 auto 6rem auto; 
}

.section-preview h2 { 
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem; 
    color: var(--primary); 
    margin-bottom: 1.5rem; 
    font-weight: 600;
}

.section-preview p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   5. SOCIAL SHOWCASE & IMAGES
   ========================================================================== */
.social-showcase { 
    text-align: center; 
    margin-bottom: 6rem; 
}

.social-showcase h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.social-showcase > p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.image-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 1rem; 
    margin: 2rem 0 3rem 0; 
}

.grid-img { 
    width: 100%; 
    height: 320px; 
    object-fit: cover; 
    transition: var(--transition);
    filter: grayscale(15%);
}

.grid-img:hover {
    transform: scale(1.02);
    filter: grayscale(0%);
}

/* ==========================================================================
   6. INFINITE REVIEWS SCROLLER
   ========================================================================== */
.reviews-section {
    margin: 6rem 0;
    text-align: center;
}

.reviews-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
}

.reviews-container {
    overflow: hidden;
    width: 100%;
    padding: 1.5rem 0;
    position: relative;
}

.reviews-container::before,
.reviews-container::after {
    content: "";
    height: 100%;
    width: 150px;
    position: absolute;
    z-index: 2;
    top: 0;
    pointer-events: none;
}

.reviews-container::before { 
    left: 0; 
    background: linear-gradient(to right, var(--bg-light), transparent); 
}

.reviews-container::after { 
    right: 0; 
    background: linear-gradient(to left, var(--bg-light), transparent); 
}

.reviews-track {
    display: flex;
    width: max-content;
    gap: 2.5rem;
    animation: scroll 35s linear infinite;
}

.reviews-track:hover { 
    animation-play-state: paused; 
}

.review-card {
    background: var(--card-bg);
    padding: 2.5rem;
    width: 340px;
    flex-shrink: 0;
    text-align: left;
    border: 1px solid rgba(43, 33, 24, 0.04);
    box-shadow: 0 10px 30px rgba(43, 33, 24, 0.02);
}

.review-stars {
    color: var(--secondary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.review-author {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.25rem)); }
}

/* ==========================================================================
   7. INFO MODULES & VISIT PAGES
   ========================================================================== */
.quick-visit { 
    display: flex; 
    gap: 2rem; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    text-align: left; 
}

.info-card { 
    flex: 1; 
    min-width: 280px; 
    background: var(--card-bg); 
    padding: 2.5rem; 
    border: 1px solid rgba(43, 33, 24, 0.04);
    box-shadow: 0 10px 30px rgba(43, 33, 24, 0.02);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About/Story unique overrides */
.story-header { 
    text-align: center; 
    margin-bottom: 4rem; 
}

.story-header h1 { 
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem; 
    color: var(--primary); 
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.story-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.story-img { 
    width: 100%; 
    height: 450px; 
    object-fit: cover; 
    margin-bottom: 3rem; 
    filter: grayscale(10%);
    transition: var(--transition);
}

.story-img:hover {
    filter: grayscale(0%);
}

.container p { 
    margin-bottom: 1.8rem; 
    font-size: 1.05rem; 
    color: var(--text-dark);
}

/* Visit unique overrides */
.visit-header { 
    text-align: center; 
    margin-bottom: 4rem; 
}

.visit-header h1 { 
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem; 
    color: var(--primary); 
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.visit-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.visit-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 3rem; 
    margin-top: 2rem; 
}

.detail-box { 
    background: var(--card-bg); 
    padding: 2.5rem; 
    border: 1px solid rgba(43, 33, 24, 0.04);
    box-shadow: 0 10px 30px rgba(43, 33, 24, 0.02);
    margin-bottom: 2rem; 
}

.detail-box h3 { 
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary); 
    margin-bottom: 1.2rem; 
    padding-bottom: 0.5rem; 
    border-bottom: 1px solid rgba(43, 33, 24, 0.1);
}

.detail-box p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.detail-box p strong {
    color: var(--primary);
    font-weight: 600;
}

.map-placeholder { 
    background: #ebe7e0; 
    height: 100%; 
    min-height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted); 
    border: 1px solid rgba(43, 33, 24, 0.05);
}

/* ==========================================================================
   8. GLOBAL FOOTER & RESPONSIVENESS
   ========================================================================== */
footer { 
    background-color: var(--primary); 
    color: rgba(254, 250, 224, 0.7); 
    text-align: center; 
    padding: 3rem 2rem; 
    margin-top: 6rem; 
    font-size: 0.85rem; 
    letter-spacing: 0.5px;
}

@media (max-width: 768px) { 
    .nav-links { display: none; } 
    .hero h1 { font-size: 2.8rem; } 
    .section-preview h2 { font-size: 2.2rem; }
    .story-header h1 { font-size: 2.8rem; }
    .visit-header h1 { font-size: 2.8rem; }
    .story-img { height: 300px; }
    .map-placeholder { min-height: 300px; }
    .container { padding: 4rem 1.5rem; }
}
/* ==========================================================================
   9. SHOP PAGE & MODAL STYLES
   ========================================================================== */
.shop-layout {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.shop-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.filter-group {
    margin-bottom: 2.5rem;
}

    .filter-group h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: var(--primary);
    }

    .filter-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
        color: var(--text-dark);
        cursor: pointer;
    }

    .filter-group select {
        width: 100%;
        padding: 0.6rem;
        font-family: inherit;
        border: 1px solid rgba(43, 33, 24, 0.1);
        background-color: var(--card-bg);
    }

.products-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(43, 33, 24, 0.04);
    cursor: pointer;
    transition: var(--transition);
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(43, 33, 24, 0.05);
    }

.product-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.25rem;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 600;
    color: var(--text-dark);
}

/* Modal Style */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 33, 24, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--bg-light);
    margin: 10% auto;
    padding: 2.5rem;
    border: 1px solid rgba(43, 33, 24, 0.1);
    width: 90%;
    max-width: 750px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

#modal-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.modal-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .modal-details h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

#modal-desc {
    margin: 1rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .shop-layout {
        flex-direction: column;
    }

    .shop-sidebar {
        width: 100%;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    #modal-img {
        height: 220px;
    }
}