/*
Theme Name: ZRC Tour
Theme URI: https://zrctour.com
Author: ZRC Tour
Description: ZRC Tour araç kiralama firması için özel tema. Hizmetler ve Araçlar yönetim panelinden düzenlenir; iletişim bilgileri Görünüm > Özelleştir > İletişim Bilgileri altındadır.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: zrctour
*/

:root {
	--orange: #fe7a02;
	--orange-600: #e86d00;
	--orange-50: #fff4ea;
	--ink: #111111;
	--ink-2: #1c1c1e;
	--text: #2b2b2e;
	--muted: #6b6b72;
	--line: #e7e5e2;
	--bg: #ffffff;
	--bg-alt: #f7f5f2;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 8px 24px rgba(17, 17, 17, .06);
	--shadow-lg: 0 2px 4px rgba(17, 17, 17, .05), 0 20px 48px rgba(17, 17, 17, .12);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-600); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.zrc-ico { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent;
	font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-600); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); background: #f2f2f2; }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

.eyebrow {
	display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
	text-transform: uppercase; color: var(--orange-600); margin-bottom: .75rem;
}

/* Top bar */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .85rem; }
.topbar__inner { display: flex; gap: 24px; align-items: center; justify-content: flex-end; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; }
.topbar__item .zrc-ico { color: var(--orange); }
.topbar__phone { color: #fff; font-weight: 700; }
.topbar__inner > :first-child { margin-right: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { height: 58px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.15rem; font-weight: 800; }
.brand__text small { font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav .menu a { display: block; padding: .55em .85em; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a { color: var(--orange-600); background: var(--orange-50); }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 20%, #2a2a2d 0%, var(--ink) 55%); color: #fff; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__globe { position: absolute; right: -140px; top: 50%; width: 640px; max-width: none; transform: translateY(-50%); opacity: .08; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .eyebrow { color: var(--orange); }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .78); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.hero__points li { display: inline-flex; align-items: center; gap: .5em; }
.hero__points .zrc-ico { color: var(--orange); }
.hero__form { background: #fff; color: var(--text); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.hero__form h2 { font-size: 1.35rem; margin-bottom: 16px; }

/* Booking form */
.booking__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 12px; }
.booking label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.booking input,
.booking select {
	width: 100%; font: inherit; font-size: .98rem; text-transform: none; letter-spacing: 0; color: var(--ink);
	padding: .72em .85em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
	transition: border-color .2s, box-shadow .2s; min-height: 46px;
}
.booking input:focus,
.booking select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(254, 122, 2, .15); }
.booking button { margin-top: 6px; }
.booking__note { margin: 10px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 48px 0; }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.05rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.service {
	position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 28px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s;
	scroll-margin-top: 110px;
}
.service:hover { border-color: rgba(254, 122, 2, .45); box-shadow: var(--shadow); transform: translateY(-2px); }
.service__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); margin-bottom: 18px; }
.service__icon .zrc-ico { width: 28px; height: 28px; }
.service__text,
.service__body { color: var(--muted); font-size: .96rem; flex: 1; }
.service__body p:last-child { margin-bottom: 0; }
.service__link { display: inline-flex; align-items: center; gap: .4em; margin-top: 14px; font-weight: 700; color: var(--orange-600); font-size: .92rem; }
.services--detailed { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.services--detailed .service:target { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(254, 122, 2, .15); }

/* Cars */
.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.car { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.car:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.car__media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #fafafa, #efedea); display: grid; place-items: center; overflow: hidden; }
.car__media .car-photo { width: 100%; height: 100%; object-fit: cover; }
.car__media .car-illus { width: 82%; height: auto; }
.car__badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 700; padding: .35em .75em; border-radius: 999px; letter-spacing: .02em; }
.car__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.car__title { font-size: 1.2rem; margin-bottom: 6px; }
.car__text { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.car__specs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.car__specs li { display: inline-flex; align-items: center; gap: .4em; font-size: .84rem; font-weight: 600; color: var(--text); background: var(--bg-alt); padding: .4em .7em; border-radius: 8px; }
.car__specs .zrc-ico { color: var(--orange-600); width: 1em; height: 1em; }
.note { margin-top: 24px; text-align: center; color: var(--muted); font-size: .88rem; }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.why__intro p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6em; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why__item { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.why__item .zrc-ico { width: 30px; height: 30px; color: var(--orange-600); margin-bottom: 12px; }
.why__item p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Contact */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-split > div > p { color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.contact-list .zrc-ico { color: var(--orange-600); margin-top: 3px; }
.card { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card__title { font-size: 1.35rem; }
.contact-cards { display: grid; gap: 12px; margin-bottom: 24px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .2s; }
a.contact-card:hover { border-color: var(--orange); color: var(--ink); }
.contact-card > .zrc-ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--orange-50); color: var(--orange-600); }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.contact-card strong { font-size: 1rem; }

.map-box { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; background: linear-gradient(135deg, #f1efec, #e6e3df); border: 1px solid var(--line); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 6px; }
.map-box__placeholder > .zrc-ico { width: 40px; height: 40px; color: var(--orange-600); }
.map-box__placeholder p { max-width: 26em; color: var(--ink); font-weight: 600; }
.map-box__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Page hero */
.page-hero { background: var(--ink); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: var(--orange); opacity: .12; }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero__crumb { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.page-hero__crumb a:hover { color: var(--orange); }
.page-hero__lead { color: rgba(255, 255, 255, .75); font-size: 1.1rem; max-width: 40em; margin: 0; }

.prose { max-width: 780px; margin: 0 auto; font-size: 1.05rem; }
.prose--intro { margin-bottom: 40px; text-align: center; color: var(--muted); }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--orange-600); text-decoration: underline; text-underline-offset: 3px; }
.prose .btn { text-decoration: none; color: #fff; }
.prose__img,
.prose .car-illus { border-radius: var(--radius); margin-bottom: 24px; }
.post-item { padding: 20px 0; border-bottom: 1px solid var(--line); }

/* CTA */
.cta { background: var(--orange); color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.05rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--ink-2); color: rgba(255, 255, 255, .7); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer__brand img { width: 92px; margin-bottom: 16px; }
.site-footer__list,
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--orange); }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .zrc-ico { color: var(--orange); margin-top: 3px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .85rem; }

/* Floating actions */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float-actions a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .2s; }
.float-actions a:hover { transform: scale(1.06); color: #fff; }
.float-actions .zrc-ico { width: 26px; height: 26px; }
.float-actions__wa { background: #25d366; }
.float-actions__call { background: var(--orange); }

/* WordPress core */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Responsive */
@media (max-width: 1024px) {
	.hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 72px; }
	.why,
	.contact-split { grid-template-columns: 1fr; gap: 36px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 12px;
		padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
		max-height: calc(100vh - 76px); overflow-y: auto;
	}
	.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: .85em .75em; font-size: 1.05rem; }
	.topbar__hours { display: none; }
}

@media (max-width: 640px) {
	.section { padding: 64px 0; }
	.topbar__inner { gap: 12px; font-size: .8rem; }
	.brand__logo { height: 48px; }
	.site-header__inner { min-height: 68px; }
	.booking__row { grid-template-columns: 1fr; }
	.why__grid { grid-template-columns: 1fr; }
	.cta__inner { flex-direction: column; align-items: flex-start; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.hero__form { padding: 22px; }
	.services--detailed { grid-template-columns: 1fr; }
	.cars { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
