/* ═══════════════════════════════════════════════
   KÖRFEZ SİGORTA — KURUMSAL BİLGİLENDİRME SİTESİ
   Sade, modern, güven odaklı kurumsal tasarım.
   Renk paleti: lacivert + beyaz + gri, vurgular muted mavi/gri.
   Emoji veya dekoratif ikon kullanılmamıştır.
═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Renk paleti ve temel değişkenler ──
   Özelleştirmek için sadece bu bloğu değiştirmeniz yeterlidir. */
:root {
    --navy:        #0F2540;   /* ana marka rengi: başlıklar, birincil butonlar */
    --navy-dark:   #0A1B30;   /* hover durumu */
    --accent:      #3D5A80;   /* muted mavi: vurgular, linkler, odak durumu */
    --white:       #FFFFFF;
    --gray-50:     #F7F8FA;
    --gray-100:    #EEF1F4;
    --gray-200:    #E2E6EA;
    --gray-300:    #CBD3DA;
    --gray-400:    #94A0AC;
    --gray-600:    #56626D;
    --dark:        #16202B;   /* gövde metni */
    --radius:      10px;
    --radius-lg:   16px;
    --shadow-sm:   0 1px 3px rgba(15,37,64,.06);
    --shadow-md:   0 8px 24px rgba(15,37,64,.08);
    --font:        'Inter', system-ui, -apple-system, sans-serif;
    --trans:       all .18s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    color: var(--dark);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
/* Metin ağırlıklı bölümlerde okunabilirlik için dar sütun */
.container.narrow { max-width: 780px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Bölüm başı küçük etiket (ör. "Hakkımızda") */
.eyebrow {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.01em;
    margin-bottom: .9rem;
    max-width: 640px;
}
.section-lead {
    font-size: 1.02rem;
    color: var(--gray-600);
    max-width: 620px;
    margin-bottom: 2.5rem;
}
.body-text {
    font-size: 1.02rem;
    color: var(--gray-600);
    margin-bottom: 1.1rem;
}
.body-text:last-child { margin-bottom: 0; }

/* ── Butonlar ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--trans);
    white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--navy); }

/* ══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-200);
}
.navbar-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: .8rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-logo { height: 41px; width: auto; }

/* Masaüstünde mobile-drawer, normal içerik gibi yatay sıralanır (bkz. display:contents) */
.mobile-drawer { display: contents; }
.nav-links {
    display: flex;
    gap: 1.75rem;
    margin-left: auto;
}
.nav-links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--trans);
}
.nav-links a:hover { color: var(--navy); }
/* Bulunulan sayfanın bağlantısını belirginleştirir */
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-cta { padding: .55rem 1.2rem; font-size: .85rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--navy); border-radius: 2px; }

/* ══════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero { padding: 5rem 0; background: var(--gray-50); }
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.015em;
    color: var(--navy);
    margin-bottom: 1.25rem;
}
.hero-lead {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 520px;
    margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ── Hero Hızlı Teklif Formu ── */
.quote-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
}
.quote-card-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.quote-card-sub { font-size: .88rem; color: var(--gray-600); margin-bottom: 1.25rem; }

.quote-tabs {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 1.25rem;
    gap: 4px;
}
.quote-tab {
    flex: 1;
    padding: .55rem .5rem;
    border: none;
    border-radius: calc(var(--radius) - 4px);
    background: transparent;
    color: var(--gray-600);
    font-family: var(--font);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans);
}
.quote-tab:hover { color: var(--navy); }
/* Aktif sekme: koyu mavi arka plan ile belirginleşir */
.quote-tab.active { background: var(--navy); color: var(--white); }

.quote-form { display: flex; flex-direction: column; gap: 1rem; }
.quote-form .form-submit { width: 100%; }

/* ══════════════════════════════════════════
   ORTAK BÖLÜM DÜZENİ
═══════════════════════════════════════════════ */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--gray-50); }
/* İçerik sayfalarında (Ürünler, Hakkımızda vb.) hero olmadığı için
   navbar'ın hemen altında biraz daha üst boşluk bırakır */
.page-head { padding-top: 4rem; }
/* İçerik sayfalarının sonunda yer alan yönlendirme butonları */
.page-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 3rem; }

/* ── Ürünler ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem;
    transition: var(--trans);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.product-card p { font-size: .9rem; color: var(--gray-600); }

/* ── Neden Biz ── */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
    margin-top: 2rem;
}
.reason-index {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-300);
    margin-bottom: .5rem;
}
.reason-item h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.reason-item p { font-size: .9rem; color: var(--gray-600); }

/* ── İletişim ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; flex-direction: column; gap: .25rem; }
.contact-info-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.contact-info-item a,
.contact-info-item span:not(.contact-info-label) {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}
.contact-info-item a:hover { color: var(--accent); }

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-size: .8rem; font-weight: 600; color: var(--navy); }
.form-row input,
.form-row textarea {
    width: 100%;
    padding: .65rem .8rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .92rem;
    color: var(--dark);
    background: var(--gray-50);
    transition: var(--trans);
    resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(61,90,128,.12);
}
.form-submit { align-self: flex-start; margin-top: .3rem; }
.form-status {
    font-size: .85rem;
    color: var(--accent);
    min-height: 1.2em;
}

/* ══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer { background: var(--navy); color: var(--gray-300); padding: 2.5rem 0; }
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-links a { font-size: .85rem; color: var(--gray-300); transition: var(--trans); }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: .8rem; color: var(--gray-400); }

/* ══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .mobile-drawer { display: none; }
    .nav-toggle { display: flex; }
    .navbar.nav-open .mobile-drawer {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1.5rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }
    .navbar.nav-open .nav-links { flex-direction: column; gap: 1rem; margin-left: 0; }
    .navbar.nav-open .nav-cta { align-self: flex-start; }

    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .reasons-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
    .hero { padding: 3.5rem 0; }
    .section { padding: 3.75rem 0; }
    .product-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 1.5rem; }
    .quote-card { padding: 1.25rem; }
    .quote-tabs { flex-direction: column; }
}
