/* ==================================================
   HAMIDI TOURS — PLAN YOUR TRIP
   Palette: Cream, Charcoal, Terracotta, Sage
================================================== */

:root {
    --charcoal: #071A2B;
    --charcoal-soft: #0D263D;
    --ivory: #FBF9F4;
    --cream: #F5F1E8;
    --sand: #d8c8a9;
    --terracotta: #B89652;
    --terracotta-dark: #96773A;
    --sage: #101B35;
    --sage-light: #EEF1F5;
    --text-muted: #5F6B80;
    --border: #ded8ca;
    --white: #ffffff;

    --font-body: "DM Sans", sans-serif;
    --font-display: "Playfair Display", Georgia, serif;
}

/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    background: var(--ivory);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body,
input,
select,
textarea,
button {
    font-family: var(--font-body);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
}




/* ===== PLAN YOUR TRIP HERO ===== */

.trip-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 12px 0;
    color: #fff;
    isolation: isolate;
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(110deg, #101b3588, #101b3533),
        url("../Image/plan2.jpg") center / cover no-repeat;
}

.hero-glass {
    width: 95%;
    max-width: 1200px;
    padding: 28px 28px;
    border: 1px solid #ffffff45;
    border-radius: 22px;
    background: #101b354d;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px #0003;
}

/* Navbar */

.trip-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.back-home {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.trip-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.trip-logo img {
    width: 150px;
    height: 50px;
    object-fit: contain;
    
}

.trip-logo small {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: 3px;
}

/* Hero content */

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 35px;
    padding: 35px 0 10px;
}

.hero-text {
    min-width: 0;
    padding-left: 40x;
}

.hero-label {
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 2.5px;
}

.hero-text h1 {
    font-size: clamp(38px, 4.2vw, 65px);
    line-height: 1.06;
    letter-spacing: -1.8px;
}

.hero-text h1 span {
    color: #d7e5f7;
}

.hero-description {
    max-width: 430px;
    margin-top: 20px;
    color: #ffffffd9;
    font-size: 13px;
    line-height: 1.9;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    padding: 13px 19px;
    border: 1px solid #ffffff66;
    border-radius: 30px;
    background: #ffffff18;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    transition: background .25s ease;
}

.hero-button:hover {
    background: #ffffff35;
}

/* Destination cards */

.hero-gallery {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: 175px 175px;
    gap: 12px;
    min-width: 0;
}

.hero-photo {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #ffffff40;
    border-radius: 14px;
}

.photo-main {
    grid-row: 1 / 3;
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.hero-photo:hover img {
    transform: scale(1.05);
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, #081426e8);
}

.photo-caption {
    position: absolute;
    z-index: 1;
    right: 10px;
    bottom: 14px;
    left: 13px;
}

.photo-caption small {
    font-size: 8px;
    letter-spacing: 1px;
}

.photo-caption h2 {
    margin-top: 6px;
    font-size: 17px;
}

.photo-caption p {
    margin-top: 4px;
    font-size: 10px;
    color: #ffffffd9;
}

.photo-top .photo-caption h2,
.photo-bottom .photo-caption h2 {
    font-size: 13px;
}

/* Responsive */

@media (max-width: 800px) {
    .trip-hero {
        padding: 14px;
    }

    .hero-glass {
        padding: 24px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-text h1 {
        font-size: clamp(40px, 8vw, 58px);
    }

    .hero-gallery {
        grid-template-rows: 170px 170px;
    }

    .trip-hero {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .hero-glass {
        padding: 18px 14px;
    }

    .back-home {
        font-size: 11px;
    }

    .trip-logo {
        font-size: 11px;
    }

    .trip-logo img {
        width: 29px;
        height: 29px;
    }

    .hero-content {
        padding-top: 30px;
    }

    .hero-text h1 {
        font-size: 36px;}

    .hero-description {
        font-size: 12px;
    }

    .hero-gallery {
        grid-template-rows: 135px 135px;
        gap: 8px;
    }

    .photo-caption {
        left: 8px;
        bottom: 9px;
    }

    .photo-caption h2 {
        font-size: 13px;
    }

    .photo-top .photo-caption h2,
    .photo-bottom .photo-caption h2 {
        font-size: 11px;
    }
}


/* ==================================================
   PLANNER LAYOUT
================================================== */

.planner-section {
    padding: 110px 0 125px;
    background: var(--ivory);
}

.planner-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: 80px;
}


/* ==================================================
   LEFT INTRODUCTION
================================================== */

.planner-intro {
    position: sticky;
    top: 35px;
    padding-top: 18px;
}

.planner-intro h2 {
    margin-top: 22px;
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: clamp(42px, 4.4vw, 61px);
    font-weight: 400;
    letter-spacing: -1.7px;
    line-height: 1.12;
}

.planner-intro h2 em {
    color: var(--terracotta);
    font-weight: 400;
}

.planner-intro > p {
    max-width: 390px;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 2;
}

.intro-divider {
    width: 100%;
    height: 1px;
    margin: 38px 0 25px;
    background: var(--border);
}

.intro-feature {
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.feature-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--terracotta);
    font-family: var(--font-display);
    font-size: 13px;
}

.intro-feature h3 {
    margin-bottom: 5px;
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
}

.intro-feature p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.8;
}

.intro-quote {
    position: relative;
    margin-top: 35px;
    padding: 24px;
    background: var(--sage-light);
}

.quote-mark {
    display: block;
    height: 34px;
    color: var(--terracotta);
    font-family: var(--font-display);
    font-size: 46px;
    line-height: 1;
}

.intro-quote p {
    max-width: 270px;
    color: var(--charcoal-soft);
    font-family: var(--font-display);
    font-size: 19px;
    font-style: italic;
    line-height: 1.65;
}


/* ==================================================
   FORM CARD
================================================== */

.form-card {
    min-width: 0;
    padding: 43px;
    border: 1px solid var(--border);
    background: #fffdf8;
    box-shadow: 0 18px 55px rgba(7, 26, 43, 0.045);
}

.form-heading {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.form-heading h2 {
    margin-top: 12px;
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    letter-spacing: -0.8px;
    line-height: 1.25;
}

.form-heading p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.9;
}


/* ==================================================
   FORM SECTIONS
================================================== */

.form-section {
    padding: 31px 0;
    border-bottom: 1px solid var(--border);
}

.form-section-heading {
    display: flex;align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    background: var(--cream);
    color: var(--terracotta);
    font-size: 10px;
    font-weight: 700;
}

.form-section-heading h3 {
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 17px;
}

.field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 9px;
}

.field.full-width {
    grid-column: 1 / -1;
}

.field label {
    color: var(--charcoal-soft);
    font-size: 11px;
    font-weight: 600;
}

.field label span {
    color: var(--terracotta);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-width: 0;
    min-height: 49px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 0;
    outline: none;
    background: #fffdf8;
    color: var(--charcoal);
    font-size: 12px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #a5a296;
}

.field select {
    appearance: auto;
}

.field textarea {
    min-height: 125px;
    resize: vertical;
    line-height: 1.8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(184, 150, 82, 0.14);
}

.field small {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.7;
}

.field [hidden] {
    display: none !important;
}

.field input[type="date"] {
    color-scheme: light;
}


/* ==================================================
   DESTINATION SELECTOR
================================================== */

.field-description {
    margin-top: -13px;
    margin-bottom: 19px;
    color: var(--text-muted);
    font-size: 11px;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.destination-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 106px;
    padding: 17px 15px;
    border: 1px solid var(--border);
    background: #fffdf8;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.destination-option:hover {
    border-color: var(--sage);
    transform: translateY(-1px);
}

.destination-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.destination-check {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 17px;
    height: 17px;
    border: 1px solid #c9c4b8;
    background: transparent;
    transition: all 0.2s ease;
}

.destination-check::after {
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    content: "";
    opacity: 0;
    transform: rotate(45deg);
}

.destination-option input:checked ~ .destination-check {
    border-color: var(--terracotta);
    background: var(--terracotta);
}

.destination-option input:checked ~ .destination-check::after {
    opacity: 1;
}

.destination-option:has(input:checked) {
    border-color: var(--terracotta);
    background: #F6EFE0;
}

.destination-option input:focus-visible ~ .destination-check {
    outline: 2px solid var(--charcoal);
    outline-offset: 3px;
}

.destination-name {
    padding-right: 15px;
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}

.destination-type {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.5;
}

.other-destination-field {
    margin-top: 18px;
}

.other-destination-field[hidden] {
    display: none !important;
}
/* ==================================================
   SUBMISSION BUTTONS
================================================== */

.submit-section {
    padding-top: 30px;
}

.submit-note {
    margin-bottom: 17px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.8;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 53px;
    margin-top: 11px;
    padding: 14px 18px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.submit-button:hover {
    transform: translateY(-1px);
}

.button-icon {
    font-size: 17px;
    line-height: 1;
}

.whatsapp-button {
    background: var(--sage);
    color: white;
}

.whatsapp-button:hover {
    background: #071A2B;
}

.email-button {
    border-color: var(--charcoal);
    background: transparent;
    color: var(--charcoal);
}

.email-button:hover {
    background: var(--charcoal);
    color: var(--ivory);
}

.submit-button:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 3px;
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.6;
}

.privacy-note {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
}

.form-status {
    display: none;
    margin-top: 20px;
    padding: 13px 15px;
    border-left: 3px solid var(--sage);
    background: var(--sage-light);
    color: var(--charcoal);
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.form-status.visible {
    display: block;
}

.form-status.error {
    border-left-color: var(--terracotta);
    background: #F6EFE0;
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
    background: var(--charcoal);
    color: var(--ivory);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 58px;
    padding-bottom: 48px;
    text-align: center;
}

.footer-brand {
    color: var(--ivory);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.footer-content > p {
    max-width: 410px;
    margin-top: 15px;
    color: rgba(248, 245, 237, 0.62);
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
}

.footer-link {
    margin-top: 22px;
    color: var(--sand);
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 245, 237, 0.13);
}

.footer-bottom > .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 17px;
    padding-bottom: 17px;
    color: rgba(248, 245, 237, 0.5);
    font-size: 10px;
}
/* Let long section headings wrap on small phones (prevents sideways scrolling) */
.form-section-heading h3 { min-width: 0; overflow-wrap: break-word; }
