/* ===== Global ===== */
body {
    background: #f3f6fb;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    transition: all 0.3s ease;
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #e3e3e3;
}
.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
}
.navbar-flag {
    height: 24px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.navbar-logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(90deg, #012169, #C8102E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-link { color: #333 !important; font-weight: 500; }
.nav-link:hover { color: #0d6efd !important; }

/* Active link */
.navbar .nav-link.active {
    font-weight: 400 !important;
    color: #0d6efd !important;
}


/* ===== Hero ===== */
.hero {
    padding: 90px 20px 70px;
    text-align: center;
}
.hero-title {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(90deg, #012169, #C8102E, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    max-width: 850px;
    margin: auto;
    font-size: 18px;
    color: #444;
}

/* ===== Buttons ===== */
.btn-primary, .btn-outline-primary, .btn-outline-secondary {
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-primary:hover { background: #0b5ed7; }

/* ===== Chat Card Flex ===== */
.chat-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

/* Bayrak – sol üst köşeye yapışık */
.card-flag-vertical {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 35px;
    object-fit: contain;
    border-top-left-radius: 18px;
    border-bottom-right-radius: 0;
    z-index: 2;
}

/* Card Body – İçerik ortalı, bayraktan bağımsız */
.chat-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 150px;
    padding: 20px;
}

.chat-card h4 {
    margin-top: 12px;
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(140deg, #ebf0ff 0%, #f9fbff 100%);
    color: #1e2a38;
    border-top: 1px solid #cfd9f6;
    margin-top: 60px;
    padding-top: 50px;
    position: relative;
}
footer h4, footer h6 {
    font-weight: 800;
    color: #162b4c;
}
footer p.footer-desc {
    color: #1e2a38;
}
footer p {
    color: #2a3853;
    font-size: 15px;
}
footer a {
    color: #0d6efd;
    text-decoration: none !important;
    font-weight: 600;
}
footer a:hover {
    color: #0b5ed7;
    text-decoration: none !important; /* underline tamamen kapansın istiyorsan */
}
footer hr {
    border-color: #b8c6ea;
}
.footer-sponsor {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 40px;
    background: #ffffff;
    border: 1px solid #d5e1ff;
    font-weight: 700;
}

/* Footer bayrak */
.footer-flag {
    height: 28px;
    width: auto;
    display: inline-block;
}

/* Footer ikonlar */
footer h6 i {
    font-size: 1.1rem;
    color: #0d6efd;
}

/* ===== Responsive Footer ===== */
@media(max-width:992px){
    footer .col-lg-4, footer .col-lg-2{
        text-align:center;
        margin-bottom:30px;
    }
}
@media(max-width:576px){
    footer{
        padding-top:35px;
    }
    footer h4{
        font-size:20px;
    }
    footer p, footer a{
        font-size:14px;
    }
}

/* ===== Dark Mode ===== */
body.dark-mode {
    background: #121212;
    color: #e4e6eb;
}
body.dark-mode .navbar {
    background: rgba(18,18,18,0.9);
    border-bottom: 1px solid #333;
}
body.dark-mode .nav-link {
    color: #ddd !important;
}
body.dark-mode .hero-desc {
    color: #fff;
}
body.dark-mode .card {
    background: #1c1c1c;
    color: #eee;
}
body.dark-mode .btn-primary {
    background: #0d6efd;
}
body.dark-mode footer {
    background: #1a1a1a;
    color: #ccc;
    border-top: 1px solid #333;
}
body.dark-mode footer p.footer-desc {
    color: #e4e6eb;
}
body.dark-mode footer a {
    color: #4ea1ff;
}

/* ===== Dark Mode Toggle Button ===== */
.dark-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}

/* ===== Özel içerik div ===== */
.custom-content {
    max-width: 1800px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    padding: 50px;
    margin-bottom: 50px;
}
@media (max-width: 1200px) {
    .custom-content { padding: 30px; }
}
@media (max-width: 768px) {
    .custom-content { padding: 20px; }
}

/* ===== Sayfa yaprağı stili ===== */
.page-sheet .card {
    max-width: 950px;
    margin: auto;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background-color: #ffffff;
}