/* agva.org – ortak stil */
:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --surface-2: #eef4f1;
  --text: #1d2b2a;
  --muted: #5d6b69;
  --line: #dde3df;
  --primary: #0f6b5c;      /* Göksu yeşili */
  --primary-2: #13917c;
  --accent: #e8913a;       /* gün batımı turuncusu */
  --sand: #f2e3c6;
  --sea: #1f7fa8;
  --wa: #25d366;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(20, 50, 45, .08);
  --shadow-lg: 0 18px 50px rgba(20, 50, 45, .16);
  --max: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1716; --surface: #16211f; --surface-2: #1b2a27; --text: #e6efec;
    --muted: #9fb0ac; --line: #263532; --sand: #3a3222;
    --shadow: 0 6px 24px rgba(0,0,0,.35); --shadow-lg: 0 18px 50px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --bg: #0f1716; --surface: #16211f; --surface-2: #1b2a27; --text: #e6efec;
  --muted: #9fb0ac; --line: #263532; --sand: #3a3222;
  --shadow: 0 6px 24px rgba(0,0,0,.35); --shadow-lg: 0 18px 50px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--primary-2); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--primary);
}
.badge.orange { background: rgba(232,145,58,.15); color: #b8661c; }
.demo-note {
  background: var(--accent); color: #fff; text-align: center; font-size: .82rem; padding: 6px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.35rem; color: var(--text); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--sea)); color: #fff; font-size: 1.1rem;
}
.logo small { color: var(--accent); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 10px; color: var(--text); font-weight: 500; font-size: .95rem;
}
.nav-links a:hover, .nav-links a.active { background: var(--surface-2); color: var(--primary); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--text); cursor: pointer; }
.theme-btn { background: var(--surface-2); border: 0; width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font-size: 1rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 11px 20px; border-radius: 12px; font-weight: 600; font-size: .95rem; font-family: inherit;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); }
.btn-ghost { background: var(--surface-2); color: var(--primary); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 10px; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(232,145,58,.55), transparent 60%),
    linear-gradient(160deg, #0b4f45 0%, #0f6b5c 45%, #1f7fa8 100%);
  padding: 80px 0 140px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 760px; }
.hero p.lead { font-size: 1.15rem; max-width: 620px; opacity: .92; }
.hero .waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; }
.hero .sun {
  position: absolute; right: 8%; top: 60px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, #ffd28a, #e8913a 70%); opacity: .85; filter: blur(.5px);
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(14px); } }

.search-box {
  margin-top: 32px; background: var(--surface); color: var(--text); border-radius: 18px; padding: 10px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px; box-shadow: var(--shadow-lg); max-width: 880px;
}
.search-box label { display: flex; flex-direction: column; padding: 6px 12px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.search-box input, .search-box select {
  border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--text); padding: 2px 0; outline: none;
}
.search-box label + label { border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .search-box { grid-template-columns: 1fr; }
  .search-box label + label { border-left: 0; border-top: 1px solid var(--line); }
  .hero .sun { width: 90px; height: 90px; }
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -90px; position: relative; z-index: 2; }
.quick {
  background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  color: var(--text); transition: transform .2s, box-shadow .2s; border: 1px solid var(--line);
}
.quick:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quick .ico { font-size: 1.8rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); margin-bottom: 12px; }
.quick h3 { font-size: 1.1rem; margin-bottom: 4px; }
.quick p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quick-grid { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; color: var(--text);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.thumb { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; font-size: 3rem; color: rgba(255,255,255,.9); }
.thumb .type { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--primary); }
.thumb .fav { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); border: 0; border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1.15rem; margin: 0; }
.meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.price b { font-size: 1.25rem; color: var(--primary); }
.price small { color: var(--muted); }
.rating { color: #c9861d; font-weight: 600; }

/* Gradient yer tutucular (gerçek fotoğraflar gelene kadar) */
.g1 { background: linear-gradient(135deg, #0f6b5c, #4fb39b); }
.g2 { background: linear-gradient(135deg, #1f7fa8, #7cc7e0); }
.g3 { background: linear-gradient(135deg, #b8661c, #f0b36b); }
.g4 { background: linear-gradient(135deg, #3d5a40, #9cc28a); }
.g5 { background: linear-gradient(135deg, #5b4a8a, #b49ae0); }
.g6 { background: linear-gradient(135deg, #8a3d4a, #e59aa6); }

/* ---------- Announcements ---------- */
.ann-list { display: grid; gap: 12px; }
.ann {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--surface);
  padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line);
}
.ann .ico { font-size: 1.4rem; }
.ann h4 { margin: 0; font-family: inherit; font-size: 1rem; }
.ann p { margin: 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 600px) { .ann { grid-template-columns: auto 1fr; } .ann .btn { grid-column: 1 / -1; } }

/* ---------- Split / info ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel h3 { display: flex; align-items: center; gap: 10px; }

.duty {
  display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(220,53,69,.1), rgba(220,53,69,.02)); border: 1px solid rgba(220,53,69,.25);
}
.duty .cross { width: 54px; height: 54px; border-radius: 14px; background: #d93545; color: #fff; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; flex-shrink: 0; }
.duty h4 { margin: 0; font-family: inherit; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .95rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--surface-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
tr.next td { background: rgba(15,107,92,.08); font-weight: 600; }

/* ---------- Page header ---------- */
.page-hero {
  background: linear-gradient(160deg, #0b4f45, #0f6b5c 55%, #1f7fa8); color: #fff; padding: 48px 0 56px;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 6px; }
.page-hero p { margin: 0; opacity: .9; max-width: 640px; }
.crumbs { font-size: .85rem; opacity: .8; margin-bottom: 10px; }
.crumbs a { color: #fff; }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 8px 16px; border-radius: 999px;
  cursor: pointer; font: inherit; font-size: .9rem; font-weight: 500;
}
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filters select, .filters input {
  border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 12px; font: inherit; font-size: .9rem;
}
.filters .spacer { flex: 1; }

/* ---------- Detail page ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 380px; border-radius: 20px; overflow: hidden; }
.gallery > div { display: grid; place-items: center; font-size: 2.6rem; color: rgba(255,255,255,.9); }
.gallery > div:first-child { grid-row: span 2; font-size: 4rem; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; height: 300px; } .gallery > div:first-child { grid-column: span 2; grid-row: auto; } .gallery > div:nth-child(n+4) { display: none; } }

.detail { display: grid; grid-template-columns: 1fr 340px; gap: 28px; margin-top: 28px; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 90px; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; list-style: none; padding: 0; }
.features li { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }

.room {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 18px; padding: 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; align-items: center;
}
.room + .room { margin-top: 12px; }
.room .rimg { height: 110px; border-radius: 12px; display: grid; place-items: center; font-size: 2rem; color: #fff; }
.room h4 { margin: 0 0 4px; font-family: inherit; font-size: 1.05rem; }
.room .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.room .rprice { text-align: right; }
.room .rprice b { font-size: 1.4rem; color: var(--primary); display: block; }
.season { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .room { grid-template-columns: 1fr; } .room .rimg { height: 140px; } .room .rprice { text-align: left; } }

.season-tabs { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.season-tabs button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font: inherit; font-size: .88rem; cursor: pointer; color: var(--muted); font-weight: 600; }
.season-tabs button.active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow); }

.notice {
  background: rgba(232,145,58,.12); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 10px; margin: 12px 0;
}

/* Beach cards */
.beach { display: grid; grid-template-columns: 260px 1fr; background: var(--surface); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.beach + .beach { margin-top: 18px; }
.beach .bimg { display: grid; place-items: center; font-size: 3.4rem; color: #fff; min-height: 200px; }
.beach .bbody { padding: 22px; }
.flags { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
@media (max-width: 720px) { .beach { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0b2e2a; color: #cfe0dc; padding: 48px 0 24px; margin-top: 40px; }
.site-footer a { color: #cfe0dc; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; font-family: inherit; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; font-size: .85rem; opacity: .7; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* WhatsApp floating */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 28px rgba(37,211,102,.45);
}

/* Reveal animation */
/* İçerik her zaman görünür; sadece yüklenirken hafifçe yukarı kayar */
.reveal { animation: rise .6s ease-out both; }
@keyframes rise { from { opacity: .4; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } .hero .sun { animation: none; } }

.empty { text-align: center; padding: 40px; color: var(--muted); }
