:root {
    --sky-blue: #4A90D9;
    --deep-blue: #1E3A5F;
    --gold: #D4A84B;
    --wheat: #F5E6C8;
    --prairie-green: #5B8C5A;
    --dark: #0D1B2A;
    --light: #F8FAFC;
    --gray: #64748B;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--gold);
    color: var(--dark);
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 168, 75, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(74, 144, 217, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 168, 75, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    display: block;
    width: 180px;
    height: auto;
    margin: 0 auto 2rem auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

@media (min-width: 768px) {
    .hero-logo {
        width: 240px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 168, 75, 0.15);
    border: 1px solid rgba(212, 168, 75, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--sky-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

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

.btn-primary {
    background: var(--gold);
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 75, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Stats Bar */
.stats-bar {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--deep-blue);
    letter-spacing: -0.02em;
}

.stat-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--light);
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--deep-blue);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.about-card .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--deep-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Meetups Section */
.meetups {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--deep-blue) 0%, var(--dark) 100%);
    color: white;
}

.meetups .section-header h2 {
    color: white;
}

.meetups .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.meetup-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.meetup-card .venue {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.meetup-card .location {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.meetup-card .schedule {
    background: rgba(212, 168, 75, 0.1);
    border: 1px solid rgba(212, 168, 75, 0.2);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.meetup-card .schedule h4 {
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.meetup-card .schedule p {
    font-size: 1.1rem;
    color: white;
}

.meetup-card .description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.meetup-card .beer-emoji {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.meetup-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 16px;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.meetup-card .event-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

/* "View past events" link under the upcoming card */
.view-past-wrap {
    text-align: center;
    margin-top: 2.5rem;
}

/* Upcoming overflow list (when more than one upcoming event) */
.upcoming-more {
    max-width: 700px;
    margin: 3rem auto 0;
}

.upcoming-more h3 {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.mini-event {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    text-align: left;
    text-decoration: none;
}

.mini-event:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mini-event .me-venue {
    font-weight: 600;
    color: white;
}

.mini-event .me-meta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.mini-event .me-date {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Past Events page */
.events-page {
    background: linear-gradient(180deg, var(--deep-blue) 0%, var(--dark) 100%);
    color: white;
    min-height: 100vh;
    padding: 8rem 2rem 6rem;
}

.events-page .section-header h2 {
    color: white;
}

.events-page .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.back-link:hover {
    text-decoration: underline;
}

.event-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.event-list-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.75rem;
    align-items: start;
}

.event-list-card.no-image {
    grid-template-columns: 1fr;
}

.event-list-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
}

.elc-date {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.elc-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin: 0.25rem 0 0.1rem;
}

.elc-venue {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.elc-location {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.elc-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.no-events {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .event-list-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .event-list-card img {
        width: 100%;
        height: auto;
        max-width: 280px;
        margin: 0 auto;
    }

    .elc-location {
        justify-content: center;
    }
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    background: var(--wheat);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.cta p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

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

.cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.cta-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-card .icon.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #005f8c 100%);
}

.cta-card .icon.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bbd 100%);
}

.cta-card .icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.cta-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.cta-card .btn-primary,
.cta-card .btn-dark {
    width: 100%;
    justify-content: center;
}

.btn-dark {
    background: var(--dark);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.3);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

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

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .meetup-card {
        padding: 2rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Hamburger menu for mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-cta {
        display: none;
    }
}
