/* =========================================================
   PHANGAMI TRAVEL & TOURS – one stylesheet for the whole site
   Change the theme by editing the tokens in :root only.
   ========================================================= */

:root {
  --dark: #0E0D0B;         /* primary – brand black */
  --dark-2: #1E1B16;
  --gold: #C9A24A;         /* accent – brand gold */
  --gold-dark: #9C7A2E;
  --gold-light: #E8CD8A;
  --gold-grad: linear-gradient(135deg, #E8CD8A, #C9A24A 45%, #9C7A2E);
  --cream: #F7F2E8;        /* page background */
  --beige: #EDE3CF;        /* soft panels / borders */
  --ink: #1A1813;
  --muted: #6B655A;
  --white: #FFFFFF;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 13, 11, .12);
  --nav-h: 76px;
  --font-head: 'Cinzel', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Manrope', system-ui, sans-serif;
}

/* ================= RESET ================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  -webkit-text-size-adjust: 100%;
  padding-bottom: env(safe-area-inset-bottom);
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; letter-spacing: .02em; }
.script { font-family: var(--font-script); color: var(--gold-light); font-size: 2.6rem; line-height: 1.1; }
h4 { font-weight: 700; }

.container { max-width: 1200px; margin: auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ================= VIEWS (class-based "pages") ================= */
.view { display: none; }
.view.is-active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 .9rem/1 var(--font-body);
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, transform .2s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: var(--dark); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ================= NAVBAR ================= */
.navbar {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nav-h);
  background: var(--dark);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.nav-container {
  max-width: 1200px; height: 100%; margin: auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); text-decoration: none;
}
.logo-mark { width: 48px; height: 30px; }
.brand-lockup { display: grid; line-height: 1.05; font-family: var(--font-head); }
.brand-lockup b { font-size: 1.3rem; letter-spacing: .12em; font-weight: 600; }
.brand-lockup small { font-size: .62rem; letter-spacing: .32em; color: var(--gold); }
.navbar { border-bottom: 1px solid rgba(201,162,74,.45); }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links > li > a:not(.btn), .dropbtn {
  color: var(--white); text-decoration: none; font-weight: 500;
  background: none; border: 0; font: inherit; font-weight: 500; cursor: pointer;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a.is-current:not(.btn) { border-bottom-color: var(--gold); }

.dropdown { position: relative; }
.dropdown-content {
  display: none; position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 240px; list-style: none;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
  overflow: hidden;
}
.dropdown.open .dropdown-content { display: block; }
.dropdown-content a {
  display: block; padding: 11px 18px; text-decoration: none; color: var(--ink);
  border-left: 3px solid transparent;
}
.dropdown-content a:hover { background: var(--cream); border-left-color: var(--gold); }

.menu-toggle {
  display: none; background: none; border: 0;
  color: var(--white); font-size: 1.9rem; cursor: pointer;
}

/* ================= HERO ================= */
/* Height grows with its content, so nothing is cut off on short / landscape phones */
.hero {
  margin-top: var(--nav-h);
  min-height: 78vh; min-height: 78svh;
  position: relative; overflow: hidden;
  display: grid;
}
.hero-short { min-height: 60vh; min-height: 60svh; }
.hero-slideshow { position: absolute; inset: 0; }
.hero-slideshow span {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  opacity: 0;
  animation: slide 18s infinite;
}
.hero-slideshow span:only-child { opacity: 1; animation: none; }
@keyframes slide {
  0% { opacity: 0; } 8% { opacity: 1; } 33% { opacity: 1; } 41% { opacity: 0; } 100% { opacity: 0; }
}
.hero-overlay {
  position: relative;
  background: linear-gradient(180deg, rgba(14,13,11,.55), rgba(14,13,11,.85));
  display: flex; align-items: center; justify-content: center;
  padding: 56px 0;
}
.hero-content { text-align: center; color: var(--white); padding: 0 16px; max-width: 820px; width: 100%; }
.hero-content h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 12px; }
.hero-content p { font-size: 1.15rem; margin-bottom: 28px; opacity: .92; }
.hero-mark { width: 120px; height: 75px; margin: 0 auto 6px; }
.hero-content .hero-brand { font-size: clamp(2rem, 10vw, 5.5rem); letter-spacing: .12em; margin-bottom: 0; }
.hero-overlay, .hero-content { min-width: 0; }
.hero-content .hero-sub { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 14px;
  font-family: var(--font-head); color: var(--gold); letter-spacing: .3em; font-size: clamp(.9rem, 2.4vw, 1.4rem); }
.hero-sub::before, .hero-sub::after { content: ""; height: 1px; width: 60px; background: var(--gold); }
.hero-content .hero-tag { text-transform: uppercase; letter-spacing: .25em; font-size: .8rem; margin-bottom: 18px; }
.hero-content .script { margin-bottom: 2px; opacity: 1; font-size: 2.6rem; }
.hero-content .hero-home { letter-spacing: .2em; font-size: .78rem; margin-bottom: 26px; }

/* Black icon strip under the hero (from the banner) */
.service-strip {
  background: var(--dark); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  display: flex; flex-wrap: wrap; justify-content: center;
}
.service-strip a {
  display: flex; align-items: center; gap: 10px; padding: 18px 26px;
  color: var(--white); text-decoration: none; font-size: .95rem;
}
.service-strip a + a { border-left: 1px solid rgba(201,162,74,.5); }
.service-strip a:hover { color: var(--gold-light); }
.strip-icon { font-size: 1.3rem; filter: sepia(1) saturate(3) hue-rotate(-10deg); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: .8rem !important;
  color: var(--gold); margin-bottom: 10px !important; font-weight: 700;
}

/* Sub-page banner */
.page-header {
  margin-top: var(--nav-h);
  padding: 90px 20px 70px;
  text-align: center; color: var(--white);
  background: linear-gradient(rgba(14,13,11,.78), rgba(14,13,11,.88)), var(--bg) center / cover;
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* ================= SECTIONS & CARDS ================= */
.block { padding: 80px 0; }
.block-alt { background: var(--beige); }
.block-dark { background: var(--dark); }
.block-dark .section-title { color: var(--white); }
.section-title {
  text-align: center; font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--dark); margin-bottom: 40px;
}
.section-title::after {
  content: ""; display: block; width: 60px; height: 3px;
  background: var(--gold); margin: 14px auto 0; border-radius: 3px;
}
.lead { max-width: 820px; margin: 0 auto 24px; text-align: center; font-size: 1.05rem; }
.highlight { text-align: center; font-weight: 700; color: var(--dark-2); margin-bottom: 40px; }

.grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.card {
  background: var(--white); padding: 28px;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card h3 { color: var(--dark); font-size: 1.35rem; margin-bottom: 12px; }
.card ul { list-style: none; }
.card li { padding: 6px 0 6px 22px; position: relative; }
.card li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}

/* Home service cards */
.card-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}
.service-card {
  position: relative; height: 380px;
  border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end;
  color: var(--white); text-decoration: none;
  box-shadow: var(--shadow);
}
.service-card .bg {
  position: absolute; inset: 0; background: center / cover;
  transition: transform .5s ease;
}
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(14,13,11,.92));
}
.service-card:hover .bg { transform: scale(1.06); }
.service-card .content { position: relative; z-index: 1; padding: 28px; }
.service-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.service-card p { opacity: .9; margin-bottom: 16px; }

/* Pricing */
.price-card { text-align: center; display: flex; flex-direction: column; }
.price-card ul { text-align: left; margin: 10px 0 24px; flex: 1; }
.price-card.featured { border: 2px solid var(--gold); position: relative; }
.price-card.featured::before {
  content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white); font-size: .75rem; font-weight: 700;
  padding: 3px 12px; border-radius: 999px;
}
.price { font-size: 1.4rem; font-weight: 700; color: var(--gold-dark); }

/* FAQ */
.faq { max-width: 820px; margin: auto; }
.faq details {
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
  margin-bottom: 14px; padding: 18px 22px;
}
.faq summary { font-weight: 700; cursor: pointer; color: var(--dark); }
.faq details p { margin-top: 10px; color: var(--muted); }

/* ================= REVIEWS ================= */
.reviews { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.review { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.review .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; }
.review p { font-style: italic; margin-bottom: 14px; }
.review h4 { color: var(--dark); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }

/* ================= FORMS ================= */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form > *, .form-row > *, .contact-layout > * { min-width: 0; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--dark); }
.form input, .form select, .form textarea {
  width: 100%; min-width: 0; padding: 12px 14px; min-height: 48px; -webkit-appearance: none; appearance: none;
  border: 1.5px solid var(--beige); border-radius: 10px;
  background: var(--white); font: 400 1rem var(--font-body); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,.2);
}
.form button { justify-self: start; }

.contact-layout { display: grid; gap: 30px; grid-template-columns: 1fr 2fr; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--gold-dark); }
.contact-info.card li::before { display: none; }
.contact-info.card li { padding-left: 0; }

/* ================= FOOTER ================= */
.site-footer {
  background: var(--dark); color: var(--white);
  text-align: center; padding: 44px 20px 30px;
}
.site-footer { border-top: 2px solid var(--gold); }
.site-footer .logo-mark { width: 64px; height: 40px; margin: 0 auto 8px; }
.footer-brand { font-family: var(--font-head); font-size: 1.4rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-script { margin: 4px 0 16px; font-size: 2rem; }
.footer-contact {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  margin-bottom: 18px;
}
.footer-contact a { text-decoration: none; opacity: .9; }
.footer-contact a:hover { color: var(--gold); opacity: 1; }
.footer-copy { font-size: .85rem; opacity: .7; }

/* ================= MOBILE ================= */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark); padding: 10px 20px 20px;
    max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.show { display: flex; }
  .nav-links > li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links > li:last-child { border: 0; padding-top: 16px; }
  .dropdown-content { position: static; box-shadow: none; margin-top: 8px; }
  .contact-layout, .form-row { grid-template-columns: 1fr; }
  .service-strip a { padding: 12px 14px; font-size: .85rem; }
  .service-strip a + a { border-left: 0; }
  .block { padding: 56px 0; }
  .page-header { padding: 56px 16px 44px; }
}

/* ================= PHONES ================= */
@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .logo-mark { width: 38px; height: 24px; }
  .brand-lockup b { font-size: 1.05rem; }
  .brand-lockup small { font-size: .55rem; letter-spacing: .22em; }

  .hero-content .hero-sub { letter-spacing: .18em; gap: 8px; }
  .hero-sub::before, .hero-sub::after { width: 24px; }
  .hero-content .hero-tag { letter-spacing: .12em; font-size: .7rem; }
  .hero-content .hero-home { letter-spacing: .1em; font-size: .7rem; }
  .hero-content .script { font-size: 2.1rem; }
  .hero-mark { width: 90px; height: 56px; }

  /* strip becomes a tidy 2-column grid */
  .service-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .service-strip a { justify-content: flex-start; padding: 12px 16px; }
  .service-strip a:last-child:nth-child(odd) { grid-column: 1 / -1; justify-content: center; }

  .card, .review { padding: 22px 18px; }
  .service-card { height: 300px; }
  .service-card .content { padding: 22px 18px; }
  .script { font-size: 2rem; }
  .form button { justify-self: stretch; }
  .btn-lg { padding: 14px 24px; }
}

/* Very small phones (e.g. iPhone SE 1st gen, older Androids) */
@media (max-width: 360px) {
  .brand-lockup small { display: none; }
  .service-strip { grid-template-columns: 1fr; }
  .service-strip a, .service-strip a:last-child:nth-child(odd) { justify-content: center; }
}

/* Phones held sideways: keep the hero compact */
@media (max-height: 500px) and (orientation: landscape) {
  .hero, .hero-short { min-height: 0; }
  .hero-overlay { padding: 28px 0; }
  .hero-mark { display: none; }
  .nav-links { max-height: calc(100svh - var(--nav-h)); }
}

/* Custom arrow for selects (native one is removed for a consistent look on iOS/Android) */
.form select {
  padding-right: 40px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239C7A2E' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.form-status { font-weight: 700; }
.form-status.ok { color: #2E7D32; }
.form-status.err { color: #B3261E; }
