/* assets/css/page-contact.css */

/* --- BASIS SETUP --- */
.contact-page-max {
    position: relative;
    padding-top: var(--header-height);
    min-height: 100vh;
    background-color: #fcfcfc;
    overflow: hidden;
}

/* --- BACKGROUND FOG ANIMATION --- */
.fog-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.fog-layer {
    position: absolute;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(200, 200, 200, 0.1) 50%, transparent 100%);
    background-size: 50% 100%;
}

.fog-1 { top: 0; left: 0; animation: fogMove 30s linear infinite; opacity: 0.5; }
.fog-2 { top: 0; left: -100%; animation: fogMove 45s linear infinite reverse; opacity: 0.3; }

@keyframes fogMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Watermark */
.contact-watermark {
    position: absolute;
    top: 20%;
    right: -5%;
    font-size: 15vw;
    font-weight: 900;
    color: rgba(0,0,0,0.02);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.contact-max-container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

/* --- LINKS: EDITORIAL INFO --- */
.contact-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 40px;
}

.contact-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 60px;
    max-width: 480px;
    border-left: 1px solid var(--color-gold);
    padding-left: 30px;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.ic-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 10px;
}

.ic-val, .ic-link {
    display: block;
    font-size: 1.1rem;
    color: var(--color-text-main);
    font-weight: 500;
    text-decoration: none;
}

.ic-link:hover { color: var(--color-gold); }

/* Map Frame */
.map-frame {
    position: relative;
    width: 100%;
    height: 300px;
    background: #000;
    overflow: hidden;
}

.map-frame iframe {
    width: 100%; height: 100%; border: 0;
    opacity: 0.7;
    filter: grayscale(100%) contrast(1.2);
    transition: opacity 0.5s, filter 0.5s;
}

.map-frame:hover iframe {
    opacity: 1;
    filter: grayscale(0%);
}

.map-overlay-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid #fff;
    padding: 15px 30px;
    pointer-events: none;
    transition: opacity 0.3s;
}

.map-frame:hover .map-overlay-text { opacity: 0; }

/* --- RECHTS: GRAVITY FORMS OVERRIDES (Architectural Style) --- */

.architectural-form-wrapper {
    background: #fff;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    position: relative;
}

.form-header h3 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gold-dash {
    width: 40px; height: 2px;
    background: var(--color-gold);
    margin-bottom: 40px;
}

/* HIER BEGINT DE GF CUSTOMIZATION */

/* Verberg onnodige GF elementen */
.gform_wrapper .gform_heading { display: none; }
.gform_wrapper ul.gform_fields { list-style: none; padding: 0; margin: 0; }
.gform_wrapper li.gfield { margin-bottom: 35px; }

/* Labels Styling */
.gform_wrapper .gfield_label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Input Styling (Alleen lijntjes) */
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    padding: 10px 0;
    font-size: 1.1rem;
    color: var(--color-text-main);
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    font-family: 'Helvetica Neue', sans-serif;
}

/* Focus State */
.gform_wrapper input:focus,
.gform_wrapper textarea:focus {
    border-bottom-color: var(--color-gold);
    background: linear-gradient(to bottom, transparent 95%, rgba(197, 160, 89, 0.05) 100%);
}

/* Submit Button Styling (Matching the site) */
.gform_wrapper .gform_footer {
    margin-top: 20px;
    padding: 0;
    text-align: right; /* Knop rechts uitlijnen */
}

.gform_wrapper input[type=submit] {
    background-color: var(--color-text-main) !important;
    color: #fff !important;
    border: none !important;
    padding: 18px 50px !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important; /* Reset width */
    display: inline-block;
}

.gform_wrapper input[type=submit]:hover {
    background-color: var(--color-gold) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Validation Errors (Strakker maken) */
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea {
    border-bottom-color: #e74c3c !important;
}

.gform_wrapper .validation_message {
    font-size: 0.75rem;
    color: #e74c3c;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .architectural-form-wrapper { padding: 40px; }
}

/* Reveal Animaties */
.reveal-left { opacity: 0; animation: slideInLeft 1s forwards; }
.reveal-right { opacity: 0; animation: slideInRight 1s forwards; }

@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* --- VISIT ATMOSPHERE SECTION --- */

.visit-atmosphere {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 0; /* Sluit direct aan op footer */
}

/* 1. Scrolling Marquee (Ticker Tape) */
.marquee-strip {
    background: var(--color-text-main);
    color: var(--color-white);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 5;
}

.marquee-content {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: marquee 30s linear infinite;
    padding-left: 100%; /* Start buiten beeld */
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* 2. Accordion Layout */
.accordion-wrapper {
    display: flex;
    height: 600px; /* Mooie hoogte */
    width: 100%;
}

.acc-panel {
    position: relative;
    flex: 1; /* Iedereen begint gelijk */
    background-size: cover;
    background-position: center;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Super soepele transitie */
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.acc-panel:last-child {
    border-right: none;
}

/* Overlay wordt donkerder als hij niet actief is */
.acc-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    transition: background 0.6s;
}

/* Hover Effect: Paneel wordt breder */
.acc-panel:hover {
    flex: 3; /* Wordt 3x zo breed als de rest */
}

/* Content Styling */
.acc-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 2;
    color: #fff;
    opacity: 0.7; /* Beetje gedimd in rust */
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* Als je hovert (of hij is active) */
.acc-panel:hover .acc-content,
.acc-panel.active .acc-content {
    opacity: 1;
    transform: translateY(0);
}

.acc-panel:hover .acc-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.6)); /* Helderder */
}

.acc-num {
    display: block;
    font-size: 0.9rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-gold);
    display: inline-block;
    padding-bottom: 5px;
}

.acc-title {
    font-size: 2.5rem; /* Groot */
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap; /* Zorg dat tekst niet breekt tijdens animatie */
}

.acc-desc {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 0; /* Verberg tekst in rust */
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s ease;
    white-space: nowrap;
}

/* Tekst tevoorschijn toveren bij hover */
.acc-panel:hover .acc-desc {
    max-width: 400px;
    opacity: 1;
    white-space: normal;
    transition-delay: 0.2s;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .accordion-wrapper {
        flex-direction: column; /* Onder elkaar op mobiel */
        height: auto;
    }
    
    .acc-panel {
        height: 250px; /* Vaste hoogte per blokje */
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    .acc-panel:hover {
        flex: 1; /* Geen flex effect op mobiel, gewoon statisch */
        height: 300px; /* Ietsje groter */
    }
    
    .acc-desc {
        max-width: 100%;
        opacity: 1;
        white-space: normal; /* Altijd tekst tonen op mobiel */
    }
}

/* --- THE PROMISE SECTION --- */

.section-promise {
    background-color: var(--color-white);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.promise-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Quote Mark */
.big-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    line-height: 0.5;
    color: var(--color-platinum);
    margin-bottom: 20px;
    opacity: 0.5;
}

/* De Tekst */
.promise-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 400;
    color: var(--color-text-main);
    margin-bottom: 60px;
}

.promise-text .highlight-gold {
    font-style: italic;
    color: var(--color-gold);
}

/* Footer Grid */
.promise-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-platinum);
    padding-top: 40px;
    max-width: 600px;
    margin: 0 auto;
}

/* HANDTEKENING ANIMATIE */
.signature-wrapper {
    text-align: left;
}

.signature-svg {
    width: 200px;
    height: 100px;
    display: block;
    margin-bottom: 10px;
}

.signature-svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease-in-out;
}

/* De class die via JS wordt toegevoegd */
.signature-wrapper.sign-now .signature-svg path {
    stroke-dashoffset: 0;
}

.sig-name {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--color-text-main);
}

.sig-name strong {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* QUALITY SEAL */
.quality-seal {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-inner {
    position: relative;
    width: 100%; height: 100%;
    animation: rotateSeal 20s linear infinite;
}

.rotating-text {
    width: 100%; height: 100%;
}

.rotating-text text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    fill: var(--color-silver);
}

.seal-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--color-gold);
}

@keyframes rotateSeal {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .promise-text { font-size: 1.5rem; }
    .promise-footer {
        flex-direction: column;
        gap: 40px;
    }
    .signature-wrapper { text-align: center; }
    .signature-svg { margin: 0 auto 10px auto; }
}