/* ===== HGBMS Travel — hgbms.online ===== */

:root {
  --terracotta: #c4532e;
  --terracotta-dark: #a03e20;
  --deep-blue: #1e3a5f;
  --deep-blue-dark: #152a46;
  --sand: #f7f1e6;
  --sand-dark: #efe5d3;
  --gold: #d9a441;
  --ink: #211d18;
  --muted: #6f675c;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 58, 95, 0.10);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.section { padding: 5.5rem 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-sub { color: var(--muted); margin-top: 0.9rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover { background: var(--terracotta-dark); box-shadow: 0 8px 20px rgba(196, 83, 46, .35); }

.btn-ghost {
  border-color: rgba(255, 255, 255, .6);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.btn-outline {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.btn-outline:hover { background: var(--terracotta); color: var(--white); }

.btn-small { padding: 0.45rem 1.1rem; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 230, .92);
  backdrop-filter: blur(10px);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(30, 58, 95, .12); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--deep-blue);
}
.brand-mark { width: 30px; height: 30px; color: var(--terracotta); }
.brand-text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; }
.brand-text em { font-style: italic; font-weight: 500; color: var(--terracotta); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:not(.nav-cta):hover { color: var(--terracotta); }
.nav-cta { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--deep-blue);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--deep-blue) 0%, var(--deep-blue-dark) 70%);
  color: var(--white);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 4l8 20 20 8-20 8-8 20-8-20-20-8 20-8z' fill='none' stroke='%23ffffff' stroke-width='1.2'/%3E%3Ccircle cx='40' cy='40' r='3' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: var(--sand);
  clip-path: polygon(0 100%, 0 55%, 8% 70%, 18% 45%, 30% 68%, 42% 40%, 55% 65%, 68% 42%, 80% 66%, 91% 48%, 100% 62%, 100% 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 7rem 0 9.5rem;
  max-width: 1140px;
}

.hero .eyebrow { color: var(--gold); }

.hero .accent {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  max-width: 560px;
  margin: 1.4rem 0 2.2rem;
  color: rgba(255, 255, 255, .85);
  font-size: 1.08rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stats div { min-width: 110px; }
.hero-stats dt {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.hero-stats dd { color: rgba(255, 255, 255, .75); font-size: 0.9rem; }

/* ===== Features ===== */
.features { padding: 4rem 0 1rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
}
.feature svg {
  width: 34px; height: 34px;
  color: var(--terracotta);
  margin-bottom: 0.9rem;
}
.feature h3 { margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.93rem; }

/* ===== Tours ===== */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tour-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(30, 58, 95, .16); }

.tour-cover {
  position: relative;
  height: 170px;
  background-size: cover;
  background-position: center;
}
.tour-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 6l6 16 16 6-16 6-6 16-6-16-16-6 16-6z' fill='none' stroke='%23ffffff' stroke-opacity='.25'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.cover-1 { background-image: linear-gradient(140deg, #c4532e, #e08a4e); }
.cover-2 { background-image: linear-gradient(140deg, #b06a2b, #d9a441); }
.cover-3 { background-image: linear-gradient(140deg, #8c2f2f, #c4532e); }
.cover-4 { background-image: linear-gradient(140deg, #1e3a5f, #3e6ea5); }
.cover-5 { background-image: linear-gradient(140deg, #2b6ea5, #7db8d9); }
.cover-6 { background-image: linear-gradient(140deg, #2f8c7a, #7ac4a8); }

.tour-days {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  background: rgba(33, 29, 24, .55);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.tour-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tour-body h3 { margin-bottom: 0.5rem; }
.tour-body > p { color: var(--muted); font-size: 0.93rem; }

.tour-meta {
  list-style: none;
  margin: 0.9rem 0 1.2rem;
  font-size: 0.83rem;
  color: var(--deep-blue);
}
.tour-meta li { padding: 0.15rem 0; }
.tour-meta li::before { content: "— "; color: var(--gold); }

.tour-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price { color: var(--muted); font-size: 0.85rem; }
.price strong {
  color: var(--ink);
  font-size: 1.25rem;
  font-family: var(--font-head);
}

/* ===== Steps ===== */
.steps { background: var(--sand-dark); }

.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.steps-grid li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--deep-blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.steps-grid p { color: var(--muted); font-size: 0.93rem; margin-top: 0.4rem; }

/* ===== About ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.arch-frame {
  border-radius: 100px 100px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
  max-width: 340px;
  margin: 0 auto;
}
.arch-scene { display: block; width: 100%; height: auto; }

.about-text p { color: var(--muted); margin-top: 1rem; }

.check-list {
  list-style: none;
  margin-top: 1.4rem;
}
.check-list li {
  padding: 0.35rem 0 0.35rem 1.8rem;
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62rem;
  width: 14px; height: 8px;
  border-left: 3px solid var(--terracotta);
  border-bottom: 3px solid var(--terracotta);
  transform: rotate(-45deg);
}

/* ===== Testimonials ===== */
.testimonials { background: var(--deep-blue); color: var(--white); }
.testimonials .eyebrow { color: var(--gold); }

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.quote {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}

.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.8rem; }

.quote blockquote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .92);
}

.quote figcaption {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, .7);
}
.quote figcaption span { display: block; color: var(--gold); font-size: 0.78rem; }

/* ===== FAQ ===== */
.faq-inner { max-width: 780px; }

.faq-list details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  position: relative;
  padding-right: 3rem;
}
.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--terracotta);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list details p {
  padding: 0 1.4rem 1.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ===== Contact ===== */
.contact {
  background: linear-gradient(160deg, var(--deep-blue) 0%, var(--deep-blue-dark) 75%);
  color: var(--white);
}
.contact .eyebrow { color: var(--gold); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info > p { color: rgba(255, 255, 255, .85); margin-top: 1rem; }

.contact-list {
  list-style: none;
  margin-top: 1.8rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
}
.contact-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.contact-list a { color: var(--white); text-decoration: none; }
.contact-list a:hover { color: var(--gold); }

.contact-note {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, .65);
}

.contact-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #ddd4c4;
  border-radius: 10px;
  font: inherit;
  font-size: 0.93rem;
  background: #fffdf8;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 83, 46, .15);
}
.form-row input.invalid,
.form-row textarea.invalid { border-color: #c0392b; }
.form-row textarea { resize: vertical; }

.form-status {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.success { color: #1e7e46; }
.form-status.error { color: #c0392b; }

.form-legal {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--deep-blue-dark);
  color: rgba(255, 255, 255, .8);
  padding: 3rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.site-footer .brand { color: var(--white); }
.footer-brand p { font-size: 0.88rem; margin-top: 0.9rem; max-width: 320px; }

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-legal a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover, .footer-legal a:hover { color: var(--gold); }

.footer-legal p { margin-top: 0.7rem; font-size: 0.85rem; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-art { order: 2; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--sand);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 4%;
    box-shadow: 0 12px 24px rgba(30, 58, 95, .15);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.9rem 0.5rem; border-bottom: 1px solid rgba(30, 58, 95, .08); }
  .main-nav .nav-cta {
    border-bottom: none;
    text-align: center;
    margin: 0.8rem 0.5rem 1rem;
  }

  .hero-inner { padding: 5rem 0 8rem; }
  .section { padding: 4rem 0; }
  .hero-stats { gap: 1.6rem; }
  .contact-form { padding: 1.7rem 1.3rem; }
}
