/* ============================================================
   ATABEL A.Ş. — atasehiratabel.com.tr
   Statik tasarım ortak stil dosyası
   Renkler: kırmızı #dc2626 · lacivert #1e3a8a · koyu #0f172a
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1e293b;
    background: #fff;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-dar { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.container-900 { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ================= Header ================= */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-ic {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 38px; object-fit: contain; display: block; }

.nav-menu { display: flex; gap: 28px; align-items: center; }

.nav-item {
    position: relative;
    padding: 10px 0;
    color: #1e293b;
    font-weight: 500;
    font-size: 15.5px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item:hover { color: #dc2626; }
.nav-item.aktif-sayfa { color: #dc2626; font-weight: 600; }

.caret { font-size: 10px; color: #94a3b8; }

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 250px;
    z-index: 1001;
}

.dropdown-item {
    display: block;
    padding: 11px 20px;
    color: #1e293b;
    font-size: 14.5px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover { background: #f1f5f9; color: #dc2626; }

@media (min-width: 901px) {
    .has-dropdown:hover .dropdown { display: block; animation: fadeIn 0.25s ease; }
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
    transition: 0.3s;
}

/* ================= Hero Slider ================= */
.hero-slider {
    position: relative;
    height: 540px;
    overflow: hidden;
    background: #0f172a;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.slide.aktif { opacity: 1; z-index: 1; }

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.slide-icerik { position: relative; max-width: 950px; }

.slide.aktif .slide-icerik { animation: fadeInUp 0.9s ease; }

.slide-baslik { font-size: 52px; font-weight: 700; margin-bottom: 18px; line-height: 1.15; }

.slide-alt { font-size: 22px; opacity: 0.92; margin-bottom: 34px; letter-spacing: 1.5px; }

.slide-btn {
    display: inline-block;
    background: #fff;
    color: #1e3a8a;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.slide-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3); }

.slider-ok {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
    backdrop-filter: blur(4px);
}

.slider-ok:hover { background: rgba(255, 255, 255, 0.32); }
.slider-ok.sol { left: 18px; }
.slider-ok.sag { right: 18px; }

.slider-noktalar {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.nokta {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: 0.3s;
    padding: 0;
}

.nokta.aktif { background: #fff; transform: scale(1.25); }

/* ================= Bölümler ================= */
.section { padding: 80px 20px; }

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #1e293b;
}

.sayfa-icerik { padding-top: 60px; }

.sayfa-baslik {
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 18px;
    color: #1e293b;
}

.kirmizi-cizgi { width: 80px; height: 4px; background: #dc2626; margin: 0 auto 46px; }

/* Ana sayfa Hakkımızda özeti */
.hakkimizda-ozet {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    text-align: center;
    margin-bottom: 32px;
}

.btn-lacivert {
    display: inline-block;
    background: #1e3a8a;
    color: #fff;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 15.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-lacivert:hover { background: #1e40af; transform: translateY(-2px); }

/* ================= Kartlar (Faaliyet) ================= */
.kart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }

.card-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.card-title { font-size: 22px; font-weight: 700; color: #dc2626; margin-bottom: 14px; }

.card p { color: #64748b; line-height: 1.6; flex: 1; }

.card-link { color: #1e3a8a; font-weight: 600; font-size: 14.5px; margin-top: 16px; }

/* ================= Haber & Duyuru ================= */
.haber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.haber-kart {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.haber-kart:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }

.haber-gorsel {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.rozet {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.haber-gorsel .rozet { position: absolute; top: 14px; left: 14px; }

.rozet-haber { background: #dc2626; }
.rozet-duyuru { background: #1e3a8a; }

.haber-govde {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.haber-tarih { color: #94a3b8; font-size: 13px; font-weight: 600; }

.haber-baslik { font-size: 19px; font-weight: 700; color: #1e293b; line-height: 1.4; }

.haber-baslik a:hover { color: #dc2626; }

.haber-ozet { color: #64748b; font-size: 14.5px; line-height: 1.6; flex: 1; }

.haber-link { color: #dc2626; font-weight: 600; font-size: 14px; }

.haber-link:hover { text-decoration: underline; }

/* Filtre butonları */
.filtre-grup {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.filtre-btn {
    padding: 10px 30px;
    border-radius: 50px;
    border: 2px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.filtre-btn:hover { border-color: #1e3a8a; color: #1e3a8a; }

.filtre-btn.aktif { background: #1e3a8a; border-color: #1e3a8a; color: #fff; }

/* Sayfalama */
.sayfalama { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }

.sayfalama a {
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 14.5px;
    transition: 0.2s;
}

.sayfalama a.aktif { background: #1e3a8a; color: #fff; border-color: #1e3a8a; }
.sayfalama a:hover:not(.aktif) { border-color: #1e3a8a; color: #1e3a8a; }

/* Haber detay */
.haber-meta-ust { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

.haber-detay-baslik { font-size: 36px; font-weight: 700; line-height: 1.3; margin-bottom: 26px; color: #1e293b; }

.haber-kapak {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 34px;
}

.haber-icerik { color: #475569; font-size: 16.5px; line-height: 1.9; margin-bottom: 40px; }
.haber-icerik p { margin-bottom: 18px; }

/* ================= Kurumsal / Faaliyet içerik ================= */
.icerik-kutu {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid #dc2626;
    padding: 48px 42px;
    border-radius: 8px;
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
    text-align: justify;
}

.icerik-kutu.lacivert { border-left-color: #1e3a8a; }

.icerik-kutu p { margin-bottom: 20px; }
.icerik-kutu p:last-child { margin-bottom: 0; }

.vurgu-koyu { font-weight: 600; color: #1e293b; }
.vurgu-kirmizi { font-weight: 700; color: #dc2626; font-size: 17px; }
.vurgu-lacivert { font-weight: 700; color: #1e3a8a; font-size: 17px; text-align: center; }

.madde-liste { list-style: none; padding: 0; }

.madde-liste li { margin-bottom: 14px; padding-left: 25px; position: relative; }

.madde-liste li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
}

.imza { margin-top: 38px; padding-top: 22px; border-top: 2px solid #e2e8f0; text-align: left; }
.imza-not { font-style: italic; color: #64748b; margin-bottom: 4px; }
.imza-ad { font-weight: 700; font-size: 18px; color: #1e293b; margin-bottom: 2px; }
.imza-unvan { color: #64748b; font-size: 15px; }

.faaliyet-kapak {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 36px;
}

/* ================= İletişim ================= */
.iletisim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.iletisim-kutu {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 42px 36px;
}

.iletisim-kutu h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #1e293b;
    padding-bottom: 13px;
    border-bottom: 3px solid #dc2626;
    display: inline-block;
}

.iletisim-kutu.lacivert h3 { border-bottom-color: #1e3a8a; }
.iletisim-kutu.yesil h3 { border-bottom-color: #047857; }

.iletisim-etiket { font-weight: 600; color: #1e293b; margin-bottom: 4px; font-size: 15px; }
.iletisim-deger { color: #475569; margin-bottom: 20px; font-size: 15px; line-height: 1.6; }

.iletisim-form { display: flex; flex-direction: column; gap: 16px; }

.form-alan {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    resize: vertical;
}

.form-alan:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.turnstile-alan {
    border: 1.5px dashed #cbd5e1;
    border-radius: 6px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 13.5px;
    background: #f8fafc;
    line-height: 1.5;
}

.form-btn {
    background: #1e3a8a;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.form-btn:hover { background: #1e40af; }

/* ================= Footer ================= */
.footer {
    background: #0f172a;
    color: #fff;
    padding: 38px 20px;
    text-align: center;
}

.footer-sosyal {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-sosyal a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: opacity 0.3s;
}

.footer-sosyal a:hover { opacity: 0.7; }

.footer-copy { color: #94a3b8; font-size: 14.5px; }

/* ================= Video Modal ================= */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-kutu {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: #1e293b;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-kapat {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.video-kapat:hover { background: rgba(255, 255, 255, 0.35); transform: scale(1.08); }

.video-oran { position: relative; padding-bottom: 56.25%; border-radius: 10px; overflow: hidden; }

.video-oran iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ================= Animasyonlar ================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= Responsive ================= */
@media (max-width: 900px) {
    .hamburger { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 14px;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    }

    .nav-menu.acik { display: flex; }

    .nav-item { padding: 12px 22px; justify-content: space-between; }

    .has-dropdown { flex-direction: column; align-items: stretch; gap: 0; }

    .has-dropdown > .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 6px;
        padding: 4px 0 6px 14px;
        min-width: 0;
        background: #f8fafc;
        margin-top: 10px;
    }

    .has-dropdown.acik .dropdown { display: block; }

    .hero-slider { height: 440px; }
    .slide-baslik { font-size: 32px; }
    .slide-alt { font-size: 16px; letter-spacing: 0.5px; }
    .slide-btn { padding: 13px 32px; font-size: 15px; }
    .slider-ok { width: 38px; height: 38px; font-size: 16px; }

    .section { padding: 56px 16px; }
    .section-title { font-size: 30px; margin-bottom: 36px; }
    .sayfa-baslik { font-size: 30px; }
    .haber-detay-baslik { font-size: 26px; }
    .icerik-kutu { padding: 30px 22px; }
    .faaliyet-kapak { height: 220px; }
}

/* Form sonuc uyarilari */
.form-uyari { padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
.form-uyari.ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-uyari.hata { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
