/* Aras shared visual system. Keep action colors separate from text accents. */
:root {
  --bg: #091725; --surface: #112538; --surface-2: #193248;
  --gold: #7dd3fc; --gold-soft: #5eead4; --text: #f1f5f9;
  --muted: #b6c6d6; --border: #345065;
  --action: #0f4c81; --action-hover: #08385f;
}
:root[data-theme="light"] {
  --bg: #f4f8fb; --bg-deep: #e7eff6; --surface: #fff;
  --surface-2: #eaf2f7; --ink: #102b43; --ink-soft: #36536a;
  --muted: #526779; --line: #ccdbe5;
  --primary: #0f4c81; --primary-dark: #08385f; --primary-soft: #e2eff8;
  --accent: #0e766e; --accent-soft: #def3ef;
  --shadow: 0 20px 50px rgba(15, 54, 82, .10);
}
/* The source PNG is transparent; no tile or glow is needed. */
.logo-box, .logo:has(> img[src="aras-belgelendirme-logo.png"]) {
  background: transparent; box-shadow: none; border: 0; border-radius: 0;
}
.logo-box img, .footer-logo img, .aras-brand-logo,
.logo > img[src="aras-belgelendirme-logo.png"] {
  background: transparent; border-radius: 0; box-shadow: none;
}
:root:not([data-theme="light"]) img[src="aras-belgelendirme-logo.png"],
footer img[src="aras-belgelendirme-logo.png"] { filter: brightness(0) invert(1); }
.nav-wrapper { gap: 24px; }
.navbar .logo-text { display: none; }
.logo-link { display: flex; align-items: center; }
.menu { gap: 24px; }
.menu a { color: var(--text, var(--ink)); }
:root[data-theme="light"] .menu a { color: var(--ink-soft); }
.menu a:hover { color: var(--gold-soft); }
:root[data-theme="light"] .menu a:hover { color: var(--primary-dark); }
.menu .btn, .menu .btn:hover, .btn-primary, .btn-primary:hover,
.primary-btn, .cta-btn, .service-btn, .submit-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 14px 24px; border: 1px solid transparent;
  border-radius: 14px; background: var(--action); color: #fff;
  font: inherit; font-weight: 700; text-align: center; cursor: pointer;
  line-height: 1.5; text-decoration: none;
}
.menu .btn:hover, .btn-primary:hover, .primary-btn:hover,
.cta-btn:hover, .service-btn:hover, .submit-btn:hover { background: var(--action-hover); color: #fff; }
.secondary-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 14px 24px; border: 1px solid var(--border); border-radius: 14px; color: var(--text); background: var(--surface); font-weight: 700; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
button, input, select, textarea { font: inherit; }
input, select, textarea { max-width: 100%; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
select option { background: var(--surface); color: var(--text); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #0891b2; outline-offset: 4px;
}
p, h1, h2, h3, a { overflow-wrap: break-word; }
footer { background: #091725; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-main > *, .footer-grid > * { min-width: 0; }
.footer-logo { margin-bottom: 20px; }
.footer-brand-title { font-size: 18px; line-height: 1.5; margin-bottom: 12px; color: #f1f5f9; }
.footer-brand-text, .footer-brand-slogan { display: block; color: #b6c6d6; line-height: 1.8; margin-top: 12px; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column h4 { color: #f1f5f9; margin-bottom: 16px; }
.footer-column a { display: inline-block; color: #b6c6d6; line-height: 1.7; padding: 6px 0; overflow-wrap: anywhere; }
.footer-column a:hover { color: #fff; }
.footer-bottom { color: #b6c6d6; line-height: 1.7; }
:root[data-theme="light"] .hero { background: radial-gradient(ellipse at top left, #dfedf7, transparent 65%), linear-gradient(180deg, #f4f8fb, #eaf2f7); }
:root[data-theme="light"] .cta-box { background: #0d3555; }
@media (max-width: 1100px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .navbar { z-index: 10; }
  .menu { max-height: calc(100dvh - 120px); overflow-y: auto; }
  :root:not([data-theme="light"]) .menu { background: #112538; }
  .nav-wrapper { gap: 12px; }
  .hamburger, .burger { flex-shrink: 0; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .section { padding: 64px 0; }
  main { padding-top: 56px; padding-bottom: 56px; }
  .cta-section { padding: 36px 20px; border-radius: 24px; }
  .logo-box { width: 200px; max-width: 58vw; }
  .hero-buttons > a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
:root[data-theme="light"] .menu .btn,
:root[data-theme="light"] .menu .btn:hover { color: #fff; }
:root[data-theme="light"] .hero-panel { background: linear-gradient(135deg, #123c5d, #092d48); }
:root[data-theme="light"] .why,
:root[data-theme="light"] .testimonials { background: #eaf2f7; }
:root[data-theme="light"] .icon-wrap { background: var(--primary-soft); }
main.container { padding-top: 80px; padding-bottom: 64px; }
.info-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
@media (max-width: 640px) {
  main.container { padding-top: 48px; padding-bottom: 40px; }
  .service-card, .info-card { padding: 28px 22px; min-width: 0; }
}
.footer-col a { overflow-wrap: anywhere; }
.sidebar .logo:has(> img[src="aras-belgelendirme-logo.png"]) .logo-text { display: none; }
.module-status.locked { color: #b6c6d6; }
.background-blur { max-width: 100vw; right: 0; }
@media (max-width: 640px) {
  :root:not([data-theme="light"]) header .hero { padding-bottom: 32px; }
}

/* Keep the three highlights together and soften the sector-strip transition. */
:root[data-theme="light"] .mini-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
:root[data-theme="light"] .mini-list span {
  min-width: 0;
  justify-content: center;
  padding: 12px 10px;
  font-size: 13px;
  line-height: 1.45;
  border-radius: 16px;
}
:root[data-theme="light"] .mini-list span::before { flex-shrink: 0; }
:root[data-theme="light"] .hero {
  background: linear-gradient(180deg, #e7f0f8 0%, var(--bg) 100%);
}
:root[data-theme="light"] .hero::after { display: none; }
:root[data-theme="light"] .hero-inner { padding-bottom: 64px; }
:root[data-theme="light"] .trust {
  padding: 32px 0 48px;
  background: var(--bg);
}
@media (max-width: 640px) {
  :root[data-theme="light"] .mini-list { gap: 8px; }
  :root[data-theme="light"] .mini-list span {
    flex-direction: column;
    padding: 12px 6px;
    text-align: center;
    font-size: 12px;
  }
  :root[data-theme="light"] .hero-inner { padding-bottom: 40px; }
  :root[data-theme="light"] .trust { padding: 24px 0 32px; }
  :root[data-theme="light"] .trust-wrap { gap: 10px; }
  :root[data-theme="light"] .trust-pill { padding: 12px 16px; font-size: 13px; }
}

/* Local training photo: reserve its space and preserve the presenter in the crop. */
:root[data-theme="light"] .why-visual {
  min-height: 0; padding: 16px; background: #e2edf5;
}
.why-visual > img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; object-position: 30% center; border-radius: 22px; }
.hamburger { display: none; }
@media (max-width: 980px) {
  header:has(.navbar) { overflow: visible; }
  .navbar { position: relative; }
  .hamburger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); cursor: pointer; }
  .hamburger span { width: 22px; height: 2px; background: #fff; }
  .navbar .menu { position: absolute; top: 100%; left: 16px; right: 16px; width: auto; display: none; flex-direction: column; align-items: stretch; gap: 8px; padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: 0 18px 40px #0003; }
  .navbar .menu.active { display: flex; opacity: 1; visibility: visible; transform: none; }
  .navbar .menu a, .topbar .menu a { display: flex; align-items: center; min-height: 44px; padding: 12px 16px; }
  .menu { overscroll-behavior: contain; }
  .why-visual > img { aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) {
  :root[data-theme="light"] .why-visual { padding: 10px; border-radius: 24px; }
  .why-visual > img { border-radius: 16px; }
  input, select, textarea { font-size: 16px; }
}
@media (max-width: 980px) {
  header:has(.navbar)::before { max-width: 100%; right: 0; }
}
@media (max-width: 640px) {
  .dashboard .content { min-width: 0; }
  .dashboard .grid { grid-template-columns: minmax(0, 1fr); }
  .dashboard .card { min-width: 0; padding: 24px 18px; }
  .dashboard .module-top { flex-wrap: wrap; gap: 10px; }
}

/* Allow hero grid children to shrink on narrow screens. */
.hero-inner > *, .hero-copy, .hero-card { min-width: 0; }
.hero-actions { flex-wrap: wrap; }
.footer-main, .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 640px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy .eyebrow { max-width: 100%; white-space: normal; }
  .hero-actions > a { width: 100%; }
  .hero-card { padding: 22px 18px; }
  .footer-main, .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
:root[data-theme="light"] .stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:root[data-theme="light"] .stat-mini { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  :root[data-theme="light"] .stats-row { gap: 8px; }
  :root[data-theme="light"] .stat-mini { padding: 12px 6px; }
  :root[data-theme="light"] .stat-mini strong { font-size: 20px; }
  :root[data-theme="light"] .stat-mini span { font-size: 10px; }
  .plan-main { flex-wrap: wrap; }
}
