/* ==========================================================
   THE ADHISHA - CONTACT US PAGE STYLESHEET
   ========================================================== */

.contact-brand-page {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

.contact-container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

/* ==========================================================
   SECTION 1: HERO
   ========================================================== */
.contact-hero {
    padding: 180px 0 60px 0;
    text-align: center;
    position: relative;
}

.contact-hero .section-label {
    font-family: var(--font-sans);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold, #c49a35);
    display: inline-block;
}

.contact-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(38px, 5.5vw, 62px);
    font-weight: 400;
    line-height: 1.15;
    margin: 16px 0 20px 0;
    letter-spacing: -0.015em;
    color: var(--text);
}

.contact-hero .hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.8;
    color: #554d45;
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
}

/* ==========================================================
   SECTION 2: CONTACT SPLIT (INFO + FORM)
   ========================================================== */
.contact-split-section {
    padding: 40px 0 100px 0;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 80px;
    align-items: start;
}

/* Left Column: Contact Info List */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 20px;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-label {
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.info-value {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.info-link {
    text-decoration: none;
    transition: color var(--transition), transform 0.3s ease;
    align-self: flex-start;
}

.info-link:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.info-icon {
    font-size: 16px;
    flex-shrink: 0;
    opacity: 0.85;
}

/* Right Column: Form Card */
.form-card {
    background: var(--white);
    padding: 50px 60px;
    border-radius: 28px;
    border: 1px solid rgba(196, 154, 53, 0.08);
    box-shadow: 0 20px 50px rgba(24, 18, 12, 0.03);
}

.form-header {
    margin-bottom: 40px;
}

.form-card h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 400;
    line-height: 1.25;
    color: var(--text);
    margin: 0 0 12px 0;
}

.form-subtitle {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.7;
    color: #6e655c;
    margin: 0;
    font-weight: 400;
}

/* Form inputs & fields */
.enquiry-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    gap: 24px;
}

.form-row.two-cols {
    grid-template-columns: 1fr 1fr;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    position: relative;
}

.form-field label {
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #554d45;
    margin-bottom: 10px;
    display: inline-block;
}

.form-field label .optional-tag {
    color: #999;
    text-transform: lowercase;
    font-weight: 400;
    margin-left: 2px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    width: 100%;
    background: #FAF8F4;
    border: 1px solid rgba(26, 18, 8, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(26, 18, 8, 0.35);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: rgba(196, 154, 53, 0.3);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(196, 154, 53, 0.08);
}

/* Custom Select Dropdown Arrow */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 45px !important;
    cursor: pointer;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgMTIgOCI+PHBhdGggZD0iTTEgMSBMNiA2IEwxMSAxIiBzdHJva2U9IiMxQTEyMDgiIHN0cm9rZS13aWR0aD0iMS41IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    opacity: 0.6;
    transition: transform var(--transition);
}

.select-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}

/* Textarea custom style */
.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Radio Buttons layout */
.radio-label-title {
    margin-bottom: 12px !important;
}

.radio-options {
    display: flex;
    gap: 28px;
    margin-top: 4px;
}

.radio-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0 !important;
}

.radio-opt input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(26, 18, 8, 0.25);
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    background-color: #FAF8F4;
}

.radio-opt input[type="radio"]:checked {
    border-color: var(--gold);
    background-color: var(--gold);
    box-shadow: inset 0 0 0 3px var(--white);
}

.radio-opt input[type="radio"]:focus {
    box-shadow: 0 0 0 4px rgba(196, 154, 53, 0.08), inset 0 0 0 3px var(--white);
    border-color: var(--gold);
}

.radio-text {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

/* Checkbox Consent layout */
.checkbox-field {
    margin-top: 10px;
}

.form-field label.checkbox-container,
.checkbox-container {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    position: relative;
    margin-bottom: 0 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    line-height: 1.4 !important;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark,
.checkbox-checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(196, 154, 53, 0.4);
    border-radius: 4px;
    background: #FAF8F4;
    display: inline-block;
    flex-shrink: 0;
    transition: all 0.25s ease;
    margin-top: 0 !important;
    box-sizing: border-box;
}

.checkbox-container input:checked ~ .checkmark,
.checkbox-container input:checked ~ .checkbox-checkmark {
    border-color: var(--gold);
    background-color: #FAF8F4;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'><path d='M1 4 L4 7 L9 1' stroke='%23C49A35' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 8px;
}

.checkbox-container:hover input:not(:checked) ~ .checkmark,
.checkbox-container:hover input:not(:checked) ~ .checkbox-checkmark {
    border-color: rgba(196, 154, 53, 0.4);
}

.checkbox-label-text {
    font-family: var(--font-sans);
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: #554d45;
    line-height: 1.4;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.checkbox-label-text a {
    color: var(--gold);
    text-decoration: underline;
    transition: all 0.25s ease;
}

.checkbox-label-text a:hover {
    color: var(--gold);
}

/* Submission validation error styles */
.field-error {
    display: none;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: #b03a2e;
    margin-top: 6px;
    animation: fadeInError 0.3s ease;
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
    border-color: #b03a2e !important;
    background-color: rgba(176, 58, 46, 0.01);
}

.form-field.error .field-error {
    display: block;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Submit button row */
.form-submit-row {
    margin-top: 24px;
}

.form-submit-row button {
    border: none;
    cursor: pointer;
    width: auto;
}

/* Success State container */
.form-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    min-height: 380px;
    animation: successFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.form-success-state h3 {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 400;
    color: var(--text);
    margin: 0 0 12px 0;
}

.form-success-state p {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: #6e655c;
    max-width: 400px;
    margin: 0;
}

@keyframes successFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================
   SECTION 3: FIND US (GOOGLE MAPS)
   ========================================================== */
.contact-map-section {
    padding: 100px 0 160px 0;
}

.map-header {
    margin-bottom: 60px;
    text-align: left;
}

.map-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 400;
    color: var(--text);
    margin: 0 0 12px;
}

.map-header p {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: #6e655c;
    margin: 0;
}

.map-grid {
    display: grid;
    grid-template-columns: 7.5fr 4.5fr;
    gap: 60px;
    align-items: center;
}

.map-embed-wrapper {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(196, 154, 53, 0.08);
    box-shadow: 0 25px 50px rgba(24, 18, 12, 0.04);
    height: 450px;
}

.map-embed-wrapper iframe {
    width: 100%;
    height: 100%;
}

.map-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
}

.map-details h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--text);
    margin: 0;
}

.map-address {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: #554d45;
    font-weight: 500;
    margin: 0;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1.5px solid rgba(196, 154, 53, 0.3);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.directions-btn:hover {
    border-bottom-color: var(--gold);
    transform: translateX(4px);
}

/* ==========================================================
   RESPONSIVENESS (BREAKPOINTS)
   ========================================================== */

/* Tablet Layout (max-width: 991px) */
@media (max-width: 991px) {
    .contact-hero {
        padding: 150px 0 50px 0;
    }
    
    .contact-split-section {
        padding: 20px 0 80px 0;
    }
    
    .contact-split-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info-col {
        padding-top: 0;
        gap: 30px;
        order: 1; /* stack info first */
    }
    
    .contact-form-col {
        order: 2; /* stack form second */
    }
    
    .form-card {
        padding: 40px 35px;
    }
    
    .contact-map-section {
        padding: 80px 0 100px 0;
    }
    
    .map-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-details {
        padding-left: 0;
    }
    
    .map-embed-wrapper {
        height: 380px;
    }
}

/* Mobile Layout (max-width: 767px) */
@media (max-width: 767px) {
    .form-row.two-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .radio-options {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .form-success-state {
        padding: 40px 15px;
        min-height: 280px;
    }

    .form-success-state h3 {
        font-size: 28px;
    }

    .form-success-state p {
        font-size: 14px;
        line-height: 1.65;
    }
    
    .map-embed-wrapper {
        height: 300px;
        border-radius: 20px;
    }
}


