﻿/* =========================================================
   DREAM WEDDING - BOOKING PAGE
   ========================================================= */

:root {
    --booking-rose: #8b5e5a;
    --booking-dark-rose: #6f4542;
    --booking-gold: #c9a227;
    --booking-cream: #fff9f6;
    --booking-soft: #fdf0eb;
    --booking-blush: #f4dfda;
    --booking-dark: #3f3030;
    --booking-muted: #786866;
    --booking-white: #ffffff;
    --booking-border: rgba(139, 94, 90, .15);
    --booking-shadow: 0 25px 70px rgba(90, 50, 45, .12);
    --booking-radius: 25px;
}


/* RESET */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

    body:has(.booking-page) main {
        margin: 0 !important;
        padding-top: 0 !important;
    }


/* ================= HERO ================= */

.booking-hero {
    position: relative;
    height: 610px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

.booking-hero-image {
    position: absolute;
    inset: 0;
    background-image: url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=2200&q=90");
    background-size: cover;
    background-position: center 42%;
    transform: scale(1.08);
    will-change: transform;
}

.booking-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(45, 25, 23, .82) 0%, rgba(55, 31, 28, .60) 42%, rgba(40, 20, 18, .18) 100% );
}

.booking-hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, 90%);
    margin: auto;
}

.booking-eyebrow {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 5px;
    font-weight: 600;
    margin-bottom: 18px;
    opacity: .9;
}

.booking-hero h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(55px, 6vw, 88px);
    font-weight: 400;
    line-height: .95;
    text-shadow: 0 10px 30px rgba(0,0,0,.20);
}

    .booking-hero h1 span {
        color: #f4dcae;
    }

.booking-hero p {
    max-width: 540px;
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.7;
    color: #fff7f4;
}

.hero-signature {
    position: absolute;
    right: 0;
    bottom: -90px;
    font-family: "Brush Script MT", cursive;
    font-size: 38px;
    line-height: 1.1;
    color: #f8e9d0;
    transform: rotate(-5deg);
}

    .hero-signature span {
        font-size: 42px;
    }

.hero-scroll {
    position: absolute;
    z-index: 3;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 3px;
    opacity: .8;
}

    .hero-scroll span {
        display: block;
        width: 1px;
        height: 35px;
        background: #fff;
        margin: 0 auto 8px;
        animation: scrollLine 1.7s ease-in-out infinite;
    }

@keyframes scrollLine {
    0%,100% {
        transform: scaleY(.4);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}


/* ================= BENEFITS ================= */

.booking-benefits {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 5%;
    background: #fff9f6;
    border-bottom: 1px solid var(--booking-border);
    gap: 28px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 190px;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(139,94,90,.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--booking-rose);
    font-size: 23px;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    color: var(--booking-dark);
    font-size: 14px;
}

.benefit-item small {
    display: block;
    color: var(--booking-muted);
    margin-top: 3px;
}

.benefit-line {
    height: 45px;
    width: 1px;
    background: rgba(139,94,90,.25);
}


/* ================= MAIN BOOKING ================= */

.booking-section {
    background: radial-gradient( circle at 10% 20%, rgba(244,223,218,.65), transparent 30% ), #fffaf8;
    padding: 85px 5%;
}

.booking-wrapper {
    width: min(1240px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, .8fr);
    gap: 28px;
    align-items: stretch;
}


/* ================= FORM CARD ================= */

.booking-form-card {
    background: rgba(255,255,255,.94);
    border-radius: var(--booking-radius);
    padding: 48px;
    box-shadow: var(--booking-shadow);
    border: 1px solid rgba(139,94,90,.08);
    position: relative;
    overflow: hidden;
}

    .booking-form-card::before {
        content: "";
        position: absolute;
        top: -120px;
        right: -100px;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: rgba(244,223,218,.35);
    }

.form-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 38px;
}

    .form-heading > span {
        color: var(--booking-rose);
        letter-spacing: 3px;
        font-size: 13px;
        font-weight: 700;
    }

    .form-heading h2 {
        font-family: Georgia, serif;
        font-size: 48px;
        font-weight: 400;
        color: var(--booking-dark);
        margin: 12px 0;
    }

    .form-heading p {
        color: var(--booking-muted);
        font-size: 16px;
        margin: 0;
    }


/* ================= FORM ================= */

.form-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
}

.form-group {
    min-width: 0;
}

    .form-group.full-width {
        grid-column: 1 / -1;
    }

    .form-group label {
        display: block;
        color: var(--booking-dark);
        font-size: 15px;
        margin-bottom: 9px;
        font-weight: 500;
    }

        .form-group label b {
            color: #d34d4d;
            margin-left: 3px;
        }

.input-box {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
    border-radius: 10px;
    border: 1px solid rgba(139,94,90,.15);
    background: linear-gradient( 135deg, #fff, #fdf5f2 );
    transition: .3s ease;
}

    .input-box > i:first-child {
        position: absolute;
        left: 17px;
        color: var(--booking-rose);
        font-size: 18px;
        z-index: 2;
    }

    .input-box input,
    .input-box select,
    .input-box textarea {
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        color: var(--booking-dark);
        font-size: 15px;
        font-family: inherit;
    }

    .input-box input,
    .input-box select {
        height: 50px;
        padding: 0 18px 0 50px;
    }

    .input-box textarea {
        padding: 15px 18px 15px 50px;
        resize: vertical;
        min-height: 135px;
    }

    .input-box select {
        appearance: none;
        cursor: pointer;
    }

    .input-box:focus-within {
        border-color: var(--booking-rose);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(139,94,90,.08), 0 12px 30px rgba(90,50,45,.08);
        transform: translateY(-1px);
    }

.select-arrow {
    position: absolute;
    right: 17px;
    color: var(--booking-rose);
    pointer-events: none;
}

.textarea-box {
    align-items: flex-start;
}

    .textarea-box > i:first-child {
        top: 17px;
    }

.error-message {
    display: block;
    min-height: 18px;
    margin-top: 5px;
    font-size: 11px;
    color: #d34d4d;
}

.form-group.has-error .input-box {
    border-color: #d34d4d;
}

.form-group.is-valid .input-box {
    border-color: rgba(76, 145, 92, .45);
}


/* ================= SUBMIT ================= */

.booking-submit-area {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--booking-muted);
    font-size: 12px;
}

    .secure-note i {
        color: #718a68;
        font-size: 18px;
    }

.booking-submit {
    border: none;
    min-height: 55px;
    padding: 0 24px;
    border-radius: 12px;
    background: linear-gradient( 135deg, #9c655f, #b9756b );
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    box-shadow: 0 12px 25px rgba(139,94,90,.25);
    transition: .3s ease;
}

    .booking-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(139,94,90,.30);
    }

    .booking-submit > i {
        transition: .3s ease;
    }

    .booking-submit:hover > i {
        transform: translateX(5px);
    }


/* ================= SIDE PANEL ================= */

.booking-side {
    position: relative;
    border-radius: var(--booking-radius);
    overflow: hidden;
    background: linear-gradient( 145deg, #f9e5df, #fff1ed );
    min-height: 100%;
    box-shadow: var(--booking-shadow);
    border: 1px solid rgba(139,94,90,.08);
}

.side-content {
    padding: 48px 36px 20px;
}

.side-small-title {
    color: var(--booking-rose);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.side-content h3 {
    color: var(--booking-dark);
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 400;
    margin: 13px 0 17px;
}

.side-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--booking-rose);
    margin-bottom: 22px;
}

    .side-divider span {
        width: 70px;
        height: 1px;
        background: rgba(139,94,90,.35);
    }

    .side-divider i {
        font-size: 23px;
    }

.side-content > p {
    color: #665452;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.side-features {
    display: grid;
    gap: 13px;
}

.side-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4b3734;
    font-size: 14px;
}

.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #a76c64;
    color: #fff;
    flex-shrink: 0;
}

.side-image-wrap {
    position: relative;
    width: 210px;
    height: 210px;
    margin: 20px auto 30px;
    border-radius: 50%;
}

    .side-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 7px solid rgba(255,255,255,.8);
        box-shadow: 0 15px 35px rgba(90,50,45,.18);
    }

.image-ring {
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(139,94,90,.25);
    border-radius: 50%;
    animation: ringRotate 12s linear infinite;
}

    .image-ring::before {
        content: "✦";
        position: absolute;
        right: 10px;
        top: 5px;
        color: var(--booking-gold);
        background: #f9e5df;
        padding: 4px;
    }

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}


/* ================= JOURNEY ================= */

.booking-journey {
    width: min(1240px, 90%);
    margin: 0 auto 80px;
    padding: 30px 35px;
    border-radius: 22px;
    background: linear-gradient( 120deg, #fbeae5, #fff4f0 );
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.journey-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.journey-icon {
    width: 48px;
    height: 48px;
    background: #a96b63;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.journey-item strong {
    display: block;
    font-size: 14px;
    color: var(--booking-dark);
}

.journey-item small {
    display: block;
    margin-top: 3px;
    color: var(--booking-muted);
    font-size: 11px;
}

.journey-arrow {
    color: var(--booking-rose);
    font-size: 22px;
}


/* ================= MODAL ================= */

.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

    .booking-modal.active {
        display: flex;
    }

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45,25,23,.65);
    backdrop-filter: blur(8px);
}

.success-modal-content {
    position: relative;
    z-index: 2;
    width: min(440px, 90%);
    background: #fff;
    border-radius: 25px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    background: #f9ece8;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: var(--booking-rose);
    cursor: pointer;
}

.success-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    background: #e9f4e8;
    color: #6b9365;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.success-modal-content > span {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--booking-rose);
    font-weight: 700;
}

.success-modal-content h3 {
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--booking-dark);
    margin: 10px 0;
}

.success-modal-content p {
    color: var(--booking-muted);
    line-height: 1.7;
    font-size: 14px;
}

.modal-ok {
    border: none;
    background: var(--booking-rose);
    color: #fff;
    border-radius: 10px;
    padding: 12px 30px;
    cursor: pointer;
    margin-top: 12px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {

    .booking-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-side {
        display: grid;
        grid-template-columns: 1fr 220px;
        align-items: center;
    }

    .side-image-wrap {
        margin: auto;
    }

    .booking-benefits {
        gap: 15px;
    }

    .benefit-item {
        min-width: auto;
    }

    .benefit-line {
        display: none;
    }
}


@media (max-width: 800px) {

    .booking-hero {
        height: 520px;
    }

        .booking-hero h1 {
            font-size: 58px;
        }

    .hero-signature {
        display: none;
    }

    .booking-benefits {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .booking-submit-area {
        flex-direction: column;
        align-items: stretch;
    }

    .booking-submit {
        width: 100%;
    }

    .booking-journey {
        flex-direction: column;
        align-items: flex-start;
    }

    .journey-arrow {
        transform: rotate(90deg);
        margin-left: 15px;
    }
}


@media (max-width: 600px) {

    .booking-hero {
        height: 500px;
    }

    .booking-hero-content {
        width: 86%;
    }

    .booking-eyebrow {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .booking-hero h1 {
        font-size: 48px;
    }

    .booking-hero p {
        font-size: 15px;
    }

    .booking-benefits {
        grid-template-columns: 1fr;
    }

    .booking-form-card {
        padding: 28px 20px;
    }

    .form-heading h2 {
        font-size: 38px;
    }

    .booking-section {
        padding: 45px 15px;
    }

    .booking-side {
        display: block;
    }

    .side-content {
        padding: 35px 25px 10px;
    }

    .side-image-wrap {
        margin-bottom: 40px;
    }

    .booking-journey {
        width: calc(100% - 30px);
        padding: 25px;
    }
}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
