/*
Theme Name: Adept Holidays Agency
Theme URI: https://adeptholidays.com
Author: Adept Holidays Agency
Description: An elegant, editorial WordPress theme for Adept Holidays Agency Bangladesh. Full-width imagery, serif display type, and a warm neutral palette.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adept-travel-agency
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --cream: #ffffff;
  --cream-2: #ffffff;
  --ink: #111111;
  --ink-soft: #333333;
  --terracotta: #14a800;
  --terracotta-dark: #0f8500;
  --sage: #14a800;
  --line: #e5e7eb;
  --white: #ffffff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --serif-2: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color .25s ease, opacity .25s ease; }
a:hover { color: var(--terracotta-dark); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.12; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1.2em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin: 0 0 1rem;
}
.section { padding-block: clamp(64px, 10vw, 130px); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  padding: 15px 34px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn--light { color: var(--cream); border-color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--ink); }
.btn--fill { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn--fill:hover { background: #0f8500; border-color: #0f8500; color: #fff; }

.link-underline {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 3px;
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 16px;
}
.brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .04em; color: var(--ink); }
.brand span { color: var(--terracotta); }
.brand img { max-height: 54px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 600; color: var(--ink);
}
.nav-menu a:hover { color: var(--terracotta); }
.nav-cta { display: inline-block; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 1.6rem; color: var(--ink); line-height: 1;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 24px var(--gutter); display: none;
  }
  .nav-menu.open { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  color: #fff; text-align: center;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.45), rgba(20, 18, 16, 0.75));
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(3rem, 9vw, 7rem); text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5); }
.hero .eyebrow { color: #fff; opacity: .9; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.hero__sub { font-family: var(--serif-2); font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: #fff; letter-spacing: .04em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }

/* Page hero (inner pages) */
.page-hero {
  position: relative; min-height: 56vh; display: flex; align-items: center;
  color: #fff; text-align: center; background-size: cover; background-position: center;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,.4); }
.page-hero__inner { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: #fff; }

/* ==========================================================================
   Generic layout helpers
   ========================================================================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px); align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

.ratio { position: relative; overflow: hidden; }
.ratio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio--tall { aspect-ratio: 3 / 4; }
.ratio--square { aspect-ratio: 1 / 1; }
.ratio--wide { aspect-ratio: 4 / 3; }

/* Services cards */
.service-card { position: relative; overflow: hidden; }
.service-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform .6s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-card__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px; background: linear-gradient(0deg, rgba(17,17,17,.75), transparent);
  color: #fff;
}
.service-card__label h3 { color: #fff; margin: 0; font-size: 1.35rem; }

/* Alt band */
.band { background: var(--cream-2); }
.band--ink { 
  background: #7cb9e8; 
  color: var(--ink); 
  border-radius: 20px;
  width: calc(100% - (var(--gutter) * 2));
  max-width: 800px;
  margin-inline: auto;
  margin-block: 60px;
  padding-block: 60px;
}
.band--ink h2, .band--ink h3 { color: var(--ink); }
.band--ink .eyebrow { color: var(--ink); }
.band--ink .quote__text { color: var(--ink); }
.band--ink .quote__name { color: var(--ink); }
.band--ink .quote__trip { color: var(--ink); opacity: 0.85; }

/* Testimonials */
.quote { max-width: 760px; margin-inline: auto; text-align: center; }
.quote__text { font-family: var(--serif-2); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-style: italic; color: var(--ink); line-height: 1.5; }
.quote__name { font-family: var(--serif); font-size: 1.6rem; color: var(--terracotta); margin-top: .4rem; }
.quote__trip { font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }

/* Values list */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.value__num { font-family: var(--serif); font-size: 2.6rem; color: var(--terracotta); }
.value__name { font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; font-weight: 600; color: var(--ink); margin-bottom: .6rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 820px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.member { text-align: center; }
.member h3 { margin: 18px 0 2px; }
.member .role { font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); }
.member p { font-size: .92rem; margin-top: 10px; }

/* Blog cards */
.post-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-card__body { padding: 24px; }
.post-card h3 { font-size: 1.25rem; }
.post-card__meta { font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
.post-card p { font-size: .92rem; }

/* Single post */
.entry { max-width: 760px; margin-inline: auto; }
.entry img { margin: 24px auto; }
.entry h2, .entry h3 { margin-top: 1.4em; }

/* Contact */
.contact-wrap { max-width: 760px; margin-inline: auto; }
.contact-form { display: grid; gap: 18px; }
.contact-form label { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line);
  background: var(--white); font-family: var(--sans); font-size: .95rem; color: var(--ink);
}
.contact-form textarea { min-height: 150px; resize: vertical; }

/* Marquee stat */
.stat { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4.6rem); color: var(--ink); line-height: 1.05; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--white); color: var(--ink); padding-block: 70px 40px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--terracotta); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); }
.footer-col h4 { color: var(--ink); font-family: var(--sans); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: .9rem; }
.footer-social { display: flex; gap: 18px; margin-top: 16px; }
.footer-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: .78rem; letter-spacing: .08em; color: var(--ink-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.narrow { max-width: 720px; }
.narrow-center { max-width: 760px; margin-inline: auto; text-align: center; }

/* ==========================================================================
   Compact Grid Layouts
   ========================================================================== */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
@media (max-width: 600px) {
  .compact-grid { grid-template-columns: 1fr; }
}

/* Tour Package Card - Compact Thumbnail Style */
.tour-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}
.tour-card__image {
  width: 100%;
  height: 220px;
  position: relative;
}
.tour-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tour-card__header {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.tour-card__title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-card__meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tour-card__price {
  margin-top: 12px;
}
.tour-card__price span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.tour-card__price strong {
  font-size: 1.4rem;
  color: var(--terracotta);
}
.tour-card__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.tour-card__includes h4, .tour-card__excludes h4 {
  font-family: var(--sans);
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.tour-card__includes ul, .tour-card__excludes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
}
.tour-card__includes ul li::before {
  content: "✓ ";
  color: #27ae60;
}
.tour-card__excludes ul li::before {
  content: "✕ ";
  color: #e74c3c;
}
.tour-card__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tour-card__actions .btn {
  text-align: center;
  width: 100%;
  padding: 12px;
}

/* Service Card - Compact Thumbnail Style */
.service-detailed-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.service-detailed-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-detailed-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-detailed-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.service-detailed-card ul li {
  margin-bottom: 6px;
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-soft);
}
.service-detailed-card ul li::before {
  content: "✓";
  color: #27ae60;
  font-size: 1.1rem;
  line-height: 1.2;
}

/* Expandable Details / Accordion */
details.tour-card__expand {
  margin-bottom: 12px;
}
details.tour-card__expand summary {
  cursor: pointer;
  list-style: none; /* Hide default arrow in modern browsers */
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease;
}
details.tour-card__expand summary:hover {
  color: var(--terracotta-dark);
}
details.tour-card__expand summary::-webkit-details-marker {
  display: none; /* Hide default arrow in Safari */
}
details.tour-card__expand summary::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
}
details.tour-card__expand[open] summary::after {
  content: "−";
}
details.tour-card__expand > div, details.tour-card__expand > ul {
  padding-top: 16px;
  animation: slideDown 0.3s ease-out forwards;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* WhatsApp Button */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  color: #fff;
}
.wa-icon-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #25D366;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Green Button */
.btn-green {
  background: #14A800;
  color: #fff;
  border-color: #14A800;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
}
.btn-green:hover {
  background: #0f8500;
  border-color: #0f8500;
  color: #fff;
}

/* Visa Table Grid */
.visa-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.visa-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.visa-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.visa-card__info {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  font-size: 0.9rem;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.visa-card__price {
  font-weight: 700;
  color: var(--terracotta);
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}
@media (max-width: 768px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
.process-step h3 {
  margin-top: 16px;
  color: var(--terracotta);
}
.process-num {
  font-family: var(--serif);
  font-size: 4rem;
  color: #e4e6eb;
  line-height: 1;
  margin-bottom: -20px;
}
