/* ============================
   GLOBAL & RESET
============================ */
* {
    box-sizing: border-box; /* ÖNEMLİ: Paddinglerin genişliği taşırmasını engeller */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #f5f6f8;
    color: #222;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased; /* Yazıların daha pürüzsüz görünmesini sağlar */
}

img {
    max-width: 100%; /* Görsellerin taşmasını global olarak engeller */
    display: block;
}

/* ============================
   HEADER
============================ */
.header-wrap {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.header-logo img {
    height: 46px;
    width: auto; /* Orantıyı koruması için */
}

.navbar {
    display: flex;
    gap: 28px;
}

.navbar a {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: color .2s;
}

.navbar a:hover {
    color: #003366;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #003366;
    padding: 5px;
}

/* ============================
   ARTICLE CONTAINER
============================ */
.article-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
}

.article-container h1 {
    font-size: 34px;
    color: #003366;
    margin-bottom: 10px;
    line-height: 1.2;
}

.article-container .lead {
    font-size: 20px;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.6;
}

.article-container img.hero {
    width: 100%;
    border-radius: 12px;
    margin: 25px 0;
    height: auto;
    object-fit: cover;
}

/* ============================
   GALLERY
============================ */
.gallery {
    margin-top: 40px;
}

.gallery h2 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 180px;
}

/* ============================
   VIDEO
============================ */
.video-box {
    margin-top: 40px;
}

.video-box h2 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 15px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================
   SHARE BUTTONS
============================ */
.share {
    margin-top: 40px;
}

.share a {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
    margin-bottom: 10px; /* Mobilde alt alta gelirse yapışmasın diye */
}

.share a:hover {
    opacity: 0.85;
}

.fb { background: #1877f2; }
.tw { background: #000; }
.li { background: #0a66c2; }

/* ============================
   FOOTER (SEÇENEK 1 - STANDART)
   Not: Eğer Alura Footer kullanacaksanız bu bloğu silebilirsiniz.
============================ */
.ft-wrapper {
    width: 100%;
    margin: 60px 0;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.ft-card {
    width: 100%;
    max-width: 1100px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
    padding: 40px 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px 32px;
}

.ft-sec h4 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #004d40;
    text-transform: uppercase;
}

.ft-sec ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ft-sec li {
    margin: 6px 0;
}

.ft-sec a {
    text-decoration: none;
    color: #3b5b6d;
    font-size: 15px;
    display: block;
}

.ft-sec a:hover {
    text-decoration: underline;
    color: #007bff;
}

/* Category Widget (Footer içinde kullanılıyor olabilir) */
.cat-wrap {
    position: relative;
    display: inline-block;
}

.cat-wrap img {
    width: 160px;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.cat-wrap span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    opacity: 0;
    transition: .25s;
}

.cat-wrap:hover span {
    opacity: 1;
}

/* ============================
   FOOTER (SEÇENEK 2 - ALURA SAFE)
   Düzeltilmiş sosyal medya ikonları (yan yana)
============================ */
.alura-footer {
    margin-top: 70px;
    background: #fff;
    padding: 70px 25px 40px;
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
}

.footer-top {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand img {
    width: 190px;
    margin-bottom: 14px;
}

.footer-brand p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    max-width: 320px;
}

/* ============================
   FOOTER (SEÇENEK 2 - ALURA SAFE)
   Düzeltilmiş sosyal medya ikonları (yan yana)
============================ */
.alura-footer {
    margin-top: 70px;
    background: #fff;
    padding: 70px 25px 40px;
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
}

.footer-top {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand img {
    width: 190px;
    margin-bottom: 14px;
}

.footer-brand p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    max-width: 320px;
}

/* ✅ SOSYAL MEDYA İKONLARI – YAN YANA DÜZELTİLDİ */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #003366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 🔥 İKONUN YUVARLAK İÇİNE TAM OTURMASINI SAĞLAYAN KRİTİK SATIRLAR */
.footer-social a {
    width: 40px;
    height: 40px;
    padding: 0 !important;              /* daireyi bozan boşlukları sıfırlar */
    line-height: 40px !important;       /* daireyi gerçek kare yapar */
    vertical-align: middle !important;  /* yukarı kaymayı bitirir */
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.footer-social a i {
    line-height: 1 !important;          /* ikonun kendi asimetrisini sıfırlar */
    font-size: 18px;
    position: relative;
    top: 1px;                            /* çok hafif aşağı */
    left: 9px;                             /* sağ-sol kaymayı kaldırdım */
}

.footer-social a:hover {
    background: #001f3f;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    color: #777;
    font-size: 14px;
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 900px) {
    .navbar { display: none; }
    .menu-toggle { display: block; }

/* Mobil menü açıkken görünür olması */
.navbar.open {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    background: #fff;
    padding: 20px;
    margin-top: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


    .article-container {
        padding: 25px;
        margin: 20px auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer Tablet */
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto 14px auto;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    /* Mobilde sosyal ikonlar ortalansın */
    .footer-social {
        justify-content: center;
    }
}

/* === FOOTER LİNK & BAŞLIK DÜZENLEMELERİ === */

.footer-top > div a {
    display: block;
    margin-bottom: 8px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-top > div a:hover {
    color: #003366;
    padding-left: 5px;
}

.footer-top > div h4,
.footer-top > div strong,
.footer-top > div b {
    display: block;
    margin-bottom: 20px;
    color: #003366;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FAQ BOX */
.faq-title {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 700;
    color: #003366;
}

.faq-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.faq-item {
    margin-bottom: 28px;
}

.faq-item h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #003366;
}

.faq-item p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 15px;
}

.faq-item ul {
    margin: 8px 0 0 20px;
}

.faq-item ul li {
    margin-bottom: 4px;
}
/* ---------- COMPACT FAQ ---------- */
.faq-box.compact {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-top: 25px;
}

.faq-box.compact .faq-item {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.faq-box.compact .faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-box.compact h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #003366;
}

.faq-box.compact p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #444;
}

/* ============================
   CTA BOX – ULTRA PROFESSIONAL
============================ */
.cta-box {
    background: #f7faff;
    border-left: 6px solid #003366;
    padding: 30px 35px;
    border-radius: 14px;
    margin: 45px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.cta-box h2 {
    margin-top: 0;
    font-size: 24px;
    color: #003366;
}

.cta-box p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 600;
    background: #003366;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.25s;
}

.cta-btn:hover {
    background: #001f33;
    transform: translateY(-2px);
}

/* Color variations */
.cta-box.blue { border-left-color: #0077ff; }
.cta-box.dark { border-left-color: #2b2b2b; background:#f2f2f2; }
.cta-box.green { border-left-color: #0a8f38; }

.insta-section {
    margin: 50px 0;
}

.insta-section h2 {
    font-size: 26px;
    color: #003366;
    margin-bottom: 20px;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.insta-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s;
}

.insta-grid img:hover {
    opacity: .85;
    transform: scale(1.04);
}

/* POPUP */
.insta-popup {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.insta-popup img {
    max-width: 90%;
    max-height: 75vh;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.insta-popup .insta-btn {
    margin-top: 18px;
    background: #E1306C;
    color: #fff;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.insta-popup .insta-btn:hover {
    background: #b62454;
}

.insta-popup .close-popup {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 38px;
    color: white;
    cursor: pointer;
}

