/* =========================================
   1. FONTS & VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100;300;400;900&family=PT+Sans:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-color: #003634;
    --secondary-color: #E88D94;
    --text-color: #333;
    --light-text-color: #fff;
    --background-light: #f8f9fa;
    
    /* Font definities */
    --font-title: 'Londrina Solid', cursive;
    --font-body: 'PT Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #fdfdfd;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* =========================================
   2. TYPOGRAPHY & GLOBAL OVERRIDES
   ========================================= */
h1, h2, h3, h4, h5, h6, .title-font, .nav-link, .btn {
    font-family: 'Londrina Solid', cursive !important;
    font-weight: 400;
    text-transform: uppercase;
}

.hero-top-text span, 
.snake-text span {
    font-family: 'Londrina Solid', cursive !important;
}

h2 small.text-muted {
    color: var(--secondary-color) !important;
    font-family: 'Londrina Solid', cursive !important;
}

p, li, span, small, a, div, address, label, input, select, textarea, .card-text, .form-label, .text-muted {
    font-family: var(--font-body);
}

a { 
    color: var(--secondary-color); 
    text-decoration: none; 
    transition: color 0.2s ease; 
}
a:hover { 
    color: var(--primary-color); 
}

/* Layout Helpers */
.p-0 { padding: 0 !important; }
.m-0 { margin: 0 !important; }
.g-0 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.overflow-hidden { overflow: hidden; }

/* Algemene pagina spacing (Ruimte onder menu en boven footer) */
.page-content {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

/* =========================================
   3. HEADER & NAVBAR
   ========================================= */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar { border-bottom: 1px solid #eee; padding: 0.5rem 0; }
.navbar-brand img { height: 55px; width: auto; }
.navbar-toggler { border: none; box-shadow: none; }
.navbar-toggler:focus { box-shadow: none; outline: none; }

/* Menu Links */
.nav-link { 
    color: var(--primary-color) !important; 
    font-size: 1.2rem; 
    position: relative; 
    padding: 0.5rem 0 !important; 
    margin: 0 1rem; 
}

.nav-link::after {
    content: none !important;
    display: none;
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-btn-cta {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    border-radius: 50px;
    padding: 8px 24px;
    transition: all 0.3s ease;
}
.navbar .nav-btn-cta:hover {
    background-color: var(--primary-color) !important; /* Groene achtergrond */
    border-color: var(--primary-color) !important;     /* Groene rand */
    color: var(--secondary-color) !important;          /* ROZE TEKST */
}

.navbar-controls { display: flex; align-items: center; }
.lang-switcher { margin-right: 1rem; font-weight: bold; font-family: var(--font-body); }
.lang-switcher a { color: #ccc; text-decoration: none; margin: 0 2px; }
.lang-switcher a.active { color: var(--primary-color); }

/* Social Icons in Header */
.navbar-social-icons a { 
    color: var(--primary-color); 
    font-size: 1.2rem; 
    margin-left: 15px; 
    transition: color 0.3s ease; 
}
.navbar-social-icons a:hover { color: var(--secondary-color); }

/* Notification Bar (Top) */
.notification-bar {
    display: none; /* Controlled by JS */
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    text-align: center;
}
.notification-bar p { margin: 0; font-weight: bold; }
.notification-bar a { color: var(--primary-color); text-decoration: underline; }
.btn-close-notification { background: none; border: none; font-size: 1.2rem; float: right; cursor: pointer; color: var(--primary-color); }

/* =========================================
   4. HERO SECTIONS
   ========================================= */
/* Homepage Hero (Redesigned) */
.hero-redesigned {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--light-text-color);
    background-size: cover;
    background-position: center center;
}
.hero-redesigned-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 54, 52, 0.4);
    z-index: 1;
}
.hero-redesigned-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
}
.hero-top-text {
    font-family: 'Londrina Solid', cursive !important;
    font-weight: 400;
    
    font-size: clamp(1.8rem, 6vw, 5rem);
    
    text-transform: uppercase;
    color: var(--light-text-color);
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
    
    width: 100%;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    
    word-break: normal;
    overflow-wrap: break-word;
    
    text-wrap: balance;  
    
    line-height: 1.1;
    padding: 0 15px;
    box-sizing: border-box;
}
.hero-slogan {
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-top: 1px solid rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.6);
    padding: 1rem 3rem;
    display: inline-block;
    color: var(--light-text-color);
    margin-bottom: 2rem;
}

.page-hero {
    position: relative; 
    min-height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: var(--light-text-color); 
    background-color: var(--primary-color); 
    background-size: cover;
    background-position: center center; 
    padding: 2rem 0;
    margin-bottom: 2rem;
}
.page-hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 54, 52, 0.6); z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero h1.hero-title { font-size: 4rem; margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.page-hero .lead {
    font-family: var(--font-body); color: rgba(255, 255, 255, 0.95); max-width: 800px;
    margin: 0 auto; font-size: 1.4rem; font-weight: 300;
}

.full-height-img-col {
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 600px;
    height: 100%;
}
.full-height-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* =========================================
   5. BUTTONS (Global)
   ========================================= */
.btn { 
    border-radius: 50px; 
    padding: 0.8rem 2.5rem; 
    transition: all 0.3s ease; 
    letter-spacing: 0.5px; 
    font-size: 1.1rem; 
    border: none;
}

.btn:focus, .btn:active {
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
}

.btn-primary { 
    background-color: var(--secondary-color); 
    color: var(--primary-color) !important; 
    border: 2px solid var(--secondary-color); 
}

.btn-primary:hover { 
    background-color: transparent; 
    color: var(--primary-color) !important; 
    border-color: var(--primary-color);
}

.btn-secondary { 
    background-color: var(--primary-color); 
    color: #fff !important; 
    border: 2px solid var(--primary-color); 
}
.btn-secondary:hover { 
    background-color: transparent; 
    color: var(--primary-color) !important; 
    border-color: var(--primary-color);
}

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

.btn-outline-primary:hover { 
    background-color: var(--primary-color); 
    color: var(--light-text-color) !important; 
    border-color: var(--primary-color);
    box-shadow: none !important;
}

/* =========================================
   6. CARDS & SECTIONS
   ========================================= */
.multi-cta-section { background-color: #f9f9f9; }
.cta-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cta-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.cta-card h3 { color: var(--primary-color); font-size: 2rem; margin-bottom: 1rem; }
.cta-card p { color: #666; margin-bottom: 2rem; font-size: 1.1rem; line-height: 1.6; }

.menu-pdf-links { margin-bottom: 3rem; }
.menu-section-container { padding: 2rem; height: 100%; border-radius: 8px; }
.menu-section--food { background-color: #fff; border: 1px solid #eee; }
.menu-section--drinks { background-color: rgba(232, 141, 148, 0.08); border: 1px solid rgba(232, 141, 148, 0.1); }

.menu-category { margin-bottom: 3rem; }
.category-title-wrapper { 
    display: flex; align-items: center; gap: 1rem; 
    border-bottom: 2px solid #e0e0e0; padding-bottom: 0.5rem; margin-bottom: 1.5rem; 
}
.category-title { font-size: 2.2rem; color: var(--primary-color); margin-bottom: 0; }
.category-icon { height: 40px; width: auto; opacity: 0.8; }
.category-description { font-style: italic; color: #777; margin-bottom: 1rem; }

.menu-item { display: block; width: 100%; padding: 15px 0; border-bottom: 1px dotted #ccc; }
.menu-item:last-child { border-bottom: none; }
.menu-item.is-special .item-name { color: var(--secondary-color); }
.menu-item-header { display: flex; justify-content: space-between; align-items: baseline; width: 100%; }
.item-name { font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; color: #222; }
.item-price { font-family: var(--font-body); font-weight: 500; color: var(--primary-color); font-size: 15px; font-style: italic; white-space: nowrap; margin-left: 15px; }
.item-description { font-size: 1rem; color: #555; margin-top: 5px; margin-bottom: 0; line-height: 1.5; }
.item-price-wine { display: flex; justify-content: flex-end; gap: 20px; font-size: 0.95rem; margin-top: 5px; font-style: italic; color: #666; }

.center-collage-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr; 
    grid-template-rows: 250px 250px; 
    gap: 15px;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.center-collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.center-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.center-collage-item:hover {
    transform: scale(1.02);
    border: 2px solid var(--primary-color);
}
.center-collage-item:hover img {
    transform: scale(1.1);
}


.item-1 {
    grid-column: 2;
    grid-row: 1 / span 2;
    z-index: 2;
}

.item-2 {
    grid-column: 1;
    grid-row: 1;
}

.item-3 {
    grid-column: 1;
    grid-row: 2;
}

.item-4 {
    grid-column: 3;
    grid-row: 1;
}

.item-5 {
    grid-column: 3;
    grid-row: 2;
}

/* --- Mobiele Weergave --- */
@media (max-width: 768px) {
    .center-collage-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 1rem;
    }
    
    .center-collage-wrapper {
        grid-template-rows: 200px; /* Reset hoogte */
    }

    .item-1 { order: 1; height: 300px; }
    .item-2 { order: 2; height: 200px; }
    .item-3 { order: 3; height: 200px; }
    .item-4 { order: 4; height: 200px; }
    .item-5 { order: 5; height: 200px; }
}

.tasting-card, .job-card { 
    border: none; border-radius: 12px; overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tasting-card:hover, .job-card:hover { 
    transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important; 
}

.pintxos-section { background-color: var(--primary-color); padding: 5rem 0; }
.pintxos-section h2 { font-size: 3rem; margin-bottom: 1.5rem; }
.pintxos-section p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 1rem; }

/* =========================================
   7. PAGE SPECIFIC STYLES
   ========================================= */

.arrangements-page .card,
.tastings-page .card {
    background-color: var(--secondary-color) !important; /* Roze */
    color: var(--primary-color) !important; /* Groen */
    border: none;
    border-radius: 15px;
}

.arrangements-page .card h2, .arrangements-page .card h3,
.arrangements-page .card h4, .arrangements-page .card p, 
.arrangements-page .card li, .arrangements-page .card small,
.tastings-page .card h2, .tastings-page .card h3,
.tastings-page .card h4, .tastings-page .card p, 
.tastings-page .card li, .tastings-page .card small,
.tastings-page .card .text-muted {
    color: var(--primary-color) !important;
}

.arrangements-page .btn,
.tastings-page .btn {
    font-family: 'Londrina Solid', cursive !important;
    text-transform: uppercase;
}

.arrangements-page .btn-primary,
.tastings-page .btn-primary {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    border: 2px solid var(--primary-color) !important;
}
.arrangements-page .btn-primary:hover,
.tastings-page .btn-primary:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

.arrangements-page .btn-outline-primary,
.tastings-page .btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.arrangements-page .btn-outline-primary:hover,
.tastings-page .btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

.tastings-page .btn-secondary {
    background-color: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    opacity: 0.6;
}

.contact-page.bg-pink {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
}
.contact-page h1,
.contact-page h2,
.contact-page h5,
.contact-page p,
.contact-page label,
.contact-page a,
.contact-page .title-font {
    color: var(--primary-color) !important;
}

.contact-page .contact-form-wrapper,
.contact-page .bg-white, 
.contact-page .card {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.contact-page .form-control,
.contact-page .form-select {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-radius: 10px;
}
.contact-page .form-control::placeholder { color: var(--primary-color); opacity: 0.7; }
.contact-page .form-control:focus, .contact-page .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 54, 52, 0.2);
    background-color: #fff !important;
}

.contact-page .btn-primary {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    border: 2px solid var(--primary-color) !important;
}
.contact-page .btn-primary:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}
.contact-page .btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background-color: transparent !important;
}
.contact-page .btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}
.contact-page .contact-icon { color: var(--primary-color) !important; font-size: 1.2rem; }
.contact-link { color: inherit; text-decoration: none; }

.jobs-page .card {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    border: none !important;
    border-radius: 15px !important;
}

.jobs-page .card h3,
.jobs-page .card p,
.jobs-page .card small,
.jobs-page .card .text-muted {
    color: var(--primary-color) !important;
}

.jobs-page .modal-content {
   background-color: #ffffff !important;
    color: var(--primary-color) !important;
    border: none !important;
}
.jobs-page .modal-header, 
.jobs-page .modal-footer {
    border: none !important;
}
.jobs-page .modal-title,
.jobs-page .modal-body ul li,
.jobs-page .modal-body h6 {
    color: var(--primary-color) !important;
}


.jobs-page .btn-outline-primary {
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    background-color: transparent !important;
    font-family: 'Londrina Solid', cursive !important;
    text-transform: uppercase;
}
.jobs-page .btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

.jobs-page .btn-primary {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    border: 2px solid var(--primary-color) !important;
    font-family: 'Londrina Solid', cursive !important;
    text-transform: uppercase;
}
.jobs-page .btn-primary:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

.jobs-page .btn-secondary {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    font-family: 'Londrina Solid', cursive !important;
    text-transform: uppercase;
    opacity: 0.8;
}
.jobs-page .btn-secondary:hover {
    opacity: 1;
}

/* =========================================
   8. FOOTER
   ========================================= */

   .main-footer {
    background-color: var(--primary-color);
}
.main-footer h3,
.main-footer p,
.main-footer a,
.main-footer li,
.main-footer span {
    color: var(--secondary-color) !important;
}

.main-footer img {
    height: 24px;
    width: auto;
}


.main-footer a[href*="home"] img {
    height: 80px !important;
}

/* =========================================
   9. FLOATING WIDGET
   ========================================= */
.tf-widget-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color) !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: 8px;
    height: 50px;
    width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.tf-button-link {
    text-decoration: none;
    color: var(--primary-color) !important;
    font-family: var(--font-title);
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
}
.tf-widget-button:hover { 
    transform: scale(1.05); 
    background-color: var(--primary-color) !important;
    border-color: var(--secondary-color) !important;
}
.tf-widget-button:hover .tf-button-link {
    color: var(--secondary-color) !important;
}

/* =========================================
   10. RESPONSIVE
   ========================================= */
@media (max-width: 991.98px) {
    .navbar-collapse { padding: 1rem; background: #fff; border-top: 1px solid #eee; }
    .navbar-nav { text-align: center; }
    .navbar-controls { flex-direction: column; margin-top: 1rem; }
    .full-height-img-col { min-height: 300px; }
    .photo-collage { column-count: 3; }
    .navbar-social-icons {
        display: flex !important;
        margin-left: 0 !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .lang-switcher { margin-left: 0 !important; }
}
@media (max-width: 768px) { 
    .photo-collage { column-count: 2; } 
    .page-content { padding-top: 2rem; padding-bottom: 4rem; }
}
@media (max-width: 576px) {
    .menu-pdf-links a { display: block; margin: 0.5rem auto; width: 100%; }
    .hero-top-text { font-size: 2.5rem; }
}

/* =========================================
   11. INSTAGRAM FEED
   ========================================= */

#instafeed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

#instafeed a {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px; 
    background: #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#instafeed a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#instafeed a:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#instafeed a:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #instafeed {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.special-hours-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
}

.special-hours-list li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(232, 141, 148, 0.5);
    /* Subtiel roze lijntje */
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
}

.special-hours-list li:last-child {
    border-bottom: none;
}

.special-hours-list li strong {
    font-weight: 700;
    margin-bottom: 2px;
}

/* =========================================
   12. NOTIFICATION BAR & COOKIE BANNER
   ========================================= */

/* Notificatiebalk aanpassingen (Tekst Centered) */
.notification-bar {
    position: relative;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    text-align: center;
    z-index: 1040; /* Boven header */
}

.notification-bar .container {
    position: relative;
    display: flex;
    justify-content: center; /* Centreer de inhoud */
    align-items: center;
}

.notification-bar p {
    margin: 0;
    font-weight: bold;
    text-align: center;
}

.btn-close-notification {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0 10px;
}

/* Cookie Banner Styling */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 1050;
    display: none; 
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-text h4 {
    margin-bottom: 0.2rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

@media (max-width: 768px) {
    #cookie-banner {
        padding-bottom: 80px;
    }
}