/* =========================================================
   Brouwerij 't Hele Eind - Website stylesheet
   Kleuren en typografie conform Huisstijlgids v1.1
   ========================================================= */

:root {
    --navy: #022445;
    --navy-light: #0a3a63;
    --cream: #FAF2E6;
    --cream-dark: #F0E4D0;
    --red: #A5191D;
    --red-dark: #841216;
    --gold: #B08231;
    --gold-light: #c99f52;
    --white: #ffffff;
    --text: #1a2c3a;
    --shadow: 0 10px 30px rgba(2, 36, 69, 0.15);
    --radius: 10px;
    --max-width: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Calibri', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin-bottom: 1rem; }

a { color: var(--red); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

.label-text {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

img { max-width: 100%; display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h2, .section--navy h3 { color: var(--cream); }
.section--cream-dark { background: var(--cream-dark); }

.btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: 100px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .25s ease;
}
.btn--red {
    background: var(--red);
    color: var(--white);
}
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--outline {
    background: transparent;
    border-color: var(--cream);
    color: var(--cream);
}
.btn--outline:hover { background: var(--cream); color: var(--navy); }
.btn--gold {
    background: var(--gold);
    color: var(--white);
}
.btn--gold:hover { background: var(--gold-light); color: var(--white); }

/* ---------- Header / Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
}
.brand img { height: 52px; width: 52px; border-radius: 50%; }
.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--cream);
    letter-spacing: 0.02em;
}
.brand-name span { display: block; font-size: 0.6rem; font-weight: 600; color: var(--gold-light); letter-spacing: 0.15em; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.main-nav a {
    color: var(--cream);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 16px;
    border-radius: 6px;
    transition: background .2s ease, color .2s ease;
}
.main-nav a:hover, .main-nav a.active {
    background: rgba(250, 242, 230, 0.12);
    color: var(--gold-light);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.6rem;
    cursor: pointer;
}

@media (max-width: 880px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        align-items: stretch;
        padding: 8px 24px 20px;
        display: none;
        gap: 2px;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(250,242,230,0.08); border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: var(--white);
    min-height: 78vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,36,69,0.55) 0%, rgba(2,36,69,0.78) 65%, rgba(2,36,69,0.95) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 24px;
    margin: 0 auto;
    text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero p { font-size: 1.15rem; margin-bottom: 32px; color: var(--cream); }
.hero .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (smaller, for subpages) ---------- */
.page-hero {
    position: relative;
    color: var(--white);
    min-height: 38vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,36,69,0.6) 0%, rgba(2,36,69,0.85) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 60px 24px 40px;
    margin: 0 auto;
    text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: var(--cream); font-size: 1.05rem; margin-top: 12px; }

/* ---------- Skyline motief (herhalende afbeelding, bewerkbaar via admin) ---------- */
.skyline-divider {
    display: block;
    width: 100%;
    height: 100px;
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100px;
}

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 880px) {
    .grid-2 { grid-template-columns: 1fr; gap: 32px; }
    .grid-3 { grid-template-columns: 1fr; }
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(2,36,69,0.2); }
.card img { height: 210px; object-fit: cover; width: 100%; }
.card-body { padding: 22px; }
.card-body .date { font-family: 'Oswald', sans-serif; font-size: 0.78rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: #4a5a68; font-size: 0.95rem; }

.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Stat badges (IBU/EBC/ABV) ---------- */
.stat-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 24px 0; }
.stat-badge {
    background: var(--gold);
    color: var(--white);
    border-radius: 8px;
    padding: 10px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}
.stat-badge span { display: block; font-size: 0.7rem; font-weight: 600; opacity: 0.85; letter-spacing: 0.06em; }

.taste-list { list-style: none; margin: 20px 0; }
.taste-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--navy);
}
.taste-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--red);
    border-radius: 50%;
}

/* ---------- Social / Untappd row ---------- */
.social-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 100px;
    background: var(--navy);
    color: var(--cream);
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}
.social-btn:hover { background: var(--gold); color: var(--white); }
.social-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Quote block ---------- */
.quote-block {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 0;
}
.quote-block p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy);
    font-style: italic;
}

/* ---------- Story sections ---------- */
.story-section { padding: 50px 0; border-bottom: 1px solid rgba(2,36,69,0.08); }
.story-section:last-child { border-bottom: none; }

/* ---------- Contact / Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
    background: var(--navy);
    color: var(--cream);
    border-radius: var(--radius);
    padding: 34px;
}
.info-card h3 { color: var(--gold-light); margin-bottom: 4px; }
.info-card .info-item { display: flex; gap: 14px; margin: 20px 0; align-items: flex-start; }
.info-card .info-item svg { width: 22px; height: 22px; fill: var(--gold-light); flex-shrink: 0; margin-top: 3px; }
.info-card a { color: var(--cream); font-weight: 600; }
.info-card a:hover { color: var(--gold-light); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); font-size: 0.92rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d9cdb8;
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.98rem;
    background: var(--white);
    color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 26px;
    font-weight: 600;
}
.alert--success { background: #e3f3e1; color: #276b2a; border: 1px solid #b9dfb6; }
.alert--error { background: #fbe4e4; color: var(--red-dark); border: 1px solid #f0bcbc; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); padding: 0 0 24px; }
.footer-main { padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-grid h4 { color: var(--gold-light); font-family: 'Montserrat', sans-serif; font-size: 0.95rem; letter-spacing: 0.05em; margin-bottom: 16px; text-transform: uppercase; }
.footer-grid p, .footer-grid a { color: #d9e2ea; font-size: 0.93rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { height: 60px; width: 60px; border-radius: 50%; }
.footer-brand strong { font-family: 'Montserrat', sans-serif; color: var(--cream); font-size: 1.1rem; }
.footer-bottom {
    border-top: 1px solid rgba(250,242,230,0.12);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: #9fb0bf;
}
.footer-bottom a { color: #9fb0bf; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Age-neutral notice / drink responsibly ---------- */
.responsible {
    text-align: center;
    font-size: 0.78rem;
    color: #9fb0bf;
    margin-top: 8px;
}

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center;
    padding: 50px 30px;
    background: var(--cream-dark);
    border-radius: var(--radius);
    border: 1.5px dashed var(--gold);
}
.empty-state p { color: #5a6b78; margin: 0; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.tag-gold { color: var(--gold); font-family: 'Oswald', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; font-weight: 500; }
