/* ===========================
   GLOBAL STYLES
   =========================== */

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

:root {
    --primary-color: #001F4D;
    --primary-dark: #000F2E;
    --secondary-color: #00BFFF;
    --accent-color: #4FA3FF;
    --text-dark: #0D1B2A;
    --text-light: #4A5568;
    --bg-light: #F0F6FB;
    --border-color: #B3D9FF;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

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

/* ===========================
   NAVIGATION
   =========================== */

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.logo-img {
    height: 80px;
    width: auto;
}

.logo-text {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hamburger:hover,
.hamburger:focus-visible {
    background-color: rgba(255, 255, 255, 0.16);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 3px;
    background-color: var(--white);
    border-radius: 999px;
    margin: 4px 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hamburger.active {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(79, 163, 255, 0.65);
}

.hamburger.active span {
    background-color: var(--secondary-color);
}

/* ===========================
   RESPONSIVE NAVIGATION
   =========================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: min(280px, 80vw);
        background: linear-gradient(180deg, rgba(0, 15, 46, 0.98) 0%, #001F4D 100%);
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 3rem 0 1.5rem;
        transform: translateX(-110%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        z-index: 999;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.35);
        transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: background-color 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
        color: var(--white);
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
        background-color: rgba(79, 163, 255, 0.12);
        color: var(--secondary-color);
        padding-left: 2rem;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.55);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s ease;
        z-index: 998;
        backdrop-filter: blur(2px);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}


body.menu-open {
    overflow: hidden;
}


/* ===========================
   SECTIONS
   =========================== */

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    width: 100%;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-content .tagline {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.95;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #ffeb3b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===========================
   MENUKAART SECTION
   =========================== */

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

.menu-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.menu-items {
    list-style: none;
}

.menu-items li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.menu-items li:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 500;
    color: var(--text-dark);
}

.item-price {
    color: var(--primary-color);
    font-weight: bold;
}

/* ===========================
   GALLERY
   =========================== */

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

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* ===========================
   PARTNERS SECTION
   =========================== */

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

.partner-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: scale(1.05);
}

.partner-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.partner-card h3 {
    color: var(--primary-color);
}

/* ===========================
   LOCATIE SECTION
   =========================== */

.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-details h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.location-details p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.location-details p a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-details p a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.location-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
}

.location-buttons .btn {
    width: 100%;
    text-align: center;
}

.btn-action {
    padding: 1rem 1.5rem !important;
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-size: 1rem;
}

.btn-action:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 30, 77, 0.4);
}

.btn-action:active {
    transform: translateY(0);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .location-info {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
}

/* ===========================
   EVENEMENTEN SECTION
   =========================== */

.events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    padding: 1rem;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.event-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.event-description {
    color: var(--text-dark);
    margin-top: 0.5rem;
}

/* ===========================
   OPENINGSUREN SECTION
   =========================== */

.hours-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.hours-table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.hours-table tr {
    border-bottom: 1px solid var(--border-color);
}

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

.hours-table td {
    padding: 1rem 2rem;
    text-align: left;
}

.hours-table td:first-child {
    width: 40%;
    color: var(--primary-color);
    font-weight: bold;
}

.hours-table td:last-child {
    text-align: right;
}

.hours-note {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 4px;
    max-width: 500px;
}

.hours-note p {
    color: var(--text-dark);
    margin: 0;
}

/* ===========================
   PLACEHOLDER STYLES
   =========================== */

.placeholder {
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
}

.placeholder img {
    background-color: #e0e0e0;
    object-fit: cover;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

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

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

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section p a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===========================
   LIGHTBOX MODAL
   =========================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    font-weight: bold;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

.lightbox-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 2001;
}

.lightbox-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    padding: 0.8rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.lightbox-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.lightbox-btn:active {
    transform: scale(1);
}

@media (max-width: 768px) {
    .section {
        padding: 2rem 1rem;
    }

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

    .hero {
        min-height: 300px;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

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

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

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

    .location-buttons {
        flex-direction: column;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        gap: 1rem;
        min-width: auto;
        width: 100%;
    }

    .event-date .day {
        font-size: 1.5rem;
    }
}

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

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

    .nav-menu {
        top: 82px;
    }

    .logo-img {
        height: 50px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }

    .lightbox-controls {
        bottom: 20px;
        gap: 1rem;
    }

    .lightbox-btn {
        padding: 0.6rem 1rem;
        font-size: 1.2rem;
    }
}

/* Ensure background-attachment doesn't force awkward behavior on mobile
   and reduce logo size for small tablets/phones */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .logo-img {
        height: 60px;
    }
}
