/*
Theme Name: MySunnyHomes
Theme URI: https://mysunnyhomes.eu
Author: Eric & Heleen Cammeraat
Description: Torrevieja vacation rental - MySunnyHomes
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Open+Sans:wght@400;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', sans-serif; color: #333; }

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(255,255,255,0.96);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-logo { font-family: 'Pacifico', cursive; font-size: 1.4rem; color: #e05a2b; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { text-decoration: none; color: #333; font-size: 0.9rem; font-weight: 600; }
.nav-links a:hover { color: #e05a2b; }
.nav-cta { background: #e05a2b; color: white !important; padding: 0.5rem 1.2rem; border-radius: 25px; }
.nav-cta:hover { background: #c04a1f !important; color: white !important; }

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3)),
              url('') center/cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: white; padding: 2rem;
}
.hero h1 { font-family: 'Pacifico', cursive; font-size: 3rem; line-height: 1.2; margin-bottom: 1.5rem; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); }
.hero-badges { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.badge { background: rgba(255,255,255,0.2); border: 2px solid white; border-radius: 30px; padding: 0.6rem 1.4rem; font-weight: 700; font-size: 0.95rem; backdrop-filter: blur(4px); }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn { padding: 0.9rem 2rem; border-radius: 30px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: none; display: inline-block; }
.btn-primary { background: #e05a2b; color: white; }
.btn-primary:hover { background: #c04a1f; color: white; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1aad52; color: white; }

/* SECTIONS */
section { padding: 5rem 2rem; }
.section-title { font-family: 'Pacifico', cursive; font-size: 2.2rem; color: #e05a2b; text-align: center; margin-bottom: 0.5rem; }
.section-sub { text-align: center; color: #777; margin-bottom: 3rem; font-size: 1.05rem; }

/* KENMERKEN */
.kenmerken { background: #f9f6f2; }
.kenmerken-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.kenmerk { background: white; border-radius: 16px; padding: 2rem; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.07); }
.kenmerk-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.kenmerk h3 { font-size: 1.1rem; font-weight: 700; color: #333; margin-bottom: 0.5rem; }
.kenmerk p { color: #777; font-size: 0.9rem; }

/* FOTOS */
.fotos { background: white; }
.foto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1100px; margin: 0 auto; }
.foto-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 12px; transition: transform 0.3s; cursor: pointer; }
.foto-grid img:hover { transform: scale(1.03); }
.foto-grid .groot { grid-column: span 2; }
.foto-grid .groot img { height: 250px; }

/* BESCHRIJVING */
.beschrijving { background: #f9f6f2; }
.beschrijving-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.beschrijving-tekst h2 { font-family: 'Pacifico', cursive; font-size: 1.8rem; color: #e05a2b; margin-bottom: 1rem; }
.beschrijving-tekst p { color: #555; line-height: 1.8; margin-bottom: 1rem; }
.beschrijving-img { border-radius: 16px; overflow: hidden; }
.beschrijving-img img { width: 100%; height: 350px; object-fit: cover; }

/* LOCATIE */
.locatie { background: white; }
.locatie-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.locatie-lijst { list-style: none; }
.locatie-lijst li { padding: 0.6rem 0; border-bottom: 1px solid #eee; color: #555; display: flex; gap: 0.8rem; }
.locatie-lijst li span { font-size: 1.2rem; }
iframe.map { width: 100%; height: 300px; border: none; border-radius: 16px; }

/* REVIEWS */
.reviews { background: #f9f6f2; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.review-card { background: white; border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.07); }
.stars { color: #f4c430; font-size: 1.2rem; margin-bottom: 0.8rem; }
.review-tekst { color: #555; font-style: italic; line-height: 1.7; margin-bottom: 1rem; }
.review-naam { font-weight: 700; color: #333; }
.review-land { color: #aaa; font-size: 0.85rem; }

/* TARIEVEN */
.tarieven { background: white; }
.tarieven-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.tarief-card { border: 2px solid #e05a2b; border-radius: 16px; padding: 2rem; text-align: center; }
.tarief-card.populair { background: #e05a2b; color: white; }
.tarief-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; margin-bottom: 0.5rem; }
.tarief-prijs { font-family: 'Pacifico', cursive; font-size: 2.5rem; margin-bottom: 0.3rem; }
.tarief-periode { font-size: 0.9rem; opacity: 0.7; margin-bottom: 1.5rem; }
.tarief-features { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.tarief-features li { padding: 0.4rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); font-size: 0.9rem; }
.tarief-card.populair .tarief-features li { border-bottom-color: rgba(255,255,255,0.2); }

/* KALENDER KLEUREN - mphb klassen zitten op <span> binnen <td> */
/* Zorg dat span de hele cel vult */
.mphb-datepick-popup .datepick-month td {
  padding: 0 !important;
  background-color: transparent !important;
}
.mphb-datepick-popup .datepick-month td .mphb-date-cell {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 0.25em 0 !important;
  box-sizing: border-box !important;
}
/* Beschikbare datums = groen */
.mphb-datepick-popup .datepick-month td .mphb-available-date,
.mphb-datepick-popup .datepick-month td .mphb-selectable-date {
  background-color: #27ae60 !important;
  color: white !important;
}
/* Niet-beschikbaar / geblokkeerd = rood */
.mphb-datepick-popup .datepick-month td .mphb-unselectable-date:not(.mphb-past-date):not(.mphb-extra-date) {
  background-color: #e74c3c !important;
  color: white !important;
  opacity: 1 !important;
}
/* Verleden datums = lichtgrijs */
.mphb-datepick-popup .datepick-month td .mphb-past-date {
  background-color: #f0f0f0 !important;
  color: #ccc !important;
  opacity: 1 !important;
}
/* Andere maand = verberg */
.mphb-datepick-popup .datepick-month td .mphb-extra-date {
  background-color: transparent !important;
  color: transparent !important;
}

/* PAGE TEMPLATE */
.page-content-wrap { padding: 6rem 2rem 4rem; min-height: 60vh; }
.page-content-inner { max-width: 1100px; margin: 0 auto; }

/* BOEKING */
.boeking { background: #f9f6f2; }
.boeking-inner { max-width: 800px; margin: 0 auto; }
.boeking-note { text-align: center; color: #888; font-size: 0.9rem; margin-top: 1.5rem; font-style: italic; }
.boeking .mphb-search-form { background: white; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 15px rgba(0,0,0,0.07); }

/* CONTACT */
.contact { background: #1a3a4a; color: white; text-align: center; }
.contact .section-title { color: white; }
.contact .section-sub { color: #aac; }
.contact-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

/* FOOTER */
footer { background: #111; color: #aaa; padding: 3rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-logo { font-family: 'Pacifico', cursive; font-size: 1.5rem; color: #e05a2b; margin-bottom: 0.8rem; }
.footer-col h4 { color: white; margin-bottom: 1rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: #aaa; text-decoration: none; font-size: 0.9rem; }
.footer-col ul a:hover { color: #e05a2b; }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #333; font-size: 0.85rem; color: #666; }

/* LIGHTBOX */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 92vw; max-height: 92vh; object-fit: contain;
  border-radius: 6px; box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  cursor: default;
}
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  color: white; font-size: 2.2rem; cursor: pointer; line-height: 1;
  background: none; border: none; opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: white; font-size: 2.5rem; cursor: pointer;
  background: rgba(255,255,255,0.1); border: none; padding: 0.5rem 1rem;
  border-radius: 6px; opacity: 0.8;
}
.lightbox-nav:hover { opacity: 1; background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.foto-grid img { cursor: zoom-in; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .nav-links { display: none; }
  .beschrijving-inner, .locatie-inner { grid-template-columns: 1fr; }
  .foto-grid { grid-template-columns: 1fr 1fr; }
  .foto-grid .groot { grid-column: span 2; }
}
