/* ==========================================================================
   AS MAHAL - Contact Us Page Stylesheet
   Color Palette:
   - Primary Brand: #E9175E
   - Text Primary:  #111111
   - Text Muted:    #666666
   - Background:    #FFFFFF / #FAF7F8
   - Accent Tint:   rgba(233, 23, 94, 0.08)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Contact Hero Section
   -------------------------------------------------------------------------- */
.contact-hero {
    min-height: 420px;
    height: 52vh;
    padding-top: 100px;
    padding-bottom: 40px;
    background-color: #111111;
    position: relative;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.88) 0%,
        rgba(10, 10, 10, 0.72) 45%,
        rgba(10, 10, 10, 0.35) 100%
    );
    z-index: 2;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
}

/* Breadcrumbs */
.contact-breadcrumb {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-breadcrumb a:hover {
    color: #ffffff;
}

.contact-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
}

.contact-breadcrumb .current {
    color: #E9175E;
}

/* Hero Title */
.contact-hero-title {
    font-family: 'Philosopher', serif;
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    letter-spacing: 2px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 14px;
    margin-bottom: 0;
}

.contact-hero-accent-line {
    width: 46px;
    height: 3px;
    background-color: #E9175E;
    border-radius: 2px;
    margin: 18px 0 20px 0;
}

.contact-hero-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    line-height: 1.65;
    font-weight: 300;
    max-width: 620px;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   2. Main Contact Section Layout
   -------------------------------------------------------------------------- */
.contact-main-section {
    background-color: #ffffff;
    padding-top: 70px;
    padding-bottom: 80px;
}

.contact-details-section {
    background-color: #FAF7F8;
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Section Subtag with Diamond Decor */
.contact-subtag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #E9175E;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-subtag-decor {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #E9175E;
    opacity: 0.7;
    font-size: 8px;
}

.contact-subtag-decor::before,
.contact-subtag-decor::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: #E9175E;
    vertical-align: middle;
}

.contact-heading {
    font-family: 'Philosopher', serif;
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 400;
    color: #111111;
    line-height: 1.3;
    margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   3. Contact Cards (Left Column)
   -------------------------------------------------------------------------- */
.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 23, 94, 0.35);
    box-shadow: 0 12px 32px rgba(233, 23, 94, 0.08);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: rgba(233, 23, 94, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E9175E;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-info-card:hover .contact-icon-box {
    transform: scale(1.06);
    background: rgba(233, 23, 94, 0.12);
}

.contact-card-content {
    flex: 1;
}

.contact-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #E9175E;
    margin-bottom: 6px;
}

.contact-card-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #333333;
    margin-bottom: 0;
}

.contact-link {
    color: #333333;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #E9175E;
}

/* --------------------------------------------------------------------------
   4. Enquiry Form (Center Column)
   -------------------------------------------------------------------------- */
.contact-form-wrapper {
    background: #ffffff;
}

.contact-input-group {
    margin-bottom: 18px;
    position: relative;
}

.contact-form-control {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #E4E4E7;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14px;
    color: #111111;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    font-family: inherit;
}

.contact-form-control::placeholder {
    color: #8E8E93;
    font-size: 13.5px;
}

.contact-form-control:focus {
    outline: none;
    border-color: #E9175E;
    box-shadow: 0 0 0 3.5px rgba(233, 23, 94, 0.12);
}

.contact-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 42px;
    cursor: pointer;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Validation styling */
.contact-form-control.is-invalid {
    border-color: #E53E3E;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

.contact-error-feedback {
    display: none;
    font-size: 12px;
    color: #E53E3E;
    margin-top: 5px;
    font-weight: 500;
}

.contact-form-control.is-invalid + .contact-error-feedback {
    display: block;
}

/* Date input styling */
input[type="date"].contact-form-control {
    position: relative;
    cursor: pointer;
}

/* Form Submit Button */
.btn-send-message {
    background-color: #E9175E;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    padding: 15px 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(233, 23, 94, 0.25);
}

.btn-send-message:hover {
    background-color: #cf1050;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233, 23, 94, 0.35);
    color: #ffffff;
}

.btn-send-message svg {
    transition: transform 0.25s ease;
}

.btn-send-message:hover svg {
    transform: translateX(4px);
}

/* Submission Success Banner */
.contact-success-alert {
    display: none;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 20px;
    align-items: center;
    gap: 12px;
}

.contact-success-alert.show {
    display: flex;
    animation: fadeIn 0.4s ease;
}

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

/* --------------------------------------------------------------------------
   5. Map Section (Right Column)
   -------------------------------------------------------------------------- */
.contact-map-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-map-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    height: 380px;
    background: #f4f4f5;
    position: relative;
}

.contact-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(1.05);
}

/* Get Directions Button */
.btn-get-directions {
    margin-top: 18px;
    width: 100%;
    background-color: #ffffff;
    color: #E9175E;
    border: 1.5px solid rgba(233, 23, 94, 0.4);
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.btn-get-directions:hover {
    background-color: #E9175E;
    color: #ffffff;
    border-color: #E9175E;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(233, 23, 94, 0.25);
}

.btn-get-directions svg {
    color: inherit;
    transition: transform 0.25s ease;
}

.btn-get-directions:hover svg {
    transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   6. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .contact-heading {
        font-size: 1.65rem;
    }
}

@media (max-width: 991.98px) {
    .contact-hero {
        min-height: 380px;
        height: auto;
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .contact-main-section {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .contact-details-section {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .contact-column-space {
        margin-bottom: 45px;
    }

    .contact-map-frame {
        height: 340px;
    }
}

@media (max-width: 767.98px) {
    .contact-info-card {
        padding: 18px;
    }
    
    .contact-icon-box {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .contact-map-frame {
        height: 300px;
    }

    .btn-send-message {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .contact-hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .contact-hero-title {
        font-size: 2.2rem;
    }

    .contact-main-section {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .contact-details-section {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .contact-heading {
        font-size: 1.45rem;
        margin-bottom: 22px;
    }

    .contact-info-card {
        border-radius: 12px;
    }

    .contact-map-frame {
        border-radius: 12px;
        height: 260px;
    }
}

/* 320px ultra-small screen safety */
@media (max-width: 350px) {
    .contact-hero-title {
        font-size: 1.9rem;
    }

    .contact-info-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
