/* ==================== */
/* GENEL AYARLAR */
/* ==================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;

    /* PROBLEM ÇIKARANLAR SİLİNDİ */
    /* display: flex; */
    /* flex-direction: column; */
}

main#main-content {
    padding-top: 60px; /* Navbar yüksekliği kadar boşluk */
}

/* ==================== */
/* HERO SECTION */
/* ==================== */

.hero {
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
    padding-top: 60px;
    margin: 0;

    background: linear-gradient(
        135deg,
        rgba(238, 27, 27, 0.7),
        rgba(33, 98, 167, 0.6),
        rgba(16, 89, 26, 0.5)
    ),
    url("../img/hero-modern.jpg") center/cover no-repeat;
}

/* ... diğer kodlar burada aynı şekilde kalabilir ... */


.hero-content {
    max-width: 700px;
    animation: fadeIn 1s ease-out;
}

.hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.3; }
.hero h1 span { color: #f4b400; }
.hero p { margin: 18px 0 28px; font-size: 1.05rem; color: #e4e4e4; }

.btn-hero {
    display: inline-block;
    background: linear-gradient(90deg, #e96666, #4e88bf);
    color: #111;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(186, 85, 211, 0.4);
}

/* ==================== */
/* ANİMASYON */
/* ==================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== */
/* RESPONSIVE */
@media (max-width: 768px) {
    main#main-content {
        padding-top: 60px; /* navbar yüksekliği kadar boşluk */
    }

    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 0.95rem; }

    /* Eğer navbar.js ile .nav-links kullanıyorsan */
    .nav-links {
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%) translateY(-100%);
        width: 90%;
        background: rgba(21, 26, 107, 0.95);
        flex-direction: column;
        gap: 20px;
        align-items: center;
        padding: 15px 0;
        opacity: 0;
        pointer-events: none;
        border-radius: 12px;
        transition: all 0.4s ease;
        text-align: center;
        z-index: 1000;
    }
    .nav-links.active {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}
