/*
Theme Name: Liparis Oto Kiralama
Theme URI: https://liparisotokiralama.com/
Author: Liparis Oto Kiralama
Description: Cizre araç kiralama firması için SEO uyumlu, mobil uyumlu kurumsal tema. 6 sayfa (Anasayfa, Hakkımızda, Hizmetler, Araç Filosu, İletişim, Gizlilik Politikası), slider, WhatsApp ve Hemen Ara butonları, müşteri yorumları, HTTPS yönlendirmesi ve yapılandırılmış veri içerir.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: liparis
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* NOT: Bu dosyada hiçbir göreceli resim yolu (url(...)) yoktur.
   Arka plan görselleri functions.php içinde mutlak URL'li CSS değişkenleri
   (--bg-hero, --bg-cta, --bg-page) olarak tanımlanır. */

:root {
	--ink: #0b0d10;
	--ink-2: #14171c;
	--ink-3: #1d2128;
	--gold: #d4a64a;
	--gold-2: #f0cd7a;
	--paper: #f6f4ef;
	--white: #ffffff;
	--text: #22252b;
	--muted: #6b707a;
	--line: #e4e0d6;
	--wa: #1fa855;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(0, 0, 0, .12);
	--head: "Montserrat", system-ui, sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.muted { color: var(--muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); box-shadow: 0 6px 18px rgba(212, 166, 74, .35); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31, 168, 85, .3); }
.btn--ghost { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--ghost:hover { background: var(--gold); color: var(--ink); }
.btn--sm { padding: .6em 1.1em; font-size: .85rem; }
.eyebrow { display: inline-block; font-family: var(--head); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }

/* Üst bar */
.topbar { background: var(--ink); color: #c9ccd2; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-top: 8px; padding-bottom: 8px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; }
.topbar .ico { color: var(--gold); }
@media (max-width: 720px) { .topbar span { display: none; } .topbar__inner { justify-content: center; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(11, 13, 16, .96); border-bottom: 1px solid rgba(212, 166, 74, .2); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__mark { font-family: var(--head); font-weight: 800; font-size: 1.7rem; letter-spacing: .04em; background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sub { font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: #fff; margin-top: 4px; }
.brand__logo { max-height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.nav__list a { display: block; padding: .5rem .8rem; color: #e8e9ec; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--gold); transition: transform .2s, top .2s, opacity .2s; content: ""; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.nav { position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; justify-content: center; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .25s; }
	.nav.is-open { opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; align-items: center; gap: .5rem; }
	.nav__list a { font-size: 1.3rem; }
}

/* Hero slider */
.hero { position: relative; background: var(--ink) var(--bg-hero) center / cover no-repeat; }
.slider { position: relative; height: clamp(520px, 82vh, 760px); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.06); transition: transform 7s ease; }
.slide.is-active .slide__img { transform: scale(1); }
.slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 16, .92) 0%, rgba(11, 13, 16, .65) 45%, rgba(11, 13, 16, .2) 100%), linear-gradient(0deg, rgba(11, 13, 16, .6), transparent 40%); }
.slide__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 1200px; }
.slide__content h1, .slide__title { color: #fff; max-width: 640px; font-family: var(--head); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; }
.slide__text { color: #d9dbe0; font-size: 1.1rem; max-width: 520px; }
.slide__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.slider__dots { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.slider__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold); background: transparent; cursor: pointer; padding: 0; }
.slider__dot.is-active { background: var(--gold); width: 32px; border-radius: 6px; }
@media (max-width: 720px) { .slide__overlay { background: linear-gradient(0deg, rgba(11, 13, 16, .95) 10%, rgba(11, 13, 16, .55) 60%, rgba(11, 13, 16, .3)); } .slide__content { justify-content: flex-end; padding-bottom: 80px; } }

/* Özellik şeridi */
.features { background: var(--ink-2); border-top: 1px solid rgba(212, 166, 74, .25); border-bottom: 1px solid rgba(212, 166, 74, .25); }
.features__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.feature { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.6rem .5rem; color: #fff; font-weight: 600; font-size: .95rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, .06); }
.feature:last-child { border-right: 0; }
.feature .ico { width: 34px; height: 34px; color: var(--gold); }
@media (max-width: 820px) { .features__grid { grid-template-columns: repeat(3, 1fr); } .feature:nth-child(3) { border-right: 0; } }
@media (max-width: 480px) { .features__grid { grid-template-columns: repeat(2, 1fr); } .feature { border-right: 0; } .feature:last-child { grid-column: 1 / -1; } }

/* Bölümler */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--light { background: var(--paper); }
.section--dark { background: var(--ink); color: #c9ccd2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); }
.section--dark .section-head p { color: #a3a7b0; }

/* Hizmet kartları */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.service { display: block; padding: 2rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.service .ico { width: 44px; height: 44px; color: var(--gold); margin-bottom: 1rem; }
.service p { color: var(--muted); margin: 0; font-size: .95rem; }
.section--dark .service { background: var(--ink-3); border-color: rgba(255, 255, 255, .08); }
.section--dark .service p { color: #a3a7b0; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* Araç kartları */
.fleet { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
@media (max-width: 1100px) { .fleet { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .fleet { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fleet { grid-template-columns: 1fr; } }
.car { background: var(--ink-3); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.section:not(.section--dark) .car { background: var(--white); border-color: var(--line); box-shadow: 0 4px 14px rgba(0, 0, 0, .05); }
.car:hover { transform: translateY(-4px); border-color: var(--gold); }
.car__img { aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.car__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .5s; }
.car:hover .car__img img { transform: scale(1.05); }
.car__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.car__type { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.car h3 { margin: .3rem 0 .4rem; }
.section:not(.section--dark) .car h3 { color: var(--ink); }
.car p { font-size: .9rem; color: #a3a7b0; }
.section:not(.section--dark) .car p { color: var(--muted); }
.car__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; }

/* İki sütun */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.rounded--tall { max-height: 620px; object-fit: cover; object-position: 50% 55%; }
.split__text p { color: inherit; }
.section:not(.section--dark) .split__text p { color: #4a4e57; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1rem 0 1.5rem; }
.steps li { counter-increment: s; position: relative; padding: .2rem 0 1rem 3.2rem; color: #4a4e57; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-family: var(--head); font-weight: 800; }
.steps strong { color: var(--ink); }

/* Yorumlar */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); position: relative; }
.review::before { content: "\201C"; position: absolute; right: 18px; top: 0; font-family: Georgia, serif; font-size: 4.5rem; color: rgba(212, 166, 74, .25); line-height: 1; }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; }
.review blockquote { margin: .6rem 0 1rem; color: #4a4e57; }
.review blockquote p:last-child { margin: 0; }
.review figcaption { font-family: var(--head); font-weight: 700; color: var(--ink); }
.reviews-empty { text-align: center; color: var(--muted); max-width: 520px; margin: 0 auto; }

/* CTA bandı (CSS arka plan görseli - functions.php'den mutlak URL) */
.cta-band { position: relative; background: var(--ink) var(--bg-cta) center 60% / cover no-repeat; color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 16, .95), rgba(11, 13, 16, .75)); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #c9ccd2; margin: 0; }
.cta-band__btns { display: flex; gap: .8rem; flex-wrap: wrap; }

/* İç sayfa başlığı (CSS arka plan görseli) */
.page-hero { position: relative; padding: clamp(60px, 10vw, 110px) 0 clamp(48px, 7vw, 80px); background: var(--ink) var(--bg-page) center 55% / cover no-repeat; color: #fff; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 16, .94), rgba(11, 13, 16, .7)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #c9ccd2; font-size: 1.1rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: #a3a7b0; margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold); text-decoration: none; }

/* Hizmet satırları */
.service-rows { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; scroll-margin-top: 100px; }
.service-row--rev .service-row__media { order: 2; }
.service-row__media img { aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); }
.service-row__text > .ico { width: 46px; height: 46px; color: var(--gold); margin-bottom: .8rem; }
.service-row__text p { color: #4a4e57; }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.checks li { position: relative; padding-left: 1.8rem; margin-bottom: .45rem; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } .service-row--rev .service-row__media { order: 0; } }

/* İletişim */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: start; }
.contact__cards { display: grid; gap: 1rem; }
.contact-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; padding: 1.3rem 1.4rem; background: var(--paper); border-radius: var(--radius); text-decoration: none; border: 1px solid var(--line); transition: border-color .2s; }
a.contact-card:hover { border-color: var(--gold); }
.contact-card .ico { grid-row: span 2; width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--ink); color: var(--gold); }
.contact-card__label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong, .contact-card address { font-family: var(--head); color: var(--ink); font-weight: 700; }
.wa-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.wa-form h2 { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0; }
.form-grid label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; }
.form-grid__full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { font: inherit; padding: .75rem .9rem; border: 1px solid #d6d2c7; border-radius: 10px; background: #fff; width: 100%; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(212, 166, 74, .2); }
.form-note { font-size: .82rem; color: var(--muted); }
.form-note a { color: var(--ink); }
.form-error { color: #b42318; font-weight: 600; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* İçerik alanı (editör) */
.entry { font-size: 1.02rem; }
.entry--narrow { max-width: 820px; }
.entry h2 { font-size: 1.4rem; margin-top: 1.8em; }
.entry a { color: #8a6418; }
.entry img { border-radius: var(--radius); }
.post-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--ink); color: #a3a7b0; padding-top: 64px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; padding-bottom: 48px; }
.brand--footer { margin-bottom: 1rem; }
.footer__title { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: .5rem; }
.footer__links a, .footer__contact a { text-decoration: none; }
.footer__links a:hover, .footer__contact a:hover { color: var(--gold); }
.footer__contact { display: grid; gap: .8rem; }
.footer__contact > * { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact .ico { color: var(--gold); margin-top: .25em; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 100px; font-size: .85rem; text-align: center; }
.footer__bottom a { color: var(--gold); text-decoration: none; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Sabit WhatsApp / Ara butonları */
.float-btns { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.float-btn { display: flex; align-items: center; gap: .5rem; padding: 12px 18px 12px 14px; border-radius: 999px; color: #fff; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: .9rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); transition: transform .15s; }
.float-btn:hover { transform: scale(1.05); }
.float-btn .ico { width: 24px; height: 24px; }
.float-btn--wa { background: var(--wa); }
.float-btn--call { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); }
.float-btn--wa::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (max-width: 720px) {
	.float-btns { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; }
	.float-btn { flex: 1; justify-content: center; border-radius: 0; padding: 15px; box-shadow: none; }
	.float-btn:hover { transform: none; }
}

/* WordPress çekirdek sınıfları */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }
