/* ===========================================================
   Ozel Saglam Psikoteknik Degerlendirme Merkezi
   Theme: "Yol Levhasi" road-signage light
   Display: Saira Condensed / Body: Saira
   Primary: cobalt #1C3FAA / single accent: signal orange #D9650F
   =========================================================== */

:root {
  --paper: #f6f7f9;
  --white: #ffffff;
  --cobalt: #1c3faa;
  --cobalt-deep: #142c77;
  --ink: #232a38;
  --muted: #5a6374;
  --accent: #d9650f;
  --accent-bright: #e8761f;
  --line: #dde1e8;
  --line-cobalt: rgba(255, 255, 255, 0.22);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 78px;
  --serifish: "Saira Condensed", "Arial Narrow", sans-serif;
  --sans: "Saira", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--cobalt); color: #fff; }

h1, h2, h3 { font-family: var(--serifish); font-weight: 700; line-height: 1.06; text-transform: uppercase; letter-spacing: 0.005em; }

.wrap { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
}
.header-inner { display: flex; align-items: center; gap: 24px; width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.04; }
.brand-text .bn { font-family: var(--serifish); font-weight: 700; font-size: 1.18rem; text-transform: uppercase; color: var(--cobalt); }
.brand-text .bs { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  padding: 9px 14px; border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { background: var(--paper); }
.main-nav a.active { background: var(--cobalt); color: #fff; }

.lang-toggle { display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-toggle button {
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 700; color: var(--muted);
  padding: 7px 12px;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-toggle button[aria-pressed="true"] { background: var(--cobalt); color: #fff; }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-family: var(--serifish); font-weight: 700; font-size: 1.02rem; text-transform: uppercase;
  padding: 10px 20px; border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(217, 101, 15, 0.35); }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; position: relative; }
.nav-burger span { position: absolute; left: 8px; right: 8px; height: 3px; background: var(--cobalt); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 27px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 59; background: var(--white); border-bottom: 1px solid var(--line); padding: 14px 22px 22px; }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 13px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }

main { padding-top: var(--header-h); }

/* ---------- lane divider motif ---------- */
.lane {
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 46px, transparent 46px 78px);
  border: 0;
}

/* ---------- hero ---------- */
.hero { background: var(--cobalt); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 5px;
  background: repeating-linear-gradient(90deg, #fff 0 46px, transparent 46px 78px);
  opacity: 0.85;
}
.hero-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: min(1160px, calc(100% - 44px)); margin-inline: auto;
  padding: clamp(48px, 8vh, 96px) 0 clamp(56px, 9vh, 104px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  font-family: var(--serifish); font-weight: 700; font-size: 1rem; text-transform: uppercase;
  padding: 8px 16px; border-radius: 8px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); margin-bottom: 18px; }
.hero h1 .hl { color: #ffd9b8; }
.hero-lead { font-size: clamp(1rem, 1.3vw, 1.16rem); color: rgba(255, 255, 255, 0.88); max-width: 52ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.btn-solid {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  font-family: var(--serifish); font-weight: 700; font-size: 1.15rem; text-transform: uppercase;
  padding: 14px 28px; border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3); }
.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.55); color: #fff;
  font-family: var(--serifish); font-weight: 700; font-size: 1.15rem; text-transform: uppercase;
  padding: 12px 26px; border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.hero-meta .stars { color: #ffd9b8; letter-spacing: 2px; }
.hero-meta strong { color: #fff; }

.hero-figure { position: relative; }
.hero-figure .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 26px 60px rgba(10, 20, 60, 0.45);
  transform: rotate(1.4deg);
}
.hero-figure .photo img { width: 100%; object-fit: cover; aspect-ratio: 4 / 4.7; }
.hero-figure .tag {
  position: absolute; left: -10px; bottom: 26px;
  background: #fff; color: var(--cobalt);
  font-family: var(--serifish); font-weight: 700; font-size: 1.02rem; text-transform: uppercase;
  padding: 10px 18px; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(10, 20, 60, 0.35);
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vh, 110px) 0; }
.section.alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vh, 56px); }
.section-head .roadnum {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cobalt); color: #fff;
  font-family: var(--serifish); font-weight: 700; font-size: 1.02rem;
  min-width: 44px; height: 32px; padding: 0 10px; border-radius: 8px;
  border: 2px solid var(--cobalt-deep);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); color: var(--cobalt-deep); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.04rem; }

/* ---------- info cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.section.alt .info-card { background: var(--paper); }
.info-card:hover { transform: translateY(-3px); border-color: var(--cobalt); box-shadow: 0 14px 30px rgba(28, 63, 170, 0.1); }
.info-card .num {
  font-family: var(--serifish); font-weight: 700; font-size: 1.9rem; color: var(--accent);
  display: block; margin-bottom: 8px;
}
.info-card h3 { font-size: 1.25rem; color: var(--cobalt-deep); margin-bottom: 8px; }
.info-card p { font-size: 0.96rem; color: var(--muted); }

/* measure chips */
.chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 16px 18px; font-weight: 600;
}
.chip .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }

/* ---------- sign panel (cobalt blocks) ---------- */
.sign-panel {
  background: var(--cobalt); color: #fff;
  border-radius: var(--radius-lg);
  border: 3px solid var(--cobalt-deep);
  padding: clamp(28px, 4vw, 48px);
}
.sign-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.sign-panel p { color: rgba(255, 255, 255, 0.88); }
.sign-panel .btn-solid { margin-top: 22px; }

/* ---------- lists ---------- */
.tick-list { list-style: none; display: grid; gap: 12px; }
.tick-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 18px;
}
.section.alt .tick-list li { background: var(--paper); }
.tick-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cobalt); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}
.tick-list strong { color: var(--cobalt-deep); }
.tick-list span.d { color: var(--muted); font-size: 0.94rem; display: block; }

/* ---------- media rows ---------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.media-split .photo { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--line); }
.media-split .photo img { width: 100%; object-fit: cover; }
.media-split h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--cobalt-deep); margin-bottom: 12px; }
.media-split p { color: var(--muted); margin-bottom: 12px; }
.media-split p strong { color: var(--ink); }

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
}
.section.alt .review-card { background: var(--paper); }
.review-card .stars { color: var(--accent); letter-spacing: 3px; font-size: 1.05rem; }
.review-card blockquote { color: var(--muted); font-size: 0.97rem; flex: 1; }
.review-card cite { font-style: normal; font-weight: 700; font-size: 0.95rem; color: var(--cobalt-deep); }
.review-card cite span { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }

/* ---------- IG content cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.post-card {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1.5px solid var(--line); background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(28, 63, 170, 0.12); }
.post-card img { width: 100%; }
.post-card .pc-body { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.post-card .pc-body span { font-weight: 600; color: var(--cobalt-deep); }
.post-card .pc-body em { font-style: normal; font-size: 0.85rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--line); min-height: 430px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 430px; border: 0; display: block; }
.contact-cards { display: grid; gap: 14px; align-content: start; }
.contact-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start;
}
.contact-card .ico {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--cobalt); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-card h3 { font-size: 1.1rem; color: var(--cobalt-deep); margin-bottom: 4px; }
.contact-card p, .contact-card a.val { color: var(--muted); font-size: 0.96rem; }
.contact-card a.val:hover { color: var(--cobalt); }
.hours-table { width: 100%; font-size: 0.95rem; color: var(--muted); border-collapse: collapse; }
.hours-table td { padding: 3px 0; }
.hours-table td:last-child { text-align: right; color: var(--ink); font-weight: 600; }

/* demo form */
.demo-form { display: grid; gap: 12px; }
.demo-form label { font-weight: 600; font-size: 0.92rem; color: var(--cobalt-deep); }
.demo-form input, .demo-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); background: var(--white);
}
.demo-form input:focus, .demo-form textarea:focus { outline: 2px solid var(--cobalt); border-color: var(--cobalt); }
.demo-form button {
  justify-self: start; cursor: pointer; border: 0;
  background: var(--cobalt); color: #fff;
  font-family: var(--serifish); font-weight: 700; font-size: 1.05rem; text-transform: uppercase;
  padding: 13px 26px; border-radius: 10px;
}
.form-note { font-size: 0.84rem; color: var(--muted); }

/* ---------- page hero (subpages) ---------- */
.page-hero { background: var(--cobalt); color: #fff; padding: clamp(44px, 7vh, 72px) 0; position: relative; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: repeating-linear-gradient(90deg, #fff 0 46px, transparent 46px 78px); opacity: 0.85; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.page-hero p { color: rgba(255, 255, 255, 0.85); max-width: 64ch; margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--cobalt-deep); color: rgba(255, 255, 255, 0.85); padding: 44px 0 34px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.footer-brand .bn { font-family: var(--serifish); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; color: #fff; }
.footer-brand p { font-size: 0.9rem; margin-top: 6px; max-width: 46ch; }
.footer-links { display: flex; gap: 20px; align-items: flex-start; }
.footer-links a { font-size: 0.93rem; color: rgba(255, 255, 255, 0.85); }
.footer-links a:hover { color: #fff; }
.footer-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-cobalt); font-size: 0.8rem; max-width: 95ch; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .chip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 430px; }
  .media-split { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .cards-2, .post-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards-3, .chip-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn-solid, .hero-ctas .btn-line { width: 100%; justify-content: center; }
}
