/* =============================================================
   Bosporus Cruise — Markention Custom Theme
   Design tokens: Figma "Bosporuscruise" (LSdmdyz0TkRyCscZVqzpEh)
   Golden-ratio type scale · no frameworks · performance-first
   ============================================================= */

:root {
  /* Colors — Figma variables */
  --bg: #ffffff;
  --bg2: #f8f9fc;
  --bg3: #eff1f7;
  --border: #e2e5ef;
  --text: #10172a;
  --text2: #4e566e;
  --text3: #9aa1b8;
  --accent: #3f5e9a;
  --accent-soft: #eef2f8;
  --success: #10b981;
  --success-soft: #d1fae5;

  /* Type scale — golden ratio base (Figma: 12/14/16/18/32/48) */
  --fs-label: 11px;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-body: 16px;
  --fs-h4: 18px;
  --fs-h3: 24px;
  --fs-h2: 32px;
  --fs-h1: 48px;

  /* Spacing — φ-progression */
  --sp-1: 8px;
  --sp-2: 13px;
  --sp-3: 21px;
  --sp-4: 34px;
  --sp-5: 55px;
  --sp-6: 89px;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.10);
  --container: 1280px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }

/* ---------- Typography ---------- */
h1, .h1 { font-size: clamp(32px, 4.5vw, var(--fs-h1)); font-weight: 700; line-height: 1.1; }
h2, .h2 { font-size: clamp(24px, 3vw, var(--fs-h2)); font-weight: 700; line-height: 1.15; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
h4, .h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; }
.text-muted { color: var(--text2); }
.text-faint { color: var(--text3); }
.label { font-size: var(--fs-label); font-weight: 600; line-height: 1.3; letter-spacing: 1.2px; text-transform: uppercase; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 40px; }
.section { padding-block: var(--sp-6) 0; }
.section-head { margin-bottom: var(--sp-3); }
.section-head p { color: var(--text2); margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-size: var(--fs-md); font-weight: 600; line-height: 1.5;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #354f82; }
.btn-secondary { background: var(--accent-soft); color: var(--accent); }
.btn-secondary:hover { background: #e2e9f4; }
.btn-ghost { border: 1px solid var(--border); color: var(--text2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 32px; font-size: var(--fs-body); }
.btn-block { width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  background: var(--bg3); color: var(--text2);
}
.badge-seller { background: var(--accent); color: #fff; }
.badge-cancel { background: var(--success-soft); color: var(--success); text-transform: none; letter-spacing: 0; font-size: 10.5px; font-weight: 600; }
.badge-sellout { background: #fee2e2; color: #ef4444; }
.badge-new { background: var(--accent-soft); color: var(--accent); border-radius: 99px; font-size: 9.5px; letter-spacing: .3px; padding: 2px 7px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.header-bar {
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 14px 28px;
}
.header-logo img { height: 42px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 32px; margin-inline: auto; }
.header-nav > li > a {
  font-size: var(--fs-md); font-weight: 500; color: var(--text2);
  display: inline-flex; align-items: center; gap: 5px; padding-block: 10px;
}
.header-nav > li > a:hover { color: var(--accent); }
.header-nav .caret { font-size: 10px; color: var(--text3); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 9px 10px 9px 12px; font-size: 12.5px; font-weight: 600; color: var(--text2);
}
.lang-switch .caret { font-size: 10px; color: var(--text3); }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; }
.cart-link:hover { background: var(--bg2); }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 16px; height: 16px; border-radius: var(--radius);
  background: var(--accent); color: #fff;
  font-size: 9px; font-weight: 700; line-height: 16px; text-align: center;
}

/* Mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: none;
  padding: 32px 40px;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { display: flex; gap: 64px; }
.mega-inner { max-width: var(--container); margin-inline: auto; display: flex; gap: 64px; width: 100%; }
.mega-col ul { display: flex; flex-direction: column; gap: 10px; }
.mega-col a { font-size: 13.5px; font-weight: 500; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.mega-col a:hover { color: var(--accent); }
.mega-deals .label { color: var(--accent); margin-bottom: 14px; display: block; }
.deal-card { width: 240px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: block; }
.deal-card .deal-img { height: 130px; background: var(--accent-soft); position: relative; }
.deal-card .deal-img img { width: 100%; height: 100%; object-fit: cover; }
.deal-card .badge { position: absolute; top: 12px; left: 12px; }
.deal-card .deal-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.deal-card .deal-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.deal-card .deal-price { font-size: var(--fs-md); font-weight: 700; color: var(--accent); }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 9px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 2px auto; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 340px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(rgba(16,23,42,.45), rgba(16,23,42,.45)), var(--bg3) center/cover no-repeat;
  color: #fff;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-content { max-width: 950px; padding-inline: 40px; }
.hero-content h1 { margin-bottom: 16px; }
.hero-content p { font-size: var(--fs-body); line-height: 1.6; opacity: .95; }
.hero-content p a { text-decoration: underline; }

/* ---------- Destination row ---------- */
.dest-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.dest-card .dest-img {
  height: 152px; border-radius: var(--radius-lg);
  background: var(--bg3); overflow: hidden;
}
.dest-card .dest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.dest-card:hover .dest-img img { transform: scale(1.04); }
.dest-card .dest-title { font-size: var(--fs-body); font-weight: 700; margin-top: 10px; }
.dest-card .dest-sub { font-size: var(--fs-xs); color: var(--text3); margin-top: 2px; }

/* ---------- Tour cards ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tour-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.tour-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tour-media { position: relative; height: 200px; background: var(--bg3); }
.tour-media img { width: 100%; height: 100%; object-fit: cover; }
.tour-media .badge { position: absolute; top: 12px; left: 12px; }
.tour-fav {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center;
}
.tour-fav svg { width: 16px; height: 16px; }
.tour-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tour-cat { font-size: var(--fs-xs); font-weight: 500; color: var(--text3); }
.tour-title { font-size: var(--fs-h4); font-weight: 700; line-height: 1.3; }
.tour-meta { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); }
.tour-meta .stars { color: #f59e0b; letter-spacing: 1px; font-size: 11px; }
.tour-meta .rating { font-weight: 600; }
.tour-meta .count, .tour-meta .dot { color: var(--text3); }
.tour-meta .duration { font-weight: 500; color: var(--text2); }
.tour-divider { height: 1px; background: var(--border); margin-top: auto; }
.tour-price-row { display: flex; align-items: baseline; justify-content: space-between; }
.tour-price { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.3px; }
.tour-price small { font-size: 11.5px; font-weight: 400; color: var(--text2); }
.tour-from { font-size: 10.5px; color: var(--text3); }

/* ---------- Video section ---------- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: var(--sp-4); }
.video-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg3); aspect-ratio: 16/9; }
.video-item img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.9); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.video-play::after { content: ""; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--accent); margin-left: 4px; }

/* ---------- Why us ---------- */
.why-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item svg { width: 28px; height: 28px; color: var(--accent); }
.why-item h4 { margin-top: 10px; font-size: var(--fs-body); font-weight: 700; }
.why-item p { font-size: var(--fs-md); color: var(--text2); margin-top: 6px; line-height: 1.55; }

/* ---------- Trust cards ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.trust-top { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.trust-icon svg { width: 22px; height: 22px; }
.trust-name { font-weight: 600; font-size: var(--fs-md); }
.trust-score { font-size: var(--fs-h2); font-weight: 700; margin-top: 16px; }
.trust-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; margin-top: 6px; }
.trust-reviews { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text3); margin-top: 16px; }

/* ---------- Newsletter ---------- */
.newsletter { margin-top: var(--sp-6); }
.newsletter-banner {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.newsletter-img { background: var(--bg3); min-height: 300px; }
.newsletter-img img { width: 100%; height: 100%; object-fit: cover; }
.newsletter-text { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.newsletter-text h2 { margin-bottom: 14px; }
.newsletter-text p { color: var(--text2); font-size: var(--fs-body); }
.newsletter-form { display: flex; gap: 12px; margin-top: 24px; }
.newsletter-form input {
  flex: 1; max-width: 300px; padding: 12px 18px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: var(--fs-body);
}
.newsletter-form input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* ---------- Landmarks / link columns ---------- */
.link-columns { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.link-columns .label { font-size: 11px; color: var(--text3); letter-spacing: .8px; }
.link-columns ul { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.link-columns a { font-size: var(--fs-md); color: var(--text2); }
.link-columns a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg2); margin-top: 0; }
.footer-cols {
  max-width: var(--container); margin-inline: auto;
  display: flex; gap: 48px; padding: 56px 40px 48px;
}
.footer-brand { max-width: 600px; flex: 1; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { font-size: var(--fs-sm); color: var(--text2); line-height: 1.65; margin-top: 16px; }
.footer-col h4 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.footer-col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: var(--fs-sm); color: var(--text2); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { background: var(--bg3); }
.footer-bottom-inner {
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 40px; font-size: var(--fs-xs); color: var(--text3); flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .dest-row { grid-template-columns: repeat(3, 1fr); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .why-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .trust-grid { grid-template-columns: 1fr; }
  .link-columns { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .header-nav { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; margin-left: auto; }
  .header-bar { gap: 12px; }
  .site-header.nav-open .header-nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 16px 28px;
  }
  .site-header.nav-open .header-nav > li { width: 100%; }
  .site-header.nav-open .header-nav > li > a { display: flex; width: 100%; padding-block: 12px; }
  .mega { position: static; box-shadow: none; border: none; padding: 0 0 12px 16px; }
  .mega-inner { flex-direction: column; gap: 24px; }
  .mega-deals { display: none; }
  .newsletter-banner { grid-template-columns: 1fr; }
  .newsletter-img { min-height: 200px; }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .section { padding-block: var(--sp-5) 0; }
  .dest-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tour-grid { grid-template-columns: 1fr; }
  .why-row { grid-template-columns: 1fr; }
  .link-columns { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { flex-direction: column; gap: 32px; }
  .hero { min-height: 320px; }
  .newsletter-text { padding: 28px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { max-width: none; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}


/* ===== Get Offer menu button ===== */
.header-nav .menu-get-offer > a.btn-get-offer{
  display:inline-flex;align-items:center;white-space:nowrap;
  padding:9px 20px;border-radius:999px;
  background:rgba(63,94,154,.12);
  border:1px solid rgba(63,94,154,.35);
  color:var(--accent);font-weight:600;
  backdrop-filter:blur(4px);
  transition:background .25s ease,color .25s ease,border-color .25s ease;
}
.header-nav .menu-get-offer > a.btn-get-offer:hover{
  background:rgba(63,94,154,.85);color:#fff;border-color:rgba(63,94,154,.85);
}


/* ===== Markention footer credit ===== */
.footer-credit{display:inline-flex;align-items:center;}
.footer-credit img{height:26px;width:auto;display:block;opacity:.8;transition:opacity .25s ease;}
.footer-credit:hover img{opacity:1;}


/* ===== WhatsApp floating button (ring + pulse) ===== */
.wa-float{position:fixed;right:22px;bottom:22px;width:90px;height:90px;z-index:9999;pointer-events:none;}
.wa-float-fill{position:absolute;top:12px;left:12px;width:65px;height:65px;border-radius:50%;
  background:rgba(37,211,102,.55);box-shadow:0 0 0 0 #25d366;transform-origin:50% 50%;
  animation:wa-zoom 1.3s ease infinite;}
.wa-float-circle{position:absolute;top:25px;left:25px;width:40px;height:40px;border-radius:50%;
  background:#25d366;display:flex;align-items:center;justify-content:center;pointer-events:auto;
  box-shadow:0 4px 12px rgba(0,0,0,.25);animation:wa-ring 1s ease-in-out infinite;}
.wa-float-circle a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;}
@keyframes wa-zoom{
  0%{transform:scale(.9)}
  70%{transform:scale(1);box-shadow:0 0 0 15px rgba(37,211,102,0)}
  100%{transform:scale(.9);box-shadow:0 0 0 0 rgba(37,211,102,0)}
}
@keyframes wa-ring{
  0%{transform:rotate(0) scale(1) skew(1deg)}
  10%{transform:rotate(-25deg) scale(1) skew(1deg)}
  20%{transform:rotate(25deg) scale(1) skew(1deg)}
  30%{transform:rotate(-25deg) scale(1) skew(1deg)}
  40%{transform:rotate(25deg) scale(1) skew(1deg)}
  50%,100%{transform:rotate(0) scale(1) skew(1deg)}
}
@media (prefers-reduced-motion:reduce){.wa-float-fill,.wa-float-circle{animation:none;}}
@media (max-width:640px){.wa-float{right:10px;bottom:14px;}}


/* ===== footer-4col: dar brand metni + 4 link kolonu ===== */
.footer-brand{max-width:430px;flex:1 1 auto;}
.footer-cols{gap:44px;}
.footer-col{flex:0 0 auto;min-width:0;}


/* ===== shore-excursion sayfalari: prose icindeki CTA butonu ===== */
.prose .menu-cta{color:#fff !important;text-decoration:none;}
.prose .menu-cta:hover{color:#fff;}
.prose .split-media img{border-radius:14px;width:100%;height:auto;}


/* Hero: 300px sabit yukseklik + yat gorunumu icin asagi kadraj */
.hero { min-height: 300px; max-height: 300px; background-position: center 78%; }


/* Trust & Why columns equal height */
@media(min-width:901px){
.wt-merge>section:first-of-type{align-self:stretch;display:flex;flex-direction:column}
.wt-merge>section:first-of-type .container{flex:1;display:flex;flex-direction:column}
.wt-merge>section:first-of-type .trust-grid{flex:1;align-items:stretch}
.wt-merge .trust-card{height:100%;display:flex;flex-direction:column;justify-content:space-between}
}

/* ==========================================================================
   Mobil header duzeni — hamburger kenarda, logo ortada (30.08.2026)
   ========================================================================== */
@media (max-width: 1024px){
  .header-bar{position:relative;justify-content:space-between;padding-left:16px;padding-right:16px;}
  .nav-toggle{order:-1;margin-left:0;margin-right:0;flex:0 0 auto;}
  .header-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;max-width:calc(100% - 210px);}
  .header-logo img{height:38px;width:auto;max-width:100%;object-fit:contain;}
  .header-actions{margin-left:0;flex:0 0 auto;}
}
@media (max-width: 400px){
  .header-bar{padding-left:12px;padding-right:12px;}
  .header-logo{max-width:calc(100% - 195px);}
  .header-logo img{height:32px;}
}

/* Ceviri yoksa dil secici gizlensin (30.08.2026) */
.lang-switch-wrap:not(:has(.lang-menu li)){display:none;}
