/* ═══════════════════════════════════════════════════
   BOOKING PAGE — Professional Refined Styles
   ═══════════════════════════════════════════════════ */

:root {
    --primary: #c8a165;
    --primary-dark: #a8843f;
    --primary-light: #f5efe6;
    --dark: #1a1a1a;
    --dark-soft: #2d2d2d;
    --gray: #6b6b6b;
    --gray-light: #9a9a9a;
    --light: #f8f6f2;
    --border: #e5e0d8;
    --border-light: #f0ece5;
    --success: #22a06b;
    --error: #d9534f;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
    --shadow: 0 4px 20px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
    --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ─── HERO ─── */
.booking-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2418 100%);
    padding: 56px 0 44px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.booking-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(200,161,101,.08) 0%, transparent 60%);
    pointer-events: none;
}
.booking-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200,161,101,.12);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 14px;
    border: 1px solid rgba(200,161,101,.2);
}
.booking-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}
.booking-hero p {
    opacity: .8;
    max-width: 520px;
    margin: 0 auto;
    font-size: .92rem;
    line-height: 1.6;
}

/* ─── SECTION ─── */
.booking {
    padding: 48px 0 64px;
    background: var(--light);
}
.booking__wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: flex-start;
}
@media (max-width: 992px) {
    .booking__wrap { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── FORM ─── */
.booking-form {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}
@media (max-width: 576px) {
    .booking-form { padding: 20px; border-radius: var(--radius); }
}

.booking-form__group { margin-bottom: 18px; }
.booking-form__group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: .85rem;
    color: var(--dark);
    letter-spacing: .01em;
}
.booking-form__group label .req {
    color: var(--error);
    font-style: normal;
    font-size: .9rem;
    line-height: 1;
}
.booking-form__group label .opt {
    color: var(--gray-light);
    font-size: .72rem;
    font-style: normal;
    font-weight: 400;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.booking-form__group input,
.booking-form__group select,
.booking-form__group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .92rem;
    background: #fff;
    transition: var(--transition);
    color: var(--dark);
    line-height: 1.5;
}
.booking-form__group input:hover,
.booking-form__group select:hover,
.booking-form__group textarea:hover {
    border-color: #d5cec2;
}
.booking-form__group input:focus,
.booking-form__group select:focus,
.booking-form__group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200,161,101,.1);
}
.booking-form__group textarea {
    resize: vertical;
    min-height: 88px;
}
.booking-form__group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.booking-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 576px) {
    .booking-form__row { grid-template-columns: 1fr; gap: 0; }
}

.booking-form__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    color: var(--gray-light);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}
.booking-form__divider::before,
.booking-form__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

/* ─── SELECTED TOUR PREVIEW ─── */
.booking-form__tour {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    align-items: center;
}
.booking-form__tour-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.booking-form__tour-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.booking-form__tour-info {
    flex: 1;
    min-width: 0;
}
.booking-form__tour-label {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 3px;
}
.booking-form__tour-info h3 {
    font-size: .95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.booking-form__tour-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: .78rem;
    color: var(--gray);
}
.booking-form__tour-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.booking-form__tour-meta i {
    color: var(--primary);
    font-size: .75rem;
}

/* ─── CONTACT METHODS ─── */
.method-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
}
.method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-family: inherit;
    width: 100%;
}
.method:hover {
    border-color: var(--primary);
    background: #fdfaf5;
    transform: translateX(2px);
}
.method:active {
    transform: translateX(2px) scale(.99);
}
.method__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    flex-shrink: 0;
}
.method__icon--email { background: #3b7bbf; }
.method__icon--wa    { background: #25d366; }
.method__icon--form  { background: var(--primary); }
.method__info { flex: 1; min-width: 0; }
.method__info strong {
    display: block;
    font-size: .85rem;
    color: var(--dark);
    margin-bottom: 2px;
    font-weight: 600;
}
.method__info small {
    color: var(--gray-light);
    font-size: .72rem;
    line-height: 1.3;
    display: block;
}
.method__arrow {
    color: var(--border);
    font-size: .75rem;
    transition: var(--transition);
    flex-shrink: 0;
}
.method:hover .method__arrow {
    color: var(--primary);
    transform: translateX(2px);
}

/* ─── MESSAGE ─── */
.form-msg {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.5;
}
.form-msg.error {
    background: #fde8e8;
    color: var(--error);
    border-left: 3px solid var(--error);
}
.form-msg.success {
    background: #e6f7f0;
    color: var(--success);
    border-left: 3px solid var(--success);
}

/* ═══════════════════════════════════════════════════
   SUMMARY SIDEBAR — Compact & Professional
   ═══════════════════════════════════════════════════ */
.booking-summary { position: sticky; top: 88px; }
.booking-summary__box {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px 22px;
    border: 1px solid var(--border-light);
}

.booking-summary__empty {
    text-align: center;
    padding: 16px 0;
}
.booking-summary__empty i {
    font-size: 2.2rem;
    color: var(--border);
    margin-bottom: 12px;
    display: block;
}
.booking-summary__empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--dark);
}
.booking-summary__empty p {
    color: var(--gray);
    font-size: .82rem;
    line-height: 1.5;
}

.booking-summary__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--border-light);
    color: var(--dark);
}

.booking-summary__list { margin-bottom: 16px; }
.booking-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: .82rem;
    border-bottom: 1px dashed var(--border-light);
}
.booking-summary__row:last-child { border-bottom: none; }
.booking-summary__row span {
    color: var(--gray);
    flex-shrink: 0;
    font-size: .78rem;
}
.booking-summary__row strong {
    text-align: right;
    color: var(--dark);
    font-weight: 600;
    word-break: break-word;
    font-size: .82rem;
}

.booking-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    margin-top: 8px;
    border-top: 1.5px solid var(--dark);
    border-bottom: 1.5px solid var(--dark);
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
}
.booking-summary__total strong {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.booking-summary__trust {
    margin: 16px 0;
    display: grid;
    gap: 8px;
}
.booking-summary__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--gray);
}
.booking-summary__trust-item i {
    color: var(--success);
    font-size: .8rem;
    width: 16px;
    text-align: center;
}

.booking-summary__contact {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}
.booking-summary__contact p {
    font-size: .78rem;
    color: var(--gray-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 500;
}
.booking-summary__links {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.booking-summary__links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: var(--light);
    border-radius: 50px;
    font-size: .75rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}
.booking-summary__links a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.booking-summary__links a i { font-size: .8rem; }

/* ═══════════════════════════════════════════════════
   SUCCESS STATE + FLIP ANIMATION — Refined
   ═══════════════════════════════════════════════════ */
.booking-summary__success {
    text-align: center;
    padding: 8px 0;
    animation: fadeInUp .5s ease;
}

.success-flip {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    perspective: 800px;
}
.success-flip__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .8s cubic-bezier(.4,.2,.2,1);
    transform-style: preserve-3d;
}
.success-flip.is-flipped .success-flip__inner {
    transform: rotateY(180deg);
}
.success-flip__front,
.success-flip__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
}
.success-flip__front {
    background: linear-gradient(135deg, #c8a165, #a8843f);
    box-shadow: 0 6px 20px rgba(200,161,101,.3);
}
.success-flip__back {
    background: linear-gradient(135deg, #22a06b, #16a34a);
    transform: rotateY(180deg);
    box-shadow: 0 6px 20px rgba(34,160,107,.3);
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--success);
    margin-bottom: 6px;
    font-weight: 600;
}
.success-msg {
    color: var(--gray);
    font-size: .82rem;
    margin-bottom: 18px;
    line-height: 1.55;
}

.success-details {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 18px;
    text-align: left;
    border: 1px solid var(--border-light);
}
.success-details__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    font-size: .8rem;
    border-bottom: 1px dashed var(--border-light);
}
.success-details__row:last-child { border-bottom: none; }
.success-details__row span { color: var(--gray); }
.success-details__row strong {
    color: var(--dark);
    text-align: right;
    word-break: break-word;
    font-size: .8rem;
}

.btn-block { width: 100%; }

/* ═══════════════════════════════════════════════════
   COUNTRY PICKER — Compact
   ═══════════════════════════════════════════════════ */
.country-picker { position: relative; }

.country-picker__trigger {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: .92rem;
    text-align: left;
    transition: var(--transition);
    color: var(--dark);
}
.country-picker__trigger:hover { border-color: #d5cec2; }
.country-picker__trigger[aria-expanded="true"] {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200,161,101,.1);
}

.country-picker__selected {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    flex: 1;
    min-width: 0;
}
.country-picker__selected.placeholder { color: var(--gray-light); }
.country-picker__selected .cp-flag { font-size: 1.1rem; }
.country-picker__selected .cp-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .92rem;
}
.country-picker__selected .cp-dial {
    color: var(--gray);
    font-size: .82rem;
    margin-left: auto;
}
.country-picker__arrow {
    color: var(--gray-light);
    transition: transform .25s;
    flex-shrink: 0;
    font-size: .75rem;
}
.country-picker__trigger[aria-expanded="true"] .country-picker__arrow {
    transform: rotate(180deg);
}

.country-picker__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: none;
    overflow: hidden;
    animation: fadeInUp .2s ease;
}
.country-picker__dropdown.is-open { display: block; }

.country-picker__search-wrap {
    position: relative;
    padding: 10px;
    border-bottom: 1px solid var(--border-light);
}
.country-picker__search-wrap i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-light);
    font-size: .82rem;
    pointer-events: none;
}
.country-picker__search {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .88rem;
    outline: none;
    transition: border-color .2s;
    color: var(--dark);
}
.country-picker__search:focus { border-color: var(--primary); }
.country-picker__search::placeholder { color: var(--gray-light); }

.country-picker__list {
    list-style: none;
    margin: 0;
    padding: 5px;
    max-height: 240px;
    overflow-y: auto;
}
.country-picker__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background .15s;
    font-size: .88rem;
}
.country-picker__item:hover { background: var(--light); }
.country-picker__item .cp-flag { font-size: 1.1rem; flex-shrink: 0; }
.country-picker__item .cp-name {
    flex: 1;
    color: var(--dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.country-picker__item .cp-dial {
    color: var(--gray-light);
    font-size: .8rem;
    flex-shrink: 0;
}

.country-picker__empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 16px;
    color: var(--gray-light);
    font-size: .85rem;
}
.country-picker__empty i {
    font-size: 1.3rem;
    color: var(--border);
}

/* ─── Scrollbar ─── */
.country-picker__list::-webkit-scrollbar { width: 5px; }
.country-picker__list::-webkit-scrollbar-track { background: transparent; }
.country-picker__list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
.country-picker__list::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ─── ANIMATION ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}