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

.banner {
    position: relative;
    height: 60vh;
    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;
}

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

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

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

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

/* ============================================
   Split Contact Layout
   ============================================ */

.contact-split {
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: calc(100vh - 72px);
}

/* ---- Left: Info Panel ---- */

.split-info-panel {
    background: var(--header-footer-bg);
    padding: 80px 50px;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative circle */
.split-info-panel::before {
    content: '';
    position: absolute;
    bottom: -140px;
    right: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.split-info-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-heading {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 14px;
}

.split-intro {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 50px;
}

/* Contact detail rows */
.split-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 50px;
}

.split-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.split-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.split-icon svg {
    width: 20px;
    height: 20px;
}

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

.split-detail-value {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.6;
}

.split-detail-value a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.3s ease;
}

.split-detail-value a:hover {
    color: white;
}

/* Divider */
.split-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
}

/* Social links */
.split-social-label {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.split-social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
}

.split-social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.split-social-link svg {
    width: 20px;
    height: 20px;
}

.split-social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* FAQ link */
.split-faq-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.split-faq-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ---- Right: Form Panel ---- */

.split-form-panel {
    background: var(--bg-light);
    padding: 80px 70px;
    display: flex;
    align-items: center;
}

.split-form-inner {
    width: 100%;
    max-width: 560px;
}

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

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

/* 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);
}

.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 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: 8px;
    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 Section
   ============================================ */

.map-section {
    background: white;
    padding: 80px 20px;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-container h2 {
    color: var(--accent-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 12px;
}

.map-container .map-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1rem;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 10px;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 12px;
    display: block;
}

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

@media (max-width: 1024px) {
    .contact-split {
        grid-template-columns: 360px 1fr;
    }

    .split-form-panel {
        padding: 70px 50px;
    }
}

@media (max-width: 768px) {
    .contact-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-info-panel {
        padding: 60px 30px;
    }

    .split-info-inner {
        justify-content: flex-start;
    }

    .split-form-panel {
        padding: 60px 30px;
        align-items: flex-start;
    }

    .split-heading {
        font-size: 2rem;
    }

    .map-section {
        padding: 60px 20px;
    }

    .map-wrapper iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .split-info-panel,
    .split-form-panel {
        padding: 40px 20px;
    }

    .split-heading {
        font-size: 1.75rem;
    }

    .split-form-heading {
        font-size: 1.6rem;
    }

    .map-section {
        padding: 40px 15px;
    }

    .map-container h2 {
        font-size: 1.5rem;
    }

    .map-wrapper iframe {
        height: 300px;
    }
}
