} /* ===== GENEL AYARLAR ===== */


html {
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #FFFFFF; /* SABİT BEYAZ */
    overflow-x: hidden;
}

/* === Home Page === */

.home-page .section-title, .home-page .hero, .home-page {
    background-color: #F8F5F1; /* Krem */
}
/* ========== HERO RESET ========= */

.hero {
    position: relative;
    min-height: 100vh;
    background: url('/images/background.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #2F4730;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}

    .hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.4);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
    /* Ana başlık */

    .hero-content h1 {
        font-size: 2.8rem;
        font-weight: 600;
        color: #2F4730;
        margin-bottom: 20px;
    }
    /* Alt yazı (animasyonlu metin) */

    .hero-content h2 {
        font-size: 1.4rem;
        font-weight: 400;
        color: #2F4730;
        margin-bottom: 30px;
    }
/* Değişen kelime */

.typed-word {
    color: #5E7E5A;
    font-weight: 500;
    font-size: 1.3rem;
    border-right: 2px solid #5E7E5A;
    padding-right: 5px;
    white-space: nowrap;
    animation: blink 0.8s infinite;
}
/* Sabit metin */

.fixed-text {
    font-size: 1.3rem;
    font-weight: 400;
    color: #2F4730;
}

/* Buton */

.hero-button{
    background-color: #CFD2A5;
    color: #515642;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration:none;
    transition: background 0.3s, transform 0.2s ease;
}

    .hero-button:hover {
        background-color: #446946;
        color: #fff;
        transform: scale(1.03);
    }
/* Blink animasyonu */
@keyframes blink {
    0%, 50% {
        border-color: #5E7E5A;
    }

    51%, 100% {
        border-color: transparent;
    }
}

/* ===== Fade-in Animasyonu ===== */

.fade-in {
    opacity: 0;
    transform: translateY(30px); /* Aşağıdan gelsin */
    transition: opacity 1s ease, transform 1s ease;
}

    .fade-in.show {
        opacity: 1;
        transform: translateY(0);
    }

html, body {
    height: 100%;
    margin: 0;
}

.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

/* ================= TABLET ================= */
@media (max-width: 992px) {
    .hero {
        padding: 0 30px;
        min-height: 90vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .typed-word,
    .fixed-text {
        font-size: 1.1rem;
    }

    .hero-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 576px) {
    .hero {
        padding: 0 15px;
        min-height: 85vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-content h2 {
        font-size: 1rem;
    }

    .typed-word,
    .fixed-text {
        font-size: 1rem;
    }

    .hero-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
