/* ==========================================
   QUOTE PAGE
   Exact Alabaster Theme with Gold Focus Interactions
   ========================================== */

/* The Canvas */
.quote-section {
    background-color: #E6E4E0; /* Textured Alabaster */
    color: #050505;
    min-height: 100vh;
    padding: 12rem 5% 8rem 5%; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 8rem; /* Wide, airy gap between form and details */
}

/* --- LEFT: FORM COLUMN --- */
.quote-form-column {
    flex: 1;
}

.quote-title {
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    line-height: 1;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.quote-title .cursive-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.quote-title .gold-dot {
    color: #C89B3C;
}

.quote-subtitle {
    color: #555555;
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    max-width: 80%;
}

/* Form Inputs */
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(5, 5, 5, 0.3); 
    padding: 1rem 0;
    font-family: var(--font-main);
    font-size: 1rem;
    color: #050505;
    transition: border-color 0.3s ease;
    display: block; 
}

/* Specific fix to align dropdowns perfectly with text inputs */
.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    cursor: pointer;
}

.form-input::placeholder {
    color: rgba(5, 5, 5, 0.5);
    font-weight: 400;
}

.form-input:focus {
    outline: none;
}

/* The Gold Focus Interaction */
.border-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #C89B3C; 
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-input:focus ~ .border-highlight {
    transform: scaleX(1);
}

/* The Submit Button */
.quote-submit-btn {
    align-self: flex-start;
    background: #050505;
    color: #ffffff;
    border: 2px solid #050505;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-submit-btn:hover {
    background: transparent;
    color: #050505;
}

/* --- RIGHT: DETAILS COLUMN --- */
.quote-details-column {
    flex: 0 0 300px;
    border-left: 2px solid #C89B3C; /* The Architectural Gold Line */
    padding-left: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

.detail-block .detail-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555555;
    margin-bottom: 0.75rem;
    font-weight: bold;
}

.detail-block p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #050505;
}

/* --- SOCIAL ICONS (ALABASTER THEME) --- */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icon {
    color: #050505; /* Standard dark text color for resting state */
    font-size: 1.25rem; /* Scales the Font Awesome typography */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #C89B3C; /* Matte Gold interaction */
    transform: translateY(-3px); /* Subtle architectural lift */
}

/* --- LIGHT THEME NAV OVERRIDES --- */
.light-theme-nav .flip-link {
    color: #555555; 
}
.light-theme-nav .flip-link::before {
    color: #050505; 
}
.light-theme-nav .nav-btn {
    border-color: #050505;
    color: #050505;
}
.light-theme-nav .nav-btn:hover {
    background-color: #050505;
    color: #ffffff;
}
.light-theme-nav .mobile-menu-btn {
    color: #050505;
}
.navbar.light-theme-nav.scrolled {
    background: transparent !important; 
    border-bottom: none; 
}

/* --- CUSTOM ENTRANCE ANIMATION --- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeUpEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .quote-container {
        flex-direction: column;
        gap: 5rem;
    }

    .quote-details-column {
        flex: auto;
        border-left: none;
        padding-left: 0;
        border-top: 2px solid #C89B3C;
        padding-top: 3.5rem;
    }
}

/* --- MOBILE CENTERING FOR QUOTE PAGE (≤ 768px) --- */
@media (max-width: 768px) {
    /* ---- Center heading & subtitle ---- */
    .quote-title {
        text-align: center;
        width: 100%;
    }

    .quote-subtitle {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2.5rem;
    }

    /* ---- Center the details column (Visit us, Talk to us, social icons) ---- */
    .quote-details-column {
        align-items: center;
        text-align: center;
        border-left: none;
        padding-left: 0;
        border-top: 2px solid #C89B3C;
        padding-top: 2.5rem;
        gap: 2rem;
    }

    .detail-block .detail-heading,
    .detail-block p {
        text-align: center;
    }

    .social-links {
        justify-content: center;
        width: 100%;
    }
}

/* Optional: fine-tune for very small phones */
@media (max-width: 480px) {
    .quote-title {
        font-size: 2.8rem;
    }
    .quote-subtitle {
        font-size: 1rem;
    }
}

/* ==========================================
   DATA CONSENT CHECKBOX
   ========================================== */
.consent-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Custom Checkbox Styling */
.consent-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(5, 5, 5, 0.4);
    border-radius: 2px;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 3px;
    transition: all 0.3s ease;
}

.consent-wrapper input[type="checkbox"]:checked {
    background-color: #C89B3C;
    border-color: #C89B3C;
}

/* The checkmark */
.consent-wrapper input[type="checkbox"]:checked::after {
    content: '✔';
    position: absolute;
    color: #ffffff;
    font-size: 12px;
    left: 3px;
    top: 0px;
}

.consent-wrapper label {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.5;
    cursor: pointer;
}

/* ==========================================
   SUCCESS MESSAGE OVERLAY
   ========================================== */
.form-success-msg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #E6E4E0; /* Matches the quote section background */
    opacity: 0; /* Hidden by default */
    visibility: hidden; /* Prevents interaction before submission */
    z-index: 10;
    font-size: 1.25rem;
    font-weight: 500;
    color: #050505;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}