/* ==========================================================================
   Andaman Guru Holidays - main stylesheet
   A warm, tropical theme: deep ocean teal + sunset coral + sandy neutrals.
   ========================================================================== */

:root {
  --color-ocean-900: #06344a;
  --color-ocean-800: #0b4f6c;
  --color-ocean-700: #0f6684;
  --color-teal-500: #17b8a6;
  --color-teal-400: #2ec4b6;
  --color-coral-500: #ff6f59;
  --color-coral-600: #f0553d;
  --color-sand-100: #fdf6ec;
  --color-sand-50: #fffaf3;
  --color-ink-900: #1f2d3d;
  --color-ink-600: #4a5b6c;
  --color-ink-300: #8fa1ac;
  --color-white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(6, 52, 74, 0.1);
  --shadow-card: 0 14px 34px rgba(6, 52, 74, 0.14);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --container-width: 1200px;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink-900);
  background: var(--color-sand-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-ocean-900);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--color-ink-600); }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--sand { background: var(--color-sand-100); }
.section--ocean {
  background: linear-gradient(135deg, var(--color-ocean-900), var(--color-ocean-700));
  color: var(--color-white);
}
.section--ocean h2, .section--ocean h3 { color: var(--color-white); }
.section--ocean p { color: rgba(255,255,255,0.82); }

.section-heading { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-heading .eyebrow {
  display: inline-block;
  color: var(--color-teal-500);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* --------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--coral { background: var(--color-coral-500); color: var(--color-white); box-shadow: 0 10px 24px rgba(255, 111, 89, 0.35); }
.btn--coral:hover { background: var(--color-coral-600); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--color-white); }
.btn--outline:hover { background: rgba(255,255,255,0.12); }
.btn--ocean { background: var(--color-ocean-800); color: var(--color-white); }
.btn--ocean:hover { background: var(--color-ocean-900); }
.btn--ghost { background: var(--color-sand-100); color: var(--color-ocean-800); }
.btn--ghost:hover { background: #f2e6d3; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* --------------------------------- Topbar -------------------------------- */
.topbar {
  background: var(--color-ocean-900);
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; flex-wrap: wrap; gap: 8px; }
.topbar a { color: inherit; }
.topbar-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contacts span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { opacity: 0.85; }
.topbar-social a:hover { opacity: 1; color: var(--color-teal-400); }

/* --------------------------------- Header -------------------------------- */
.site-header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 18px rgba(6, 52, 74, 0.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 20px; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; height: 56px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 8px; font-weight: 600; color: var(--color-ink-900);
  font-size: 0.95rem;
}
.main-nav a.nav-link:hover, .main-nav li.has-dropdown:hover > a.nav-link { color: var(--color-teal-500); background: var(--color-sand-100); }

.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--color-white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all 0.15s ease; z-index: 10;
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--color-ink-900); font-weight: 500; font-size: 0.92rem; }
.dropdown-menu a:hover { background: var(--color-sand-100); color: var(--color-teal-500); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: var(--color-sand-100); border: none; border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--color-ocean-900);
  position: relative; transition: all 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* --------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(6,52,74,0.82) 0%, rgba(6,52,74,0.55) 45%, rgba(6,52,74,0.25) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 60px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35); padding: 6px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 20px;
}
.hero h1 { color: var(--color-white); margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* Enquiry card overlapping the hero */
.enquiry-card {
  position: relative; z-index: 3; background: var(--color-white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 30px; margin-top: -90px; margin-bottom: 50px;
}
.enquiry-card h3 { display: flex; align-items: center; gap: 10px; }
.enquiry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 18px; }
.field label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-ink-300); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #e4e9ec; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; color: var(--color-ink-900); background: var(--color-sand-50);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-teal-400); background: #fff; }
.field textarea { resize: vertical; min-height: 100px; }
.enquiry-submit { margin-top: 20px; display: flex; justify-content: flex-end; }
.form-msg { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.form-msg--success { background: #e3f8ef; color: #0f7a4d; }
.form-msg--error { background: #fdeceb; color: #b3382c; }

/* --------------------------------- Cards --------------------------------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-sand-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-badge {
  position: absolute; top: 14px; left: 14px; background: var(--color-coral-500); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.03em;
}
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--color-teal-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.card-body h3 { margin-bottom: 2px; }
.card-body h3 a { color: var(--color-ocean-900); }
.card-body h3 a:hover { color: var(--color-teal-500); }
.card-route { font-size: 0.85rem; color: var(--color-ink-300); }
.card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #eef1f3; }
.card-price { font-family: var(--font-heading); font-weight: 700; color: var(--color-ocean-800); }
.card-price small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--color-ink-300); text-transform: uppercase; }

/* -------------------------------- Services -------------------------------- */
.service-card { text-align: center; padding: 34px 24px; }
.service-icon {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center;
  justify-content: center; background: linear-gradient(135deg, var(--color-teal-400), var(--color-ocean-700)); color: #fff; font-size: 1.6rem;
}

/* --------------------------------- Testimonials --------------------------- */
.testimonial-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.testimonial-track::-webkit-scrollbar { height: 6px; }
.testimonial-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.35); border-radius: 10px; }
.testimonial-card {
  scroll-snap-align: start; flex: 0 0 min(360px, 85vw); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(2px);
}
.testimonial-stars { color: #ffcf5c; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--color-teal-400); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-heading);
}
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-person strong { display: block; }
.testimonial-person span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* --------------------------------- Breadcrumb ------------------------------ */
.page-banner {
  background: linear-gradient(120deg, var(--color-ocean-900), var(--color-ocean-700));
  color: #fff; padding: 60px 0 46px;
}
.page-banner h1 { color: #fff; margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: rgba(255,255,255,0.9); font-weight: 600; }
.breadcrumb a:hover { color: var(--color-teal-400); }

/* --------------------------------- Sightseeing/places ---------------------- */
.place-card .card-media { aspect-ratio: 4/3; }

/* --------------------------------- Category tabs --------------------------- */
.category-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.category-tabs a {
  padding: 10px 22px; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
  border: 2px solid var(--color-ocean-800); color: var(--color-ocean-800);
}
.category-tabs a.is-active, .category-tabs a:hover { background: var(--color-ocean-800); color: #fff; }

/* --------------------------------- Package detail --------------------------- */
.package-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.package-hero img { width: 100%; max-height: 460px; object-fit: cover; }
.package-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 16px; margin: 28px 0; }
.package-fact { background: var(--color-sand-100); border-radius: var(--radius-md); padding: 18px; text-align: center; }
.package-fact strong { display: block; font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-ocean-900); }
.package-fact span { font-size: 0.78rem; color: var(--color-ink-300); text-transform: uppercase; letter-spacing: 0.03em; }
.inclusion-box { background: var(--color-sand-100); border-radius: var(--radius-md); padding: 22px; margin-bottom: 20px; }
.inclusion-box h4 { margin-bottom: 10px; }

.itinerary-list { list-style: none; margin: 0; padding: 0; position: relative; }
.itinerary-day { display: flex; gap: 18px; position: relative; padding-bottom: 28px; }
.itinerary-day:last-child { padding-bottom: 0; }
.itinerary-day::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--color-teal-400) 0 6px, transparent 6px 12px);
}
.itinerary-day:last-child::before { display: none; }
.itinerary-day__marker {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal-400), var(--color-ocean-700));
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; line-height: 1; text-align: center;
  box-shadow: 0 6px 16px rgba(15, 102, 132, 0.25);
  z-index: 1;
}
.itinerary-day__marker span { display: block; font-size: 0.55rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.itinerary-day__content { background: #fff; border: 1px solid #e7ebee; border-radius: var(--radius-md); padding: 16px 20px; flex: 1; }
.itinerary-day__content h4 { margin: 0 0 6px; color: var(--color-ocean-900); font-size: 1.05rem; }
.itinerary-day__content p { margin: 0; }
.sticky-sidebar { position: sticky; top: 100px; }

/* --------------------------------- Info sections ---------------------------- */
.info-section { margin-bottom: 34px; }
.info-section h3 { color: var(--color-ocean-800); border-left: 4px solid var(--color-teal-400); padding-left: 12px; }

.accordion-item { border: 1px solid #e7ebee; border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; background: #fff; font-weight: 700; color: var(--color-ocean-900); }
.accordion-header .icon { transition: transform 0.2s ease; color: var(--color-teal-500); }
.accordion-item.is-open .accordion-header .icon { transform: rotate(45deg); }
.accordion-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.accordion-item.is-open .accordion-body { padding-bottom: 18px; }

/* --------------------------------- Gallery ---------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.08); }

.lightbox { position: fixed; inset: 0; background: rgba(6,20,28,0.92); display: none; align-items: center; justify-content: center; z-index: 999; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-md); }
.lightbox-close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* --------------------------------- Footer ------------------------------------ */
.site-footer { background: var(--color-ocean-900); color: rgba(255,255,255,0.82); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--color-teal-400); }
.footer-brand p { color: rgba(255,255,255,0.72); max-width: 320px; }
.footer-logo { display: block; height: 72px; width: auto; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--color-teal-500); }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: 0.85rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--color-teal-400); }

/* --------------------------------- Floating actions --------------------------- */
.floating-actions { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 90; }
.floating-actions a {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; box-shadow: var(--shadow-card);
}
.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--color-coral-500); }
.fab-top { background: var(--color-ocean-800); width: 44px; height: 44px; font-size: 1.1rem; opacity: 0; visibility: hidden; transition: all 0.2s ease; }
.fab-top.is-visible { opacity: 1; visibility: visible; }

/* --------------------------------- Utilities ------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--color-sand-100); color: var(--color-ocean-800); font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: 50px; }
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.two-col img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.rounded-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* --------------------------------- Responsive ------------------------------ */
@media (max-width: 992px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .sticky-sidebar { position: static; }
}

@media (max-width: 860px) {
  .topbar-contacts span:nth-child(3) { display: none; }
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 85%); background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15); flex-direction: column; align-items: stretch; padding: 90px 24px 24px;
    transition: right 0.25s ease; overflow-y: auto; }
  .main-nav.is-open { right: 0; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 12px; }
  .has-dropdown.is-open .dropdown-menu { display: block; }
  .nav-toggle { display: flex; }
  .header-cta .btn span.btn-label { display: none; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .enquiry-card { margin-top: -50px; padding: 22px; }
  .section { padding: 52px 0; }
  .brand-logo { height: 48px; }
}
