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

:root {
    --primary-color: #36454F;
    --secondary-color: #8CB7D2;
    --dark-color: #2c2c2c;
    --light-color: #f4f4f4;
    --gold-color: #FFD700;
    --text-dark: #333;
    --text-light: #666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-color);
}

html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Gate Modal */
.age-gate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.age-gate-content {
    background: white;
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease-out;
}

.age-gate-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5em;
}

.age-gate-content p {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.age-gate-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

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

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: #6b3410;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
    background-color: #999;
    color: white;
}

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.2em;
}

/* Navigation */
.navbar {
    background-color: var(--dark-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo h2 {
    color: var(--gold-color);
    font-size: 1.8em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6b3410 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Beers Section */
.beers {
    padding: 80px 20px;
    background-color: white;
}

.beers h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.beers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.beer-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.beer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.2);
    border-color: var(--primary-color);
}

.beer-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.beer-card h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.beer-type {
    color: var(--gold-color);
    font-size: 0.95em;
    margin-bottom: 20px;
    font-weight: 600;
}

.beer-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.beer-details {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.abv, .ibu {
    font-weight: 600;
    color: var(--primary-color);
}

/* Tastings Section */
.tastings {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.tastings h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1em;
    margin-bottom: 50px;
}

.tastings-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tasting-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.tasting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.15);
}

.tasting-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5em;
}

.tasting-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-item {
    text-align: center;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.info-item p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #6b3410;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    margin: 10px 0;
}

/* Underage Content */
.underage-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6b3410 100%);
    color: white;
    text-align: center;
}

.underage-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.underage-content p {
    font-size: 1.2em;
    margin: 10px 0;
}

/* Main Content Hidden State */
.main-content {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo h2 {
        font-size: 1.3em;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
    }

    .hero-content h1 {
        font-size: 2.2em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .beers h2, .tastings h2, .contact h2 {
        font-size: 2em;
    }

    .age-gate-content {
        padding: 40px 30px;
        max-width: 90%;
    }

    .age-gate-content h1 {
        font-size: 2em;
    }

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

    .btn {
        width: 100%;
    }

    .beers-grid, .tastings-info, .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.8em;
    }

    .hero {
        padding: 50px 20px;
    }
}
