:root{
  --bg:#ffffff;
  --bg2:#f6f8fc;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#5b667a;
  --line:rgba(0,0,0,.10);
  --accent:#2563eb;
  --accent2:#7c3aed;
  --ok:#16a34a;
  --warn:#d97706;

  --radius:18px;
  --shadow: 0 10px 28px rgba(0,0,0,.12);
  --max: 1160px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  position: relative;
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: var(--bg);
  color:var(--text);
}

/* Global HERO background starting from the very top (like mwrlife) */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index:-2;
}

/* Overlay to improve text readability over the hero image */
body::after{
  content:"";
  position:fixed;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.70)
  );
  z-index:-1;
  pointer-events:none;
}

/* Contact page: keep hero background for full page height (no white below) */
body.contact-page::before,
body.contact-page::after{
  height: 100%;
  min-height: 100vh;
}

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

[hidden]{
  display:none !important;
}

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

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, .28); /* readable over hero */
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: #fff;
}

.topbar .brand-name{ color:#fff; }
.topbar .brand-tag{ color: rgba(255,255,255,.75); }
.topbar .navlinks a{ color: rgba(255,255,255,.92); }

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}

 .brand-badge{
  display:none;
}
.brand-name{
  font-weight:800;
  letter-spacing:.2px;
}
.brand-tag{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:2px;
}

.navlinks{
  display:flex; gap:14px; flex-wrap:wrap;
  align-items:center;
}
.navlinks a{
  text-decoration:none;
  font-size:14px;
  color:rgba(233,238,252,.92);
  opacity:.9;
  padding:8px 10px;
  border-radius:12px;
}
.navlinks a:hover{opacity:1; background: rgba(255,255,255,.06)}
.navlinks a.active{background: rgba(94,225,255,.10); border:1px solid rgba(94,225,255,.18)}

.actions{display:flex; gap:10px; align-items:center}
.lang{
  display:flex; gap:8px; align-items:center;
}

.lang-select{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-current{
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.lang-current::after{
  content: "";
  display: none;
}

.lang-flag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.lang-label{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide the label only inside the round current-language button */
.lang-current .lang-label{
  display: none;
}

.lang-menu{
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(15, 23, 42, .96);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 6px;
  z-index: 1200;
}

.lang-menu[hidden]{
  display: none !important;
}

.lang-option{
  width: 100%;
  justify-content: flex-start;
  gap: 10px;
  background: transparent;
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 12px;
}

.lang-option:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}
.btn{
  appearance:none; border:0;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(0,0,0,.06);
  color: var(--text);
  cursor:pointer;
  font-weight:650;
  font-size:14px;
  border: 1px solid rgba(0,0,0,.10);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover{background: rgba(0,0,0,.085)}
.btn:visited,
.btn:active,
.btn:focus{
  text-decoration: none;
}

/* Safety: banner CTA should never be underlined */
.banner a.btn,
.banner a.btn:hover,
.banner a.btn:visited,
.banner a.btn:active{
  text-decoration: none !important;
}
.btn.primary{
  background: linear-gradient(135deg, rgba(94,225,255,.9), rgba(167,139,250,.9));
  color:#ffffff;
  border:0;
}
.btn.primary:hover{filter:brightness(1.03)}
.btn.small{padding:8px 10px; font-size:13px; border-radius:12px}

.hero{
  position: relative;
  padding: 0;
  min-height: 100vh;   /* full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before{ content:none; }

.hero::after{ content:none; }

.hero .container{
  position: relative;
  z-index: 1;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
}

.hero-card{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 60px 0 40px;
  text-align: center;
}
.hero-card::before{
  content: none;
}
.hero-content{
  position: relative;
  z-index: 1;
}
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  font-size:13px; color:rgba(233,238,252,.9);
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.kicker .dot{
  width:8px; height:8px; border-radius:999px;
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(52,211,153,.12);
}
h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height:1.08;
}
.lead{
  margin:0 auto 16px;
  color: rgba(233,238,252,.88);
  font-size:16px;
  line-height:1.65;
  max-width: 70ch;
}
.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:14px;
}
.pills{
  display:none !important;
}
.pill{
  font-size:13px;
  color:rgba(233,238,252,.92);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding:8px 10px;
  border-radius:999px;
}

.side-card{
  background: linear-gradient(180deg, rgba(17,26,43,.82), rgba(11,15,23,.72));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.side-title{
  margin:0 0 10px;
  font-size:16px;
  color: rgba(233,238,252,.95);
}
.mini-list{display:grid; gap:10px}
.mini-item{
  display:flex; gap:12px; align-items:center;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.mini-emoji{
  width:40px; height:40px; border-radius:14px;
  display:grid; place-items:center;
  background: rgba(94,225,255,.10);
  border:1px solid rgba(94,225,255,.18);
  font-size:20px;
}
.mini-item b{display:block; font-size:14px}
.mini-item span{display:block; font-size:13px; color:var(--muted); margin-top:2px}

.section{
  padding:22px 0;
  background: var(--bg);
}
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:14px; margin-bottom:12px;
}
.section-head h2{margin:0; font-size:20px}
.section-head p{margin:0; color:var(--muted); font-size:14px}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.card{
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94));
  border:1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 16px 42px rgba(15,23,42,.10);
  min-height: 260px;
  display:flex;
  flex-direction:column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(15,23,42,.14);
  border-color: rgba(15,23,42,.12);
}
@media (max-width: 980px){ .card{grid-column: span 6} }
@media (max-width: 640px){ .card{grid-column: span 12} }

.card-media{
  height:220px;
  position:relative;
  background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(124,58,237,.12));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding:16px;
  overflow:hidden;
  transition: transform .35s ease;
}

.card-media::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.16) 38%, rgba(0,0,0,.58) 100%),
    radial-gradient(circle at top right, rgba(255,255,255,.14), transparent 34%);
  pointer-events:none;
}

.card-media::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:42%;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.08));
  pointer-events:none;
}

.card-media > *{
  position:relative;
  z-index:1;
}

/* ===== Card photos (scoped per page so they don't mix) ===== */

/* PACKAGES: 1) Istanbul 2) Antalya 3) Alps */
body.packages-page .grid .card:nth-child(1) .card-media{
  background-image: url("../img/istanbul.jpg");
}
body.packages-page .grid .card:nth-child(2) .card-media{
  background-image: url("../img/antalya.jpg");
}
body.packages-page .grid .card:nth-child(3) .card-media{
  background-image: url("../img/alps.jpg");
}

/* DESTINATIONS: 1) Dubai 2) (no photo yet) 3) NYC */
body.destinations-page .grid .card:nth-child(1) .card-media{
  background-image: url("../img/dubai.jpg");
}
body.destinations-page .grid .card:nth-child(2) .card-media{
  background-image: url("../img/malaga.jpg");
}
body.destinations-page .grid .card:nth-child(3) .card-media{
  background-image: url("../img/nyc.jpg");
}

/* Optional: explicit classes if you add them in HTML */
.card-media.media-istanbul{ background-image: url("../img/istanbul.jpg"); }
.card-media.media-dubai{ background-image: url("../img/dubai.jpg"); }
.card-media.media-nyc{ background-image: url("../img/nyc.jpg"); }
.badge{
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.82);
  color: #0f172a;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.price{
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(15,23,42,.72);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.card-body{
  padding:16px 16px 18px;
  display:grid;
  gap:10px;
}
.card-body h3{
  margin:0;
  font-size:22px;
  line-height:1.14;
  letter-spacing:-0.03em;
}
.card-body p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.72;
}
.card-foot{
  margin-top:auto;
  padding:0 16px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.meta{
  color:var(--muted);
  font-size:12px;
  letter-spacing:.02em;
}
.link{
  text-decoration:none;
  font-weight:700;
  font-size:12px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(15,23,42,.04);
  border:1px solid rgba(15,23,42,.08);
  color: var(--text);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.link:hover{
  background: rgba(15,23,42,.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15,23,42,.08);
}

.card-more{
  text-decoration: none !important;
  font-weight: 700;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.08);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

a.card.card-link,
a.card.card-link:visited,
a.card.card-link:hover,
a.card.card-link:active,
a.card.card-link *{
  text-decoration: none !important;
}

.banner{
  margin:18px 0 0;
  border-radius: var(--radius);
  border:1px solid rgba(94,225,255,.20);
  background: linear-gradient(135deg, rgba(94,225,255,.10), rgba(167,139,250,.10));
  padding:16px;
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; flex-wrap:wrap;
}

.footer{
  margin-top:30px;
  border-top:1px solid var(--line);
  padding:20px 0 30px;
  color: var(--text);
  font-size:14px;
}
.footer-grid{
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
}
.small{font-size:12px; opacity:.9}
.hr{height:1px; background: var(--line); margin:14px 0}

.page-title{
  padding:26px 0 6px;
}
.page-title h1{font-size:30px; margin:0}
.page-title p{margin:8px 0 0; color:var(--muted); max-width: 70ch}

.form{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.field{display:grid; gap:6px; margin-bottom:10px;}
label{font-size:13px; color: var(--text)}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background: #f5f7fb;
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
textarea{min-height:90px; resize:vertical;}
.notice{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(52,211,153,.20);
  background: rgba(52,211,153,.08);
  color: rgba(233,238,252,.92);
  display:none;
}
.notice.show{display:block}

/* HERO stays white over the hero image */
.hero, .hero a{
  color:#fff;
  text-decoration:none;
}
.hero .kicker{ color: rgba(255,255,255,.92); border:1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.10); }
.hero .lead{ color: rgba(255,255,255,.90); }
.hero .pill{ color: rgba(255,255,255,.92); border:1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.10); }
.hero .btn{
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  text-decoration:none;
}
.hero .btn:hover{ background: rgba(255,255,255,.18); }

/* Style language buttons (BG / EN) */
.topbar .lang .btn.small,
.topbar .lang-select .btn.small{
  background: rgba(255,255,255,.12);
  color:#ffffff;
  border:1px solid rgba(255,255,255,.28);
  text-decoration:none;
  font-weight:600;
  backdrop-filter: blur(6px);
}

.topbar .lang .btn.small:hover,
.topbar .lang-select .btn.small:hover{
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.45);
}

/* Remove underline anywhere inside topbar */
.topbar a{
  text-decoration:none;
}


/* =========================
   Contact page (premium)
========================= */
.page-hero{
  padding: 20px 0 8px;
}

.page-title--hero{
  max-width: 760px;
  color:#fff;
}

.page-title--hero h1{
  margin: 12px 0 6px;
}

.page-title--hero p{
  margin: 0;
  color: rgba(255,255,255,.90);
}

.contact-section{
  padding-top: 6px;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  justify-items: center;
}

.contact-card{
  background: rgba(255,255,255,.95);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.contact-card--soft{
  background: rgba(255,255,255,.90);
}

.contact-card__title{
  margin: 0 0 8px;
  font-size: 17px;
}

.contact-card__subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Make the form feel integrated with the card */
.contact-card .form{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.form-actions{
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.form-hint{
  font-size: 12px;
  color: var(--muted);
}

.contact-list{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 14px;
}

.contact-label{
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
}

.contact-value{
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.contact-value:hover{
  text-decoration: underline;
}

.tips{
  margin: 14px 0 0;
  padding-left: 18px;
}

.tips li{
  margin: 6px 0;
  color: var(--muted);
}

/* Remove white section background so only hero image is visible */
.contact-section{
  background: transparent;
  padding-bottom: 80px;
}

/* Remove global white section color for contact page */
.contact-section.section{
  background: transparent;
}

/* Remove extra spacing below form */
.footer{
  margin-top: 0;
  background: transparent;
  border-top: none;
}

@media (max-width: 920px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .form-actions{
    flex-direction: column;
    align-items: stretch;
  }

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

/* Contact: make footer visible without extra scrolling */
.contact-card { margin-bottom: 18px; }
.contact-section { padding-bottom: 18px; }

body.contact-page .contact-section{
  padding-bottom: 0;
}

body.contact-page .footer{
  padding-top: 12px;
  padding-bottom: 16px;
  color: #ffffff;
}

/* ===== Contact page: sticky footer at bottom of viewport ===== */
body.contact-page{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* Let main take remaining height and center content */
body.contact-page main{
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ensure the contact section can be centered nicely */
body.contact-page .contact-section{
  width: 100%;
}

body.contact-page .footer{
  margin-top: auto;
}

/* ===== Minimal Select Style (Topic) ===== */
#topic{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  background-color: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 14px;

  padding: 12px 42px 12px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);

  cursor: pointer;

  background-image: url("data:image/svg+xml;utf8,<svg fill='%230b1220' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;

  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

#topic:hover{
  background-color: #ffffff;
  border-color: rgba(0,0,0,.26);
}

#topic:focus{
  outline: none;
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}

/* Make the placeholder option look muted */
#topic option[disabled]{
  color: rgba(11,18,32,.55);
  font-weight: 500;
}

body.packages-page::before,
body.packages-page::after{
  display: none;
}

body.packages-page{
  background: #ffffff;
}

/* Packages page: dark topbar on white background */
body.packages-page .topbar{
  background: rgba(15, 23, 42, .92);
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
  color:#fff;
}

body.packages-page .topbar .brand-name{ color:#fff; }
body.packages-page .topbar .brand-tag{ color: rgba(255,255,255,.75); }
body.packages-page .topbar .navlinks a{ color: rgba(255,255,255,.92); }
body.packages-page .topbar .navlinks a:hover{ background: rgba(255,255,255,.08); }
body.packages-page .topbar .navlinks a.active{
  background: rgba(94,225,255,.14);
  border: 1px solid rgba(94,225,255,.22);
}

body.packages-page .topbar .lang .btn.small,
body.packages-page .topbar .lang-select .btn.small{
  background: rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
}
body.packages-page .topbar .lang .btn.small:hover,
body.packages-page .topbar .lang-select .btn.small:hover{
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.45);
}


/* =========================
   DESTINATIONS — FIXED IMAGE BACKGROUND (Corrected)
========================= */

body.destinations-page{
  background: transparent;
}

/* Background image layer */
body.destinations-page::before{
  content:"";
  position: fixed;
  inset: 0;
  background-image: url("../img/destinations.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -2;
}

/* Dark overlay above image */
body.destinations-page::after{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(6,10,20,.55);
  z-index: -1;
  pointer-events: none;
}

/* Make sections transparent so image is visible */
body.destinations-page .section{
  background: transparent;
}

body.destinations-page .footer{
  color: rgba(255,255,255,.92);
}

/* Make Destinations page title readable on dark photo background */
body.destinations-page .page-title h1,
body.destinations-page .page-title h2{
  color: rgba(255,255,255,.96);
  text-shadow: 0 10px 28px rgba(0,0,0,.45);
}

body.destinations-page .page-title p{
  color: rgba(255,255,255,.80);
  text-shadow: 0 8px 22px rgba(0,0,0,.40);
}

/* Slightly smaller title/subtitle on Destinations page */
body.destinations-page .page-title h1{
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.12;
  margin-bottom: 6px;
}

body.destinations-page .page-title p{
  font-size: 14px;
  line-height: 1.55;
  max-width: 70ch;
}

/* Destinations title: no glass backing */
body.destinations-page .page-title{
  position: relative;
}

/* ===== Destinations: premium card hover (zoom + lift) ===== */
body.destinations-page .card{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.destinations-page .card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
  border-color: rgba(255,255,255,.12);
}

body.destinations-page .card-media{
  transition: transform .35s ease, filter .35s ease;
  will-change: transform;
}

body.destinations-page .card:hover .card-media{
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.02);
}

/* Keep overlay/badges readable on hover */
body.destinations-page .card:hover .card-media::before{
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.38));
}

@media (prefers-reduced-motion: reduce){
  body.destinations-page .card,
  body.destinations-page .card-media{
    transition: none;
  }
  body.destinations-page .card:hover{
    transform: none;
  }
  body.destinations-page .card:hover .card-media{
    transform: none;
    filter: none;
  }
}

/* =========================
   BLOG — FIXED IMAGE BACKGROUND
========================= */

body.page-blog{
  background: transparent;
}


/* Use fixed layers for blog background + overlay */
body.page-blog{
  position: relative;
}

body.page-blog .section{
  background: transparent;
}

body.page-blog .footer{
  color: rgba(255,255,255,.92);
}

body.page-blog main,
body.page-blog .container,
body.page-blog .page-title,
body.page-blog .grid{
  position: relative;
  z-index: 1;
}

body.page-blog .page-title h1,
body.page-blog .page-title h2{
  color: rgba(255,255,255,.98);
  text-shadow: 0 12px 34px rgba(0,0,0,.52);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: .98;
  letter-spacing: -.05em;
  max-width: 12ch;
}

body.page-blog .page-title p{
  color: rgba(255,255,255,.86);
  text-shadow: 0 8px 22px rgba(0,0,0,.40);
  font-size: 16px;
  line-height: 1.75;
  max-width: 56ch;
}
body.page-blog .page-title{
  padding: 34px 0 18px;
}

/* Fixed background image */
body.page-blog-bg::before{ content:none; }

body.page-blog::before{
  content:"";
  position: fixed;
  inset: 0;
  background-image: url("../img/blog.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -2;
}

/* Dark overlay */
body.page-blog::after{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(6,10,20,.58);
  z-index: -1;
  pointer-events: none;
}


/* =========================
   ABOUT — FIXED IMAGE BACKGROUND
========================= */

body.about-page{
  background: transparent;
  position: relative;
}

body.about-page .section{
  background: transparent;
}

body.about-page .footer{
  color: rgba(255,255,255,.92);
}

body.about-page main,
body.about-page .container,
body.about-page .page-title,
body.about-page .grid{
  position: relative;
  z-index: 1;
}

body.about-page .page-title h1,
body.about-page .page-title h2{
  color: rgba(255,255,255,.96);
  text-shadow: 0 10px 28px rgba(0,0,0,.45);
}

body.about-page .page-title p{
  color: rgba(255,255,255,.80);
  text-shadow: 0 8px 22px rgba(0,0,0,.40);
}

body.about-page::before{
  content:"";
  position: fixed;
  inset: 0;
  background-image: url("../img/about.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -2;
}

body.about-page::after{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(6,10,20,.58);
  z-index: -1;
  pointer-events: none;
}

/* Hide Packages/Paketi link in desktop nav + mobile drawer */
.navlinks a[href*="packages"],
.nav-drawer a[href*="packages"],
.navlinks a[href*="paketi"],
.nav-drawer a[href*="paketi"]{
  display: none !important;
}

/* Keep footer at bottom on About page */
body.about-page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

body.about-page .container{
  flex:1;
}

body.about-page .footer{
  margin-top:auto;
}

/* =========================
   CONTACT — FIXED IMAGE BACKGROUND
========================= */

body.contact-page{
  background: transparent;
  position: relative;
}

body.contact-page .section{
  background: transparent;
}

body.contact-page main,
body.contact-page .container{
  position: relative;
  z-index: 1;
}

body.contact-page::before{
  content:"";
  position: fixed;
  inset:0;
  background-image:url("../img/contact.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
  z-index:-2;
}

body.contact-page::after{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(6,10,20,.55);
  z-index:-1;
  pointer-events:none;
}

/* =========================
   PACKAGES — clickable cards without underline
========================= */

body.packages-page a.card.card-link,
body.packages-page a.card.card-link:visited,
body.packages-page a.card.card-link:hover,
body.packages-page a.card.card-link:active{
  text-decoration: none !important;
  color: inherit;
}

body.packages-page a.card.card-link *{
  text-decoration: none !important;
}

/* Back button above packages list */
#packagesBackToDestinations a,
#packagesBackToDestinations a:visited,
#packagesBackToDestinations a:hover,
#packagesBackToDestinations a:active,
#packagesBackToDestinations a:focus{
  text-decoration: none !important;
}

/* Packages page footer always at bottom */
body.packages-page{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.packages-page main{
  flex: 1 0 auto;
}

body.packages-page .footer{
  margin-top: auto;
}

/* Blog page footer always at bottom */
body.page-blog{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* main content should take remaining height */
body.page-blog main{
  flex: 1 0 auto;
}

/* footer sticks to the bottom when content is short */
body.page-blog .footer{
  margin-top: auto;
}


/* =========================
   MOBILE NAV — burger (3 lines) + drawer
========================= */

.nav-toggle{
  display: flex;
  flex-direction: column;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.92);
  border-radius: 2px;
  flex: 0 0 auto;
  margin: 0;
  transition: transform .18s ease, opacity .18s ease;
}

/* Burger animation: ☰ -> ✕ */
body.nav-open .nav-toggle span:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2){
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

.nav-drawer{
  display: none;
}

@media (max-width: 820px){
  /* hide desktop links, show burger */
  .navlinks{ display: none !important; }
  .nav-toggle{ display: flex; flex-direction: column !important; }

  /* drawer panel */
  .nav{ position: relative; }

  .nav-drawer{
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(7,18,36,.96), rgba(9,22,44,.92));
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 28px 70px rgba(0,0,0,.38);
    transform: translateY(-10px) scale(.985);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease;
    z-index: 999;
    overflow: hidden;
  }

  body.nav-open .nav-drawer{
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 34px 90px rgba(0,0,0,.42);
  }

  .nav-drawer a{
    display: block;
    padding: 14px 14px;
    border-radius: 16px;
    color: rgba(255,255,255,.96);
    text-decoration: none;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -.02em;
    transition: background .18s ease, transform .18s ease, color .18s ease;
  }

  .nav-drawer a:hover{
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    transform: translateX(2px);
  }

  .drawer-actions{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(255,255,255,.10);
  }

  .nav-drawer::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:88px;
    background: radial-gradient(circle at top right, rgba(94,225,255,.18), transparent 42%),
                radial-gradient(circle at top left, rgba(167,139,250,.16), transparent 38%);
    pointer-events:none;
  }

  .nav-drawer > *{
    position: relative;
    z-index: 1;
  }

  .nav-drawer a + a{
    margin-top: 4px;
  }

  .nav-drawer .drawer-actions .btn.primary{
    min-width: 132px;
    border-radius: 16px;
    box-shadow: 0 14px 26px rgba(94,225,255,.16);
  }

  .nav-drawer .lang-current,
  .nav-drawer .lang-option{
    border-radius: 16px;
  }
}

/* =========================
   RESPONSIVE — mobile/tablet
   Works across iOS/Android + Safari/Chrome/Firefox/Edge
========================= */

html{
  -webkit-text-size-adjust: 100%;
}

body{
  overflow-x: hidden;
}

/* Make the layout fluid */
.container{
  max-width: var(--max);
}

/* Tablet and down */
@media (max-width: 1024px){
  .container{
    width: calc(100% - 32px);
  }

  .grid{
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
  }

  .card{ grid-column: span 6; }
}

/* Mobile and down */
@media (max-width: 820px){
  .container{
    width: calc(100% - 24px);
  }

  /* Mobile: keep regular pages clean and readable */
  body:not(.destinations-page):not(.page-blog):not(.page-news):not(.about-page):not(.contact-page):not(.article-page) main,
  body:not(.destinations-page):not(.page-blog):not(.page-news):not(.about-page):not(.contact-page):not(.article-page) .page-title,
  body:not(.destinations-page):not(.page-blog):not(.page-news):not(.about-page):not(.contact-page):not(.article-page) .section:not(.hero),
  body:not(.destinations-page):not(.page-blog):not(.page-news):not(.about-page):not(.contact-page):not(.article-page) .footer{
    background: var(--bg) !important;
    position: relative;
    z-index: 1;
  }

  body:not(.destinations-page):not(.page-blog):not(.page-news):not(.about-page):not(.contact-page):not(.article-page) .footer{
    color: var(--text);
    border-top: 1px solid var(--line);
  }

  body:not(.destinations-page):not(.page-blog):not(.page-news):not(.about-page):not(.contact-page):not(.article-page) .section:not(.hero){
    padding-top: 18px;
    padding-bottom: 18px;
  }

  /* Topbar/nav: compact mobile header (burger left, logo, CTA right) */
  .nav{
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
  }

  /* Brand stays on one line */
  .brand{
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand-name{
    font-size: 18px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-tag{
    font-size: 12px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Actions: keep only CTA visible here (language buttons are in drawer) */
  .actions{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  .actions .btn.primary{
    padding: 10px 14px;
    border-radius: 14px;
    white-space: nowrap;
  }

  /* Burger button sizing */
  .nav-toggle{
    flex: 0 0 auto;
  }

  /* Hide any desktop inline navlinks on mobile (drawer will be used) */
  .navlinks{ display: none !important; }

  /* Hero on mobile: slightly shorter and cleaner */
  .hero{
    min-height: 78svh;
    padding: 18px 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-card{
    padding: 12px 0 24px;
  }

  .hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
  }

  h1{
    font-size: clamp(24px, 5.8vw, 34px);
    line-height: 1.08;
    max-width: 18ch;
    width: min(100%, 18ch);
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
  }

  .lead{
    font-size: 15px;
  }

  /* Cards: two per row on phones */
  .card{ grid-column: span 6; }

  .card-media{
    height: 150px;
    padding: 12px;
  }

  body:not(.packages-page) .card{
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.93));
  }

  .card-body{
    padding: 14px 14px 16px;
  }

  .card-foot{
    padding: 0 14px 14px;
  }

  .section-head{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-title{
    padding: 18px 0 12px;
  }

  .page-title h1{
    font-size: 26px;
  }

  /* Prevent iPhone zoom on focus */
  input, select, textarea{
    font-size: 16px;
  }
}

/* Small phones */
@media (max-width: 480px){
  .container{
    width: calc(100% - 20px);
  }

  .topbar{
    backdrop-filter: blur(8px);
  }

  .navlinks a{
    font-size: 13px;
    padding: 7px 9px;
  }

  .btn.small{
    padding: 8px 10px;
  }

  .hero-actions{
    gap: 8px;
  }

  .card-media{
    height: 150px;
  }
}

/* iOS Safari: background-attachment: fixed can be buggy; fall back gracefully */
@supports (-webkit-touch-callout: none){
  body.destinations-page::before,
  body.page-blog::before,
  body.about-page::before,
  body.contact-page::before{
    background-attachment: scroll;
  }
}
/* Very small phones: switch to one card per row for readability */
@media (max-width: 420px){
  .card{ grid-column: span 6; }
}

/* ===== Burger (3 lines) on ALL pages except Packages ===== */

/* 1) By default (desktop) burger hidden */
.nav-toggle{ display:none; }

/* 2) On mobile show burger, hide desktop links */
@media (max-width: 820px){
  .nav-toggle{ display:flex; }
  .navlinks{ display:none !important; }
}

/* 3) EXCEPTION: on Packages page — no burger, show normal links even on mobile */
@media (max-width: 820px){
  body.packages-page .nav-toggle{ display:none !important; }
  body.packages-page .navlinks{ display:flex !important; flex-wrap:wrap; gap:10px; }
  body.packages-page .nav-drawer{ display:none !important; }
}

/* Hide language buttons next to header on mobile (keep them inside the drawer) */
@media (max-width: 820px){
  .topbar .actions .lang{ display: none !important; }
}


/* Mobile header layout */
@media (max-width: 820px){
  /* Ensure burger left and CTA right */
  .nav{ justify-content: space-between; }
  .nav-toggle{ order: 1; }
  .brand{ order: 2; }
  .actions{ order: 3; margin-left: auto; }
  .actions .btn.primary{ margin-left: auto; }
}

/* ===== MOBILE: hide header language buttons (keep only inside drawer) ===== */
@media (max-width: 820px){
  /* hide any BG/EN buttons in the header area */
  .topbar .lang{ display:none !important; }

  /* but keep language buttons visible inside the opened drawer */
  .nav-drawer .lang{ display:flex !important; }
}

/* ===== PACKAGES (mobile): hide top nav links (Начало/Дестинации/Блог/За нас) ===== */
@media (max-width: 820px){
  body.packages-page .navlinks{ display:none !important; }
  body.packages-page .nav-drawer{ display:none !important; }

  /* keep header clean: burger hidden already; align brand + CTA */
  body.packages-page .nav{
    align-items: center;
    justify-content: space-between;
  }

  body.packages-page .actions{
    width: auto;
    margin-left: auto;
  }
}

/* Language dropdown on mobile */
@media (max-width: 820px){
  .lang-current{
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .nav-drawer .lang-select{
    width: 100%;
  }

  .nav-drawer .lang-menu{
    position: static;
    margin-top: 8px;
    min-width: 100%;
  }
}

/* Hide language switcher only in header actions on inner pages,
   but keep it visible inside the mobile drawer */

body.page-blog .actions .lang,
body.page-blog .actions .lang-select,
body.destinations-page .actions .lang,
body.destinations-page .actions .lang-select,
body.about-page .actions .lang,
body.about-page .actions .lang-select,
body.contact-page .actions .lang,
body.contact-page .actions .lang-select,
body.packages-page .actions .lang,
body.packages-page .actions .lang-select,
body.article-page .actions .lang,
body.article-page .actions .lang-select{
  display: none !important;
}

/* =========================
   ARTICLE MEDIA
========================= */
.article-video-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin: 34px 0;
}

.article-image-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin: 30px 0;
}

.article-image-grid .article-image{
  width: 100%;
  height: 420px;
  margin: 0;
}

.article-video-grid .article-video{
  width: 100%;
  margin: 0;
}
.article-image{
  width: 100%;
  display: block;
  height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  margin: 34px 0;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.article-video{
  width: min(100%, 500px);
  margin: 34px auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(15,23,42,.10);
  background: transparent;
}

.article-video video,
.article-video iframe{
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  background: #000;
}

body.article-page .article-content{
  max-width: 820px;
}

body.article-page .article-content p{
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.95;
  color: rgba(15,23,42,.84);
}

body.article-page .article-content p:first-of-type{
  font-size: 21px;
  line-height: 2;
  color: rgba(15,23,42,.94);
}

body.article-page .article-content h3{
  margin: 30px 0 16px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.02;
  letter-spacing: -.05em;
  color: #0f172a;
}

body.article-page .article-content h4{
  margin: 24px 0 12px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #0f172a;
}

body.article-page .article-content strong{
  color: #0f172a;
  font-weight: 800;
}

body.article-page .card-media img{
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

body.article-page .card-media{
  height: auto;
  min-height: 0;
  padding: 0;
  border-bottom: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15,23,42,.18);
}

body.article-page .card-media::before,
body.article-page .card-media::after{
  display: none;
}

@media (max-width: 820px){
  .article-video-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0;
  }

  .article-image-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0;
  }

  .article-image-grid .article-image{
    height: 230px;
    margin: 0;
    border-radius: 14px;
  }

  .article-video-grid .article-video{
    width: 100%;
    margin: 0;
  }

  .article-image{
    height: 260px;
    border-radius: 16px;
    margin: 22px 0;
  }

  body.article-page .card-media img{
    height: 280px;
  }

  .article-video{
    width: min(100%, 340px);
    margin: 24px auto;
    border-radius: 18px;
    box-shadow: 0 14px 26px rgba(15,23,42,.10);
  }
  .article-video video,
  .article-video iframe{
    aspect-ratio: 9 / 16;
    height: auto;
  }

  body.article-page .article-content p{
    font-size: 16px;
    line-height: 1.82;
  }

  body.article-page .article-content p:first-of-type{
    font-size: 18px;
    line-height: 1.86;
  }

  body.article-page .article-content h3{
    font-size: 28px;
    line-height: 1.06;
  }

  body.article-page .article-content h4{
    font-size: 18px;
  }
}
/* =========================
   ARTICLE PAGE — dark fixed header
========================= */
body.article-page{
  background: #ffffff;
}

body.article-page::before,
body.article-page::after{
  display: none;
}

body.article-page .section,
body.article-page .footer,
body.article-page main,
body.article-page .page-title{
  background: #ffffff;
}

body.article-page .topbar{
  background: rgba(15, 23, 42, .96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  color: #fff;
}

body.article-page .topbar .brand-name{
  color: #fff;
}

body.article-page .topbar .brand-tag{
  color: rgba(255,255,255,.75);
}

body.article-page .topbar .navlinks a{
  color: rgba(255,255,255,.92);
}

body.article-page .topbar .navlinks a:hover{
  background: rgba(255,255,255,.08);
}

body.article-page .topbar .navlinks a.active{
  background: rgba(94,225,255,.14);
  border: 1px solid rgba(94,225,255,.22);
}

body.article-page .lang,
body.article-page .lang-select{
  display: none !important;
}

@media (max-width: 820px){
  body.article-page .topbar{
    background: rgba(15, 23, 42, .98);
  }
}
/* =========================
   PACKAGE DETAIL PAGE
========================= */
.package-detail{
  display: grid;
  gap: 18px;
}

.package-hero{
  overflow: hidden;
}

#packageHeroMedia{
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.package-meta-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mini-stat{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f8fafc;
  display: grid;
  gap: 6px;
}

.mini-stat strong{
  font-size: 18px;
  color: var(--text);
}

#packageContent{
  display: grid;
  gap: 14px;
}

#packageContent h3,
#packageContent h4{
  margin: 0;
}

#packageContent p,
#packageContent li{
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

#packageContent ul{
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

@media (max-width: 820px){
  #packageHeroMedia{
    min-height: 220px;
  }

  .package-meta-grid{
    grid-template-columns: 1fr;
  }

  .package-hero h1,
  #packageTitle,
  body.packages-page .package-hero h1,
  body.packages-page #packageTitle{
    font-size: 20px !important;
    line-height: 1.18 !important;
    margin: 8px 0 10px !important;
    letter-spacing: -0.02em;
    max-width: 100%;
    word-break: break-word;
  }

  .package-hero .lead,
  #packageLead{
    font-size: 15px;
    line-height: 1.65;
  }

  #packageContent p,
  #packageContent li{
    font-size: 15px;
    line-height: 1.7;
  }
}

#packageContentCard{
  overflow: visible;
  min-height: auto;
}

#packageContentCard .card-body{
  overflow: visible;
}

/* =========================
   RICH PACKAGE CONTENT
========================= */
.package-split{
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr);
  gap: 24px;
  align-items: start;
}

.package-main-copy{
  display: grid;
  gap: 16px;
}

.package-intro-grid{
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.package-intro-grid .article-image{
  margin: 0;
  height: 280px;
}

.package-side-card{
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 20px;
  padding: 18px;
  display: grid;
  gap: 16px;
  box-shadow: 0 12px 26px rgba(15,23,42,.06);
  position: sticky;
  top: 92px;
}

.package-side-card h4{
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

.check-list,
.muted-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li,
.muted-list li{
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.check-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(37,99,235,.95), rgba(124,58,237,.9));
}

.muted-list li::before{
  content: "–";
  position: absolute;
  left: 6px;
  top: -1px;
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
}

.package-gallery-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr);
  gap: 14px;
  align-items: stretch;
}

.package-gallery-main a,
.package-gallery-thumbs a{
  text-decoration: none;
  color: inherit;
}

.package-gallery-main .article-image{
  margin: 0;
  height: 420px;
}

.package-gallery-thumbs{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.package-gallery-thumbs .article-image{
  margin: 0;
  height: 130px;
}

/* 19+ overlay tile */
.package-gallery-thumbs .gallery-more{
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.package-gallery-thumbs .gallery-more img{
  width: 100%;
  height: 130px;
  object-fit: cover;
  filter: brightness(0.55);
}

.package-gallery-thumbs .gallery-more span{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .5px;
}

.package-gallery-layout .article-image{
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.package-gallery-layout a:hover .article-image{
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(15,23,42,.14);
}

.package-itinerary{
  display: grid;
  gap: 12px;
}

.itinerary-day{
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15,23,42,.05);
  overflow: hidden;
}

.itinerary-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
}

.itinerary-head strong{
  font-size: 16px;
  color: var(--text);
}

.itinerary-head span{
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.itinerary-day p{
  margin: 0;
  padding: 0 18px 18px;
  display: none;
}

.itinerary-day.open p{
  display: block;
}

.package-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(4,10,20,.88);
  z-index: 3000;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  padding: 24px;
}

.package-lightbox-stage{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

#packageLightboxImage{
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
}

.package-lightbox-close,
.package-lightbox-nav{
  appearance: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}

.package-lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
}

.package-lightbox-nav{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.package-lightbox-nav.prev{
  justify-self: start;
}

.package-lightbox-nav.next{
  justify-self: end;
}

body.lightbox-open{
  overflow: hidden;
}

@media (max-width: 980px){
  .package-split{
    grid-template-columns: 1fr;
  }

  .package-side-card{
    position: static;
    top: auto;
  }

  .package-gallery-layout{
    grid-template-columns: 1fr;
  }

  .package-gallery-main .article-image{
    height: 360px;
  }
}

@media (max-width: 820px){
  .package-intro-grid{
    grid-template-columns: 1fr;
  }

  .package-intro-grid .article-image{
    height: 230px;
  }

  .package-side-card{
    padding: 16px;
    border-radius: 18px;
  }

  .check-list li,
  .muted-list li{
    font-size: 14px;
  }

  .package-gallery-main .article-image{
    height: 250px;
  }

  .package-gallery-thumbs{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-gallery-thumbs .article-image{
    height: 100px;
  }

  .itinerary-head{
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 14px 15px;
  }

  .itinerary-head strong{
    font-size: 15px;
  }

  .itinerary-day p{
    padding: 0 15px 15px;
    font-size: 14px;
  }

  .package-lightbox{
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding: 14px 10px;
  }

  .package-lightbox-close{
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .package-lightbox-nav{
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  #packageLightboxImage{
    max-width: 92vw;
    max-height: 82vh;
    border-radius: 16px;
  }
}
/* =========================
   GALLERY PAGE
========================= */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-card{
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.gallery-card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

.gallery-card:hover img{
  transform: scale(1.05);
  filter: brightness(1.05);
}

@media (max-width: 1024px){
  .gallery-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px){
  .gallery-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-card img{
    height: 160px;
  }
}

@media (max-width: 420px){
  .gallery-grid{
    grid-template-columns: 1fr;
  }
}
.lightbox-thumbs{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  overflow-x: auto;
  max-width: calc(100% - 40px);
}

.lightbox-thumb{
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
}

.lightbox-thumb img{
  width: 70px;
  height: 50px;
  object-fit: cover;
  filter: brightness(0.5);
  transition: filter .2s ease, transform .2s ease;
}

.lightbox-thumb.is-active img{
  filter: brightness(1);
  transform: scale(1.05);
}

.lightbox-thumb:hover img{
  filter: brightness(0.8);
}

@media (max-width: 820px){
  .lightbox-thumb img{
    width: 56px;
    height: 42px;
  }

  .lightbox-thumbs{
    bottom: 10px;
    gap: 6px;
    padding: 6px 8px;
  }
}
/* =========================
   PACKAGE DETAIL — PREMIUM OVERRIDES
========================= */

/* Better hero */
.package-hero{
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15,23,42,.12);
}

#packageHeroMedia{
  position: relative;
  min-height: 420px;
}

#packageHeroMedia::after{
  content: none;
}

/* Title BELOW hero (not overlay) */
.package-hero h1,
#packageTitle{
  position: static;
  margin: 16px 0 8px;
  color: var(--text);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

/* Meta cards more premium */
.mini-stat{
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.mini-stat:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15,23,42,.10);
}

/* Main content card spacing */
#packageContent{
  gap: 18px;
}

#packageContent h3{
  font-size: 20px;
  letter-spacing: -0.01em;
}

/* Side card — premium */
.package-side-card{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

.package-side-card h4{
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .75;
}

/* Lists spacing */
.check-list li,
.muted-list li{
  font-size: 15px;
}

/* Gallery — more luxury */
.package-gallery-main .article-image{
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15,23,42,.12);
}

.package-gallery-thumbs .article-image{
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
}

/* Hover for thumbnails */
.package-gallery-thumbs a:hover .article-image{
  transform: scale(1.04);
}

/* Itinerary premium */
.itinerary-day{
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.itinerary-day:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15,23,42,.10);
}

.itinerary-head strong{
  font-size: 17px;
}

/* CTA button stronger */
.package-side-card .btn.primary{
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(37,99,235,.25);
}

/* Mobile refinements */
@media (max-width: 820px){
  #packageHeroMedia{
    min-height: 260px;
  }

  .package-hero h1,
  #packageTitle{
    font-size: 20px;
    bottom: 14px;
  }

  .package-side-card{
    border-radius: 18px;
    padding: 16px;
  }
}
/* =========================
   MAGAZINE ARTICLE FINISH
========================= */
body.page-blog .card .card-body h3,
body.article-page .article-content h3,
body.article-page .page-title h1,
body.page-blog .page-title h1{
  text-wrap: balance;
}

body.page-blog .grid .card:nth-child(odd) .card-media{
  height: 240px;
}

body.page-blog .grid .card:nth-child(3n) .card-media{
  height: 260px;
}

body.page-blog .grid .card:nth-child(odd){
  transform: translateY(0);
}

body.page-blog .grid .card:nth-child(even){
  transform: translateY(18px);
}

body.page-blog .grid .card:hover{
  transform: translateY(8px) scale(1.035);
  box-shadow: 0 30px 70px rgba(15,23,42,.18);
}

body.page-blog .grid .card:hover .card-media{
  transform: scale(1.06);
}

body.article-page .page-title{
  padding: 26px 0 14px;
}

body.article-page .page-title p{
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.75;
}

body.article-page .card{
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.article-page .card-body{
  padding: 22px 0 0;
}

body.article-page .meta{
  font-size: 13px;
}

@media (max-width: 820px){
  body.page-blog .grid .card:nth-child(even),
  body.page-blog .grid .card:nth-child(odd),
  body.page-blog .grid .card:hover{
    transform: none;
  }

  body.page-blog .grid .card:nth-child(odd) .card-media,
  body.page-blog .grid .card:nth-child(3n) .card-media{
    height: 180px;
  }

  body.page-blog .page-title h1,
  body.article-page .page-title h1{
    font-size: 34px;
    max-width: 100%;
  }
}

/* =========================
   NEWS PAGE — compact editorial cards
========================= */
body.page-news{
  background: transparent;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-news main{
  flex: 1 0 auto;
}

body.page-news .footer{
  margin-top: auto;
  color: rgba(255,255,255,.92);
}

body.page-news .section{
  background: transparent;
}

body.page-news main,
body.page-news .container,
body.page-news .page-title,
body.page-news .news-grid{
  position: relative;
  z-index: 1;
}

body.page-news::before{
  content:"";
  position: fixed;
  inset: 0;
  background-image: url("../img/blog.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -2;
}

body.page-news::after{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(6,10,20,.60);
  z-index: -1;
  pointer-events: none;
}

body.page-news .topbar{
  background: rgba(15, 23, 42, .92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  color: #fff;
}

body.page-news .topbar .brand-name{ color:#fff; }
body.page-news .topbar .brand-tag{ color: rgba(255,255,255,.75); }
body.page-news .topbar .navlinks a{ color: rgba(255,255,255,.92); }
body.page-news .topbar .navlinks a:hover{ background: rgba(255,255,255,.08); }
body.page-news .topbar .navlinks a.active{
  background: rgba(94,225,255,.14);
  border: 1px solid rgba(94,225,255,.22);
}

body.page-news .actions .lang,
body.page-news .actions .lang-select{
  display: none !important;
}

body.page-news .page-title{
  padding: 34px 0 14px;
}

body.page-news .page-title h1{
  color: rgba(255,255,255,.98);
  text-shadow: 0 12px 34px rgba(0,0,0,.52);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: .98;
  letter-spacing: -.05em;
  max-width: 12ch;
  margin: 0;
}

body.page-news .page-title p{
  margin: 10px 0 0;
  color: rgba(255,255,255,.86);
  text-shadow: 0 8px 22px rgba(0,0,0,.40);
  font-size: 15px;
  line-height: 1.75;
  max-width: 60ch;
}

.news-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.news-grid .card{
  grid-column: span 4;
  min-height: 220px;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(15,23,42,.14);
}

.news-grid .card:hover{
  transform: translateY(-5px) scale(1.018);
  box-shadow: 0 24px 54px rgba(15,23,42,.18);
}

.news-grid .card-media{
  height: 150px;
  padding: 14px;
}

.news-grid .card:hover .card-media{
  transform: scale(1.045);
}

.news-grid .badge{
  font-size: 10px;
  padding: 6px 9px;
}

.news-grid .price{
  font-size: 10px;
  padding: 6px 9px;
}

.news-grid .card-body{
  padding: 14px 14px 14px;
  gap: 8px;
}

.news-grid .card-body h3{
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.news-grid .card-body p{
  font-size: 13px;
  line-height: 1.65;
}

.news-grid .card-foot{
  padding: 0 14px 14px;
  gap: 10px;
}

.news-grid .meta{
  font-size: 11px;
}

.news-grid .link{
  font-size: 11px;
  padding: 9px 11px;
}

@media (max-width: 980px){
  .news-grid .card{
    grid-column: span 6;
  }
}

@media (max-width: 820px){
  body.page-news .page-title h1{
    font-size: 34px;
    max-width: 100%;
  }

  .news-grid .card{
    grid-column: span 6;
    min-height: 210px;
  }

  .news-grid .card-media{
    height: 138px;
  }
}

@media (max-width: 520px){
  .news-grid .card{
    grid-column: span 6;
  }

  .news-grid .card-media{
    height: 170px;
  }
}