/* Parkville Wine & Spirits - Main Stylesheet */
/* Brand Colors: Burgundy #8B0000, Gold #DAA520, Charcoal #333333 */

/* ===== CSS RESET & DEFAULTS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #8B0000;
    --gold: #DAA520;
    --charcoal: #333333;
    --off-white: #F5F5F5;
    --white: #FFFFFF;
    --border-light: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===== LOGO (CSS Wordmark) ===== */
.logo {
    text-align: left;
    line-height: 1.1;
}

.logo-primary {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--burgundy);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.1em;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: var(--off-white);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #6B0000;
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

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

.btn-gold {
    background-color: var(--gold);
    color: var(--charcoal);
}

.btn-gold:hover {
    background-color: #C4940D;
}

/* ===== AGE GATE ===== */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-gate.hidden {
    display: none;
}

.age-gate-content {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-gate h2 {
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.age-gate p {
    margin-bottom: 2rem;
    color: var(--charcoal);
}

.age-gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===== HEADER ===== */
header {
    background-color: var(--white);
    border-bottom: 2px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--burgundy);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--burgundy);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--burgundy) 0%, #6B0000 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--off-white);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== GRID LAYOUTS ===== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px var(--shadow);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card .price {
    color: var(--burgundy);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

/* ===== PRODUCT LISTING ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: var(--off-white);
    border-radius: 4px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    font-size: 0.9rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-details {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--burgundy);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    padding: 2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background-color: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--burgundy);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--charcoal);
    color: var(--off-white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--off-white);
}

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

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 8px var(--shadow);
        padding: 1rem;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .hero {
        padding: 3rem 0;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .age-gate-content {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .age-gate-buttons {
        flex-direction: column;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
