/* ===========================
   Cafe Westerhout - Stylesheet
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0d0d0d;
    --color-bg-dark: #070707;
    --color-bg-section: #111111;
    --color-gold: #c9a84c;
    --color-gold-light: #e0c76a;
    --color-gold-dark: #a8892e;
    --color-text: #e8e4dc;
    --color-text-muted: #9a9590;
    --color-accent: #1a3a5c;
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --nav-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 7, 7, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
}

.nav-logo-img {
    height: 102px;
    width: auto;
    transition: height 0.4s ease;
}

.navbar.scrolled .nav-logo-img {
    height: 72px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0 auto;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold) !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-phone svg {
    flex-shrink: 0;
}

.nav-phone:hover {
    color: var(--color-gold-light) !important;
}

.nav-menu a {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 24px;
    z-index: 3;
    padding: 4px;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('fotos/bar-breed.jpg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(13, 13, 13, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.hero-logo-wrapper {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    margin: 0 auto 32px;
    border: 3px solid var(--color-gold);
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
    overflow: hidden;
    position: relative;
    background: #4a5a4a;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: calc(50% + 30px) 48%;
    border-radius: 0;
    margin: 0;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-gold);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-bg);
    border: 2px solid var(--color-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-gold);
}

/* --- Sections --- */
.section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-dark {
    background: var(--color-bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto;
}

.divider-left {
    margin: 0;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 50px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--color-gold-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* --- About Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* --- Biljart Section --- */
.biljart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.biljart-image img {
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.biljart-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.biljart-text > p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.biljart-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-gold);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-info h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-gold-light);
    margin-bottom: 6px;
}

.feature-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Gallery --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-large {
    grid-column: 1 / -1;
}

.gallery-item-large img {
    height: 450px;
}

/* --- Activities --- */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.activity-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 4px;
    padding: 36px 24px;
    text-align: center;
    transition: all 0.4s;
}

.activity-card:hover {
    background: rgba(201, 168, 76, 0.06);
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-4px);
}

.activity-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon svg {
    width: 50px;
    height: 50px;
}

.activity-photo {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

.activity-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.activity-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Drinks Banner --- */
.drinks-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.drinks-image img {
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.drinks-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.drinks-text p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

/* --- Openingstijden --- */
.hours-container {
    max-width: 500px;
    margin: 0 auto;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1.05rem;
}

.hours-table td:first-child {
    font-weight: 600;
    color: var(--color-white);
}

.hours-table td:last-child {
    text-align: right;
    color: var(--color-gold);
    font-weight: 400;
}

.hours-table tr.closed td:last-child {
    color: var(--color-text-muted);
    font-style: italic;
}

.hours-table tr:last-child td {
    border-bottom: none;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.contact-details {
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.contact-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-cta {
    font-size: 1.05rem;
    color: var(--color-gold-light) !important;
    font-style: italic;
}

.contact-image img {
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* --- Footer --- */
.footer {
    background: var(--color-bg-dark);
    padding: 48px 0 24px;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-hours p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-align: right;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-logo-img {
        height: 80px;
    }

    .navbar.scrolled .nav-logo-img {
        height: 60px;
    }

    .nav-phone {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(7, 7, 7, 0.98);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right 0.4s ease;
    }

    .nav-menu.active {
        right: 0;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-logo-wrapper {
        width: 150px;
        height: 150px;
    }

    .section {
        padding: 70px 0;
    }

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

    .about-grid,
    .biljart-grid,
    .drinks-banner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .biljart-image {
        order: -1;
    }

    .gallery-item img {
        height: 220px;
    }

    .gallery-item-large img {
        height: 280px;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-hours p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img,
    .gallery-item-large img {
        height: 220px;
    }

    .hours-table td {
        padding: 12px 8px;
        font-size: 0.95rem;
    }
}
