/* ============================================
   Banner
   ============================================ */

.banner {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../Images/banner/banner-book.webp);
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    filter: contrast(80%) brightness(40%);
    z-index: -1;
}

.banner-title {
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .banner {
        height: 50vh;
    }

    .banner-bg {
        background-attachment: scroll;
    }

    .banner-title {
        font-size: 2rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 1.6rem;
    }
}

/* ============================================
   Get In Touch — Full Width
   ============================================ */

.contact-info-section {
    background: var(--bg-light);
    padding: 40px 40px;
}

.contact-info-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    min-width: 180px;
    flex: 1;
    max-width: 240px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail-label {
    display: block;
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-detail-value {
    display: block;
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: center;
}

.contact-detail-value a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-value a:hover {
    color: var(--accent-color);
}


/* ============================================
   FAQ Banner
   ============================================ */

.contact-faq-banner {
    background: var(--bg-light);
    padding: 48px 40px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.contact-faq-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-faq-img {
    width: 480px;
    height: 340px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.contact-faq-text {
    text-align: left;
}

.contact-faq-caption {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-faq-banner p {
    font-size: 1rem;
    color: var(--text-muted);
}

.contact-faq-banner a:not(.btn-book) {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.contact-faq-banner a:not(.btn-book):hover {
    text-decoration: underline;
}

.contact-faq-banner .inline-btn {
    padding: 0.4rem 1.2rem !important;
    font-size: small;
    font-weight: bold;
    vertical-align: middle;
}

@media (max-width: 640px) {
    .contact-faq-inner {
        flex-direction: column;
        gap: 24px;
    }

    .contact-faq-img {
        width: 100%;
        height: 200px;
    }

    .contact-faq-text {
        text-align: center;
    }
}

/* ============================================
   Form + Map Side by Side
   ============================================ */

.contact-bottom-section {
    background: var(--bg-section);
    padding: 70px 40px;
}

.contact-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Form column */
.contact-form-col {
    padding: 0;
}

.contact-form-heading {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* Form fields */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: "Poppins", Sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-color);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(146, 94, 26, 0.12);
}

.form-group input.field-error,
.form-group textarea.field-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.required {
    color: var(--accent-color);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--book-btn-bg);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: "Poppins", Sans-serif;
}

.btn-submit:hover {
    background: var(--book-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--book-btn-shadow);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Status messages */
.message {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Map column */
.contact-map-col {
    display: flex;
    flex-direction: column;
}

.contact-map-heading {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-map-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.map-wrapper {
    overflow: hidden;
    flex: 1;
    min-height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .contact-bottom-container {
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .contact-info-section {
        padding: 28px 24px;
    }

    .contact-info-grid {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-item {
        max-width: 100%;
        width: 100%;
    }

    .contact-bottom-section {
        padding: 50px 24px;
    }

    .contact-bottom-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-info-heading {
        font-size: 2rem;
    }

    .map-wrapper,
    .map-wrapper iframe {
        min-height: 320px;
    }
}

@media (max-width: 480px) {
    .contact-info-section {
        padding: 20px 16px;
    }

    .contact-bottom-section {
        padding: 40px 16px;
    }

    .contact-info-heading {
        font-size: 1.75rem;
    }

    .contact-form-heading,
    .contact-map-heading {
        font-size: 1.5rem;
    }

    .map-wrapper,
    .map-wrapper iframe {
        min-height: 280px;
    }
}
