/*
Theme Name: Caztur Premium
Theme URI: https://caztur.com
Author: Caztur
Author URI: https://caztur.com
Description: Caztur için beyaz zeminli, premium turizm acentesi WordPress teması. Turlar, oteller, programlar ve rezervasyon talepleri için özelleştirilebilir içerik yapısı içerir.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: caztur
*/

:root {
    --ink: #101722;
    --muted: #687383;
    --line: #e8ebef;
    --paper: #ffffff;
    --soft: #f6f8fa;
    --red: #e31b2b;
    --red-dark: #b71120;
    --navy: #172233;
    --gold: #c99b4b;
    --radius: 18px;
    --shadow: 0 16px 45px rgba(17, 27, 41, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-main { overflow: hidden; }
.screen-reader-text {
    clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden;
    position: absolute !important; white-space: nowrap; width: 1px;
}

/* Top utility and header */
.topbar { background: var(--navy); color: #dce2e9; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: #fff; }
.topbar-meta { display: flex; align-items: center; gap: 18px; }
.topbar-meta span { opacity: .82; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16,23,34,.08); position: relative; z-index: 20; }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; min-width: 150px; }
.custom-logo { width: auto; max-width: 176px; max-height: 64px; object-fit: contain; }
.brand-mark { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.04em; font-size: 22px; }
.brand-mark i { width: 28px; height: 28px; background: var(--red); display: inline-block; transform: skew(-12deg); border-radius: 4px; }
.brand-mark strong { color: var(--ink); }
.brand-mark em { color: var(--red); font-style: normal; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.primary-nav a { font-size: 14px; color: #3e4957; font-weight: 600; }
.primary-nav a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-link { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: inline-grid; place-items: center; color: var(--navy); font-weight: 700; font-size: 14px; }
.mobile-toggle { display: none; background: transparent; border: 0; font-size: 28px; color: var(--navy); cursor: pointer; }

/* Shared UI */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 48px; padding: 0 21px; border-radius: 999px; border: 1px solid transparent;
    background: var(--red); color: #fff; font-size: 14px; font-weight: 750; transition: .2s ease;
}
.button:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.button-outline { color: var(--ink); background: transparent; border-color: #d8dee6; }
.button-outline:hover { color: var(--red); background: #fff; border-color: var(--red); }
.button-dark { background: var(--navy); }
.button-dark:hover { background: #26364d; }
.eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 800; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.045em; }
.section-heading p { color: var(--muted); max-width: 440px; margin: 0; }
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-media { aspect-ratio: 16/10; background: linear-gradient(135deg, #e9eef3, #c4d0db); overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 24px; }
.card-body h3 { margin: 7px 0 10px; font-size: 22px; letter-spacing: -.03em; }
.card-body p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.card-link { color: var(--red); font-weight: 750; font-size: 14px; }
.pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #fff1f2; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .03em; }

/* Announcement */
.announcement { background: var(--red); color: #fff; overflow: hidden; font-size: 13px; }
.announcement-track { display: flex; gap: 70px; width: max-content; padding: 10px 0; animation: announcement 28s linear infinite; }
.announcement-item { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.announcement-item::before { content: "✦"; color: #ffc9cd; }
@keyframes announcement { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; background:
    linear-gradient(90deg, rgba(8,16,28,.87) 0%, rgba(8,16,28,.66) 44%, rgba(8,16,28,.05) 100%),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2200&q=85") center/cover; color: #fff; }
.hero-content { max-width: 670px; padding: 92px 0; }
.hero .eyebrow { color: #ffb5bb; }
.hero h1 { margin: 16px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 7vw, 82px); line-height: .98; letter-spacing: -.055em; }
.hero p { max-width: 510px; color: #e5ebf1; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .button-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .button-outline:hover { color: var(--red); background: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); }
.hero-stat strong { display: block; font-size: 25px; color: #fff; }
.hero-stat span { color: #cbd3dd; font-size: 12px; }

/* Forms and reservations */
.booking-panel { position: relative; z-index: 2; margin-top: -55px; }
.booking-inner { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 20px 55px rgba(10,23,40,.14); border: 1px solid rgba(16,23,34,.06); }
.booking-inner h3 { margin: 0 0 18px; font-size: 17px; }
.booking-form { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.field label { display: block; color: var(--muted); font-size: 11px; font-weight: 750; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .05em; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #dfe4e9; background: #fff; border-radius: 10px; padding: 12px 13px; color: var(--ink); outline: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,27,43,.1); }
.reservation-box { display: grid; grid-template-columns: .86fr 1.14fr; gap: 40px; align-items: start; }
.reservation-intro { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px; position: sticky; top: 25px; }
.reservation-intro h2 { font-family: Georgia, "Times New Roman", serif; font-size: 40px; line-height: 1.08; margin: 10px 0 14px; }
.reservation-intro p { color: #cbd3dc; }
.reservation-points { list-style: none; margin: 28px 0 0; padding: 0; }
.reservation-points li { border-top: 1px solid rgba(255,255,255,.12); padding: 12px 0; color: #e6ebf1; }
.reservation-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1/-1; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 15px; }

/* Feature strip */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: #fff; padding: 28px 24px; }
.feature-icon { color: var(--red); font-size: 24px; }
.feature h3 { margin: 12px 0 5px; font-size: 17px; }
.feature p { color: var(--muted); font-size: 13px; margin: 0; }

/* Content and footer */
.page-hero { background: var(--soft); padding: 72px 0; }
.page-hero h1 { margin: 12px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 6vw, 64px); letter-spacing: -.05em; line-height: 1; }
.entry-content { max-width: 800px; margin: 0 auto; padding: 72px 0; }
.entry-content h2, .entry-content h3 { font-family: Georgia, "Times New Roman", serif; }
.entry-content img { border-radius: var(--radius); }
.single-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 42px; padding: 72px 0; }
.single-cover { border-radius: var(--radius); overflow: hidden; min-height: 360px; background: #e7edf1; }
.single-cover img { width: 100%; height: 100%; object-fit: cover; }
.single-main h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 62px); line-height: 1; margin: 14px 0 18px; letter-spacing: -.05em; }
.single-main .lead { color: var(--muted); font-size: 18px; }
.details-list { list-style: none; padding: 0; margin: 30px 0; border-top: 1px solid var(--line); }
.details-list li { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 13px 0; font-size: 14px; }
.details-list span { color: var(--muted); }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; height: fit-content; }
.side-card h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-size: 27px; }
.price { font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.price small { color: var(--muted); font-size: 12px; font-weight: 500; }
.site-footer { background: var(--navy); color: #d7dee6; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 45px; padding-bottom: 52px; }
.footer-brand .brand-mark strong { color: #fff; }
.footer-brand p { color: #aebac8; max-width: 320px; font-size: 14px; }
.site-footer h3 { color: #fff; font-size: 14px; margin: 0 0 17px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 8px 0; font-size: 14px; color: #aebac8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #9ba8b7; font-size: 12px; }
.floating-actions { position: fixed; z-index: 30; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.floating-action { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.floating-action:hover { color: #fff; transform: translateY(-2px); }
.floating-whatsapp { background: #18b86a; }
.floating-phone { background: var(--red); }
.notice { padding: 15px 18px; border-radius: 10px; background: #edf8f2; color: #167245; margin-bottom: 18px; }

@media (max-width: 980px) {
    .header-inner { gap: 18px; }
    .primary-nav ul { gap: 15px; }
    .booking-form { grid-template-columns: repeat(2, 1fr); }
    .booking-form .button { grid-column: span 2; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .container { width: min(100% - 32px, 620px); }
    .topbar-inner { justify-content: center; }
    .topbar-meta span:first-child { display: none; }
    .topbar-meta { gap: 12px; }
    .header-inner { min-height: 72px; }
    .custom-logo { max-width: 142px; max-height: 50px; }
    .mobile-toggle { display: block; }
    .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { display: block; padding: 12px 16px 18px; }
    .primary-nav li { border-bottom: 1px solid var(--line); }
    .primary-nav li:last-child { border: 0; }
    .primary-nav a { display: block; padding: 12px 0; }
    .header-actions .icon-link { display: none; }
    .header-actions .button { min-height: 40px; padding-inline: 15px; font-size: 12px; }
    .hero { min-height: 610px; background-position: 62% center; }
    .hero-content { padding: 75px 0 110px; }
    .hero h1 { font-size: 52px; }
    .hero p { font-size: 16px; }
    .section { padding: 66px 0; }
    .section-heading { display: block; }
    .section-heading p { margin-top: 15px; }
    .cards-grid { grid-template-columns: 1fr; }
    .feature-strip { grid-template-columns: repeat(2, 1fr); }
    .feature { padding: 20px 16px; }
    .booking-panel { margin-top: -35px; }
    .booking-inner { padding: 18px; }
    .booking-form, .form-grid, .reservation-box, .single-layout { grid-template-columns: 1fr; }
    .booking-form .button { grid-column: auto; }
    .reservation-intro { position: static; padding: 28px; }
    .reservation-intro h2 { font-size: 34px; }
    .entry-content, .single-layout { padding: 48px 0; }
    .single-cover { min-height: 240px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { display: block; }
    .footer-bottom span { display: block; margin-top: 8px; }
}