/* =========================================================================
   Aylıdere Yazılım - Kurumsal tema
   Palet: Antrasit (#1f242b) + Turuncu vurgu (#f97316)
   ========================================================================= */
:root {
  --anthracite: #1f242b;
  --anthracite-2: #2a3038;
  --anthracite-3: #353c46;
  --orange: #f97316;
  --orange-dark: #ea620c;
  --ink: #1f242b;
  --muted: #667085;
  --line: #e7eaee;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-md: 0 12px 30px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .12);
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--anthracite);
}

a { text-decoration: none; }

.text-orange { color: var(--orange) !important; }
.bg-anthracite { background-color: var(--anthracite) !important; }
.bg-soft { background-color: var(--bg-soft) !important; }
.fw-800 { font-weight: 800; }

/* ---- Buttons ---- */
.btn { border-radius: 999px; font-weight: 600; padding: .7rem 1.6rem; transition: all .2s ease; }
.btn-orange { background: var(--orange); border: 1px solid var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(249,115,22,.32); }
.btn-outline-light-2 { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light-2:hover { background: #fff; color: var(--anthracite); }
.btn-dark-pill { background: var(--anthracite); color: #fff; border: 1px solid var(--anthracite); }
.btn-dark-pill:hover { background: var(--anthracite-2); color: #fff; transform: translateY(-2px); }

/* ---- Navbar ---- */
.navbar { transition: all .3s ease; padding: .9rem 0; }
.navbar-brand { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--anthracite); }
.navbar-brand .dot { color: var(--orange); }
.navbar .nav-link { color: var(--anthracite); font-weight: 500; margin: 0 .35rem; position: relative; }
.navbar .nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .nav-link.active { color: var(--orange); }
.navbar.scrolled { box-shadow: var(--shadow-sm); padding: .55rem 0; background: rgba(255,255,255,.96) !important; backdrop-filter: blur(8px); }

.lang-switch a { color: var(--muted); font-weight: 600; padding: 2px 7px; border-radius: 6px; font-size: .85rem; }
.lang-switch a.active { background: var(--anthracite); color: #fff; }

/* ---- Hero ---- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(20,24,30,.92) 0%, rgba(20,24,30,.78) 45%, rgba(20,24,30,.45) 100%); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 620px; }
.hero .badge-pill { background: rgba(249,115,22,.15); color: #fdba74; border: 1px solid rgba(249,115,22,.35); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .85rem; }

/* Carousel controls */
.carousel-indicators [data-bs-target] { width: 30px; height: 4px; border-radius: 4px; }
.carousel-indicators .active { background: var(--orange); }

/* ---- Section helpers ---- */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.eyebrow { color: var(--orange); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

/* ---- Service cards ---- */
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; height: 100%; transition: all .25s ease; box-shadow: var(--shadow-sm);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(249,115,22,.1); color: var(--orange); font-size: 1.6rem; margin-bottom: 1.1rem;
  transition: all .25s ease;
}
.service-card:hover .service-icon { background: var(--orange); color: #fff; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.service-link { color: var(--anthracite); font-weight: 600; font-size: .9rem; }
.service-link:hover { color: var(--orange); }

/* ---- About ---- */
.about-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.stat-box { text-align: center; }
.stat-box .num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--orange); line-height: 1; }
.stat-box .lbl { color: var(--muted); font-size: .9rem; margin-top: .35rem; }

/* ---- Reference cards ---- */
.ref-card { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); border: 1px solid var(--line); height: 100%; background:#fff;}
.ref-thumb { aspect-ratio: 16/10; overflow: hidden; }
.ref-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ref-card:hover .ref-thumb img { transform: scale(1.06); }
.ref-body { padding: 1.25rem 1.35rem; }
.ref-body .tag { font-size: .75rem; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ref-body h3 { font-size: 1.1rem; margin: .35rem 0; }
.ref-body p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Filter chips */
.filter-chip { border: 1px solid var(--line); background:#fff; color: var(--anthracite); border-radius: 999px; padding: .4rem 1.1rem; font-weight: 600; font-size: .88rem; transition: all .2s; }
.filter-chip:hover { border-color: var(--orange); color: var(--orange); }
.filter-chip.active { background: var(--anthracite); color: #fff; border-color: var(--anthracite); }

/* ---- CTA band ---- */
.cta-band { background: var(--anthracite); border-radius: 22px; color: #fff; padding: 3.2rem; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band .blob { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: rgba(249,115,22,.18); border-radius: 50%; }

/* ---- Quote form ---- */
.quote-wrap { background:#fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); padding: 2.5rem; }
.form-control, .form-select { border-radius: 10px; padding: .7rem .9rem; border: 1px solid var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--orange); box-shadow: 0 0 0 .2rem rgba(249,115,22,.15); }
.form-label { font-weight: 600; color: var(--anthracite); margin-bottom: .4rem; }
.cat-radio input { display: none; }
.cat-radio label {
  display: flex; align-items: center; gap: .6rem; width: 100%; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 12px; padding: .85rem 1rem; font-weight: 600; transition: all .2s; height: 100%;
}
.cat-radio label i { color: var(--orange); font-size: 1.25rem; }
.cat-radio input:checked + label { border-color: var(--orange); background: rgba(249,115,22,.06); box-shadow: 0 0 0 2px rgba(249,115,22,.15); }
.feature-check { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .85rem; margin: 0; }
.feature-group { display: none; }
.feature-group.show { display: block; }

/* ---- Contact ---- */
.contact-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); height:100%; }
.contact-icon { width: 46px; height:46px; border-radius: 12px; background: rgba(249,115,22,.1); color: var(--orange); display:flex; align-items:center; justify-content:center; font-size: 1.25rem; }
.map-wrap iframe { width: 100%; min-height: 360px; border: 0; border-radius: var(--radius); }

/* ---- Footer ---- */
.footer { background: var(--anthracite); color: rgba(255,255,255,.72); padding: 3.5rem 0 1.5rem; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer a { color: rgba(255,255,255,.72); transition: color .2s; }
.footer a:hover { color: var(--orange); }
.footer .brand { color:#fff; font-family:'Sora',sans-serif; font-weight: 800; font-size: 1.3rem; }
.footer .social a { width: 38px; height: 38px; border-radius: 50%; display:inline-flex; align-items:center; justify-content:center; background: rgba(255,255,255,.08); margin-right: .5rem; }
.footer .social a:hover { background: var(--orange); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; }

/* ---- Floating buttons ---- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; font-size: 1.7rem; box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 1040; transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); color:#fff; }
.to-top { position: fixed; right: 22px; bottom: 88px; width: 46px; height: 46px; border-radius: 50%; background: var(--anthracite); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.2rem; border:none; opacity:0; visibility:hidden; transform: translateY(10px); transition: all .25s; z-index: 1040; }
.to-top.show { opacity:1; visibility:visible; transform: translateY(0); }
.to-top:hover { background: var(--orange); color:#fff; }

/* ---- Page header ---- */
.page-header { background: var(--anthracite); color:#fff; padding: 5.5rem 0 3rem; position: relative; }
.page-header h1 { color:#fff; }
.page-header .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); }
.page-header .breadcrumb a { color: rgba(255,255,255,.7); }
.page-header .breadcrumb .active { color: var(--orange); }

/* rich text */
.rich-text img { max-width: 100%; height: auto; border-radius: 10px; }
.rich-text h2, .rich-text h3 { margin-top: 1.5rem; }
.rich-text ul, .rich-text ol { padding-left: 1.2rem; }

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .cta-band { padding: 2.2rem 1.5rem; }
  .quote-wrap { padding: 1.5rem; }
}
