/* REEL Robotic — logo kırmızısı ve eski temanın koyu grisi üzerine kurulu */
:root {
  --reel-red: #e60012;
  --reel-red-dark: #b8000e;
  --reel-ink: #15171c;
  --reel-slate: #424651;
  --reel-muted: #6b6f78;
  --reel-line: #e4e6ea;
  --reel-soft: #f4f5f7;
  --bs-body-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: #2a2d34;
  --bs-link-color-rgb: 230, 0, 18;
  --bs-link-hover-color-rgb: 184, 0, 14;
}

body { font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .h1, .h2, .h3 { color: var(--reel-ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
img { max-width: 100%; }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }

/* Üst bilgi çubuğu */
.topbar { background: var(--reel-ink); color: #c9ccd3; font-size: .85rem; padding: .45rem 0; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #ff6b75; }
.ico { width: 15px; height: 15px; fill: currentColor; }

/* Başlık ve menü */
.site-header { background: #fff; border-bottom: 1px solid var(--reel-line); }
.site-header .navbar { padding: .6rem 0; }
.navbar-brand img { height: 46px; width: auto; }
.site-header .nav-link { color: var(--reel-ink); font-weight: 600; font-size: .95rem; padding: .5rem .9rem !important; position: relative; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--reel-red); }
@media (min-width: 1200px) {
  .site-header .nav-link { white-space: nowrap; }
  .site-header .nav-link.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: -.6rem; height: 3px; background: var(--reel-red); }
  .site-header .dropdown:hover .dropdown-menu { display: block; margin-top: 0; }
}
.dropdown-menu { border: 1px solid var(--reel-line); border-radius: .5rem; box-shadow: 0 12px 32px rgba(21, 23, 28, .12); padding: .5rem; }
.dropdown-item { border-radius: .35rem; padding: .45rem .8rem; font-size: .93rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--reel-soft); color: var(--reel-red); }

/* Butonlar */
.btn { font-weight: 600; border-radius: .4rem; padding: .6rem 1.25rem; }
.btn-reel { background: var(--reel-red); border-color: var(--reel-red); color: #fff; }
.btn-reel:hover, .btn-reel:focus { background: var(--reel-red-dark); border-color: var(--reel-red-dark); color: #fff; }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--reel-ink); }
.btn-lg { padding: .8rem 1.6rem; }

/* Bölümler */
.section { padding: 5rem 0; }
.section-soft { background: var(--reel-soft); }
.eyebrow { display: inline-block; color: var(--reel-red); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .75rem; }
.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head p { color: var(--reel-muted); font-size: 1.05rem; }
.lead-muted { color: var(--reel-muted); font-size: 1.1rem; }

/* Ana sayfa hero */
.hero { position: relative; color: #fff; background: var(--reel-ink) center/cover no-repeat; min-height: 560px; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 14, .92) 0%, rgba(10, 11, 14, .72) 45%, rgba(10, 11, 14, .15) 100%); }
.hero .container { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.4rem); max-width: 640px; margin-bottom: 1.25rem; }
.hero p { color: #d6d8de; font-size: 1.15rem; max-width: 560px; margin-bottom: 2rem; }
.hero .eyebrow { color: #ff5a64; }

.stats { background: #fff; border-bottom: 1px solid var(--reel-line); }
.stat { padding: 1.75rem 0; border-left: 3px solid var(--reel-red); padding-left: 1.25rem; }
.stat strong { display: block; font-size: 1.35rem; color: var(--reel-ink); }
.stat span { color: var(--reel-muted); font-size: .92rem; }

/* Kartlar */
.card-link { display: block; height: 100%; background: #fff; border: 1px solid var(--reel-line); border-radius: .75rem; overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card-link:hover { border-color: transparent; box-shadow: 0 16px 40px rgba(21, 23, 28, .12); transform: translateY(-3px); color: inherit; }
.card-link .card-media { aspect-ratio: 16 / 9; background: var(--reel-soft) center/cover no-repeat; }
.card-link .card-body { padding: 1.5rem; }
.card-link h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card-link p { color: var(--reel-muted); margin-bottom: 1rem; font-size: .95rem; }
.more { color: var(--reel-red); font-weight: 600; font-size: .92rem; }
.more::after { content: " →"; transition: margin .2s; }
.card-link:hover .more::after { margin-left: .25rem; }

/* Ürün kartları — eski görseller küçük olduğu için ortalanmış "ikon" alanında gösterilir */
.product-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--reel-line); border-radius: .6rem; text-decoration: none; color: var(--reel-ink); transition: border-color .2s, box-shadow .2s; }
.product-card:hover { border-color: var(--reel-red); box-shadow: 0 10px 28px rgba(21, 23, 28, .1); color: var(--reel-ink); }
.product-thumb { height: 150px; display: flex; align-items: center; justify-content: center; background: #fff; border-bottom: 1px solid var(--reel-line); border-radius: .6rem .6rem 0 0; padding: 1rem; }
.product-thumb img { max-height: 100%; width: auto; object-fit: contain; }
.product-thumb.is-large img { width: 100%; height: 100%; object-fit: cover; border-radius: .3rem; }
.product-card .product-category { padding: .8rem 1rem 0; font-size: .75rem; color: var(--bs-secondary-color); text-transform: uppercase; letter-spacing: .04em; }
.product-card .product-category + .product-name { padding-top: .25rem; }
.product-card .product-name { padding: .9rem 1rem; font-weight: 600; font-size: .95rem; line-height: 1.35; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product-card .product-name::after { content: "→"; color: var(--reel-red); opacity: 0; transition: opacity .2s; }
.product-card:hover .product-name::after { opacity: 1; }

/* Sayfa başlığı */
.page-hero { position: relative; background: var(--reel-ink) center/cover no-repeat; color: #fff; padding: 4.5rem 0 3.5rem; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 14, .9), rgba(10, 11, 14, .6)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.5vw, 2.75rem); margin-bottom: .75rem; }
.page-hero p { color: #d6d8de; max-width: 640px; font-size: 1.08rem; margin: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: #9aa0aa; --bs-breadcrumb-item-active-color: #c9ccd3; font-size: .88rem; margin-bottom: 1rem; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: #ff6b75; }

/* Kategori kenar çubuğu */
/* Reel Market: kategori kutuları ve numaralı ürün listesi */
.market { scroll-margin-top: 76px; }
.market-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-bottom: 3.5rem; }
.market-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.25rem .75rem 1.1rem; border: 1px solid var(--reel-line); border-radius: .9rem; background: #fff; color: var(--reel-ink); text-decoration: none; text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
.market-tile:hover { border-color: #c9ccd2; box-shadow: 0 8px 24px rgba(21, 23, 28, .08); transform: translateY(-2px); color: var(--reel-ink); }
.market-tile-img { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; border-radius: .6rem; background: #fff; }
.market-tile-img img { max-width: 60px; max-height: 60px; object-fit: contain; }
.market-tile-name { font-weight: 600; font-size: .875rem; line-height: 1.3; }
.market-tile.active { background: var(--reel-ink); border-color: var(--reel-ink); color: #fff; box-shadow: 0 10px 28px rgba(21, 23, 28, .25); }
.market-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .5rem 1.5rem; margin-bottom: 1.5rem; }
.market-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.market-count { color: var(--reel-muted); font-size: .875rem; font-weight: 500; }
.market-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.25rem; }
.market-list a { display: flex; align-items: center; gap: 1.25rem; min-height: 70px; padding: .5rem 1rem; border-bottom: 1px solid var(--reel-line); color: var(--reel-ink); text-decoration: none; transition: background .2s, color .2s; }
.market-list .no { color: var(--reel-red); font-size: .75rem; font-weight: 700; min-width: 1.5rem; }
.market-list .name { flex: 1; font-weight: 600; }
.market-list .thumb { display: none; width: 68px; height: 52px; border-radius: .4rem; background: #fff; align-items: center; justify-content: center; overflow: hidden; }
.market-list .thumb img { max-width: 64px; max-height: 48px; object-fit: contain; }
.market-list .arrow { color: #b4b8bf; transition: color .2s, transform .2s; }
.market-list a:hover, .market-list a:focus-visible { background: var(--reel-ink); color: #fff; border-bottom-color: var(--reel-ink); }
.market-list a:hover .thumb, .market-list a:focus-visible .thumb { display: flex; }
.market-list a:hover .arrow, .market-list a:focus-visible .arrow { color: var(--reel-red); transform: translateX(3px); }
.market-list a:hover .no, .market-list a:focus-visible .no { color: #ff5a64; }
@media (max-width: 991.98px) {
  .market-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .market-tiles { position: relative; display: flex; overflow-x: auto; gap: .75rem; margin: 0 -.75rem 2.5rem; padding: .25rem .75rem 1rem; scroll-snap-type: x mandatory; }
  .market-tile { flex: 0 0 132px; scroll-snap-align: start; }
  .market-list { grid-template-columns: 1fr; }
  .market-list a { padding: .5rem .25rem; gap: 1rem; }
}

/* Ürün detay */
.gallery-main { aspect-ratio: 16 / 10; background: var(--reel-soft); border-radius: .75rem; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--reel-line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main.is-small { background: #fff; }
.gallery-main.is-small img { width: 180px; height: auto; max-width: 60%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .6rem; margin-top: .75rem; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: .45rem; overflow: hidden; aspect-ratio: 4 / 3; background: var(--reel-soft); }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--reel-red); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button { position: relative; }
.gallery-thumbs button.is-video::after, .gallery-play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 34px; height: 24px; border-radius: 6px; background: var(--reel-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 2l5 3-5 3z' fill='%23fff'/%3E%3C/svg%3E") center/14px no-repeat; }
.gallery-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; }
.gallery-play::after { width: 68px; height: 48px; border-radius: 12px; background-size: 26px; }
.gallery-main.is-video { background: #000; }
.gallery-main iframe { width: 100%; height: 100%; border: 0; display: block; }
.inquiry { background: var(--reel-soft); border-radius: .75rem; padding: 1.75rem; }
/* Ürün sayfasındaki form kaydırırken yanda sabit kalır; ancak menünün altında kalmalı (menü z-index 1020)
   ve yalnızca ekrana sığdığında sabitlenir, yoksa Gönder düğmesine ulaşılamaz. */
@media (min-width: 992px) and (min-height: 900px) {
    .inquiry-sticky { position: sticky; top: 96px; z-index: 1; }
}

/* Hizmet uygulamaları */
.app-card { height: 100%; background: #fff; border: 1px solid var(--reel-line); border-radius: .75rem; overflow: hidden; }
.app-card .app-media { aspect-ratio: 3 / 2; background: var(--reel-soft) center/cover no-repeat; }
.app-card .app-body { padding: 1.4rem; }
.app-card h2, .app-card h3 { font-size: 1.1rem; }
.app-card p { color: var(--reel-muted); font-size: .94rem; margin: 0; }

/* Değerler (ana sayfa sekmeleri) */
.values .nav-link { color: var(--reel-slate); font-weight: 600; border-radius: .4rem; text-align: left; padding: .9rem 1.1rem; }
.values .nav-link.active { background: var(--reel-red); color: #fff; }
.values .tab-content { background: #fff; border: 1px solid var(--reel-line); border-radius: .75rem; padding: 2rem; height: 100%; }

/* Harekete geçirici alan */
.cta { background: var(--reel-red); color: #fff; border-radius: 1rem; padding: 3rem; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta .btn { background: #fff; color: var(--reel-red); }
.cta .btn:hover { background: var(--reel-ink); color: #fff; }

/* Formlar */
.form-control, .form-select { border-radius: .4rem; padding: .65rem .85rem; border-color: #d3d6dc; }
.form-control:focus, .form-select:focus { border-color: var(--reel-red); box-shadow: 0 0 0 .2rem rgba(230, 0, 18, .15); }
.form-label { font-weight: 600; font-size: .9rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer üstündeki harita şeridi */
.footer-map { position: relative; height: 360px; background: var(--reel-soft); }
.footer-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }
.footer-map .container { position: relative; height: 100%; display: flex; align-items: center; pointer-events: none; }
.map-card { pointer-events: auto; background: #fff; border-radius: .75rem; padding: 1.5rem; max-width: 320px; box-shadow: 0 16px 40px rgba(21, 23, 28, .18); border-top: 4px solid var(--reel-red); }
.map-card p { color: var(--reel-muted); font-size: .94rem; }
@media (max-width: 575.98px) {
  .footer-map { height: auto; }
  .footer-map iframe { position: static; height: 260px; display: block; }
  .footer-map .container { height: auto; padding: 1rem; }
  .map-card { max-width: none; width: 100%; box-shadow: none; padding: 1.25rem 0 0; border-top: 0; background: transparent; }
}

/* Alt bilgi */
.site-footer { background: var(--reel-ink); color: #a9adb6; padding: 4.5rem 0 0; font-size: .94rem; margin-top: 0; }
.site-footer a { color: #d6d8de; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .45rem; }
.footer-title { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-logo { background: #fff; padding: .5rem .75rem; border-radius: .4rem; height: auto; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3.5rem; padding: 1.5rem 0; font-size: .85rem; }

@media (max-width: 991.98px) {
  .section { padding: 3.5rem 0; }
  .hero { min-height: 480px; }
  .cta { padding: 2rem; }
}
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { padding: 1rem 0; }
}

/* Dil seçici (TR / EN) */
.lang-switch { display: inline-flex; border: 1px solid var(--reel-line); border-radius: 999px; padding: 2px; background: #fff; }
.lang-switch a { padding: .2rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--reel-muted); text-decoration: none; line-height: 1.4; }
.lang-switch a:hover { color: var(--reel-ink); }
.lang-switch a.active { background: var(--reel-ink); color: #fff; }
.site-header .navbar .btn { white-space: nowrap; }
