﻿/* =========================================================
   Villapiscine.nl – Homepage V2
   Zelfde stijl als de nieuwe blikvanger-kaarten / vakantiehuispagina.
   Alles is gescoped onder .hopv-home zodat andere pagina's
   (die ook BootstrapSearch.master gebruiken) niet veranderen.
   ========================================================= */

.hopv-home {
    --hopv-accent: #0a6f9c;
    --hopv-accent-dark: #085a80;
    --hopv-accent-soft: #e6f5fc;
    --hopv-sage: #56656f;
    --hopv-sage-soft: #edf3f7;
    --hopv-cream: #f3f8fb;
    --hopv-line: #dde6eb;
    --hopv-ink: #1b2a33;
    --hopv-muted: #6b6b6b;
    --hopv-radius: 12px;
    --hopv-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
    --hopv-shadow-hover: 0 4px 10px rgba(0,0,0,.08), 0 12px 28px rgba(0,0,0,.08);

    color: var(--hopv-ink);
    font-size: 16px;
    line-height: 1.65;
}

/* ---------- Iconen (SVG-sprite in Default.aspx) ---------- */
.hopv-ico {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.125em;
}
.hopv-btn .hopv-ico { color: #fff; }
.hopv-btn-outline .hopv-ico { color: currentColor; }

/* ---------- Typografie ---------- */
.hopv-home h1 {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px 0;
    color: var(--hopv-ink);
}
.hopv-home h2 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px 0;
    color: var(--hopv-ink);
}
.hopv-home h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}
.hopv-home h4 { font-size: 1.1rem; font-weight: 700; }
.hopv-home a { color: var(--hopv-accent); }
.hopv-home a:hover { color: var(--hopv-accent-dark); }
.hopv-home p { margin-bottom: 12px; }

.hopv-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hopv-accent);
    margin-bottom: 6px;
}
.hopv-lead {
    font-size: 1.1rem;
    color: #444;
    max-width: 820px;
}
.hopv-muted { color: var(--hopv-muted); }

/* Trending-kop staat in de master (h2 rond de placeholder) */
.mainwindow > .container > h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 8px;
}

/* ---------- Secties ---------- */
.hopv-section { margin: 48px 0; }
.hopv-section:first-child { margin-top: 8px; }
.hopv-section-head { margin-bottom: 20px; }
.hopv-section-head p { margin-bottom: 0; color: #444; max-width: 820px; }

.hopv-panel {
    background: var(--hopv-cream);
    border: 1px solid var(--hopv-line);
    border-radius: var(--hopv-radius);
    padding: 24px;
}
.hopv-card {
    background: #fff;
    border: 1px solid var(--hopv-line);
    border-radius: var(--hopv-radius);
    box-shadow: var(--hopv-shadow);
}

/* ---------- Knoppen ---------- */
.hopv-btn,
.hopv-home a.hopv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--hopv-accent);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    padding: 14px 22px;
    border: 0;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color .15s ease, transform .15s ease;
    cursor: pointer;
}
.hopv-btn:hover,
.hopv-home a.hopv-btn:hover {
    background: var(--hopv-accent-dark);
    color: #fff;
    text-decoration: none;
}
.hopv-btn-block { width: 100%; }
.hopv-btn-sm,
.hopv-home a.hopv-btn-sm {
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 8px;
}
.hopv-btn-outline,
.hopv-home a.hopv-btn-outline {
    background: #fff;
    color: var(--hopv-accent);
    border: 2px solid var(--hopv-accent);
}
.hopv-btn-outline:hover,
.hopv-home a.hopv-btn-outline:hover {
    background: var(--hopv-accent);
    color: #fff;
}

/* ---------- Intro / kernpunten ---------- */
.hopv-intro-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.hopv-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hopv-stats li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hopv-sage);
    font-weight: 600;
}
.hopv-stats .hopv-ico { color: var(--hopv-accent); font-size: 20px; }
.hopv-stats b { color: var(--hopv-ink); }

/* ---------- USP-kaarten ---------- */
.hopv-usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.hopv-usp {
    padding: 20px;
    height: 100%;
}
.hopv-usp-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hopv-accent-soft);
    color: var(--hopv-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}
.hopv-usp h3 { font-size: 1.05rem; margin-bottom: 6px; }
.hopv-usp p { font-size: 15px; color: #444; margin: 0; }

.hopv-keurmerk {
    display: grid;
    grid-template-columns: 1fr minmax(0, 380px);
    gap: 32px;
    align-items: center;
    margin-top: 20px;
}
.hopv-keurmerk img { width: 100%; max-width: 380px; border-radius: var(--hopv-radius); display: block; box-shadow: var(--hopv-shadow); }

/* ---------- Thema-tegels (afbeeldingen) ---------- */
.hopv-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hopv-tile {
    display: block;
    border-radius: var(--hopv-radius);
    overflow: hidden;
    box-shadow: var(--hopv-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hopv-tile:hover { transform: translateY(-3px); box-shadow: var(--hopv-shadow-hover); }
.hopv-tile img { width: 100%; display: block; }

/* ---------- Landen ---------- */
.hopv-countries {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}
.hopv-home a.hopv-country {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--hopv-line);
    border-radius: 10px;
    color: var(--hopv-ink);
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.hopv-home a.hopv-country:hover {
    border-color: var(--hopv-accent);
    box-shadow: var(--hopv-shadow);
}
.hopv-country img { width: 32px; height: 32px; flex: 0 0 32px; }
.hopv-country-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.hopv-country-name { font-weight: 700; line-height: 1.3; }
.hopv-country-count { font-size: 14px; color: var(--hopv-sage); line-height: 1.3; min-height: 18px; }
.hopv-country > .hopv-ico { color: var(--hopv-accent); font-size: 18px; }

/* ---------- Tip-huizen ---------- */
.hopv-tips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.hopv-tip { overflow: hidden; display: flex; flex-direction: column; }
.hopv-tip-img { display: block; position: relative; }
.hopv-tip-img img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.hopv-tip-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--hopv-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}
.hopv-tip-body { padding: 16px 20px 20px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.hopv-tip-body h3 { font-size: 1.1rem; }
.hopv-tip-body h3 a { color: var(--hopv-ink); }
.hopv-tip-body h3 a:hover { color: var(--hopv-accent); text-decoration: none; }
.hopv-tip-body p { font-size: 15px; color: #444; flex: 1 1 auto; }
.hopv-tip-body .hopv-btn { align-self: flex-start; }

/* ---------- Last minute ---------- */
.hopv-lm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 16px;
}
.hopv-lm-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--hopv-sage);
    margin-bottom: 10px;
}
.hopv-lm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hopv-lm-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--hopv-line);
    border-radius: 10px;
    padding: 8px 8px 8px 14px;
}
.hopv-lm-date { font-size: 15px; font-weight: 600; }

/* ---------- Nieuwsbrief ---------- */
.hopv-newsletter {
    background: #e9f5fb;
    border: 1px solid var(--hopv-line);
    border-radius: var(--hopv-radius);
    overflow: hidden;
    color: var(--hopv-ink);
    height: 100%;
}
.hopv-newsletter img { width: 100%; display: block; }
.hopv-newsletter-body { padding: 20px; }
.hopv-newsletter h3 { color: var(--hopv-ink); font-size: 1.25rem; }
.hopv-newsletter p { color: #444; font-size: 15px; }
.hopv-newsletter .form-control { height: 48px; font-size: 16px; border-radius: 8px; border-color: #c6d4dd; }
.hopv-newsletter .form-control:focus { border-color: var(--hopv-accent); box-shadow: 0 0 0 3px rgba(10,111,156,.15); }
.hopv-newsletter select.form-control { margin-bottom: 10px; }
.hopv-newsletter .input-group .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.hopv-newsletter .input-group-append .hopv-btn { border-top-left-radius: 0; border-bottom-left-radius: 0; font-size: 16px; }
.hopv-newsletter-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; }
.hopv-newsletter-consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--hopv-accent); }
.hopv-newsletter-consent label { color: var(--hopv-ink); font-size: 15px; margin: 0; }
.hopv-newsletter-consent a { color: var(--hopv-accent); font-size: 15px; text-decoration: underline; }

/* ---------- Reviews ---------- */
.hopv-reviews-wrap .hopv-reviews-section { margin-top: 20px; }

/* ---------- Thema-rijen (lange teksten) ---------- */
.hopv-themes { display: flex; flex-direction: column; gap: 16px; }
.hopv-theme {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    overflow: hidden;
}
.hopv-theme-img { display: block; }
.hopv-theme-img img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; display: block; }
.hopv-theme-body { padding: 20px 24px; }
.hopv-theme-body h3 a { color: var(--hopv-ink); }
.hopv-theme-body h3 a:hover { color: var(--hopv-accent); text-decoration: none; }
.hopv-theme-body p { font-size: 15px; color: #444; }
.hopv-theme-body p:last-child { margin-bottom: 0; }

/* ---------- Praktische info ---------- */
.hopv-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hopv-info { padding: 24px; }
.hopv-info h3 { margin-bottom: 16px; }
.hopv-info-list { list-style: none; margin: 0; padding: 0; }
.hopv-info-list li { padding: 14px 0; border-top: 1px solid var(--hopv-line); }
.hopv-info-list li:first-child { border-top: 0; padding-top: 0; }
.hopv-info-list h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.hopv-info-list h4 .hopv-ico { color: var(--hopv-accent); font-size: 20px; }
.hopv-info-list p { font-size: 15px; color: #444; margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .hopv-usp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    .hopv-keurmerk,
    .hopv-lm-grid,
    .hopv-info-grid { grid-template-columns: 1fr; }
    .hopv-tiles { grid-template-columns: repeat(2, 1fr); }
    .hopv-theme { grid-template-columns: 220px 1fr; }
}
@media (max-width: 767.98px) {
    .hopv-home h1 { font-size: 1.7rem; }
    .hopv-home h2,
    .mainwindow > .container > h2 { font-size: 1.35rem; }
    .hopv-section { margin: 36px 0; }
    .hopv-panel { padding: 16px; }
    .hopv-usp-grid,
    .hopv-tips { grid-template-columns: 1fr; }
    .hopv-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hopv-theme { grid-template-columns: 1fr; }
    .hopv-theme-img img { min-height: 0; aspect-ratio: 16 / 9; }
    .hopv-intro-bar .hopv-btn { width: 100%; }
}

/* =========================================================
   Villapiscine – aanvullingen homepage (.vp-home)
   ========================================================= */
.vp-home h3 { font-size: 1.3rem; font-weight: 800; color: var(--hopv-ink); margin: 28px 0 10px 0; }
.vp-home h4 { font-size: 1.1rem; font-weight: 700; color: var(--hopv-ink); margin: 20px 0 8px 0; }
.vp-home .hopv-card h3, .vp-home .hopv-theme-body h3 { margin-top: 0; }
.vp-home > .container > h2 { margin-top: 40px !important; }

/* lijstjes met vinkjes */
.vp-checks { list-style: none; margin: 0 0 16px 0; padding: 0; }
.vp-checks li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; }
.vp-checks .hopv-ico { color: var(--hopv-accent); font-size: 20px; margin-top: 3px; }

/* lijst met links (Costa's) */
.vp-linklist { list-style: none; margin: 0 0 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vp-linklist li a {
    display: inline-block; padding: 7px 14px; border-radius: 999px;
    background: var(--hopv-accent-soft); color: var(--hopv-accent) !important; font-weight: 700 !important; text-decoration: none;
}
.vp-linklist li a:hover { background: #d2eefa; text-decoration: none; }

/* waarom + reviews */
.vp-why { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.vp-why-text { padding: 24px; }
.vp-reviews-card { padding: 20px 20px 44px 20px; position: relative; background: var(--hopv-cream); }
.vp-reviews { position: relative; }
.vp-reviews .carousel-item { padding: 6px 36px 8px 36px; }
.vp-review { margin: 0; text-align: left; }
.vp-review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.vp-review-stars { display: inline-flex; gap: 2px; color: #f5b301; }
.vp-review-stars svg { width: 18px !important; height: 18px !important; fill: currentColor; stroke: none; }
.vp-review-top img { height: 26px; width: auto; }
.vp-review blockquote { margin: 0 0 10px 0; font-size: 16px; line-height: 1.6; color: var(--hopv-ink); font-style: italic; }
.vp-review figcaption { font-size: 14px; color: var(--hopv-muted); }
.vp-review figcaption b { color: var(--hopv-ink); }
.vp-reviews .carousel-control-prev,
.vp-reviews .carousel-control-next {
    width: 32px; height: 32px; top: 50%; transform: translateY(-50%);
    border-radius: 50%; background: #fff; border: 1px solid var(--hopv-line);
    color: var(--hopv-accent); opacity: 1;
}
.vp-reviews .carousel-control-prev { left: -4px; }
.vp-reviews .carousel-control-next { right: -4px; }
.vp-reviews .carousel-control-prev .hopv-ico,
.vp-reviews .carousel-control-next .hopv-ico { font-size: 18px; }
.vp-reviews .carousel-indicators { bottom: -38px; margin-bottom: 0; }
.vp-reviews .carousel-indicators li {
    width: 9px; height: 9px; border-radius: 50%; border: 0; margin: 0 4px !important;
    background: #9fb8c8; opacity: 1;
}
.vp-reviews .carousel-indicators li.active { background: var(--hopv-accent); }

/* aanbiedingen / verwarmd: 2 tegels */
.hopv-tiles.vp-tiles-2 { grid-template-columns: 1fr 1fr; }

/* thema's (binnenzwembad, verwarmd, groepsvilla) */
.vp-themes { display: grid; gap: 16px; margin: 16px 0 8px 0; }
.vp-theme { grid-template-columns: 360px 1fr; }
.vp-theme .hopv-theme-img img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; }
.vp-theme .hopv-theme-body { padding: 22px 24px; }
.vp-theme .hopv-theme-body p:last-child { margin-bottom: 0; }

/* foto's per land */
.vp-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 14px 0 22px 0; }
.vp-photo,
.vp-home a.vp-photo {
    display: block; background: #fff; border: 1px solid var(--hopv-line); border-radius: var(--hopv-radius);
    overflow: hidden; color: var(--hopv-ink) !important; text-decoration: none;
    box-shadow: var(--hopv-shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.vp-photo:hover { transform: translateY(-3px); box-shadow: var(--hopv-shadow-hover); text-decoration: none; }
.vp-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #e3eef4; }
.vp-photo-text { display: block; padding: 10px 12px 12px 12px; line-height: 1.35; }
.vp-photo-text b { display: block; font-size: 15px; font-weight: 800; }
.vp-photo-text span { display: block; font-size: 14px; color: var(--hopv-accent); font-weight: 600; margin-top: 2px; }

/* FAQ: alles open (duidelijk voor elke bezoeker) */
.vp-faq dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.vp-faq dl > div {
    background: #fff; border: 1px solid var(--hopv-line); border-radius: var(--hopv-radius);
    padding: 16px 18px; box-shadow: var(--hopv-shadow);
}
.vp-faq dt { font-size: 16px; font-weight: 800; color: var(--hopv-ink); margin-bottom: 6px; }
.vp-faq dd { margin: 0; color: #3c4a52; }

@media (max-width: 991.98px) {
    .vp-why { grid-template-columns: 1fr; }
    .vp-theme { grid-template-columns: 240px 1fr; }
    .vp-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vp-faq dl { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .hopv-tiles.vp-tiles-2 { grid-template-columns: 1fr; }
    .vp-theme { grid-template-columns: 1fr; }
    .vp-theme .hopv-theme-img img { min-height: 0; aspect-ratio: 16 / 9; }
    .vp-photos { gap: 10px; }
    .vp-reviews .carousel-item { padding: 4px 30px; }
}
.vp-home .container > .hopv-section:first-child { margin-top: 32px; }
@media (max-width: 767.98px) { .vp-home .container > .hopv-section:first-child { margin-top: 20px; } }
