/* 1. GENEL AYARLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-light: #f1fafa;      
    --navy-blue: #243b5e;     
    --hover-blue: #49bce3;    
    --text-gray: #4a4a4a;     
}

/* 2. HEADER ve NAVBAR */
.site-header {
    background-color: var(--bg-light);
    height: 100px;
    display: flex;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--hover-blue);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li.active a::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.desktop-only {
    display: inline-block;
}

.btn-contact {
    background-color: var(--navy-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
}

.btn-contact:hover {
    background-color: var(--hover-blue);
}

/* 3. DİL SEÇİMİ */
.lang-wrapper {
    position: relative;
    cursor: pointer;
    padding: 10px 0;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-gray);
}

.lang-flag {
    width: 24px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chevron {
    border: solid var(--text-gray);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2.5px;
    transform: rotate(45deg);
    transition: transform 0.3s;
    margin-left: 2px;
}

.lang-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    list-style: none;
    min-width: 100px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1001;
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 14px;
}

.lang-dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--hover-blue);
}

.lang-wrapper:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    top: 40px;
}

.lang-wrapper:hover .chevron {
    transform: rotate(-135deg);
}

/* 4. HAMBURGER MENÜ STİLİ */
.mobile-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-btn span {
    width: 100%;
    height: 3px;
    background: var(--navy-blue);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.mobile-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* 5. BLOG DETAY İÇERİK ALANI */
.blog-post-content {
    background-color: #fcfdfe;
    padding: 60px 0;
}

.content-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-title {
    color: #0c3d5d;
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.post-featured-image img {
    width: 100%;
    border-radius: 25px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.post-body p {
    color: #5a717e;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.post-section h3 {
    color: #0c3d5d;
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 10px 0;
}

.post-conclusion {
    margin-top: 40px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 15px;
    border-left: 5px solid #00bcd4;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.post-conclusion h4 {
    color: #00bcd4;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Paylaşım Butonları */
.post-share-section {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 2px solid #00bcd4;
}

.share-title {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #00bcd4;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.share-btn:hover img {
    transform: scale(1.2);
}

/* 6. FOOTER (SABİTLENMİŞ) */
.byd-footer {
    background-color: #b7ecea !important;
    padding: 80px 0 25px 0;
    width: 100%;
}

.byd-container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.byd-footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Kaymayı önler */
    gap: 40px;
    flex-wrap: wrap;
}

.byd-footer-col {
    flex: 1;
    min-width: 250px;
}

.byd-footer-logo img {
    height: 75px;
    margin-bottom: 20px;
}

.byd-footer-about {
    color: #243b5e;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 350px;
}

.byd-social-links { display: flex; gap: 12px; }
.byd-social-item {
    width: 45px; height: 45px; background: #ffffff; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.byd-social-item svg { width: 22px; height: 22px; fill: #49bce3; transition: fill 0.3s; }
.byd-social-item:hover { background: #49bce3; }
.byd-social-item:hover svg { fill: #ffffff; }

.byd-footer-title { color: #243b5e; font-size: 22px; font-weight: 700; margin-bottom: 25px; }
.byd-footer-links { list-style: none; padding: 0; }
.byd-footer-links li { margin-bottom: 12px; }
.byd-footer-links a { text-decoration: none; color: #243b5e; font-weight: 600; font-size: 17px; transition: 0.3s; }
.byd-footer-links a:hover { color: #49bce3; }

.byd-contact-list { display: flex; flex-direction: column; gap: 15px; }
.byd-contact-item { display: flex; align-items: center; gap: 15px; }
.c-icon {
    width: 36px; height: 36px; background: #c7f2f2; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.c-icon svg { width: 18px; height: 18px; fill: #49bce3; }
.byd-contact-item a, .byd-contact-item span { text-decoration: none; color: #49bce3; font-weight: 600; font-size: 16px; }

.byd-footer-bottom { margin-top: 60px; padding-top: 20px; text-align: right; border-top: 1px solid rgba(0, 0, 0, 0.05); }
.byd-footer-bottom a { color: #243b5e; font-size: 14px; text-decoration: underline; font-weight: 500; }

/* 7. STICKY WHATSAPP */
.sticky-whatsapp {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background-color: #25d366; color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 35px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none;
}
.sticky-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.4); background-color: #20b957; }

/* ========================================= */
/* MOBILE RESPONSIVE AYARLARI                */
/* ========================================= */

@media (max-width: 1024px) {
    /* Header */
    .site-header { padding: 0 15px; }
    .desktop-only { display: none !important; }
    .mobile-btn { display: flex; }

    /* Navigasyon */
    .main-nav {
        display: block; position: absolute; top: 100px; left: 0; width: 100%;
        background-color: #ffffff; padding: 0; max-height: 0; overflow: hidden;
        transition: max-height 0.5s ease-in-out, box-shadow 0.3s ease;
        border-bottom: 1px solid rgba(0,0,0,0.05); box-shadow: none; z-index: 999;
    }
    .main-nav.nav-open { max-height: 400px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .main-nav ul { flex-direction: column; align-items: center; gap: 0; padding: 20px 0; }
    .main-nav ul li { width: 100%; text-align: center; }
    .main-nav ul li a { display: block; padding: 15px; border-bottom: 1px solid #f1f1f1; width: 100%; }
    .main-nav ul li a::after { display: none; }

    /* Footer */
    .byd-footer-grid { flex-direction: column; align-items: center; text-align: center; }
    .byd-footer-col { width: 100%; margin-bottom: 40px; }
    .byd-footer-about, .byd-social-links, .byd-contact-item { justify-content: center; margin: 0 auto 15px auto; }
    .byd-footer-bottom { text-align: center; }
}

@media (max-width: 768px) {
    .post-title { font-size: 28px; }
    .post-featured-image img { border-radius: 15px; }
}

@media (max-width: 576px) {
    .site-header { height: 80px; }
    .main-nav { top: 80px; }
    .logo img { height: 50px; }
    
    .sticky-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 28px; }
}