/* ===== Theme ===== */
:root {
  --primary: #0e7c7b;
  --primary-dark: #095857;
  --accent: #f4a259;
  --ink: #1d2a35;
  --muted: #5d6b78;
  --bg: #ffffff;
  --bg-alt: #f5f1ea;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 42, 53, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; }
h1, h2, h3, .logo { font-family: "Playfair Display", Georgia, serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; }

.btn {
  display: inline-block; background: var(--accent); color: var(--ink); border: 0; cursor: pointer;
  font: 600 1rem "Inter", sans-serif; padding: 14px 28px; border-radius: 999px; transition: transform .2s, background .2s;
}
.btn:hover { background: #f08c34; transform: translateY(-2px); }
.btn-small { padding: 9px 20px; font-size: .9rem; }

/* ===== Header ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100px; }
/* Soft shadow helps the logo stand out over the hero photo */
.logo img { height: 84px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.header.scrolled .logo img { filter: none; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: #fff; font-weight: 500; }
.nav-links a.btn { color: var(--ink); }
.header.scrolled .nav-links a:not(.btn) { color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; color: #fff; cursor: pointer; }
.header.scrolled .menu-toggle { color: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff;
  background: url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=1920&q=80") center/cover, linear-gradient(135deg, #0e7c7b, #1d2a35);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,35,.55), rgba(10,25,35,.35) 50%, rgba(10,25,35,.7)); }
.hero-content { position: relative; padding: 120px 0 80px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); max-width: 14ch; margin-bottom: 18px; }
.hero-sub { font-size: 1.15rem; max-width: 520px; opacity: .92; margin-bottom: 40px; }

.search-box {
  display: grid; grid-template-columns: 1.4fr 1fr .8fr auto; gap: 12px; align-items: end;
  background: #fff; color: var(--ink); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 860px;
}
.search-box label { display: flex; flex-direction: column; font-size: .78rem; font-weight: 600; color: var(--muted); gap: 6px; }
.search-box select, .search-box input,
.contact-form input, .contact-form textarea {
  font: 400 1rem "Inter", sans-serif; padding: 12px 14px; border: 1px solid #dde3e8; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.search-box select:focus, .search-box input:focus, .contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }

/* ===== Destinations ===== */

/* ===== Packages ===== */
.price { font-size: 1.4rem; font-weight: 600; color: var(--primary-dark); }
.price small { font-size: .8rem; color: var(--muted); font-weight: 400; }

/* ===== Why Us ===== */
.why-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-photos { position: relative; height: 520px; }
.why-photos img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.why-photo-1 { width: 62%; height: 82%; top: 0; left: 0; }
.why-photo-2 { width: 52%; height: 64%; right: 0; bottom: 0; border: 8px solid var(--bg); }
.why-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.why-text > p:not(.eyebrow) { color: var(--muted); margin: 18px 0 28px; font-size: 1.05rem; }
.why-points { list-style: none; display: grid; gap: 18px; }
.why-points li { display: flex; gap: 14px; }
.why-points span { color: var(--accent); font-size: 1.2rem; line-height: 1.4; }

/* ===== Reviews ===== */
/* Staggered columns so short and long reviews stack without gaps */
.review-grid { columns: 3; column-gap: 24px; }
.review-grid .review { break-inside: avoid; margin-bottom: 24px; }
.review { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.review { display: flex; flex-direction: column; }
.review p { font-size: 1.05rem; margin: 10px 0 20px; flex: 1; }
.stars { color: #e8a33d; letter-spacing: 2px; font-size: 1.1rem; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .85rem; flex-shrink: 0; }
.review cite { font-style: normal; font-weight: 600; color: var(--ink); font-size: .95rem; display: flex; flex-direction: column; }
.review cite small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 16px; margin: -20px 0 40px; }
.rating-score { font-family: "Playfair Display", serif; font-size: 3rem; font-weight: 700; color: var(--primary); }
.rating-summary .stars { font-size: 1.4rem; }
.rating-summary p { color: var(--muted); font-size: .9rem; }

/* ===== Contact ===== */
.contact { background: var(--ink); color: #fff; }
.contact .eyebrow { color: var(--accent); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.contact-text > p { opacity: .85; margin-bottom: 28px; }
.contact-details { list-style: none; display: grid; gap: 10px; opacity: .9; }
.contact-details a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form { background: #fff; color: var(--ink); padding: 32px; border-radius: var(--radius); display: grid; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form textarea { resize: vertical; }
.form-note { color: var(--primary-dark); font-weight: 600; }

/* ===== Footer ===== */
.footer { background: #131d26; color: #b9c3cc; padding: 48px 0 32px; }
.footer-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer .logo img { height: 90px; margin-bottom: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: #fff; }
.copy { width: 100%; font-size: .85rem; border-top: 1px solid #26323d; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.credit { opacity: .75; }
.credit a { text-decoration: underline; text-underline-offset: 3px; }
.credit a:hover { color: #fff; }

/* ===== Nav dropdown ===== */
.nav-drop { position: relative; }
.nav-drop-toggle span { font-size: .75em; }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 190px; padding: 10px 0; margin-top: 12px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow); display: none;
}
.nav-drop-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-links .nav-drop-menu a { display: block; padding: 9px 20px; color: var(--ink); }
.nav-links .nav-drop-menu a:hover { background: var(--bg-alt); color: var(--primary); }

/* ===== Plan Your Trip page ===== */
.page-hero {
  position: relative; color: #fff; padding: 180px 0 96px;
  background: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=80") center/cover, linear-gradient(135deg, #0e7c7b, #1d2a35);
}
.page-hero-content { position: relative; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 16ch; margin-bottom: 16px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 12px; }
.jump-links a { padding: 10px 20px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; font-weight: 500; transition: background .2s, color .2s; }
.jump-links a:hover, .jump-links a[aria-current="page"] { background: #fff; color: var(--ink); }
.section-sub { color: var(--muted); max-width: 560px; margin: 12px auto 0; }
.page-hero-services { background-image: url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1920&q=80"); }
.page-hero-trip-types { background-image: url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=1920&q=80"); }
.page-hero-how-it-works { background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1920&q=80"); }
.nav-links .nav-drop-menu a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.next-page { text-align: right; margin-top: 40px; }
.next-page a { font-weight: 600; color: var(--primary-dark); }
.next-page a:hover { color: var(--accent); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; border: 1px solid #eef1f3; border-radius: var(--radius); padding: 30px; box-shadow: 0 4px 18px rgba(0,0,0,.04); }
.service-num { font-family: "Playfair Display", serif; font-size: 1.6rem; color: var(--accent); }
.service-card h3 { font-size: 1.3rem; margin: 6px 0 10px; }
.service-card > p { color: var(--muted); }
.service-card > p.included { margin: 20px 0 10px; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; color: var(--primary); }
.check-list { list-style: none; display: grid; gap: 8px; }
.check-list li { padding-left: 26px; position: relative; font-size: .95rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.service-card-cta { background: var(--primary); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.service-card-cta > p { color: rgba(255,255,255,.88); }
.cta-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.type-card { background: #fff; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: 0 4px 18px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s; }
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.type-tag { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; color: var(--primary); margin-bottom: 14px; }
.type-tag span:last-child { color: var(--accent); }
.type-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.type-card p:not(.type-tag) { color: var(--muted); font-size: .95rem; flex: 1; margin-bottom: 18px; }
.type-link { font-weight: 600; color: var(--primary-dark); }
.type-link:hover { color: var(--accent); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--bg-alt); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 600; margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .95rem; }

.cta-band-inner { text-align: center; }
.cta-band-inner h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.cta-band-inner > p:not(.eyebrow) { opacity: .88; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: #fff; color: var(--ink); }

/* ===== Countries ===== */
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.country-card {
  position: relative; height: 320px; border-radius: var(--radius); overflow: hidden;
  background: var(--img) center/cover, linear-gradient(135deg, var(--primary), var(--ink)); transition: transform .3s, box-shadow .3s;
}
.country-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.72)); }
.country-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.country-info { position: absolute; left: 22px; bottom: 20px; z-index: 1; color: #fff; display: flex; align-items: center; gap: 12px; }
.country-info h3 { font-size: 1.5rem; }
.country-info p { opacity: .9; font-size: .92rem; }
.flag { border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.25); object-fit: cover; flex-shrink: 0; }
.countries-more { text-align: center; margin-top: 40px; }

.page-hero-countries { background-image: url("https://images.unsplash.com/photo-1570077188670-e3a8d69ac5ff?w=1920&q=80"); }
.country-stats { display: flex; gap: 48px; margin-top: 8px; }
.country-stats strong { display: block; font-family: "Playfair Display", serif; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.country-stats span { opacity: .9; }
.continent + .continent { margin-top: 56px; }
.continent h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid #eef1f3; }
.continent h2 span { font: 600 .85rem "Inter", sans-serif; background: var(--bg-alt); color: var(--primary); padding: 4px 12px; border-radius: 999px; }
.flag-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flag-grid li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg-alt); border-radius: 12px; font-weight: 500; }
.flag-grid .flag { width: 44px; height: 33px; }

/* ===== Leave a review ===== */
.leave-review { max-width: 680px; margin: 56px auto 0; text-align: center; }
.leave-review h3 { font-size: 1.6rem; margin-bottom: 6px; }
.leave-review > p { color: var(--muted); margin-bottom: 20px; }
.review-form[hidden] { display: none; }
.review-form { text-align: left; margin-top: 28px; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.star-input { border: 0; }
.star-input legend { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.stars-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-pick label { font-size: 2rem; line-height: 1; color: #d6dce1; cursor: pointer; transition: color .15s; }
.stars-pick label:hover, .stars-pick label:hover ~ label, .stars-pick input:checked ~ label { color: var(--accent); }
.stars-pick input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { columns: 2; }
  .why-wrap { grid-template-columns: 1fr; gap: 48px; }
  .why-photos { max-width: 560px; width: 100%; margin-inline: auto; }
  .service-grid, .type-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .flag-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 22px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .search-box { grid-template-columns: 1fr 1fr; }
  .search-box .btn { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .logo img { height: 54px; }
  .nav-links {
    position: absolute; top: 100px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.1); display: none; padding: 8px 0 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { color: var(--ink); padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; }
  .section { padding: 72px 0; }
  .review-grid { columns: 1; }
  .country-grid, .service-grid, .type-grid, .steps { grid-template-columns: 1fr; }
  .nav-drop { width: 100%; text-align: center; }
  .nav-drop-toggle { display: block; padding: 12px 0; }
  .nav-drop-toggle span { display: none; }
  .nav-drop-menu { position: static; transform: none; display: block; box-shadow: none; margin: 0; padding: 0; min-width: 0; }
  .nav-links .nav-drop-menu a { padding: 6px 0; font-size: .92rem; color: var(--muted); }
  .page-hero { padding: 140px 0 72px; }
  .search-box, .contact-form .row { grid-template-columns: 1fr; }
  .country-card { height: 260px; }
  .why-photos { height: 380px; }
  .flag-grid { grid-template-columns: repeat(2, 1fr); }
}
