/* --- TÜM SİTE İÇİN ORTAK AYARLAR --- */
:root { 
    --main-blue: #0056b3; 
    --accent: #1e73be; 
    --bg-light: #f7f8f9; 
    --future-orange: #ff5722;
}

html, body {
    height: 100%;
}

body { 
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background-color: var(--bg-light); 
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    flex: 1 0 auto; /* İçerik az olsa bile footer'ı aşağı iter */
}

/* --- NAVBAR AYARLARI --- */
.navbar { 
    background: #fff !important; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
    padding: 10px 0 !important;
    overflow: visible !important;
}

.navbar .container {
    position: relative;
}

.navbar-brand img { height: 60px !important; width: auto; }
.nav-link { font-weight: 500; color: #444 !important; }

/* --- DROPDOWN MENÜ AYARLARI (HOVER) --- */
.navbar {
    overflow: visible !important;
}

.navbar .collapse {
    overflow: visible !important;
}

.navbar .dropdown:hover > .dropdown-menu,
.navbar .dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
    position: absolute;
}

.navbar .dropdown-menu {
    min-width: 250px;
    max-width: 280px;
    word-wrap: break-word;
    white-space: normal;
}

.navbar .dropdown-menu .dropdown-submenu {
    position: relative;
}

.navbar .dropdown-menu .dropdown-submenu > .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-right: 0.125rem;
    min-width: 250px;
    max-width: 280px;
}

/* Mobil cihazlarda submenu'lar inline açılsın (indented liste) */
@media (max-width: 991px) {
    .navbar .dropdown-menu .dropdown-submenu {
        position: static;
    }

    .navbar .dropdown-menu .dropdown-submenu > .dropdown-menu {
        position: static;
        display: block !important;
        top: auto;
        right: auto;
        left: auto;
        margin-right: 0;
        margin-top: 0;
        min-width: auto;
        max-width: none;
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
        padding-left: 1.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar .dropdown-menu .dropdown-submenu > .dropdown-menu .dropdown-item {
        padding-left: 1rem;
        font-size: 0.95rem;
        color: #555 !important;
        background-color: transparent !important;
        transition: none;
    }

    .navbar .dropdown-menu .dropdown-submenu > .dropdown-menu .dropdown-item:hover {
        background-color: #e9ecef !important;
        color: #333 !important;
    }

    .navbar .dropdown-menu .dropdown-submenu > .dropdown-menu .dropdown-item:active,
    .navbar .dropdown-menu .dropdown-submenu > .dropdown-menu .dropdown-item:focus {
        background-color: #f8f9fa !important;
        color: #555 !important;
    }

    .navbar .dropdown-menu .dropdown-submenu > a::after {
        display: none;
    }
}

/* Dropdown öğeleri için hover efekti */
.navbar .dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
}

.navbar .dropdown-menu .dropdown-submenu > a::after {
   
    position: absolute;
    right: 1rem;
}


/* --- ANASAYFA (HERO VE BUTONLAR) --- */
/* style.css dosyanıza ekleyin veya güncelleyin */

.hero-section { 
    padding: 60px 0; 
    background-color: #fff; 
    border-bottom: 1px solid #eee;
    min-height: 450px; /* Tarayıcıya bu alanın boş kalacağını söyledik */
}

/* Resimlerin düzen kaymasını önlemek için */
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
.btn-download { 
    background-color: #1e73be; color: white !important; padding: 12px 25px; 
    border-radius: 50px; text-decoration: none; font-weight: bold; display: inline-block;
}
.btn-setup { 
    background-color: #259747; color: white !important; padding: 12px 25px; 
    border-radius: 5px; text-decoration: none; display: inline-block;
}

/* --- ÖZELLİK KUTULARI (GRID) --- */
.feature-box { background: #fff; border-radius: 10px; padding: 0; overflow: hidden; height: 100%; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.feature-header { color: white; padding: 10px 15px; font-weight: bold; margin-bottom: 15px; }
.bg-blue { background-color: var(--main-blue); }
.bg-orange { background-color: var(--future-orange); }
.feature-box ul { list-style: none; padding: 0 15px 15px 15px; }
.feature-box ul li { margin-bottom: 8px; }
.feature-box ul li a { color: #333; text-decoration: none; }
.feature-box ul li a:hover { text-decoration: underline; color: var(--main-blue); }

/* --- FOOTER AYARLARI --- */
footer { 
    flex-shrink: 0;
    background: #fff; 
    border-top: 1px solid #eee; 
    padding: 40px 0; 
    margin-top: 60px; 
    text-align: center;
}

.download-container {
    max-width: 400px;
}
.btn-download:disabled {
    background-color: #cccccc !important;
    cursor: not-allowed;
    opacity: 0.7;
}
/* Turnstile widget'ını mobil uyumlu yapmak için */
.cf-turnstile {
    transform: scale(0.85);
    transform-origin: 0 0;
}
@media (min-width: 768px) {
    .cf-turnstile { transform: scale(1); }
}