/* TOOTOYS – web sitesi stilleri */

/* Yazı tipleri sitenin kendi sunucusundan yüklenir (üçüncü taraf isteği yok).
   Poppins ve Inter: SIL Open Font License 1.1, lisanslar assets/fonts/ altında.
   latin-ext alt kümesi Türkçe karakterler (ğ, ş, İ) için gereklidir. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin-ext-var.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #13213C;
  --navy-dark: #0A1426;
  --ink: #3B4558;
  --muted: #4A5468;
  --purple: #2D1060;
  --lilac: #8977C3;
  --yellow: #F9D34A;
  --yellow-line: #D9AF2E;
  --gold: #E2C18A;
  --sand: #F7F4EF;
  --line: #ECEAE5;
  --radius: 16px;
  --max: 1280px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); color: var(--navy); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; }

/* Üst sarı şerit */
.topbar { background: var(--yellow); color: var(--purple); font-size: 13px; font-weight: 600; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--purple); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__right { display: flex; align-items: center; gap: 24px; }
.lang { display: flex; gap: 2px; }
.lang a { padding: 6px; color: #6A5A2A; }
.lang a[aria-current="page"] { color: var(--purple); font-weight: 800; }

/* Menü şeridi */
.header { position: sticky; top: 0; z-index: 20; background: radial-gradient(ellipse at center, #6CC3A5 0%, #45B08D 55%, #1F9B79 100%); }
.header .container { display: flex; align-items: center; gap: 40px; padding-top: 14px; padding-bottom: 14px; }
.header__logo img { height: 60px; width: auto; }
.nav { display: flex; gap: 32px; flex: 1 1 auto; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-shadow: 0 1px 2px rgba(10, 60, 45, 0.45); }
.nav a { color: #fff; text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.8); }

/* Butonlar */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: 0.03em; padding: 16px 26px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(19, 33, 60, 0.18); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { color: #fff; }

/* Hero */
.hero { background: #1E1510 url("../img/hero.jpg") no-repeat 70% center / cover; position: relative; }
.hero .container { min-height: 600px; display: flex; align-items: center; }
.hero__content { max-width: 560px; padding: 88px 0; display: flex; flex-direction: column; gap: 28px; position: relative; }
.hero h1 { font-weight: 700; font-size: 52px; line-height: 1.12; color: #fff; }
.hero h1 span { display: block; color: var(--gold); }
.hero p { margin: 0; font-size: 18px; line-height: 1.6; color: #E8E3DC; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Bölüm başlıkları */
.section-title { font-weight: 700; font-size: 36px; text-align: center; }

/* Markalar */
.brands { padding: 80px 0 96px; }
.brands .section-title { margin-bottom: 40px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.brand-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(19, 33, 60, 0.06); padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.brand-card__logo { height: 56px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #F0EEEA; padding-bottom: 14px; }
.brand-card__logo img { object-fit: contain; }
.carousel { position: relative; }
.carousel__frame { aspect-ratio: 1 / 1; background: var(--sand); border-radius: 12px; overflow: hidden; position: relative; }
.carousel__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.carousel__frame img.is-active { opacity: 1; }
.carousel__btn { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; box-shadow: 0 2px 8px rgba(19, 33, 60, 0.1); }
.carousel__btn:hover { background: #F7F7F7; }
.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }
.carousel__count { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(19, 33, 60, 0.75); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.brand-card__slogan { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); text-align: center; min-height: 42px; }

/* Neden TOOTOYS */
.why { background: var(--yellow); }
.why .container { padding-top: 36px; padding-bottom: 40px; }
.why h2 { font-weight: 700; font-size: 28px; text-align: center; margin-bottom: 24px; }
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why__item { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 8px 24px; border-right: 1px solid var(--yellow-line); }
.why__item:last-child { border-right: 0; }
.why__item h3 { font-weight: 600; font-size: 20px; text-align: center; }

/* İş ortaklığı kartı */
.partner { padding: 72px 0 88px; }
.partner__card { border-radius: 24px; overflow: hidden; background: #F3F3F2; box-shadow: 0 10px 30px rgba(19, 33, 60, 0.08); display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.partner__text { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.partner__eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #8A5F24; }
.partner__text h2 { font-weight: 700; font-size: 36px; line-height: 1.2; }
.partner__text p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink); }
.btn--email { letter-spacing: 0.01em; font-size: 15px; }
.partner__img { background: #E9E9E9 url("../img/partnership.jpg") no-repeat center / cover; min-height: 360px; }

/* Footer */
.footer { background: var(--navy); color: #fff; }
.footer .container { padding-top: 64px; padding-bottom: 28px; }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { height: 72px; width: auto; align-self: flex-start; }
.footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; color: #C9D0DC; max-width: 320px; }
.social { width: 44px; height: 44px; border-radius: 999px; border: 1px solid #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.social:hover { color: var(--navy); background: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #C9D0DC; line-height: 1.5; }
.footer__col h3 { font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 4px; }
.footer__col h3.gold { color: #D9B77E; }
.footer__col address { font-style: normal; }
.footer__col a { color: #C9D0DC; text-decoration: none; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid #2E3B57; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: #AEB7C8; }

/* 404 */
.notfound { padding: 120px 0 140px; text-align: center; }
.notfound h1 { font-size: 40px; line-height: 1.2; margin-bottom: 16px; }
.notfound p { margin: 0 0 8px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.notfound__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { color: var(--navy); }

/* Tablet */
@media (max-width: 1024px) {
  .header .container { gap: 24px; }
  .nav { gap: 20px; font-size: 13px; }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .why__item:nth-child(2) { border-right: 0; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* Mobil */
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .topbar__slogan { display: none; }
  .topbar .container { justify-content: flex-end; }
  .header .container { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .header__logo img { height: 48px; }
  .nav { width: 100%; justify-content: flex-start; gap: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .hero { background-position: 75% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: rgba(20, 14, 10, 0.55); }
  .hero .container { min-height: 520px; }
  .hero__content { padding: 64px 0; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .section-title { font-size: 28px; }
  .brands { padding: 56px 0 64px; }
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-card { padding: 12px; gap: 12px; }
  .brand-card__logo { height: 48px; padding-bottom: 10px; }
  .brand-card__logo img { transform: scale(.8); }
  .carousel__btn { width: 36px; height: 36px; margin-top: -18px; }
  .brand-card__slogan { font-size: 13px; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__item { padding: 8px 12px; }
  .why__item h3 { font-size: 16px; }
  .partner { padding: 48px 0 56px; }
  .partner__card { grid-template-columns: 1fr; }
  .partner__text { padding: 36px 24px; }
  .partner__text h2 { font-size: 28px; }
  .partner__img { min-height: 240px; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .notfound { padding: 72px 0 96px; }
  .notfound h1 { font-size: 30px; }
}

@media (max-width: 359px) {
  .brand-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel__frame img, .btn { transition: none; }
}
