/* =====================================================================
   Var Yapı Teknik Güçlendirme - Özel stiller
   Tailwind CDN ile birlikte kullanılır (premium bileşenler)
   ===================================================================== */

:root {
    --navy: #0f1b35;
    --navy-700: #16264a;
    --accent: #d12b1f;       /* logo kırmızısı */
    --accent-dark: #a81f16;  /* hover */
    --accent-light: #e35b50;
}

body { -webkit-font-smoothing: antialiased; }

/* ---------- Yatay taşma koruması ----------
   AOS animasyonları (fade-left/right) öğeleri geçici olarak yatayda kaydırır;
   bu da mobilde ekrandan taşmaya/yatay kaymaya yol açar.
   overflow-x: clip, sticky navbar'ı bozmadan taşmayı engeller. */
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100%; position: relative; }
/* clip desteklemeyen eski tarayıcılar için yedek */
@supports not (overflow: clip) {
    html, body { overflow-x: hidden; }
}

h1, h2, h3, h4, .font-heading { font-family: 'Manrope', system-ui, sans-serif; }

/* ---------- Butonlar ---------- */
.btn-accent {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; font-weight: 700;
    padding: 0.7rem 1.4rem; border-radius: 0.65rem;
    font-family: 'Manrope', sans-serif; font-size: 0.95rem;
    box-shadow: 0 8px 20px -8px rgba(209, 43, 31, 0.6);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(168, 31, 22, .6); }

.btn-navy {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--navy); color: #fff; font-weight: 700;
    padding: 0.7rem 1.4rem; border-radius: 0.65rem; font-family: 'Manrope', sans-serif;
    transition: transform .18s ease, background .18s ease;
}
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn-outline-light {
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-weight: 600;
    padding: 0.7rem 1.4rem; border-radius: 0.65rem; font-family: 'Manrope', sans-serif;
    transition: background .18s ease, border-color .18s ease;
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-outline-navy {
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--navy); color: var(--navy); font-weight: 600;
    padding: 0.65rem 1.3rem; border-radius: 0.65rem; font-family: 'Manrope', sans-serif;
    transition: background .18s ease, color .18s ease;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Bölüm başlıkları ---------- */
.section-label {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
    color: var(--accent-dark);
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--accent); display: inline-block; }

/* ---------- Kartlar ---------- */
.service-card {
    background: #fff; border: 1px solid #eef1f6; border-radius: 1rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -20px rgba(15,27,53,.35); border-color: #dfe5ee; }

.icon-badge {
    width: 56px; height: 56px; border-radius: .85rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #16264a, #0f1b35); color: var(--accent);
}

/* ---------- Galeri ---------- */
.gallery-item img { transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Footer ---------- */
.footer-title { color: #fff; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.footer-link { color: #94a3b8; transition: color .18s ease; }
.footer-link:hover { color: var(--accent); }
.social-ico {
    width: 38px; height: 38px; border-radius: .55rem; background: rgba(255,255,255,.07);
    display: inline-flex; align-items: center; justify-content: center; color: #cbd5e1;
    transition: background .18s ease, color .18s ease;
}
.social-ico:hover { background: var(--accent); color: #fff; }

/* ---------- Hero ---------- */
.hero-overlay { background: linear-gradient(110deg, rgba(10,19,38,.94) 0%, rgba(15,27,53,.82) 45%, rgba(15,27,53,.45) 100%); }

/* ---------- Accordion (SSS) ---------- */
.faq-item { border: 1px solid #eef1f6; border-radius: .75rem; overflow: hidden; background: #fff; }
.faq-q { width: 100%; text-align: left; padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 1.25rem 1.2rem; color: #475569; line-height: 1.7; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .25s ease; color: var(--accent-dark); }

/* ---------- Süreç adımları ---------- */
.process-step { position: relative; }
.process-num { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 2.5rem; color: #e8edf5; line-height: 1; }

/* ---------- Form ---------- */
.form-input {
    width: 100%; border: 1px solid #d8dee9; border-radius: .6rem; padding: .75rem .9rem;
    font-size: .95rem; transition: border-color .15s ease, box-shadow .15s ease; background: #fff;
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(209,43,31,.15); }
.form-label { display: block; font-weight: 600; color: var(--navy); font-size: .9rem; margin-bottom: .4rem; }

/* ---------- Lightbox ---------- */
#lightbox { background: rgba(8,13,26,.94); }

/* ---------- Navbar gölge (scroll) ---------- */
#navbar.scrolled { box-shadow: 0 8px 24px -16px rgba(15,27,53,.4); }

/* ---------- Prose içerik ---------- */
.prose-content h3 { font-family: 'Manrope', sans-serif; color: var(--navy); font-weight: 700; font-size: 1.25rem; margin: 1.5rem 0 .6rem; }
.prose-content p { margin-bottom: 1rem; line-height: 1.8; }
.prose-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.prose-content ul li { margin-bottom: .4rem; }

/* AOS yüklenmeden önce içerik gizlenmesin (JS kapalıysa erişilebilirlik) */
[data-aos] { opacity: 1; }
.aos-init[data-aos] { opacity: 0; }
