/* ============================================
   HUIS-DETAIL.CSS
   Geoptimaliseerde styling voor vakantiehuispagina's
   Vakantiehuis-Frankrijk.nl
   
   Vereist: framework.css (eerst laden)
   ============================================ */

/* ============================================
   CSS VARIABELEN
   ============================================ */
:root {
    --lichtblauw: #1e88e5;
    --succes-donker: #1e7e34;
    --succes-hover: #155724;
    --paars-donker: #5a4fcf;
    --kalender-vrij: #2e7d32;
    --kalender-bezet: #c62828;
    --kalender-optie: #f57c00;
    --kalender-niet: #616161;
}

/* ============================================
   HERO SECTIE - HUIZENPAGINA OVERRIDE
   ============================================ */
.hero-section {
    padding: 40px 0 40px;
    margin-bottom: 40px;
}

.hero-section .hero-content {
    text-align: left;
    max-width: 1200px;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 10px;
    display: block;
}

.hero-location {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-top: 10px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    font-size: 1rem;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
}

.price-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.guarantee-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 15px;
    margin-right: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* ============================================
   BREADCRUMB NAVIGATIE
   ============================================ */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.breadcrumb span {
    color: #6c757d;
    margin: 0 8px;
}

.breadcrumb-current {
    color: #2c3e50;
    font-weight: 500;
}

/* ============================================
   QUICK ACTIONS BAR
   ============================================ */
.quick-actions {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: -30px 0 30px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px; /* Touch target size */
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: #e9ecef;
    color: #495057;
}

.btn-third {
    background: #f7cb49;
    color: #495057;
}

/* WCAG Compliant Success Button */
.btn-success {
    background: var(--succes-donker);
    color: white;
    font-weight: 600;
}

.btn-success:hover {
    background: var(--succes-hover);
}

.btn-favorite {
    background: white;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-favorite:hover,
.btn-favorite.active {
    background: #e74c3c;
    color: white;
}

/* ============================================
   FOTO GALERIJ
   ============================================ */
.photo-gallery {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery-header h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

/* WCAG Compliant Toggle Buttons */
.toggle-btn {
    padding: 8px 16px;
    border: 2px solid #495057;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #212529;
}

.toggle-btn:hover {
    background: #e2e6ea;
}

.toggle-btn.active {
    background: var(--paars-donker);
    color: white;
    border-color: var(--paars-donker);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-main {
    grid-column: 1 / -1;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.gallery-item {
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img,
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
    padding: 15px 10px 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
}

.gallery-count {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   INFO CARDS & GRID
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card p {
    color: #666;
    line-height: 1.8;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.info-card li {
    padding: 5px 0;
    color: #555;
}

/* ============================================
   MAIN CONTENT SECTIONS
   ============================================ */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.content-section {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.content-section h2,
.content-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.highlight-box {
    background-color: #e1f5fe;
    border-left: 4px solid var(--lichtblauw);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

/* ============================================
   ALTERNATIVES SECTION
   ============================================ */
.alternatives-section {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.alternatives-section h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.alternatives-section p {
    color: #6c757d;
    margin-bottom: 20px;
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.alt-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 10px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.alt-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.huurprijzen {
    margin-top: 30px;
}

.huurprijzen h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* ============================================
   FACILITEITEN GRID
   ============================================ */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.facility-item:hover {
    background: #e8ecff;
    transform: translateX(5px);
}

.facility-icon {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

/* ============================================
   KALENDER STYLING - WCAG COMPLIANT
   ============================================ */
.kalender-wrapper {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.kalender-container {
    position: relative;
}

.kalender-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.maand-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.maand-naam {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.weekdagen {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.weekdag {
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #495057;
    padding: 5px 0;
}

.dagen-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.dag {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
    user-select: none;
}

.dag-nummer {
    font-weight: 600;
    font-size: 0.9rem;
}

.dag-leeg {
    background: transparent;
    cursor: default;
}

/* WCAG Compliant Calendar Colors */
.dag-vrij {
    background: var(--kalender-vrij);
    color: white;
}

.dag-vrij .dag-nummer {
    color: white;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.dag-bezet {
    background: var(--kalender-bezet);
    color: white;
}

.dag-bezet .dag-nummer {
    color: white;
    font-weight: 700;
}

.dag-optie {
    background: var(--kalender-optie);
    color: white;
}

.dag-optie .dag-nummer {
    color: white;
    font-weight: 700;
}

.dag-niet {
    background: var(--kalender-niet);
    color: white;
}

.dag-niet .dag-nummer {
    color: white;
    font-weight: 700;
}

.dag-vandaag {
    box-shadow: 0 0 0 3px #667eea;
}

.dag-wissel {
    background: linear-gradient(135deg, var(--kleur1) 50%, var(--kleur2) 50%);
}

.dag:hover:not(.dag-leeg) {
    transform: scale(1.1);
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Kalender Navigatie */
.kalender-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.nav-button {
    background: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-button:hover:not(:disabled) {
    background: #004494;
    transform: translateY(-2px);
}

.nav-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Kalender Navigatie */
.kalender-navigatie {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.maand-weergave {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    min-width: 150px;
    text-align: center;
}

/* Kalender Legenda */
.legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #212529;
    font-size: 0.9rem;
}

.legenda-kleur {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: #2c3e50;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

.tooltip-regel {
    margin: 5px 0;
}

.tooltip-label {
    color: #ffd700;
    font-weight: 700;
}

.tooltip::after {
    content: '';
    position: absolute;
    border: 8px solid transparent;
}

.tooltip-top::after {
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #2c3e50;
}

.tooltip-bottom::after {
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: #2c3e50;
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.3s;
}

.video-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
}

/* ============================================
   SLIDESHOW MODAL
   ============================================ */
.slideshow-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.slideshow-modal.active {
    display: block;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

/* Foto gebied - neemt alle ruimte behalve controls en thumbnails */
.slideshow-main {
    flex: 1;
    min-height: 0; /* Belangrijk voor flex overflow */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 20px 20px; /* Extra top padding voor counter */
    overflow: hidden;
}

#slidesContainer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#slidesContainer img {
    max-width: 95%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Controls - vaste hoogte */
.slideshow-controls {
    flex-shrink: 0;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.7);
}

/* Thumbnails - vaste hoogte onderaan */
.thumbnail-strip {
    flex-shrink: 0;
    height: 90px;
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.slideshow-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    z-index: 100001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    line-height: 1;
}

.slideshow-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 20px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s;
    z-index: 10;
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev { left: 20px; }
.next { right: 20px; }

.slide-counter {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    z-index: 10;
}

/* Slides */
.slide {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
}

.slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.slide img {
    max-width: 95%;
    max-height: calc(100% - 40px); /* Ruimte voor caption */
    object-fit: contain;
    border-radius: 8px;
}

.slide-caption {
    color: white;
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin-top: 10px;
    max-width: 80%;
}

/* Thumbnails */
.thumbnail {
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
}

.thumbnail:hover {
    opacity: 0.9;
}

.thumbnail.active {
    opacity: 1;
    border-color: #667eea;
}

.thumbnail img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.control-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
    white-space: nowrap;
}

.control-btn:hover,
.control-btn.active {
    background: rgba(255, 255, 255, 0.3);
}

/* Swipe hint - alleen op mobiel zichtbaar */
.swipe-hint {
    display: none;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    pointer-events: none;
    background: rgba(0,0,0,0.5);
    padding: 6px 12px;
    border-radius: 15px;
    animation: fadeOutHint 3s forwards;
    animation-delay: 1s;
}

@keyframes fadeOutHint {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

.fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.loading-spinner {
    display: none;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-spinner.active {
    display: block;
}

/* ============================================
   MAP SECTIE
   ============================================ */
.map-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.map-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 0;
}

.map-toggle-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.map-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.map-toggle-btn.active {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.map-container {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
    margin-top: 20px;
}

.map-container.show {
    display: block;
    opacity: 1;
}

#googleMap {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: none;
}

.map-container.loading .map-loading {
    display: block;
}

.map-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.map-control-btn {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.map-control-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.map-control-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Map Fullscreen */
.map-fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100000;
}

.map-fullscreen.active {
    display: block;
}

.map-fullscreen #googleMapFullscreen {
    width: 100%;
    height: 100%;
}

.map-fullscreen-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
    transition: background 0.3s;
}

.map-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Iframe styling */
iframe {
    border: none;
    overflow: hidden;
    position: relative;
}

.map-iframe {
    width: 100%;
    height: 520px;
    isolation: isolate;
}

/* ============================================
   FOOTER - HUIZENPAGINA
   ============================================ */
.footer-info {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

/* ============================================
   MOBILE BOOKING BAR
   ============================================ */
.mobile-booking-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    justify-content: space-between;
    align-items: center;
}

.mobile-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #212529;
}

.mobile-book-btn {
    background: var(--succes-donker);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s;
}

.mobile-book-btn:hover {
    background: var(--succes-hover);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 600px;
        opacity: 1;
    }
}

.map-container.animating {
    animation: slideDown 0.5s ease forwards;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .hero-section {
        background: none !important;
        color: black !important;
        padding: 20px 0;
    }
    
    .hero-content h1 {
        color: black !important;
    }
    
    .quick-actions,
    .mobile-booking-bar,
    .video-modal,
    .slideshow-modal,
    .map-section,
    .view-toggle,
    .action-btn,
    .nav-button {
        display: none !important;
    }
    
    .photo-gallery {
        page-break-inside: avoid;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .gallery-item {
        height: 120px;
    }
    
    .dag-vrij {
        background: white !important;
        color: black !important;
        border: 2px solid green !important;
    }
    
    .dag-bezet {
        background: #ccc !important;
        color: black !important;
    }
    
    .info-card,
    .content-section,
    .kalender-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .gallery-main {
        height: 300px;
    }
    
    .gallery-item {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-meta {
        gap: 12px;
        font-size: 0.9rem;
    }
    
    .quick-actions {
        margin: -20px 15px 20px;
        padding: 15px;
        gap: 10px;
    }
    
    .action-btn {
        padding: 10px 16px;
        font-size: 14px;
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .gallery-item {
        height: 120px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .alternatives-section {
        padding: 20px;
    }
    
    .alternatives-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .alt-link {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .kalender-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobiele kalender navigatie */
    .kalender-navigatie {
        gap: 10px;
        padding: 0 10px;
    }
    
    .kalender-navigatie .nav-button {
        padding: 12px 16px;
        font-size: 14px;
        flex: 1;
        text-align: center;
    }
    
    #googleMap {
        height: 350px;
    }
    
    .mobile-booking-bar {
        display: flex;
    }
    
    /* Extra padding onderaan voor mobile booking bar */
    body {
        padding-bottom: 80px;
    }
    
    .prev, .next {
        padding: 20px 12px;
        font-size: 22px;
        min-width: 44px; /* Minimum touch target */
        min-height: 60px;
    }
    
    .prev { left: 5px; }
    .next { right: 5px; }
    
    .slideshow-main {
        padding: 50px 10px 10px;
    }
    
    .slideshow-controls {
        height: 45px;
        padding: 8px 10px;
        gap: 8px;
    }
    
    .control-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .thumbnail-strip {
        height: 70px;
        padding: 10px;
        gap: 8px;
    }
    
    .thumbnail img {
        width: 60px;
        height: 45px;
    }
    
    /* Swipe hint voor mobiel */
    .swipe-hint {
        display: block;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255,255,255,0.6);
        font-size: 12px;
        pointer-events: none;
    }
    
    .slideshow-close,
    .video-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .hero-meta span {
        flex: 1 1 100%;
    }
    
    .action-btn {
        flex: 1 1 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-main {
        height: 200px;
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .photo-gallery,
    .info-card,
    .content-section,
    .kalender-wrapper,
    .map-section {
        padding: 15px;
        border-radius: 10px;
    }
    
    .maand-container {
        padding: 10px;
    }
    
    .dag {
        font-size: 0.8rem;
    }
    
    .thumbnail-strip img {
        width: 60px;
        height: 45px;
    }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles voor keyboard navigatie */
a:focus,
button:focus,
.action-btn:focus,
.toggle-btn:focus,
.nav-button:focus,
.dag:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* Skip link voor screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #667eea;
    color: white;
    padding: 8px 16px;
    z-index: 100002;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Verborgen maar toegankelijk voor screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .dag-vrij {
        border: 2px solid white;
    }
    
    .dag-bezet {
        border: 2px solid white;
    }
    
    .action-btn,
    .toggle-btn,
    .nav-button {
        border: 2px solid currentColor;
    }
}