/* =========================================================
   Skycore Travel: main stylesheet
   Colors & fonts live in :root. Change them there.
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-2: #13294b;
  --sky: #1f7ae0;
  --sky-light: #e8f1fd;
  --accent: #f5a623;
  --accent-dark: #d98c0d;
  --ink: #1a2433;
  --muted: #5d6b80;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --success: #1a9b5b;
  --danger: #d64545;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .18);
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2, .about-copy h2, .contact-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: .98rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(11, 31, 58, .25); }
.btn-primary:hover { background: var(--navy-2); }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: 0 8px 20px rgba(245, 166, 35, .35); }
.btn-accent:hover { background: #ffb73d; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(11, 31, 58, .08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo-mark { width: 40px; height: 40px; color: var(--accent); }
.logo-text { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.logo-text span { font-weight: 500; margin-left: 4px; opacity: .85; }
.site-header.scrolled .logo { color: var(--navy); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a:not(.btn) {
  color: rgba(255, 255, 255, .9); font-weight: 600; font-size: .95rem; position: relative;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s;
}
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { width: 100%; }
.site-header.scrolled .main-nav a:not(.btn) { color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 90px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 22, 44, .88) 0%, rgba(8, 22, 44, .55) 50%, rgba(8, 22, 44, .15) 100%),
    url("../images/hero.jpg") center / cover no-repeat,
    var(--navy);
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content { max-width: 1200px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; max-width: 780px; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero .eyebrow { color: var(--accent); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; color: rgba(255, 255, 255, .85); margin-bottom: 40px; }

.trip-finder {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px; align-items: end;
  max-width: 900px;
  background: #fff; color: var(--ink);
  padding: 10px; border-radius: 20px; box-shadow: var(--shadow-lg);
}
.trip-finder label { display: flex; flex-direction: column; padding: 8px 16px; border-radius: 12px; transition: background .2s; }
.trip-finder label:hover { background: var(--bg-soft); }
.trip-finder label + label { border-left: 1px solid var(--line); }
.trip-finder label span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.trip-finder select, .trip-finder input {
  border: 0; background: transparent; padding: 4px 0; font-weight: 600; color: var(--ink); outline: none; width: 100%;
  cursor: pointer;
}
.trip-finder .btn { height: 100%; min-height: 56px; border-radius: 14px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: inline; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--accent); }
.stat span { display: inline; font-weight: 600; color: rgba(255, 255, 255, .8); margin-left: 4px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 28px; aspect-ratio: 10 / 11; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.about-media::before {
  content: ""; position: absolute; inset: -20px 40px 40px -20px; z-index: -1;
  border-radius: 28px; background: var(--sky-light);
}
.about-badge {
  position: absolute; right: -24px; bottom: 40px;
  background: #fff; padding: 18px 24px; border-radius: 16px; box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent);
}
.about-badge strong { display: block; font-size: 1.3rem; color: var(--navy); }
.about-badge span { font-size: .88rem; color: var(--muted); }
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7ae0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff; padding: 36px 32px; border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sky-light); color: var(--sky); margin-bottom: 22px;
  transition: background .3s, color .3s;
}
.service-card:hover .service-icon { background: var(--navy); color: var(--accent); }
.service-icon svg, .ci-icon svg {
  width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.service-card h3 { font-size: 1.25rem; font-weight: 700; }
.service-card p { color: var(--muted); margin: 0; }

/* ---------- Destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dest-card {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5;
  cursor: pointer; isolation: isolate; box-shadow: var(--shadow);
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.dest-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 22, 44, .9) 100%);
}
.dest-card:hover img { transform: scale(1.08); }
.dest-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px; color: #fff; }
.dest-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.dest-info h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 4px; }
.dest-info p { color: rgba(255, 255, 255, .8); margin-bottom: 0; }
.dest-btn {
  margin-top: 14px; background: var(--accent); color: var(--navy); border: 0; border-radius: 999px;
  padding: 9px 18px; font-weight: 700; font-size: .88rem; cursor: pointer;
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.dest-card:hover .dest-btn, .dest-card:focus-within .dest-btn { opacity: 1; transform: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; padding: 120px 0; color: #fff; text-align: center;
  background:
    linear-gradient(rgba(8, 22, 44, .72), rgba(8, 22, 44, .72)),
    url("../images/cta.jpg") center / cover fixed no-repeat,
    var(--navy);
}
.cta-inner { max-width: 680px; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.cta-band p { font-size: 1.15rem; color: rgba(255, 255, 255, .85); margin-bottom: 32px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.ci-icon {
  flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky-light); color: var(--sky);
}
.ci-icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list a, .contact-list span { font-weight: 700; color: var(--navy); }
.contact-list a:hover { color: var(--sky); }

.contact-form {
  background: #fff; padding: 42px; border-radius: 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(31, 122, 224, .12);
}
.field.invalid input, .field.invalid textarea { border-color: var(--danger); background: #fff6f6; }
.field .error-msg { display: block; color: var(--danger); font-size: .82rem; font-weight: 600; margin-top: 6px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 16px 0 0; font-weight: 600; min-height: 1.5em; text-align: center; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn.loading { pointer-events: none; opacity: .85; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin-top: 18px; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer .footer-grid > div:not(.footer-brand) a,
.site-footer .footer-grid > div:not(.footer-brand) span { display: block; margin-bottom: 10px; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; font-size: .9rem;
}
.footer-bottom p { margin: 0; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid { gap: 56px; }
  .services-grid, .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trip-finder { grid-template-columns: 1fr 1fr 1fr; }
  .trip-finder .btn { grid-column: 1 / -1; }
  .cta-band { background-attachment: scroll; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .section { padding: 80px 0; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 24px;
    box-shadow: 0 20px 40px rgba(11, 31, 58, .15);
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .35s, opacity .35s, visibility .35s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .nav-cta { margin-top: 16px; }
  .site-header.menu-open { background: #fff; }
  .site-header.menu-open .logo { color: var(--navy); }
  .site-header.menu-open .nav-toggle span { background: var(--navy); }
  .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); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin-inline: auto; }
  .about-badge { right: 12px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .scroll-cue { display: none; }
  .trip-finder { grid-template-columns: 1fr; }
  .trip-finder label + label { border-left: 0; border-top: 1px solid var(--line); }
  .services-grid, .dest-grid, .form-row, .checklist { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .contact-form { padding: 28px 22px; }
  .dest-btn { opacity: 1; transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat span { display: block; margin: 0; font-size: .9rem; }
  .about-media::before { inset: -12px 20px 20px -12px; }
}
