/* =========================================================
   LEOSMART TRAVEL — V2
   Design premium / travel magazine
   ========================================================= */

:root {
  --ink: #102f2d;
  --dark: #082522;
  --muted: #687775;
  --cream: #f5f1e8;
  --paper: #fffdf9;
  --white: #ffffff;
  --line: #e4e0d7;
  --accent: #d8793d;
  --accent-light: #efb58d;
  --max: 1180px;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  height: 76px;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255, 253, 249, 0.97);
  border-bottom: 1px solid var(--line);

  position: sticky;
  top: 0;
  z-index: 100;

  backdrop-filter: blur(12px);
}

.logo {
  font-size: 18px;
  letter-spacing: 0.08em;
  font-weight: 900;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
  font-weight: 500;
  margin-left: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;

  font-size: 13px;
  font-weight: 650;
}

.nav a {
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--accent);

  transition: width 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;

  border: 0;
  background: transparent;

  font-size: 25px;
  cursor: pointer;

  color: var(--ink);
}


/* =========================================================
   GENERAL
   ========================================================= */

.eyebrow {
  margin: 0 0 12px;

  color: var(--accent);

  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.19em;
  font-weight: 850;
}

h1,
h2,
h3 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
}

h1 em,
h2 em {
  font-weight: 400;
  font-style: italic;
}

.text-link {
  font-size: 13px;
  font-weight: 750;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.text-link:hover {
  color: var(--accent);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 13px 23px;

  border-radius: 3px;
  border: 1px solid transparent;

  font-size: 13px;
  font-weight: 750;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-light {
  background: var(--accent);
  color: white;
}

.btn-light:hover {
  background: #c96a31;
}

.btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.05);
}

.btn-ghost:hover {
  background: white;
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: white;
}

.btn-dark:hover {
  background: #123b36;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 680px;

  display: flex;
  align-items: flex-end;

  position: relative;
  overflow: hidden;

  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(5, 30, 27, 0.76) 0%,
      rgba(5, 30, 27, 0.45) 42%,
      rgba(5, 30, 27, 0.05) 78%
    ),
    url("/assets/images/photo_64.webp")
    center center / cover no-repeat;
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.62),
      transparent 55%
    );

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;

  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;

  padding: 110px 0 100px;
}

.hero .eyebrow {
  color: #f6c29f;
}

.hero h1 {
  max-width: 780px;

  margin: 0 0 25px;

  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 590px;

  margin: 0;

  color: rgba(255, 255, 255, 0.91);

  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;

  margin-top: 32px;
}

.hero-scroll {
  position: absolute;

  z-index: 5;

  bottom: 24px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  color: white;

  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  opacity: 0.85;
}

.hero-scroll div {
  width: 1px;
  height: 32px;

  background: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;

  padding-top: 105px;
  padding-bottom: 95px;
}

.intro h2 {
  margin: 0;

  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.02;

  letter-spacing: -0.045em;
}

.intro-text {
  align-self: center;

  max-width: 560px;

  color: var(--muted);

  font-size: 17px;
}

.intro-text p {
  margin-top: 0;
  margin-bottom: 20px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: 75px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0;

  font-size: clamp(38px, 5vw, 55px);
  line-height: 0.98;

  letter-spacing: -0.045em;
}


/* =========================================================
   DESTINATIONS
   ========================================================= */

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.destination {
  min-height: 390px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  position: relative;
  overflow: hidden;

  color: white;

  border-radius: 3px;

  background-position: center;
  background-size: cover;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.destination::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.72),
      rgba(0, 0, 0, 0.02) 68%
    );

  z-index: 1;
}

.destination::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.08);

  transition: background 0.4s ease;
}

.destination:hover {
  transform: translateY(-7px);

  box-shadow:
    0 18px 40px rgba(20, 35, 31, 0.18);
}

.destination:hover::after {
  background: rgba(0, 0, 0, 0);
}

.destination-content {
  position: relative;
  z-index: 3;

  padding: 24px;
}

.destination-content span {
  display: block;

  margin-bottom: 6px;

  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;

  opacity: 0.85;
}

.destination-content strong {
  display: block;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 32px;
  line-height: 1;
}


/* Destination photos */

.destination.paris {
  background-image:
    url("https://images.unsplash.com/photo-1502602898657-3e91760cbb34?auto=format&fit=crop&w=900&q=85");
}

.destination.rome {
  background-image:
    url("https://images.unsplash.com/photo-1529260830199-42c24126f198?auto=format&fit=crop&w=900&q=85");
}

.destination.lisbon {
  background-image:
    url("https://images.unsplash.com/photo-1555881400-74d7acaacd8b?auto=format&fit=crop&w=900&q=85");
}

.destination.athens {
  background-image:
    url("https://images.unsplash.com/photo-1603565816030-6b389eeb23cb?auto=format&fit=crop&w=900&q=85");
}


/* =========================================================
   GUIDES / ARTICLES
   ========================================================= */

.guides-section {
  background: var(--cream);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  overflow: hidden;

  background: white;

  border: 1px solid var(--line);

  border-radius: 3px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 18px 35px rgba(20, 35, 31, 0.11);
}

.card-image {
  height: 260px;

  display: flex;
  align-items: flex-end;

  position: relative;

  padding: 20px;

  color: white;

  background-position: center;
  background-size: cover;

  overflow: hidden;
}

.card-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.58),
      transparent 62%
    );
}

.card-image span {
  position: relative;
  z-index: 2;

  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.image-paris {
  background-image:
    url("/assets/images/photo_57.webp");
}

.image-rome {
  background-image:
    url("/assets/images/photo_60.webp");
}

.image-lisbon {
  background-image:
    url("/assets/images/photo_3635.webp");
}

.card-body {
  padding: 25px;
}

.tag {
  margin: 0 0 9px;

  color: var(--accent);

  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 850;
}

.card h3 {
  margin: 0 0 12px;

  font-size: 23px;
  line-height: 1.18;

  letter-spacing: -0.025em;
}

.card p:not(.tag) {
  margin: 0 0 20px;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.6;
}

.card a {
  font-size: 13px;
  font-weight: 800;

  color: var(--ink);
}

.card a:hover {
  color: var(--accent);
}


/* =========================================================
   STAY22 / BOOKING
   ========================================================= */

.booking-band {
  position: relative;

  overflow: hidden;

  padding: 75px 0;

  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(4, 31, 27, 0.92),
      rgba(4, 31, 27, 0.55)
    ),
    url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=2200&q=85")
    center / cover no-repeat;
}

.booking-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 50px;
}

.booking-inner .eyebrow {
  color: #f1b78d;
}

.booking-inner h2 {
  margin: 0 0 12px;

  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.98;

  letter-spacing: -0.045em;
}

.booking-inner p:not(.eyebrow) {
  margin: 0;

  color: rgba(255, 255, 255, 0.82);

  font-size: 15px;
}


/* =========================================================
   SHAOLIN
   ========================================================= */

.destination-hero.shaolin {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.60)
    ),
    url("/assets/images/photo_3635.webp");

  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.destination-hero.shaolin h1 {
  max-width: 900px;
  line-height: 1.15;
}

article blockquote {
  margin: 28px 0;
  padding: 16px 24px;
  border-left: 4px solid #a68a64;
  background: #f6f5f2;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
}

article h2[id] {
  scroll-margin-top: 100px;
}

html {
  scroll-behavior: smooth;
}



/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
  padding-top: 100px;
  padding-bottom: 110px;

  position: relative;
}

.final-cta h2 {
  max-width: 720px;

  margin: 0 0 32px;

  font-size: clamp(45px, 6vw, 72px);
  line-height: 0.98;

  letter-spacing: -0.05em;
}


/* =========================================================
   OTHER PAGES
   ========================================================= */

.page-hero {
  padding: 100px 0;

  background: var(--cream);
}

.page-hero h1 {
  margin: 0 0 15px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.96;

  letter-spacing: -0.05em;
}

.page-hero p:last-child {
  max-width: 650px;

  margin: 0;

  color: var(--muted);

  font-size: 18px;
}

.destination-hero,
.article-hero {
  padding: 120px 0 110px;

  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(8, 37, 34, 0.85),
      rgba(8, 37, 34, 0.25)
    ),
    linear-gradient(
      120deg,
      #163c36,
      #587267
    );
}

.destination-hero h1,
.article-hero h1 {
  margin: 0 0 20px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(55px, 8vw, 100px);
  line-height: 0.94;

  letter-spacing: -0.06em;
}

.destination-hero p:last-child,
.article-hero p:last-child {
  max-width: 700px;

  margin: 0;

  color: rgba(255, 255, 255, 0.88);

  font-size: 19px;
}


/* =========================================================
   ARTICLE LAYOUT
   ========================================================= */

.content-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 2fr)
    minmax(280px, 1fr);

  gap: 70px;
}

.content-layout article h2,
.article-content h2 {
  font-size: 36px;
  line-height: 1.1;

  letter-spacing: -0.035em;
}

.content-layout h3,
.article-content h3 {
  margin-top: 45px;

  font-size: 24px;
}

.content-layout li {
  margin: 10px 0;
}

.side-box {
  position: sticky;
  top: 100px;

  height: fit-content;

  padding: 30px;

  background: var(--cream);
}

.side-box h3 {
  margin: 0 0 10px;

  font-size: 27px;
}

.side-box small {
  display: block;

  margin-top: 14px;

  color: var(--muted);

  font-size: 11px;
}

.article-layout {
  max-width: 850px;
}

.article-content {
  font-size: 18px;
}

.article-content h2 {
  margin-top: 55px;
}

.article-content p {
  color: #46514c;
}

.article-cta {
  margin-top: 70px;

  padding: 35px;

  background: var(--cream);
}

.article-cta h3 {
  margin: 0 0 10px;

  font-size: 30px;
}

.narrow {
  max-width: 760px;
}

.narrow h2 {
  font-size: 34px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  margin-top: 0;

  padding: 65px 0 25px;

  color: white;

  background: var(--dark);
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 50px;
}

.footer .logo {
  color: white;
}

.footer a {
  display: block;

  margin: 8px 0;

  color: #c7d1cd;

  font-size: 13px;

  transition: color 0.2s ease;
}

.footer a:hover {
  color: white;
}

.footer h4 {
  margin: 0 0 15px;

  font-size: 13px;

  letter-spacing: 0.04em;
}

.footer p {
  color: #9eaaa5;

  font-size: 13px;
}

.copyright {
  margin-top: 50px;
  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  color: #77837f;

  font-size: 11px;
}


/* =========================================================
   404
   ========================================================= */

.not-found {
  min-height: 100vh;

  display: grid;
  place-content: center;

  padding: 30px;

  text-align: center;
}

.not-found h1 {
  margin: 0 0 20px;

  font-size: 70px;
  line-height: 1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .destination-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .cards .featured-card {
    grid-column: 1 / -1;
  }

  .intro {
    gap: 50px;
  }

  .booking-inner {
    align-items: flex-start;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .site-header {
    height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;

    position: absolute;

    top: 68px;
    left: 0;
    right: 0;

    padding: 22px;

    flex-direction: column;
    align-items: flex-start;
    gap: 18px;

    background: var(--paper);

    border-bottom: 1px solid var(--line);

    box-shadow:
      0 12px 25px rgba(0, 0, 0, 0.07);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    min-height: 650px;

    background-position: 60% center;
  }

  .hero-content {
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(50px, 13vw, 70px);
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;

    align-items: stretch;

    max-width: 330px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .intro {
    grid-template-columns: 1fr;

    gap: 30px;

    padding-top: 75px;
    padding-bottom: 70px;
  }

  .intro h2 {
    font-size: 45px;
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    flex-direction: column;

    align-items: flex-start;

    gap: 15px;
  }

  .section-head h2 {
    font-size: 43px;
  }

  .destination-grid {
    grid-template-columns: 1fr 1fr;
  }

  .destination {
    min-height: 300px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .cards .featured-card {
    grid-column: auto;
  }

  .booking-inner {
    flex-direction: column;

    align-items: flex-start;

    gap: 30px;
  }

  .booking-inner h2 {
    font-size: 45px;
  }

  .content-layout {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .side-box {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    padding-inline: 14px;
  }

  .logo {
    font-size: 15px;
  }

  .hero {
    min-height: 630px;

    background-position: 62% center;
  }

  .hero-content {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero h1 {
    font-size: 51px;
  }

  .intro h2 {
    font-size: 40px;
  }

  .destination-grid {
    grid-template-columns: 1fr;
  }

  .destination {
    min-height: 340px;
  }

  .card-image {
    height: 240px;
  }

  .booking-band {
    padding: 65px 0;
  }

  .booking-inner h2 {
    font-size: 40px;
  }

  .final-cta {
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .final-cta h2 {
    font-size: 47px;
  }

  .page-hero {
    padding: 75px 0;
  }

  .destination-hero,
  .article-hero {
    padding: 85px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .copyright {
    margin-top: 35px;
  }

  .not-found h1 {
    font-size: 48px;
  }
} 

/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */

.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;

  margin-left: 8px;
  padding-left: 18px;

  border-left: 1px solid var(--line);

  font-size: 12px;
  font-weight: 800;
}

.lang-btn {
  padding: 4px 3px;

  border: 0;
  background: transparent;

  color: var(--muted);

  font-size: 11px;
  font-weight: 800;

  cursor: pointer;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.lang-btn:hover {
  color: var(--accent);
}

.lang-btn.active {
  color: var(--accent);
}

.language-switcher > span {
  color: var(--line);
}


/* Mobile */

@media (max-width: 800px) {

  .language-switcher {
    margin-left: 0;
    padding-left: 0;

    border-left: 0;

    margin-top: 5px;
  }

}