@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@300;400;600&display=swap');

:root {
    --primary: #1b3022;
    --accent: #c5a059;
    --light-bg: #fdfbf7;
    --text: #2d2d2d;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Inter', sans-serif; background-color: var(--light-bg); color: var(--text); line-height: 1.6; }

/* Header & Nav */
header { display: flex; justify-content: space-between; align-items: center; padding: 25px 5%; background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--primary); text-decoration: none; }
nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; margin-left: 30px; }
nav a:hover { color: var(--accent); }

/* Hero & Main Button */
.hero { height: 70vh; background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('Classics4.png') no-repeat center center/cover; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; text-align: center; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 4rem; margin-bottom: 15px; }
.btn-main { display: inline-block; padding: 15px 40px; background-color: var(--accent); color: white; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; border-radius: 2px; transition: 0.3s; margin-top: 20px; }
.btn-main:hover { background-color: #af8d4a; transform: scale(1.05); }

/* Common Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.page-title { font-family: 'Playfair Display', serif; font-size: 3rem; text-align: center; color: var(--primary); }
.page-subtitle { text-align: center; margin-bottom: 50px; color: #888; text-transform: uppercase; letter-spacing: 2px; }

/* Collections Directory Showroom */
.collection-directory { display: flex; flex-direction: column; gap: 20px; }
.collection-banner { height: 300px; position: relative; display: flex; align-items: center; justify-content: center; text-decoration: none; color: white; overflow: hidden; border-radius: 4px; }
.collection-banner h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; }
.collection-banner span { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 600; opacity: 0.8; }
.banner-content { text-align: center; z-index: 2; transition: transform 0.4s ease; }
.collection-banner:hover .banner-content { transform: scale(1.1); }

/* Banner Backgrounds */
.collection-banner::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1; transition: background 0.4s; }
.collection-banner:hover::after { background: rgba(0,0,0,0.2); }

.classics-bg { background: url('Classics8.png') center/cover; }
.fashion-bg { background: url('Fashion.png') center/cover; }
.parts-bg { background: url('Parts.png') center/cover; }

/* --- PREMIUM PRODUCT GRID UPDATE --- */

.product-grid { 
    display: grid; 
    /* Increased min-width from 300px to 350px to make cards larger */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 50px; /* Increased gap for a more "gallery" feel */
}

.product-card { 
    background: var(--white); 
    border-radius: 0px; /* Sharp corners often look more high-end/architectural */
    overflow: hidden; 
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    border: 1px solid rgba(0,0,0,0.05); 
    text-align: center;
    position: relative;
}

.product-card:hover { 
    transform: translateY(-8px); 
    /* Softer, larger shadow for a "floating" premium effect */
    box-shadow: 0 30px 60px rgba(0,0,0,0.07); 
    border-color: var(--accent); /* Subtle gold hint on hover */
}

.product-image { 
    width: 100%; 
    aspect-ratio: 16 / 9; 
    object-fit: cover; 
    display: block;
    /* Slight zoom effect on the image when hovering the card */
    transition: transform 0.8s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info { 
    padding: 40px 20px; /* More vertical padding for luxury feel */
}

.product-info h3 {
    font-family: 'Playfair Display', serif; /* Use the serif font for product names */
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.price { 
    font-weight: 300; /* Lighter weight for a more modern "boutique" look */
    color: var(--accent); 
    font-size: 1.1rem; 
    letter-spacing: 2px;
    margin-top: 10px;
    display: block;
}


footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 40px; text-align: center; margin-top: 100px; }
/* Location & Map Styling */
.location-section {
    margin-top: 80px;
    text-align: center;
}

.address {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}


/* If you use a static image instead of an iframe */
.map-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Adjusting the section title for the map */
.location-section .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}
/* Location & Map Styling */
.location-section {
    margin-top: 60px;
    text-align: center;
    padding-bottom: 40px;
}


.map-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border: 10px solid white; /* Thick white frame */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.map-image {
    width: 100%;
    height: auto;
    display: block; /* Removes bottom whitespace */
}

/* Optional Overlay that appears on hover */
.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(27, 48, 34, 0.8); /* Your Forest Green color */
    color: white;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s;
}

.map-container:hover .map-overlay {
    opacity: 1;
}

/* Hero Sub-Navigation Styles */
.hero-sub-nav {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Ensures buttons stack on mobile screens */
}

.btn-sub {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Subtle transparent white */
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(1px); /* Modern glass-morphism effect */
}

.btn-sub:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .hero-sub-nav {
        flex-direction: column;
        align-items: center;
        width: 80%;
    }
    .btn-sub {
        width: 100%; /* Full width buttons on small phones */
        text-align: center;
    }
}

/* --- MOBILE RESPONSIVENESS --- */

@media (max-width: 768px) {
    /* Header & Navigation */
    header {
        flex-direction: column;
        padding: 20px 5%;
        gap: 15px;
        text-align: center;
    }

    .logo {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a {
        margin-left: 0; /* Remove the large left margin from desktop */
        font-size: 0.7rem;
        padding: 5px 10px;
        background: rgba(0,0,0,0.03);
        border-radius: 3px;
    }

    /* Hero Section */
    .hero {
        height: 60vh;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem; /* Scale down from 4rem */
    }

    /* Typography */
    .page-title {
        font-size: 2.2rem;
    }

    .container {
        padding: 40px 15px; /* Reduce side padding */
    }

    /* Product Grid */
    .product-grid {
        /* Allow cards to shrink smaller than 350px for mobile phones */
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .product-info {
        padding: 25px 15px;
    }

    /* Collections Banners */
    .collection-banner {
        height: 200px;
    }

    .collection-banner h2 {
        font-size: 1.8rem;
    }

    /* About & Map */
    .about-box {
        padding: 0 10px;
    }

    .map-container {
        border-width: 5px; /* Thinner frame on mobile */
    }
}

/* Extra Small Devices (Phones under 400px) */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr; /* Force single column */
    }
    
    nav a {
        font-size: 0.65rem;
    }
}