/* ==========================================================================
   Tema 1 — "Riviera" (örnek: antalya-airporttaxis.com, modernleştirilmiş)
   Antalya esintisi: Akdeniz turkuazı, portakal turuncusu, güneş sarısı, kum rengi zeminler. Giriş alanında denize inen
   Beydağları, gulet, palmiyeler ve dalgalar (_RivieraScene); footer'ın üstünde Kaleiçi silüeti (_KaleiciSkyline).
   Başlık Outfit, gövde Nunito Sans. Yalnızca tasarım değişkenleri + yerleşim (üst şerit, menü, giriş alanı, bölüm süsleri,
   footer). İşlevsel bileşenler (arama formu, bloklar, rezervasyon / ödeme) base.css'te ve tüm temalarda ortak — önce o yüklenir.
   Yeni tema: ThemeRegistry'de BaseTheme = "tema1" ile kaydedin, kendi theme.css'inde :root değişkenlerini verin.
   ========================================================================== */

:root {
    --c-primary: #146c78;
    --c-primary-dark: #0d4a53;
    --c-primary-soft: #e3f4f3;
    --c-accent: #f96332;           /* portakal */
    --c-accent-dark: #d9481a;
    --c-accent-soft: #fff3ea;
    --c-accent-tint: #ffece0;
    --c-sun: #f8d448;
    --c-sun-soft: #fff6d6;
    --c-sun-ink: #8f6a00;
    --c-sea: #2bb3b1;              /* sığ deniz turkuazı */
    --c-sand: #fbf4e8;
    --c-deep: #0b3d44;
    --c-ok: #2e9e5b;
    --c-warn: #c98a00;
    --c-danger: #d64545;
    --c-ink: #17262d;
    --c-text: #33444c;
    --c-muted: #6a7b83;
    --c-line: #e3eaee;
    --c-bg: #ffffff;
    --c-soft: #f4f7fa;

    --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-heading: "Outfit", "Nunito Sans", system-ui, sans-serif;
    --heading-weight: 700;
    --heading-spacing: -.015em;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 26px;
    --shadow-sm: 0 1px 2px rgba(20, 108, 120, .06), 0 2px 8px rgba(20, 108, 120, .06);
    --shadow: 0 10px 30px rgba(13, 74, 83, .11);
    --shadow-lg: 0 22px 56px rgba(13, 74, 83, .2);
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);

    --pagehead-bg:
        radial-gradient(circle at 88% 0%, rgba(255, 196, 140, .22), transparent 32%),
        linear-gradient(120deg, #0b3d44 0%, #146c78 55%, #1e8f97 100%);
    --band-bg:
        radial-gradient(circle at 91% 24%, #ffe27a 0 34px, #ffbd55 46px, rgba(255, 170, 90, .22) 48px, transparent 120px),
        radial-gradient(ellipse at 8% 110%, rgba(43, 179, 177, .45), transparent 45%),
        linear-gradient(120deg, #0b3d44 0%, #0f5964 50%, #178089 100%);
    --contact-bg:
        radial-gradient(circle at 90% 8%, rgba(255, 196, 140, .22), transparent 28%),
        linear-gradient(150deg, #0b3d44 0%, #146c78 60%, #1e8f97 100%);

    /* Dalga ve güneş motifleri (maske / arka plan olarak tekrar kullanılır). */
    --rv-wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12C40 0 80 0 120 12s80 12 120 0v12H0z'/%3E%3C/svg%3E");
    --rv-squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12'%3E%3Cpath d='M2 6c5-5 10-5 15 0s10 5 15 0 10-5 15 0 10 5 15 0' fill='none' stroke='%23f96332' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

.btn--accent { background: linear-gradient(135deg, #ff8a3d 0%, var(--c-accent) 100%); }
.btn--accent:hover { background: var(--c-accent-dark); }
::selection { background: var(--c-sun-soft); color: var(--c-ink); }

/* ── Üst şerit ve menü ─────────────────────────────────────────────────── */

.topbar { background: linear-gradient(90deg, var(--c-deep) 0%, var(--c-primary-dark) 55%, var(--c-primary) 100%); color: #d9ecee; font-size: .85rem; position: relative; }
.topbar::after { /* deniz → güneş → portakal şeridi */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--c-sea) 0%, var(--c-sun) 50%, var(--c-accent) 100%);
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; padding-bottom: 3px; }
.topbar a { color: #d9ecee; display: inline-flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: #fff; }
.topbar .ms { color: var(--c-sun); }
.topbar__contact, .topbar__prefs { display: flex; align-items: center; gap: 1.25rem; }

.dropdown { position: relative; }
.dropdown summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .5rem; border-radius: 8px; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary:hover { background: rgba(255, 255, 255, .08); }
.dropdown__menu {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 160px;
    background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: .35rem;
}
.dropdown__menu a { display: block; color: var(--c-text); padding: .5rem .75rem; border-radius: 8px; }
.dropdown__menu a:hover, .dropdown__menu a.is-active { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.dropdown__menu .ms { color: inherit; }

.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--c-line); }
.navbar__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--c-ink); font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.brand:hover { color: var(--c-ink); }
.brand__logo { max-height: 46px; width: auto; }
.brand__mark { position: relative; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff;
               background: linear-gradient(150deg, var(--c-sea) 0%, var(--c-primary) 55%, var(--c-primary-dark) 100%); box-shadow: 0 6px 16px rgba(20, 108, 120, .28); }
.brand__mark::after { /* küçük güneş */
    content: ""; position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff3b0, var(--c-sun) 55%, #ff9f45); box-shadow: 0 0 0 2px #fff;
}
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__mark { background: rgba(255, 255, 255, .12); box-shadow: none; }
.brand--light .brand__mark::after { box-shadow: 0 0 0 2px var(--c-deep); }

.navbar__nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.navbar__nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.navbar__nav ul a { position: relative; display: block; padding: .5rem .8rem; border-radius: 999px; color: var(--c-ink); font-weight: 700; }
.navbar__nav ul a:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.navbar__nav ul a.is-active { color: var(--c-primary-dark); background: var(--c-primary-soft); }
.navbar__nav ul a.is-active::after {
    content: ""; position: absolute; left: 50%; bottom: -2px; width: 22px; height: 5px; transform: translateX(-50%);
    background: center / contain no-repeat var(--rv-squiggle);
}
.navbar__actions { display: flex; gap: .5rem; }
.navbar__toggle { display: none; margin-left: auto; background: var(--c-primary-soft); border: 0; border-radius: 12px; width: 44px; height: 44px; cursor: pointer; color: var(--c-primary-dark); }

/* ── Hero: Antalya sahnesi ve arama ────────────────────────────────────── */

.hero {
    --rv-land-h: clamp(150px, 20vw, 290px);
    --rv-wave-h: clamp(40px, 6vw, 90px);
    position: relative; color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg {
    position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center;
    background-color: var(--c-primary-dark);
    background-image:
        radial-gradient(circle at 86% 20%, rgba(255, 196, 140, .2), transparent 30%),
        linear-gradient(180deg, #08343b 0%, #0d4a53 30%, #146c78 58%, #2a8f96 82%, #5fb3ad 100%);
}
.hero--image .hero__bg::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(11, 61, 68, .9) 0%, rgba(13, 74, 83, .6) 55%, rgba(13, 74, 83, .25) 100%); }
.hero__inner { position: relative; padding: clamp(44px, 7vw, 88px) var(--gutter) calc(var(--rv-wave-h) + clamp(36px, 5vw, 64px)); }
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1rem; padding: .35rem .9rem .35rem .55rem; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px);
    color: #fff; font-weight: 700; font-size: .88rem;
}
.hero__eyebrow .ms { color: var(--c-sun); font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.06; max-width: 16ch; margin-bottom: .35em; text-shadow: 0 2px 24px rgba(4, 36, 42, .35); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .92); max-width: 60ch; margin-bottom: 1.75rem; }
.hero .search { box-shadow: 0 26px 60px rgba(4, 36, 42, .38); }
.hero--page { --rv-land-h: clamp(110px, 14vw, 200px); }
.hero--page .hero__inner { padding-top: clamp(40px, 6vw, 72px); padding-bottom: calc(var(--rv-wave-h) + clamp(40px, 6vw, 80px)); }
.hero--page .hero__title { font-size: clamp(1.9rem, 3.8vw, 2.8rem); max-width: 22ch; }
.hero--page .hero__lead { margin-bottom: 1.25rem; }
.hero--page .hero__lead:last-child { margin-bottom: 0; }

/* Sahne katmanları (görsel yoksa); görsel varsa yalnızca dalgalar. */
.rv-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rv-scene svg { position: absolute; display: block; }
.rv-sun {
    position: absolute; right: 9%; top: 13%; width: clamp(84px, 10vw, 150px); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 42% 40%, #fffbe0 0%, #ffe680 32%, #ffc24d 62%, #ff8f3d 100%);
    box-shadow: 0 0 60px 18px rgba(255, 200, 90, .35), 0 0 160px 70px rgba(255, 150, 70, .16);
    animation: rv-glow 7s ease-in-out infinite;
}
.rv-gulls { right: 25%; top: 10%; width: clamp(54px, 6vw, 90px); fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rv-land { left: 0; right: 0; bottom: 0; width: 100%; height: var(--rv-land-h); }
.rv-land__far { fill: #3f8790; opacity: .85; }
.rv-land__near { fill: #1f5f69; }
.rv-land__sea { fill: url(#rv-sea); }
.rv-land__glint { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2.4; stroke-linecap: round; }
.rv-boat { left: 60%; bottom: calc(var(--rv-wave-h) * .42); width: clamp(64px, 7vw, 112px); animation: rv-bob 6s ease-in-out infinite; transform-origin: 50% 80%; }
.rv-boat__sail { fill: #fffaf0; }
.rv-boat__mast { fill: #3b2a1e; }
.rv-boat__flag { fill: var(--c-accent); }
.rv-boat__cabin { fill: #e8d3b5; }
.rv-boat__hull { fill: #7a4a2a; }
.rv-boat__stripe { fill: #fffaf0; }
.rv-boat__shadow { fill: rgba(4, 36, 42, .25); }
.rv-palms { right: -2%; bottom: calc(var(--rv-wave-h) * .35); height: 80%; max-height: 520px; width: auto; aspect-ratio: 1; fill: #06323a; opacity: .92; }
.rv-waves { left: 0; right: 0; bottom: -1px; width: 100%; height: var(--rv-wave-h); }
.rv-waves__back { fill: rgba(255, 255, 255, .22); animation: rv-swell 9s ease-in-out infinite; }
.rv-waves__mid { fill: rgba(255, 255, 255, .45); animation: rv-swell 7s ease-in-out infinite reverse; }
.rv-waves__front { fill: var(--c-bg); }
.hero--page .rv-boat { display: none; }
.hero--page .rv-sun { top: 18%; width: clamp(70px, 8vw, 120px); }
.hero--page .rv-palms { height: 92%; }
.hero--image :is(.rv-sun, .rv-gulls, .rv-land, .rv-boat, .rv-palms) { display: none; }

@keyframes rv-glow { 0%, 100% { box-shadow: 0 0 60px 18px rgba(255, 200, 90, .35), 0 0 160px 70px rgba(255, 150, 70, .16); }
                     50% { box-shadow: 0 0 74px 24px rgba(255, 200, 90, .42), 0 0 190px 84px rgba(255, 150, 70, .2); } }
@keyframes rv-bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-5px) rotate(1.5deg); } }
@keyframes rv-swell { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.trust { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trust__item {
    display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius);
    background: rgba(6, 46, 53, .5); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px) saturate(1.2);
}
.trust__item strong { display: block; color: #fff; }
/* Açıklama metni — ikonun içindeki .ms span'ını etkilememesi için yalnızca son sütun. */
.trust__item > span:last-child > span { color: rgba(255, 255, 255, .84); font-size: .92rem; }
.trust__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #5a3a00;
               background: radial-gradient(circle at 35% 35%, #fff3b0, var(--c-sun) 60%, #ffb347); box-shadow: 0 0 0 4px rgba(248, 212, 72, .18); }

/* ── Bölümler: dalga başlık süsü, kum zemin, deniz ve güneş vurguları ─── */

.section--soft { background: linear-gradient(180deg, #effaf8 0%, var(--c-sand) 100%); }
.section__head .section__title::after {
    content: ""; display: block; width: 58px; height: 12px; margin: .7rem auto 0;
    background: center / contain no-repeat var(--rv-squiggle);
}
.section__title { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.feature { position: relative; overflow: hidden; border-color: #e6eef0; }
.feature::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; transform: scaleX(0); transform-origin: left;
    background: linear-gradient(90deg, var(--c-sea), var(--c-sun), var(--c-accent)); transition: transform .35s ease;
}
.feature:hover::before { transform: scaleX(1); }
.feature__icon { border-radius: 50% 50% 50% 14px; background: linear-gradient(150deg, #e3f7f5, var(--c-primary-soft)); color: var(--c-primary); transition: transform .3s; }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.05); }
.feature h3 { font-size: 1.2rem; }

.destination { border-radius: 16px; }
.destination__icon { border-radius: 50%; background: linear-gradient(150deg, #e3f7f5, var(--c-primary-soft)); }

.decor-card {
    position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(248, 212, 72, .55), transparent 22%),
        linear-gradient(180deg, #dff4f3 0%, #e9f6f1 55%, var(--c-sand) 100%);
}
.decor-card::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; opacity: .55;
    background: var(--c-sea); -webkit-mask: var(--rv-wave-mask) 0 0 / 120px 100% repeat-x; mask: var(--rv-wave-mask) 0 0 / 120px 100% repeat-x;
}
.decor-card .ms { position: relative; z-index: 1; }

.band { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 84px) 0; }
.band::before, .band::after { /* sayfa zemininden banda dalga geçişi */
    content: ""; position: absolute; left: 0; right: 0; height: 18px; background: var(--c-bg);
    -webkit-mask: var(--rv-wave-mask) 0 0 / 240px 100% repeat-x; mask: var(--rv-wave-mask) 0 0 / 240px 100% repeat-x;
}
.band::before { top: -1px; transform: scaleY(-1); }
.band::after { bottom: -1px; }
.counter { position: relative; }
.counter + .counter::before { content: ""; position: absolute; left: -.75rem; top: 15%; bottom: 15%; width: 1px; background: rgba(255, 255, 255, .16); }
.counter__value { font-family: var(--font-heading); font-weight: 800; text-shadow: 0 0 28px rgba(248, 212, 72, .35); }

.card { transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); }
.card__media { position: relative; background: linear-gradient(180deg, #d6f0ef 0%, #e8f5f0 60%, var(--c-sand) 100%); }
.card__media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; opacity: .5; pointer-events: none;
    background: var(--c-sea); -webkit-mask: var(--rv-wave-mask) 0 0 / 100px 100% repeat-x; mask: var(--rv-wave-mask) 0 0 / 100px 100% repeat-x;
}
.card__title { font-family: var(--font-heading); font-weight: 600; }

.faq__item { border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow-sm), inset 4px 0 0 var(--c-accent); }
.faq__item summary .ms { color: var(--c-accent); }

.prose blockquote { background: var(--c-sand); }
.split__media img { box-shadow: var(--shadow), 12px 12px 0 var(--c-primary-soft); }

/* ── Rezervasyon akışı ─────────────────────────────────────────────────── */

.pagehead { position: relative; padding-bottom: calc(2rem + 14px); }
.pagehead--compact { padding-bottom: calc(1.75rem + 14px); }
.pagehead::after { /* sayfa zeminine dalga geçişi */
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; background: var(--c-bg); pointer-events: none;
    -webkit-mask: var(--rv-wave-mask) 0 0 / 200px 100% repeat-x; mask: var(--rv-wave-mask) 0 0 / 200px 100% repeat-x;
}
.offer { background: var(--c-sand); }

/* ── Footer: Kaleiçi silüeti, derin deniz ──────────────────────────────── */

.footer {
    --rv-skyline-h: clamp(64px, 9vw, 130px);
    color: #b9d3d6; margin-top: clamp(24px, 4vw, 48px);
    background: linear-gradient(180deg, var(--c-deep) 0%, #072c31 100%) 0 100% / 100% calc(100% - var(--rv-skyline-h) + 1px) no-repeat;
}
.rv-skyline { display: block; width: 100%; height: var(--rv-skyline-h); }
.rv-skyline__city { fill: var(--c-deep); }
.rv-skyline__sun { opacity: .9; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 2.75rem var(--gutter) 2.5rem; }
.footer h3 { color: #fff; font-family: var(--font); font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer h3::after { content: ""; display: block; width: 28px; height: 3px; margin-top: .5rem; border-radius: 3px; background: linear-gradient(90deg, var(--c-sun), var(--c-accent)); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { color: #b9d3d6; }
.footer a:hover { color: var(--c-sun); }
.footer__brand p { margin-top: 1rem; max-width: 34ch; }
.footer__contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer__contact .ms { color: var(--c-sun); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: .88rem; }
.footer__secure { display: inline-flex; gap: .35rem; align-items: center; }

/* ── Duyarlı ───────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .rv-palms { height: 62%; right: -8%; opacity: .7; }
    .rv-boat { left: 70%; }
}

@media (max-width: 900px) {
    .navbar__toggle { display: grid; place-items: center; }
    .navbar__nav {
        position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 1rem;
        background: #fff; padding: 1rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
    }
    .navbar__nav.is-open { display: flex; }
    .navbar__nav ul { flex-direction: column; }
    .navbar__nav ul a.is-active::after { left: 1.6rem; }
    .navbar__actions { flex-direction: column; }
    .trust { grid-template-columns: 1fr; }
    .counter + .counter::before { display: none; }
}

@media (max-width: 640px) {
    .footer__grid { grid-template-columns: 1fr; }
    .rv-sun { right: -22px; top: 18px; width: 64px; }
    .rv-scene :is(.rv-gulls, .rv-palms) { display: none; }
    .rv-boat { left: auto; right: 6%; width: 58px; }
}

@media (prefers-reduced-motion: reduce) {
    .rv-sun, .rv-boat, .rv-waves__back, .rv-waves__mid { animation: none; }
}
