/* ─── PAGE HERO ─── */
.page-hero {
    position: relative;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.page-hero.compact {
    height: 45vh;
    min-height: 300px;
}
.page-hero-image {
    position: absolute;
    inset: 0;
}
.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
@media (min-width: 769px) {
    .page-hero-img-depaljas {
        object-position: center 55%;
    }
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.05) 100%);
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 59px, var(--line) 59px, var(--line) 60px),
        repeating-linear-gradient(90deg, transparent, transparent 59px, var(--line) 59px, var(--line) 60px);
    opacity: 0.3;
    background-attachment: fixed;
}
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 40px;
    width: 100%;
    max-width: 900px;
}
.page-hero .hero-logo img { height: 32px; }
.page-hero .hero-logo span { color: #fff; }
.page-hero .hero-logo {
    justify-content: center;
    margin-bottom: 20px;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 12px;
}
.page-hero.compact h1 {
    color: var(--dark);
}
.page-hero.compact .hero-logo span {
    color: var(--dark);
}
.page-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}
.page-hero.compact .page-hero-sub {
    color: var(--grey);
}

/* ─── PAGE INFO (LOCATION) ─── */
.page-info {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.page-info-grid {
    display: grid;
    grid-template-columns: minmax(auto, 790px) 1fr;
    margin: 0;
    overflow:hidden;
}
.page-info-left {
    padding: 80px 60px;
    border-right: 1px solid var(--line);
    overflow: hidden;
}
.page-info-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin: 16px 0 16px;
    line-height: 1.2;
}
.page-info-left > p {
    color: var(--grey);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}
.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.location-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.loc-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    position: relative;
}
.loc-icon svg {
    width: 20px;
    height: 20px;
}
.location-item div strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}
.location-item div span {
    font-size: 14px;
    color: var(--grey);
}

/* ─── HIGHLIGHT SECTION ─── */
.highlight-section {
    margin-top: 40px;
}
.highlight-section:first-of-type {
    margin-top: 32px;
}
.highlight-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}
.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.highlight-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    position: relative;
}
.highlight-icon svg {
    width: 20px;
    height: 20px;
}
.highlight-item div strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}
.highlight-item div span {
    font-size: 14px;
    color: var(--grey);
}

.page-info-right {
    padding: 0;
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}
.map-embed {
    width: 100%;
    height: 100%;
    min-height: 400px;
}
.map-embed iframe {
    display: block;
}
.info-image-feature {
    width: 100%;
    height: 100%;
    min-height: 400px;
}
.info-image-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── PAGE DESCRIPTION ─── */
.page-description {
    padding: 100px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.page-description::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 59px, var(--line) 59px, var(--line) 60px),
        repeating-linear-gradient(90deg, transparent, transparent 59px, var(--line) 59px, var(--line) 60px);
    opacity: 0.15;
    pointer-events: none;
    background-attachment: fixed;
}
.page-description-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}
.desc-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 48px;
}
.desc-col p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 16px;
}
.desc-col strong {
    color: var(--dark);
}
.features-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}
.feat-strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--light-grey);
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 500;
}
.feat-strip-item .check {
    color: var(--blue);
    font-weight: 700;
}

/* ─── PAGE GALLERY ─── */
.page-gallery {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.page-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}

/* ─── PAGE CTA ─── */
.page-cta {
    padding: 100px 40px;
    background: var(--light-grey);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.page-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}
.page-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}
.page-cta p {
    color: var(--grey);
    font-size: 16px;
    margin-bottom: 32px;
}
.page-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--dark);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
    background: var(--dark);
    color: #fff;
}

/* ─── TESTIMONIALS PAGE ─── */
.testimonials-page {
    padding: 80px 0;
    position: relative;
}
.testimonials-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 59px, var(--line) 59px, var(--line) 60px),
        repeating-linear-gradient(90deg, transparent, transparent 59px, var(--line) 59px, var(--line) 60px);
    opacity: 0.15;
    pointer-events: none;
    background-attachment: fixed;
}
.testimonials-page-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.testimonial-full {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 48px;
    position: relative;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.t-quote-icon {
    position: absolute;
    top: -16px;
    left: 40px;
    width: 56px;
    height: 56px;
    background: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #fff;
    line-height: 1;
    padding-top: 4px;
}
.t-full-content {
    margin-top: 16px;
}
.t-full-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}
.t-full-content p:last-child {
    margin-bottom: 0;
}
.t-full-author {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 16px;
}
.t-author-info {
    display: flex;
    flex-direction: column;
}
.t-name {
    font-weight: 700;
    font-size: 16px;
}
.t-location {
    font-size: 13px;
    color: var(--grey);
}

/* ─── CONTENT SECTION (KENNISMAKINGSETENTJE) ─── */
.page-content-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--line);
}
.page-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.content-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin: 16px 0 24px;
    line-height: 1.2;
}
.content-text p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 16px;
}
.content-text strong {
    color: var(--dark);
}
.content-image {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--line);
}
.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}
.event-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 80px;
}
.event-card {
    padding: 40px 32px;
    border: 1px solid var(--line);
    text-align: center;
    transition: background 0.3s;
}
.event-card:hover {
    background: var(--light-grey);
}
.event-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.event-icon::before {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    transform: rotate(45deg);
}
.event-icon svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
}
.event-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 12px;
}
.event-card p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.6;
}

/* ─── TERMS PAGE ─── */
.page-terms {
    padding: 80px 0;
    border-bottom: 1px solid var(--line);
}
.page-terms-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}
.terms-intro {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
}
.terms-intro p {
    margin: 0;
}
.terms-section {
    margin-bottom: 40px;
}
.terms-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}
.terms-section p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 12px;
}
.terms-section a {
    color: var(--blue);
    text-decoration: none;
}
.terms-section a:hover {
    text-decoration: underline;
}
.terms-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.terms-section ul li {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}
.terms-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--blue);
    opacity: 0.5;
}

.document-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.document-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.document-link .pdf-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--blue);
}

.document-link:hover {
    color: var(--blue);
    border-color: var(--blue);
    background: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .document-links {
        flex-direction: column;
    }
    .document-link {
        width: 100%;
    }
}

/* ─── CONTACT PAGE OVERRIDES ─── */
.contact-page {
    padding-top: 0;
}
.contact-person {
    margin-bottom: 24px;
}
.contact-person-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}
.contact-buildings {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-buildings h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 16px;
    color: #fff;
}
.contact-building-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-building-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    text-decoration: none;
    color: #fff;
    transition: background 0.2s, border-color 0.2s;
}
.contact-building-link:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.3);
}
.contact-building-link img {
    width: 60px;
    height: 45px;
    object-fit: cover;
}
.contact-building-link strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}
.contact-building-link span {
    font-size: 13px;
    opacity: 0.6;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.5);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .page-info-grid { grid-template-columns: 1fr; }
    .page-info-left { border-right: none; border-bottom: 1px solid var(--line); }
    .desc-columns { grid-template-columns: 1fr; gap: 32px; }
    .page-gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-b-item.span-2 { grid-column: span 1; }
    .gallery-b-item.stretch-2 { grid-row: span 1; }
    .content-with-image { grid-template-columns: 1fr; }
    .event-highlights { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .page-hero { height: 50vh; min-height: 300px; }
    .page-hero.compact { height: 35vh; min-height: 240px; }
    .page-hero h1 { font-size: 36px; }
    .page-hero-content { padding: 40px 20px; }
    .page-info-left { padding: 40px 24px; }
    .highlight-grid { grid-template-columns: 1fr; }
    .page-description-inner { padding: 0 20px; }
    .page-gallery { padding: 60px 20px; }
    .page-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .page-cta { padding: 60px 20px; }
    .testimonials-page-inner { padding: 0 20px; }
    .testimonial-full { padding: 32px 24px; }
    .page-content-inner { padding: 0 20px; }
    .page-terms-inner { padding: 0 20px; }
    .features-strip { gap: 8px; }
    .feat-strip-item { padding: 8px 14px; font-size: 13px; }
}

/* ─── GALLERY LAZY LOADING ─── */
.gallery-hidden {
    display: none !important;
}

.gallery-b-item.visible {
    display: block;
}

.gallery-show-more {
    text-align: center;
    margin-top: 40px;
    padding: 0 40px;
}

.btn-show-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    border: 2px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-show-more:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-show-more span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-show-more:hover span {
    transform: translateY(2px);
}

@media (max-width: 768px) {
    .gallery-show-more {
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .btn-show-more {
        padding: 14px 24px;
        font-size: 15px;
    }
}
