/* ==========================================
   GENEL WRAPPER
========================================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.body-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
}

/* ==========================================
   GENEL
========================================== */
body {
    transition: background-color 0.35s ease, color 0.35s ease;
    font-family: 'Inter', sans-serif;
}

* {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.container {
    max-width: 1000px; /* GENİŞLİK KÜÇÜLTÜLDÜ */
    margin: 0 auto;
    padding: 0 15px; /* daha dar iç boşluk */
}

.top-flex, .nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================
   TOP BAR
========================================== */
.top-bar {
    padding: 8px 0 6px 0; /* DAHA İNCE */
    border-bottom: 1px solid #d0d0d0;
}

.top-links {
    display: flex;
    gap: 25px; /* daha da dar */
}

    .top-links a {
        font-size: 12px; /* daha küçük yazı */
        text-decoration: none;
        color: #555;
        letter-spacing: 0.25px;
    }

/* ==========================================
   LOGO
========================================== */
#sideLogo {
    width: 135px; /* küçültüldü */
    margin-bottom: 15px;
}

.header-logo {
    text-align: center;
    flex: 1;
}

    .header-logo img {
        height: 190px; /* küçültüldü */
    }

#firstLogo {
    height: 165px; /* küçültüldü */
    margin-right: 130px; /* daha yakın */
}

/* ==========================================
   SAĞ TARAF / ABONE / TEMA BUTONLARI
========================================== */
.right-side {
    display: flex;
    gap: 20px; /* daha dar */
    align-items: center;
}

.subscribe-btn {
    font-size: 13px; /* daha küçük */
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #444;
    padding-bottom: 1px;
}

/* Tema Toggle Küçültüldü */
.theme-toggle {
    position: relative;
    width: 55px; /* küçültüldü */
    height: 28px; /* küçültüldü */
    background: #e6e6e6 !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7px;
    cursor: pointer;
}

.dark-mode .theme-toggle {
    background: #0f0f0f !important;
}

.theme-toggle i {
    z-index: 3;
    font-size: 12px; /* küçültüldü */
    opacity: 0.8;
}

/* Beyaz top */
.theme-toggle .toggle-ball {
    position: absolute;
    width: 22px; /* küçültüldü */
    height: 22px; /* küçültüldü */
    background: #ffffff;
    border-radius: 50%;
    left: 3px;
    transform: translateX(0);
    transition: transform 0.35s ease;
    z-index: 1;
}

/* DARK modda topu sağa kaydır */
.theme-toggle.dark .toggle-ball {
    transform: translateX(28px); /* küçültülmüş toggle'a göre ayarlandı */
}

/* ==========================================
   MENÜ
========================================== */
.main-menu {
    padding: 8px 0 9px 0;
    border-bottom: 1px solid #ddd;
}

.menu {
    display: flex;
    gap: 55px;
    list-style: none;
}

    .menu li a {
        font-size: 13px;
        text-decoration: none;
        color: #222;
    }

/* ==========================================
   MOBILE MENU ICON
========================================== */
.mobile-menu-trigger {
    width: 32px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

    .mobile-menu-trigger span {
        width: 100%;
        height: 3px;
        background: #111;
        border-radius: 3px;
    }

/* ==========================================
   SOL PANEL
========================================== */
.side-panel {
    position: fixed;
    width: 400px;
    left: 0;
    top: 0;
    height: 100vh;
    background: #fff;
    padding: 40px;
    transform: translateX(-100%);
    transition: 0.35s ease;
    z-index: 5000;
    box-shadow: 4px 0 12px rgba(0,0,0,0.2);
}

    .side-panel.active {
        transform: translateX(0);
    }

.side-close {
    position: absolute;
    right: 35px;
    top: 35px;
    font-size: 32px;
    cursor: pointer;
}

.side-panel h3 {
    margin-top: 20px;
    font-size: 22px;
}

.side-social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

    .side-social i {
        font-size: 22px;
    }

/* ==========================================
   FOOTER
========================================== */
.footer-area {
    background: #E8EBEF;
    padding-top: 70px;
    font-family: 'Georgia', serif;
    margin-top: 80px;
}

/* ======================
   ÜST ABONE ALANI
====================== */
.footer-subscribe {
    position: relative;
    padding-bottom: 60px;
}

    .footer-subscribe::after {
        content: "";
        width: 80%;
        max-width: 1100px;
        height: 1px;
        background: #d8d8d8;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
    }

.footer-subscribe-inner {
    display: flex;
    gap: 80px;
}

.footer-title {
    padding-left:250px;
    font-size: 34px;
    font-weight: 600;
}

/* Form */
.subscribe-group {
    display: flex;
}

.subscribe-input {
    border: 1px solid #C7CCD1;
    padding: 12px 14px;
    width: 100%;
    max-width: 350px;
    border-radius: 5px 0 0 5px;
}

.subscribe-button {
    background: #DD4A22;
    color: white;
    padding: 0 30px;
    border: none;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
}
/* ==========================================
   FOOTER ALT BLOK
========================================== */
.footer-main {
    padding: 40px 0 35px 0; 
}
.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 120px;
}

.footer-col {
    flex: 1;
}

.footer-left {
    flex: 1.4;
}

.footer-logo {
    width: 120px;
}

/* Sosyal */
.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    color: #333;
}

    .footer-social a:hover {
        background: #DD4A22;
        color: white;
    }

/* ==========================================
   COPYRIGHT
========================================== */
.footer-bottom {
    text-align: center;
    padding: 15px 0 20px 0 !important;
    position: relative;
}

    .footer-bottom hr {
        width: 80%;
        max-width: 1100px;
        margin: 0 auto 15px auto;
        border: 1px solid #ddd;
    }

    .footer-bottom::before {
        content: "";
        width: 80%;
        max-width: 1200px;
        height: 1px;
        background: #cfd1d4;
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

/* ==========================================
   YUKARI ÇIK
========================================== */
.scrollTop {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
}

    .scrollTop i {
        font-size: 20px;
        color: #333;
    }

/* ==========================================
   DARK MODE
========================================== */
body.dark-mode {
    background: #0d0d0d !important;
    color: #fff !important;
}
/* DARK MODE — Ay ikonunu beyaz yap */
.dark-mode .theme-toggle i.bi-moon,
.dark-mode .theme-toggle i.fa-moon,
.dark-mode .theme-toggle .moon-icon {
    color: #ffffff !important;
    opacity: 1 !important;
}
/* Arka plan karartma (overlay) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45); /* karartma */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 4000;
}

    .overlay.active {
        opacity: 5;
        pointer-events: all;
    }

/* Güneş ikonu dark modda hafif gri olsun */
.dark-mode .theme-toggle i.bi-sun,
.dark-mode .theme-toggle i.fa-sun,
.dark-mode .theme-toggle .sun-icon {
    color: #bbbbbb !important;
    opacity: 0.7 !important;
}
    /* Yazılar */
    body.dark-mode p,
    body.dark-mode h1,
    body.dark-mode h2,
    body.dark-mode h3,
    body.dark-mode h4,
    body.dark-mode h5,
    body.dark-mode h6,
    body.dark-mode span,
    body.dark-mode li,
    body.dark-mode a {
        color: #fff !important;
    }

        /* Link hover */
        body.dark-mode a:hover {
            color: #ffb97a !important;
        }

    /* Top-bar */
    body.dark-mode .top-bar {
        background: #111;
        border-color: #333;
    }

    /* NAV */
    body.dark-mode .main-menu {
        background: #111;
        border-color: #333;
    }

    body.dark-mode .menu li a {
        color: #fff;
    }

    /* Mobil bar çizgisi */
    body.dark-mode .mobile-menu-trigger span {
        background: #fff;
    }

    /* Sol Panel */
    body.dark-mode .side-panel {
        background: #121212 !important;
        color: #fff !important;
    }

    /* Footer */
    body.dark-mode .footer-area {
        background: #121212 !important;
    }

    body.dark-mode .footer-bottom::before,
    body.dark-mode .footer-bottom hr {
        border-color: rgba(255,255,255,0.2) !important;
    }

    body.dark-mode .footer-social a {
        background: #222;
        color: #fff;
    }

        body.dark-mode .footer-social a:hover {
            background: #DD4A22 !important;
        }
