/* ==========================================================================
   Amazing Travel — design system
   Client-demo quality static site used to embed & exercise the Furomatic
   widget. No framework; carefully-tuned typography + CSS. Imagery is served
   from Unsplash via stable photo IDs; every hero/card has a gradient
   fallback so a broken image link still looks intentional.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --ink:        #0A1628;   /* body text */
    --ink-soft:   #3B4A5E;
    --muted:      #6B7A8F;
    --cream:      #FAF7F2;   /* page bg */
    --cream-warm: #F3ECE0;
    --card:       #FFFFFF;
    --border:     #E7DFD2;
    --brand:      #0A2540;   /* deep navy */
    --brand-alt:  #153458;
    --gold:       #C8963E;   /* accent */
    --gold-soft:  #E8C280;
    --coral:      #D97757;

    --shadow-sm:  0 1px 2px rgba(10, 22, 40, 0.04);
    --shadow-md:  0 4px 16px rgba(10, 22, 40, 0.08);
    --shadow-lg:  0 20px 40px -12px rgba(10, 22, 40, 0.18);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ───────────────────────────────────────────────────────── */

.serif { font-family: 'Playfair Display', Georgia, serif; letter-spacing: -0.01em; }

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.015em;
    color: var(--brand);
    margin: 0;
}

h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 600; margin-top: 56px; margin-bottom: 20px; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 600; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 14px;
}

.lede { font-size: 17px; color: var(--ink-soft); max-width: 640px; margin: 0 0 28px; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--gold); }

/* ─── Header / nav ─────────────────────────────────────────────────────── */

.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(1.3) blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand-lockup img { height: 28px; display: block; }

.site-nav { display: flex; gap: 32px; }
.site-nav a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}
.site-nav a.active { color: var(--brand); }
.site-nav a.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.site-nav a:hover { color: var(--gold); }

.header-cta {
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    transition: background 0.18s;
}
.header-cta:hover { background: var(--gold); color: #fff; }

/* ─── Layout ───────────────────────────────────────────────────────────── */

main { max-width: 1200px; margin: 0 auto; padding: 48px 32px 80px; }

.intro { max-width: 760px; margin-bottom: 40px; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 64px;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(10, 37, 64, 0.15) 0%, rgba(10, 37, 64, 0.75) 100%),
        linear-gradient(135deg, var(--brand) 0%, var(--brand-alt) 60%, var(--coral) 140%);
    background-size: cover;
    background-position: center;
}

.hero.has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 37, 64, 0.1) 0%, rgba(10, 37, 64, 0.82) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 56px;
    max-width: 680px;
}

.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, 0.88); margin: 18px 0 28px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, background 0.18s, box-shadow 0.18s;
    text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--brand); }
.btn-primary:hover { background: #D6A54D; transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--brand); }
.btn-ghost   { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }
.btn-dark    { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--gold); color: var(--brand); }

/* ─── Section headers ──────────────────────────────────────────────────── */

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 72px;
    margin-bottom: 28px;
    gap: 24px;
    flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 440px; }

/* ─── Tour cards ───────────────────────────────────────────────────────── */

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.tour-link {
    color: inherit;
    text-decoration: none;
    display: flex;
}

.tour {
    position: relative;
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.tour-link:hover .tour { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tour-link:focus-visible { outline: 3px solid rgba(200, 150, 62, 0.45); outline-offset: 5px; border-radius: var(--radius-lg); }

.tour-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--brand-alt) 0%, var(--coral) 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.tour-media::after {
    /* Subtle gradient on media to keep duration chip legible */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(10,22,40,0.35) 100%);
}
.tour-duration {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(255,255,255,0.95);
    color: var(--brand);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    z-index: 2;
}

.tour-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.tour-region {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}
.tour h3 { color: var(--brand); }
.tour p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.tour-footer {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.tour-price-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.tour-price       { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 600; color: var(--brand); }

/* ─── Offer detail pages ───────────────────────────────────────────────── */

.offer-hero { min-height: 480px; }
.offer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
    margin-top: 56px;
}
.offer-main,
.offer-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.offer-main { padding: 40px; }
.offer-main h2 { margin-top: 0; }
.offer-main p { color: var(--ink-soft); line-height: 1.7; }
.offer-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 32px 0;
}
.offer-columns h3,
.offer-main h3 { color: var(--brand); }
.offer-columns ul { margin: 0; padding-left: 20px; color: var(--ink-soft); line-height: 1.8; }
.offer-card {
    position: sticky;
    top: 96px;
    padding: 28px;
}
.offer-card h3 { margin: 8px 0 20px; color: var(--brand); }
.offer-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.offer-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 12px;
}
.offer-price span {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
}
.offer-card .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* ─── Highlights strip ─────────────────────────────────────────────────── */

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin: 64px 0;
    padding: 36px;
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.highlight h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand);
}
.highlight p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.highlight-icon {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--cream-warm); color: var(--gold);
    border-radius: 10px;
    margin-bottom: 12px;
}

/* ─── Booking form ─────────────────────────────────────────────────────── */

.booking-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 780px;
    box-shadow: var(--shadow-sm);
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.booking-form label {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    gap: 6px;
}
.booking-form .full { grid-column: span 2; }

.booking-form input,
.booking-form select,
.booking-form textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font: 14px/1.4 'Inter', sans-serif;
    color: var(--ink);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.14);
}

.booking-form button {
    grid-column: span 2;
    padding: 14px;
    margin-top: 6px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font: 600 14px 'Inter', sans-serif;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.18s;
}
.booking-form button:hover { background: var(--gold); color: var(--brand); }

/* ─── Assistant callout ────────────────────────────────────────────────── */

.assistant-callout {
    margin: 56px 0 0;
    padding: 28px 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(200, 150, 62, 0.12) 0%, transparent 60%),
        var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-md);
    display: flex;
    gap: 20px;
    align-items: center;
}
.assistant-callout .icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    background: var(--brand);
    color: var(--gold-soft);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.assistant-callout p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.assistant-callout strong { color: var(--brand); }

/* ─── Footer ───────────────────────────────────────────────────────────── */

footer {
    background: var(--brand);
    color: rgba(255,255,255,0.82);
    padding: 56px 32px 32px;
    margin-top: 96px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 48px;
}
.footer-brand img { height: 30px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; max-width: 260px; margin: 0; }

.footer-col h5 {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-soft);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.footer-col a { display: block; color: rgba(255,255,255,0.72); font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.55);
}

/* ─── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 720px) {
    .header-inner { padding: 14px 20px; gap: 16px; }
    .site-nav { display: none; }
    main { padding: 32px 20px 64px; }
    .hero-content { padding: 32px 24px; }
    .hero { min-height: 380px; }
    .offer-layout { grid-template-columns: 1fr; }
    .offer-card { position: static; }
    .offer-columns { grid-template-columns: 1fr; }
    .booking-form { grid-template-columns: 1fr; }
    .booking-form .full, .booking-form button { grid-column: span 1; }
    .booking-card { padding: 24px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .assistant-callout { flex-direction: column; align-items: flex-start; gap: 12px; }
}
