/* =====================================================
   STY WATERPARKS — 2026 YENİ TASARIM
   Design System
===================================================== */
:root {
  --c-primary: #0a4a8f;      /* logo koyu mavi */
  --c-primary-dark: #06325f;
  --c-accent: #17b6d4;       /* logo turkuaz */
  --c-accent-light: #6fe0f2;
  --c-sun: #ffb800;          /* güneş/aksan sarı */
  --c-dark: #0b1f33;
  --c-gray-900: #10243a;
  --c-gray-700: #3d5266;
  --c-gray-500: #7488a0;
  --c-gray-200: #e7edf3;
  --c-gray-100: #f4f8fb;
  --c-white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(10,74,143,.12);
  --shadow-card: 0 6px 20px rgba(10,74,143,.10);
  --ff-head: 'Poppins', 'Segoe UI', sans-serif;
  --ff-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--c-gray-900);
  margin: 0;
  background: var(--c-white);
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: var(--ff-head); font-weight: 700; color: var(--c-dark); margin: 0 0 16px; }
a { text-decoration: none; color: inherit; transition: .25s ease; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-gray-100); color: var(--c-primary);
  font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 100px; margin-bottom: 18px;
}
.section-head { max-width: 680px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 100px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(10,74,143,.22); }
.btn-outline { background: transparent; border: 2px solid var(--c-gray-200); color: var(--c-dark); }
.btn-outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-white { background: #fff; color: var(--c-primary); }

/* ===== HEADER (BEYAZ) ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 18px rgba(10,40,80,.07);
}
.site-header .nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px;
}
.site-header .logo img { height: 54px; width: auto; }
.main-menu { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.main-menu > li { position: relative; }
.main-menu > li > a {
  font-weight: 600; font-size: 15px; color: var(--c-gray-900);
  padding: 34px 2px; display: inline-block;
}
.main-menu > li > a:hover, .main-menu > li.active > a { color: var(--c-primary); }
.main-menu .dropdown { position: absolute; top: 100%; left: -20px; min-width: 240px;
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; list-style: none; margin: 0; }
.main-menu li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.main-menu .dropdown li a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: 14px; color: var(--c-gray-700); }
.main-menu .dropdown li a:hover { background: var(--c-gray-100); color: var(--c-primary); }
.submenu-toggle {
  display: none; position: absolute; top: 6px; right: 4px;
  width: 34px; height: 34px; border: none; background: transparent;
  color: var(--c-gray-500); font-size: 13px; cursor: pointer;
  align-items: center; justify-content: center;
}
.submenu-toggle i { transition: transform .25s ease; }
.main-menu li.open .submenu-toggle i { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--c-primary); font-size: 15px; }
.header-phone .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--c-gray-100); display: flex; align-items: center; justify-content: center; color: var(--c-primary); }

/* ===== HAMBURGER (mobil menü butonu) ===== */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: none; border-radius: 12px;
  background: var(--c-gray-100);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background .25s ease;
  flex-shrink: 0;
}
.burger:hover { background: var(--c-gray-200); }
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--c-dark);
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s ease, width .3s ease;
}
.burger span:nth-child(3) { width: 14px; align-self: flex-end; margin-right: 3px; }
body.menu-open .burger { background: var(--c-primary); }
body.menu-open .burger span { background: #fff; width: 20px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobil menü açıkken arka planı karart */
.menu-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 998;
  background: rgba(6,25,45,.45);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
body.menu-open .menu-backdrop { opacity: 1; visibility: visible; display: block; }
body.menu-open { overflow: hidden; }

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; height: 640px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,25,45,.55) 0%, rgba(6,25,45,.35) 45%, rgba(6,25,45,.75) 100%);
}
.hero-slide-inner {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 1240px; margin: 0 auto; padding: 0 20px;
  color: #fff;
}
.hero-slide-inner .eyebrow {
  display: inline-flex; width: fit-content; background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35);
  padding: 8px 18px; border-radius: 100px; font-weight: 600; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 22px;
}
/* SEO: yalnızca ilk slayt H1; diğerleri aynı görünümde H2 */
.hero-slide-inner h2.hero-title { color: #fff; font-size: 27px; line-height: 1.12; max-width: 720px; margin-bottom: 18px; }
.hero-slide-inner h1 { color: #fff; font-size: 27px; line-height: 1.12; max-width: 720px; margin-bottom: 18px; }
.hero-slide-inner p { color: rgba(255,255,255,.88); font-size: 16px; max-width: 560px; margin-bottom: 32px; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dots span { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); cursor: pointer; transition: .25s; }
.hero-dots span.active { background: #fff; }
.hero-arrows { position: absolute; z-index: 5; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 24px; transform: translateY(-50%); pointer-events: none; }
.hero-arrows button { pointer-events: all; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12); color: #fff; font-size: 18px; cursor: pointer; }
.hero-arrows button:hover { background: #fff; color: var(--c-primary); }

/* ===== HIGHLIGHT STRIP ===== */
.highlight-strip { background: var(--c-primary); }
.highlight-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; padding: 30px 20px; }
.highlight-item { display: flex; align-items: center; gap: 14px; color: #fff; min-width: 220px; padding: 10px 0; }
.highlight-item .num { font-family: var(--ff-head); font-size: 30px; font-weight: 700; color: var(--c-sun); }
.highlight-item small { display: block; opacity: .85; font-size: 13px; }

/* ===== CARDS ===== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); transition: .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.card:hover .thumb img { transform: scale(1.07); }
.card .body { padding: 22px; }
.card .body h3 { font-size: 18px; margin-bottom: 8px; }
.card .body p { color: var(--c-gray-700); font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.card .tag { display: inline-block; background: var(--c-gray-100); color: var(--c-primary); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 100px; margin-bottom: 12px; }

/* ===== SERVICE STEPS ===== */
.step-card { background: var(--c-gray-100); border-radius: var(--radius-lg); padding: 30px; }
.step-card .step-num { font-family: var(--ff-head); font-size: 40px; font-weight: 700; color: var(--c-accent); opacity: .5; margin-bottom: 8px; }

/* ===== CAROUSEL (Projeler) ===== */
.carousel-wrap { position: relative; }
.carousel-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 6px 26px; margin: 0 -6px; scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .card { flex: 0 0 auto; width: 340px; scroll-snap-align: start; }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrows button {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--c-gray-200);
  background: #fff; color: var(--c-primary); font-size: 16px; cursor: pointer; transition: .25s;
}
.carousel-arrows button:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .carousel-track .card { width: 78vw; }
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary) 55%, var(--c-accent));
  border-radius: var(--radius-lg); color: #fff; padding: 60px; margin: 0 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }

/* ===== FOOTER ===== */
.site-footer { background: var(--c-dark); color: rgba(255,255,255,.75); }
.footer-top { padding: 70px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 30px; }
.footer-top h4 { color: #fff; font-size: 15px; margin-bottom: 20px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top ul li { margin-bottom: 10px; font-size: 14px; }
.footer-top ul li a:hover { color: var(--c-accent-light); }
.footer-logo img { height: 46px; margin-bottom: 16px; }
.footer-catalog {
  display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); padding: 16px; margin-top: 10px;
}
.footer-catalog .yr { display: inline-block; background: var(--c-sun); color: var(--c-dark); font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--c-accent); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 999;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.45); font-size: 30px;
  animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ===== PAGE HERO (İç sayfalar) ===== */
.page-hero {
  background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary) 60%, var(--c-accent));
  color: #fff; padding: 70px 0 60px; position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; opacity: .85; }
.breadcrumb a { color: #fff; opacity: .8; }
.breadcrumb a:hover { opacity: 1; }

@media (max-width: 991px) {
  .header-phone span, .header-cta .btn-primary { display: none; }
  .burger { display: flex; }

  .main-menu {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 999;
    width: min(340px, 84vw);
    background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 100px 26px 40px;
    overflow-y: auto;
    box-shadow: 18px 0 40px rgba(10,40,80,.18);
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  body.menu-open .main-menu { transform: translateX(0); }

  .main-menu > li { width: 100%; }
  .main-menu > li.has-dropdown { position: relative; }
  .main-menu > li > a { width: 100%; padding: 15px 4px; border-bottom: 1px solid var(--c-gray-200); }
  .submenu-toggle { display: flex; }

  .main-menu .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: var(--c-gray-100);
    padding: 8px; margin: 4px 0 10px; display: none;
  }
  .main-menu li.open .dropdown { display: block; }
  .main-menu li.open > a { color: var(--c-primary); }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-slide-inner h1, .hero-slide-inner h2.hero-title { font-size: 34px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-band { padding: 34px; }
  .footer-top { grid-template-columns: 1fr; }
}

