/*
Theme Name: Eurovia Lojistik
Description: Eurovia Lojistik kurumsal teması.
Version: 1.0.0
Text Domain: eurovia
*/

:root {
	--navy: #072a62;
	--navy-2: #0d3a7d;
	--navy-3: #1565b0;
	--accent: #1797d6;
	--accent-2: #0f7cb6;
	--ink: #1b2433;
	--muted: #5d6b80;
	--line: #e3e8ef;
	--bg-alt: #f4f7fb;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(11, 37, 69, .08);
	--container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); 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 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.lead { font-size: 1.1rem; color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker-light { color: #5fd6e6; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; transition: .2s; cursor: pointer; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-3); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* Top bar */
.topbar { background: var(--navy); color: #c8d3e3; font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #c8d3e3; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .icon { width: 15px; height: 15px; }
.lang { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.lang a { padding: 3px 9px; border-radius: 6px; font-weight: 600; font-size: .78rem; }
.lang .is-current a { background: rgba(255,255,255,.14); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand-logo { height: 46px; width: auto; }
.footer-logo { height: 44px; width: auto; margin-bottom: 18px; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.brand-mark .icon { width: 24px; height: 24px; }
.brand-text { font-weight: 800; font-size: 1.3rem; letter-spacing: .06em; line-height: 1; display: flex; flex-direction: column; }
.brand-text small { font-size: .62rem; letter-spacing: .32em; color: var(--accent); margin-top: 4px; font-weight: 700; }
.brand-light { color: #fff; }
.brand-light .brand-mark { background: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav .menu a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 8px; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a { color: var(--accent); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% 20%, rgba(29,78,137,.55), transparent 60%), linear-gradient(135deg, #071a33 0%, var(--navy) 55%, var(--navy-2) 100%); color: #fff; padding: 90px 0 0; overflow: hidden; }
.hero.has-img { background: linear-gradient(95deg, rgba(4,22,52,.92) 0%, rgba(7,42,98,.78) 38%, rgba(7,42,98,.15) 68%, rgba(7,42,98,0) 100%), var(--hero-img) 60% center/cover; padding-top: 110px; }
.hero.has-img .hero-in { grid-template-columns: minmax(0, 620px); min-height: 380px; padding-bottom: 110px; }
.hero.has-img .hero-visual { display: none; }
.hero.has-img h1 { text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.hero .lead { color: #c8d3e3; font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-visual { position: relative; color: #8fb3e6; }
.route-map { width: 100%; height: auto; }
.route-line { fill: none; stroke: #5fd6e6; stroke-width: 2.2; stroke-dasharray: 6 8; animation: dash 3s linear infinite; }
.route-line.r2 { stroke: #8fb3e6; animation-duration: 4s; }
.route-line.r3 { stroke: #5c8fd6; animation-duration: 5s; }
@keyframes dash { to { stroke-dashoffset: -140; } }
.node circle { fill: #fff; }
.node.main circle { fill: var(--accent); }
.node .pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-origin: 360px 250px; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.hero-card { position: absolute; left: 6%; bottom: 8%; display: flex; gap: 12px; align-items: center; background: #fff; color: var(--navy); padding: 14px 18px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.hero-card strong { display: block; font-size: 1rem; }
.hero-card small { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow); }
.feature { display: flex; gap: 14px; padding: 28px 24px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }
.feature-icon { color: var(--accent); }
.feature-icon .icon { width: 30px; height: 30px; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: .25s; position: relative; overflow: hidden; scroll-margin-top: 120px; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); transition: .3s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.card:hover::after { width: 100%; }
.card p { color: var(--muted); }
.card-icon { width: 56px; height: 56px; border-radius: 12px; background: #eef3fa; color: var(--navy-3); display: inline-grid; place-items: center; margin-bottom: 20px; flex: none; }
.card-icon .icon { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--navy); color: #fff; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.link .icon { width: 16px; height: 16px; transition: .2s; }
.link:hover .icon { transform: translateX(4px); }
.cards-detailed .card { padding: 40px; }

/* Why */
.why { background: var(--bg-alt); }
.why-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-item { display: flex; gap: 16px; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 10px rgba(11,37,69,.04); }
.why-item .card-icon { margin: 0; width: 48px; height: 48px; }
.why-item h3 { font-size: 1rem; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-box { aspect-ratio: 3/2; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 18px; background: #fff; }
.logo-box img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.logo-box:hover img { filter: none; opacity: 1; }
.logo-box.is-empty { background: repeating-linear-gradient(45deg, #fafbfd, #fafbfd 10px, #f3f6fa 10px, #f3f6fa 20px); color: #a3afc0; font-size: .78rem; text-align: center; }
.template-references .logos, .page-template-template-references .logos { grid-template-columns: repeat(4, 1fr); }
.sectors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sectors li { display: flex; align-items: center; gap: 12px; background: #fff; padding: 18px 20px; border-radius: 12px; font-weight: 600; color: var(--navy); }
.sectors .icon { color: var(--accent); }

/* Transport modes */
.modes { padding-bottom: 72px; }
.modes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.mode { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--navy); }
.mode-img { height: 170px; width: 100%; display: grid; place-items: center; }
.mode-img img { max-height: 100%; width: auto; max-width: 100%; transition: transform .35s ease; }
.mode:hover .mode-img img { transform: translateY(-8px); }
.mode-title { position: relative; display: flex; align-items: center; justify-content: center; min-height: 72px; margin-top: 18px; font-weight: 700; font-size: 1.08rem; }
.mode-num { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 4.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #cfe6f3; z-index: -1; letter-spacing: -.02em; }
.mode-title { z-index: 0; }
.mode:hover { color: var(--accent); }
.mode:hover .mode-num { -webkit-text-stroke-color: #9fd6ef; }

/* Quote */
.quote { position: relative; padding: 96px 0 72px; background: linear-gradient(180deg, transparent 0, transparent 78%, #fff 78%); }
.quote::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 78%; background: linear-gradient(110deg, rgba(4,22,52,.94) 0%, rgba(7,42,98,.88) 45%, rgba(21,101,176,.75) 100%), var(--quote-img, none) center/cover, var(--navy); }
.quote-in { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.quote-copy { position: relative; color: #fff; padding-top: 72px; }
.quote-ghost { position: absolute; top: -6px; left: -6px; font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.14); white-space: nowrap; pointer-events: none; }
.quote-copy h2 { color: #fff; position: relative; }
.quote-copy .lead { color: #c8d3e3; max-width: 480px; }
.quote-box { position: relative; overflow: hidden; margin-top: 48px; background: var(--accent); color: #fff; padding: 36px 34px; border-radius: var(--radius) var(--radius) var(--radius) 0; max-width: 400px; clip-path: polygon(0 0, 88% 0, 100% 16%, 100% 100%, 0 100%); }
.quote-box h3 { color: #fff; font-size: 1.6rem; margin-bottom: 22px; }
.quote-box > .icon { position: absolute; right: -10px; bottom: -18px; width: 130px; height: 130px; opacity: .14; }
.quote-card { background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(7,42,98,.18); padding: 44px 44px 40px; }
.quote-card h3, .form-card h2 { font-size: 1.35rem; margin-bottom: 24px; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.q-row.q3 { grid-template-columns: repeat(3, 1fr); }
.wpcf7 .q-row input, .wpcf7 .q-row select { margin-top: 0; }
.q-opts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 8px 0 18px; }
.q-opts .wpcf7-list-item { margin: 0 22px 0 0; }
.q-opts label, .q-accept label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .95rem; margin: 0; color: var(--ink); cursor: pointer; }
.q-opts input[type=checkbox], .q-opts input[type=radio], .q-accept input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.q-accept { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.q-accept .wpcf7-list-item { margin: 0; }
.wpcf7 input[type=submit] { width: 100%; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 400px; height: 400px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 40px; position: relative; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: #c8d3e3; margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Inner pages */
.page-hero { background: linear-gradient(135deg, #071a33 0%, var(--navy) 60%, var(--navy-2) 100%); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.2px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero .lead { color: #c8d3e3; margin: 0; max-width: 640px; }
.crumbs { font-size: .85rem; color: #8fa3bf; margin-bottom: 16px; }
.crumbs a { color: #c8d3e3; }
.crumbs span { margin: 0 6px; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.4em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.2em; }
.prose p, .prose li { color: #3c4a5e; font-size: 1.05rem; }
.prose.intro { margin-bottom: 40px; }
.about-in { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.about-side { display: grid; gap: 16px; position: sticky; top: 110px; }
.about-side .why-item { background: var(--bg-alt); box-shadow: none; }

/* Contact */
.contact-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.info-item .card-icon { margin: 0; }
.info-item h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.info-item p, .info-item a { margin: 0; font-weight: 600; color: var(--navy); }
.form-card { background: var(--bg-alt); border-radius: var(--radius); padding: 40px; }
.form-card h2 { font-size: 1.6rem; }
.wpcf7 label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 14px; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=number], .wpcf7 select, .wpcf7 textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #d3dbe6; border-radius: 10px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
.wpcf7 textarea { height: 130px; resize: vertical; }
.wpcf7 input:not([type=checkbox]):not([type=radio]):focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(29,78,137,.15); }
.wpcf7 .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wpcf7 input[type=submit] { background: var(--accent); color: #fff; border: 0; padding: 15px 34px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: var(--accent-2); }
.wpcf7-acceptance { font-weight: 400; font-size: .85rem; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.3); }

/* Footer */
.site-footer { background: #061629; color: #9fb0c8; padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer .brand { margin-bottom: 18px; }
.site-footer .menu, .contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #9fb0c8; }
.site-footer a:hover { color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { color: var(--accent); margin-top: 3px; width: 18px; height: 18px; }
.social { display: flex; gap: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 24px; font-size: .85rem; }

/* Responsive */
@media (max-width: 1024px) {
	.hero-in, .why-in, .about-in, .contact-in { grid-template-columns: 1fr; }
	.hero-visual { max-width: 460px; }
	.features { grid-template-columns: 1fr 1fr; }
	.feature:nth-child(2) { border-right: 0; }
	.feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.cards { grid-template-columns: 1fr 1fr; }
	.logos { grid-template-columns: repeat(3, 1fr); }
	.sectors { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.about-side { position: static; }
	.modes-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
	.quote-in { grid-template-columns: 1fr; gap: 32px; }
	.quote::before { height: 55%; }
	.quote { background: none; }
	.quote-box { display: none; }
}
@media (max-width: 860px) {
	.nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
	.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; content: ""; transition: .2s; }
	.nav-toggle span:first-child::before { position: absolute; top: -6px; }
	.nav-toggle span:first-child::after { position: absolute; top: 6px; }
	.nav-open .nav-toggle span:first-child { background: transparent; }
	.nav-open .nav-toggle span:first-child::before { top: 0; transform: rotate(45deg); }
	.nav-open .nav-toggle span:first-child::after { top: 0; transform: rotate(-45deg); }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-cta { justify-content: center; }
	.section-head { grid-template-columns: 1fr; gap: 16px; }
	.cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.topbar-contact a:last-child { display: none; }
	.hero { padding-top: 56px; }
	.hero.has-img { background: linear-gradient(180deg, rgba(4,22,52,.88) 0%, rgba(7,42,98,.72) 70%, rgba(7,42,98,.45) 100%), var(--hero-img-sm, var(--hero-img)) 68% center/cover; padding-top: 64px; }
	.hero.has-img .hero-in { min-height: 0; padding-bottom: 56px; }
	.hero-in { padding-bottom: 48px; }
	.features, .cards, .why-list, .footer-grid, .sectors, .wpcf7 .row { grid-template-columns: 1fr; }
	.feature { border-right: 0; border-bottom: 1px solid var(--line); }
	.logos, .page-template-template-references .logos { grid-template-columns: 1fr 1fr; }
	.section { padding: 64px 0; }
	.form-card { padding: 24px; }
	.card, .cards-detailed .card { padding: 26px; }
	.mode-img { height: 120px; }
	.mode-title { font-size: .95rem; }
	.mode-num { font-size: 3.4rem; }
	.quote { padding-top: 64px; }
	.quote-card { padding: 26px 20px; }
	.q-row, .q-row.q3 { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.route-line, .node .pulse { animation: none; }
}
