/* ============================================================
   BOOKING PAGE — T3M Tours
   Follows the site's design system: dark bg, Cormorant +
   DM Sans, cream/red accent, 12px radius cards.
   ============================================================ */

/* ---- Page Header ----------------------------------------- */
.booking-page-header {
    position: relative;
    padding: 200px 60px 120px;
    text-align: center;
    overflow: hidden;
}
.booking-page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}
.booking-page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,12,8,.4) 0%, rgba(15,12,8,.1) 50%, rgba(15,12,8,.7) 100%);
}
.booking-page-header-inner {
    position: relative;
    z-index: 2;
}
.booking-page-header h1 {
    font-family: var(--ff-display);
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 600;
    color: var(--text-light);
    margin: 14px 0 20px;
    line-height: 1.05;
}
.booking-page-header h1 em {
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}
.booking-page-header p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.85;
}

/* ---- Main Section ---------------------------------------- */
.booking-section {
    padding: 100px 60px 120px;
    background: var(--bg-dark);
}
.booking-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 80px;
    align-items: start;
}

/* ---- Left Sidebar ---------------------------------------- */
.booking-sidebar {
    position: sticky;
    top: 100px;
}
.booking-sidebar h2 {
    font-family: var(--ff-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.15;
    margin: 12px 0 18px;
}
.booking-sidebar h2 em {
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}
.booking-sidebar > p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 32px;
}

/* Checklist */
.booking-checklist {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.booking-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.booking-checklist li::before {
    content: '';
    width: 5px;
    height: 5px;
    min-width: 5px;
    border-radius: 50%;
    background: var(--accent);
}

/* Contact links */
.booking-contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    margin-bottom: 20px;
}
.booking-contact-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    transition: color .3s;
}
.booking-contact-links a:hover { color: var(--accent); }
.booking-contact-links svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Response badge */
.booking-response-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 11px 16px;
    background: rgba(192, 27, 27, 0.07);
    border: 1px solid rgba(192, 27, 27, 0.18);
    border-radius: var(--radius-sm);
    margin-top: 4px;
}
.booking-response-badge svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ---- Form Card ------------------------------------------- */
.booking-form-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 48px;
}

/* Form sections */
.form-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-dark);
}
.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Section label */
.form-group-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 24px;
}
.form-group-num {
    font-family: var(--ff-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: rgba(192, 27, 27, 0.1);
    border: 1px solid rgba(192, 27, 27, 0.2);
    border-radius: 4px;
    padding: 3px 8px;
}

/* Row + fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}
.form-field:last-child { margin-bottom: 0; }

.form-field label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 400;
}
.req { color: var(--accent); }

/* Inputs / selects / textarea */
.form-field input,
.form-field select,
.form-field textarea {
    padding: 13px 16px;
    background: var(--bg-deep);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 14px;
    font-family: var(--ff-body);
    font-weight: 300;
    outline: none;
    transition: border-color .3s, background .3s, box-shadow .3s;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(245,240,235,0.2);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    background: rgba(192, 27, 27, 0.04);
    box-shadow: 0 0 0 3px rgba(192, 27, 27, 0.08);
}
.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(245,240,235,0.35)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
    color: var(--text-light);
}
.form-field select option {
    background: #1a1610;
    color: var(--text-light);
}
/* Style unselected placeholder option */
.form-field select:invalid,
.form-field select option[value=""] {
    color: rgba(245,240,235,0.3);
}
.form-field textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.75;
}

/* Submit row */
.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--border-dark);
    margin-top: 8px;
}
.form-submit-note {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.75;
}
.booking-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: var(--ff-body);
    transition: background .3s, transform .3s, box-shadow .3s;
}
.booking-submit-btn svg {
    width: 16px;
    height: 16px;
    transition: transform .3s var(--ease);
}
.booking-submit-btn:hover {
    background: #a51515;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(192, 27, 27, 0.35);
}
.booking-submit-btn:hover svg {
    transform: translateX(4px);
}

/* ---- Success / Error card -------------------------------- */
.booking-success-card {
    text-align: center;
    padding: 72px 48px;
}
.booking-success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(192, 27, 27, 0.1);
    border: 1px solid rgba(192, 27, 27, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}
.booking-success-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}
.booking-error-icon {
    background: rgba(192, 27, 27, 0.06);
}
.booking-success-card h3 {
    font-family: var(--ff-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 14px;
}
.booking-success-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 380px;
    margin: 0 auto 32px;
}
.booking-success-back {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all .3s;
}
.booking-success-back:hover {
    background: var(--accent);
    color: #fff;
}

/* ---- Responsive ------------------------------------------ */
@media (max-width: 1024px) {
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }
    .booking-sidebar { position: static; }
}
@media (max-width: 768px) {
    .booking-page-header { padding: 160px 20px 80px; }
    .booking-section { padding: 60px 20px 80px; }
    .booking-form-card { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .form-submit-row { flex-direction: column; align-items: flex-start; }
    .booking-submit-btn { width: 100%; justify-content: center; }
    .booking-success-card { padding: 48px 24px; }
}
