:root {
    --body-bg: linear-gradient(135deg, #f6f0ff 0%, #eef6ff 40%, #fff9e8 100%);
    --text-color: #242424;
    --feature-card-bg: #ffffff;
    --card-bg: #ffffff;
    --card-text-color: #242424;
    --hero-bg: radial-gradient(circle at top, rgba(255,255,255,0.35), transparent 35%),
                linear-gradient(135deg, rgba(91,87,255,0.9), rgba(255,111,216,0.9));
    --nav-gradient: linear-gradient(90deg, #5b57ff 0%, #ff6fd8 100%);
    --footer-gradient: linear-gradient(90deg, #5b57ff, #ff6fd8);
    --btn-primary-bg: #5b57ff;
    --btn-primary-text: #ffffff;
    --btn-outline-primary-color: #5b57ff;
    --btn-outline-light-color: #ffffff;
}

[data-theme="dark"] {
    --body-bg: #0b0d12;
    --text-color: #f3f4f6;
    --feature-card-bg: #191c24;
    --card-bg: #1d212b;
    --card-text-color: #f3f4f6;
    --hero-bg: radial-gradient(circle at top, rgba(150, 43, 255, 0.24), transparent 30%),
                linear-gradient(135deg, rgba(84, 26, 255, 0.95), rgba(255, 66, 169, 0.95));
    --nav-gradient: linear-gradient(90deg, rgba(84, 26, 255, 0.95), rgba(255, 66, 169, 0.95));
    --footer-gradient: linear-gradient(90deg, rgba(91, 87, 255, 0.9), rgba(255, 111, 216, 0.9));
    --btn-primary-bg: rgba(255, 84, 189, 0.95);
    --btn-primary-text: #ffffff;
    --btn-outline-primary-color: rgba(255, 84, 189, 0.95);
    --btn-outline-light-color: #ffffff;
}

html,
body {
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--body-bg);
    background-attachment: fixed;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    min-height: 100vh;
}

.gradient-bg {
    background: var(--nav-gradient);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-brand,
.footer-bg,
footer p {
    color: #ffffff;
}

/* 🚀 MENÜDEKİ BUTONLARA HAREKETLİ VE PREMİUM ÇERÇEVE EFEKTİ (GARANTİLİ YAPI) */
.navbar-nav .nav-link {
    position: relative !important;
    padding: 8px 16px !important;
    margin: 0 5px !important;
    border: 1px solid transparent !important; /* Normalde gizli çerçeve */
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.25s ease-in-out !important; /* Yumuşak animasyon geçişi */
    display: inline-block !important;
}

/* 🚀 MOUSE İLE ÜSTÜNE GELİNDİĞİNDE (HOVER) TETİKLENECEK HAREKET */
.navbar-nav .nav-link:hover {
    border-color: rgba(255, 255, 255, 0.6) !important; /* Parlayan şık beyaz çerçeve */
    background-color: rgba(255, 255, 255, 0.12) !important; /* Hafif iç dolgu matlığı */
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-3px) !important; /* Butonu 3 piksel yukarı zıplatır */
}

/* O ANDA BULUNULAN AKTİF SAYFA BUTONUNUN ÇERÇEVESİ */
.navbar-nav .nav-link.active {
    border-color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.hero {
    background: var(--hero-bg);
    color: #ffffff;
    padding: 3rem 0 2.5rem;
}

.hero .container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.hero p {
    max-width: 700px;
    margin: 1.2rem auto 2rem;
}

.hero .btn {
    min-width: 160px;
}

.hero-image {
    max-width: 180px;
    width: auto;
    height: auto;
    border-radius: 18px;
    box-shadow: 8px 8px 24px rgba(255, 0, 0, 0.24), -8px 8px 24px rgba(0, 255, 0, 0.2), 8px -8px 24px rgba(0, 0, 255, 0.18);
    transition: transform 0.25s ease;
}

.hero-image:hover {
    transform: translateY(-3px);
}

.blog-showcase {
    background: rgba(7, 5, 35, 0.9);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.blog-showcase .section-title {
    color: #ffffff;
    font-size: 1.9rem;
    margin-bottom: 0;
}

.blog-showcase .text-white-75 {
    color: rgba(255,255,255,0.76);
}

.showcase-window {
    overflow: hidden;
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.showcase-track {
    display: flex;
    gap: 1rem;
    animation: marquee 24s linear infinite;
    padding-bottom: 0.5rem;
}

.showcase-card {
    flex: 0 0 260px;
    min-width: 260px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.showcase-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.showcase-placeholder {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

.showcase-card-body {
    padding: 1.2rem;
}

.showcase-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.showcase-card-body p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    min-height: 3.6rem;
}

.showcase-card-body .btn {
    margin-top: 0.5rem;
}

.showcase-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 991px) {
    .showcase-card {
        min-width: 280px;
        flex: 0 0 280px;
    }
}

@media (max-width: 767px) {
    .blog-showcase {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .blog-showcase .section-title {
        font-size: 1.6rem;
    }

    .showcase-card {
        min-width: 240px;
        flex: 0 0 240px;
    }
}

main {
    padding: 3rem 0 4rem;
}

.feature-card {
    border-left: 5px solid #5b57ff;
    background: var(--feature-card-bg);
    color: var(--text-color);
}

.footer-bg {
    background: var(--footer-gradient);
}

.card {
    border: none;
    transition: transform 0.2s;
    background: var(--card-bg);
    color: var(--card-text-color);
}

[data-theme="dark"] .bg-white {
    background-color: #1d212b !important;
    color: var(--text-color) !important;
}

[data-theme="dark"] .bg-light {
    background-color: #191c24 !important;
    color: var(--text-color) !important;
}

[data-theme="dark"] .text-muted {
    color: #adb5bd !important;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-color: var(--btn-primary-bg);
}

.btn-outline-primary {
    color: var(--btn-outline-primary-color);
    border-color: var(--btn-outline-primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--btn-outline-primary-color);
    color: var(--btn-primary-text);
}

.btn-outline-light {
    color: var(--btn-outline-light-color);
    border-color: var(--btn-outline-light-color);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.14);
}