/* --- 1. SPLIT SCREEN LAYOUT --- */
.contact-split-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    width: 100%;
}

/* LEFT SIDE: VISUAL */
.contact-visual-side {
    flex: 1;
    min-width: 400px;
    background-image: url('../images/hero-bg.webp'); /* Reusing Hero Image */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.visual-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(46,11,69,0.8), rgba(0,0,0,0.6));
    z-index: 1;
}

/* GLASS CONTACT CARD */
.glass-contact-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px;
    border-radius: 20px;
    color: white;
    max-width: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.glass-title { font-family: 'Cinzel', serif; font-size: 2rem; color: #FFD700; margin: 0; }
.glass-divider { width: 50px; height: 3px; background: #FF9933; margin: 20px 0; }

.glass-info-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.glass-icon { font-size: 1.5rem; }
.glass-info-item p { margin: 0; line-height: 1.6; font-size: 1.05rem; }

.glass-socials { margin-top: 30px; display: flex; gap: 20px; }
.glass-socials a { color: #FFD700; text-decoration: none; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; transition: 0.3s; }
.glass-socials a:hover { color: white; text-shadow: 0 0 10px #FFD700; }

/* RIGHT SIDE: NARRATIVE FORM - FIXED ALIGNMENT */
.contact-form-side {
    flex: 1;
    min-width: 400px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.form-content-wrapper { max-width: 700px; width: 100%; }

/* FIXED: Added Center Alignment for Subtitle */
.form-subtitle { 
    color: #FF9933; 
    font-weight: bold; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 0.9rem; 
    display: block; 
    margin-bottom: 10px;
    text-align: center; 
}

.form-title { 
    font-family: 'Cinzel', serif; 
    font-size: 2.8rem; 
    color: #2E0B45; 
    margin-top: 0; 
    margin-bottom: 30px; 
    text-align: center; 
}

/* NARRATIVE INPUTS (The "Mad Libs" Style) */
.narrative-form { 
    font-size: 1.3rem; /* Slightly smaller for better flow */
    line-height: 2.2; 
    color: #444; 
    font-family: 'Cardo', serif; 
    text-align: justify; /* JUSTIFIES the text block like a formal letter */
}

.narrative-text { 
    margin-bottom: 25px; 
    display: inline; /* Keeps sentences flowing together */
}

/* Input Container */
.input-group { 
    position: relative; 
    display: inline-block; 
    width: auto; 
    min-width: 150px; 
    margin: 0 5px; 
}

/* --- FORCE "FILL IN THE BLANK" STYLE (Important Overrides) --- */
.narrative-form input, 
.narrative-form select,
.narrative-form input[type="text"],
.narrative-form input[type="email"],
.narrative-form input[type="tel"] {
    width: 100% !important;
    
    /* 1. Remove Box Styling */
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    
    /* 2. Add The Line */
    border-bottom: 2px solid #ddd !important;
    
    /* 3. Text Styling */
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #2E0B45;
    padding: 5px 10px; 
    font-weight: bold;
    outline: none !important;
    text-align: center;
    transition: 0.3s;
}

/* Remove default focus outline from theme */
.narrative-form input:focus, .narrative-form select:focus {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Button Centering */
.narrative-form button {
    display: block;
    margin: 40px auto 0 auto; 
}

/* GOLD ANIMATION: Focus Bar */
.input-group .bar { position: absolute; bottom: 0; left: 0; height: 2px; width: 0%; background: #FFD700; transition: 0.4s ease; box-shadow: 0 0 10px #FFD700; }
.narrative-form input:focus ~ .bar, .narrative-form select:focus ~ .bar { width: 100%; }

/* REVEAL BUTTON (Pulse Animation) */
.btn-reveal-path {
    background: #2E0B45;
    color: #FFD700;
    border: none;
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(46, 11, 69, 0.3);
}

.btn-reveal-path:hover { transform: translateY(-3px); background: #3a0e57; box-shadow: 0 15px 40px rgba(46, 11, 69, 0.5); }

/* --- 2. FAQ SECTION --- */
.section-trust { padding: 80px 20px; background: #FFF8F0; }
.section-heading-gold { font-family: 'Cinzel', serif; color: #2E0B45; font-size: 2rem; margin-bottom: 30px; }

.faq-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; }

.faq-item { margin-bottom: 15px; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 15px; }
.faq-item summary { font-weight: bold; color: #2E0B45; cursor: pointer; font-size: 1.1rem; list-style: none; padding: 10px 0; }
.faq-item summary::-webkit-details-marker { display: none; } /* Hide default triangle */
.faq-item summary::after { content: "+"; float: right; color: #FF9933; font-weight: bold; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { margin-top: 10px; color: #666; line-height: 1.6; padding-left: 10px; border-left: 3px solid #FFD700; }

.trust-badges-wrapper { display: grid; gap: 20px; }
.trust-box { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center; border-top: 4px solid #FFD700; }
.trust-icon { font-size: 40px; margin-bottom: 10px; }
.trust-box h4 { margin: 0; color: #2E0B45; font-family: 'Cinzel', serif; }
.trust-box p { margin: 5px 0 0; color: #777; font-size: 0.9rem; }

/* --- 3. TRANSPARENT MAP FIX --- */
.map-section-dark { 
    position: relative; 
    height: 500px; 
    overflow: hidden; 
    background: transparent; 
}

.map-section-dark iframe {
    width: 100%;
    height: 100%;
    opacity: 1; 
    filter: none; 
    mix-blend-mode: normal; 
}

/* Map Button Styling */
.map-overlay-btn {
    position: absolute; 
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%);
    background: #2E0B45; 
    color: #FFD700; 
    padding: 15px 35px; 
    border-radius: 50px;
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4); 
    text-decoration: none;
    transition: 0.3s;
    z-index: 10;
}
.map-overlay-btn:hover {
    background: #FFD700;
    color: #2E0B45;
    transform: translateX(-50%) translateY(-5px);
}
/* --- RESPONSIVE & MOBILE FIXES --- */
@media (max-width: 900px) {
    /* 1. Stack the layout vertically (Visual Top, Form Bottom) */
    .contact-split-container {
        flex-direction: column;
    }

    .contact-visual-side {
        min-height: 350px; 
        min-width: 100%;
        padding: 40px 20px;
    }

    .contact-form-side {
        padding: 50px 25px;
        min-width: 100%; 
    }

    /* 2. Fix FAQ Grid */
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    /* 3. Mobile Form Typography */
    .form-title {
        font-size: 2rem;
    }
    
    .narrative-form {
        font-size: 1.1rem;
        text-align: left; 
        line-height: 1.8;
    }

    /* 4. Fix "Mad Libs" Inputs for Phones */
    .narrative-text {
        display: block; 
        margin-bottom: 20px;
    }

    .input-group {
        display: block; 
        width: 100%;
        min-width: unset; 
        margin: 5px 0 15px 0;
    }

    .narrative-form input, 
    .narrative-form select {
        width: 100% !important;
        text-align: left; 
    }

    .btn-reveal-path {
        width: 100%; 
        padding: 15px;
    }
}