.hero {
    padding: 0;
    margin: 0;
}

.hero-section {
    position: relative;
    height: 100vh; /* Hero alanı tam ekran yüksekliği */
    background: url('<?php echo esc_url(get_option("hero_background_image")); ?>') no-repeat center center;
    background-size: cover; /* Varsayılan görünüm */
    background-attachment: fixed;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobil için özel düzenlemeler */
@media (max-width: 768px) {
    .hero-section {
        height: auto; /* Mobilde içeriğin yüksekliğine göre ayarlanır */
        padding: 50px 0; /* İçerik çevresine boşluk */
        background-size: contain; /* Görselin tamamını sığdır */
        background-position: center center; /* Görsel odak noktasını değiştir */
        background-attachment: scroll; /* Mobilde kayma sorununu önler */
    }
}




.hero-content {
    z-index: 2;
}

.hero-title {
    font-family: "Knewave", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 65px;
    color: #f3430d;
    transition: color 0.5s ease-in-out; /* Renk geçişi animasyonu */
}

.hero-title:hover {
    color: #353535; /* Hover durumunda turuncuya dönüşür */
}


.hero-subtitle {
    font-family: "Outfit", serif;
    font-size: 15px; /* Varsayılan */
    margin-top: 1rem;
    color:#353535;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background-color: #cc5b15;
    border: none;
    transition: all 0.3s ease;
    font-size: 16px; /* Varsayılan */
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
    background-color: #b7844f;
}

.btn-primary:active {
    background-color: #b7844f;
}

/* Mobil cihazlar için düzenlemeler */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem; /* Daha küçük başlık */
        text-align: left; /* Ortalanmış başlık */
    }

    .hero-subtitle {
        font-size: 1rem; /* Daha küçük alt başlık */
        text-align: left;
    }

    .btn-primary {
        font-size: 0.9rem; /* Daha küçük buton yazısı */
        padding: 0.5rem 1rem; /* Daha dar buton */
    }
}
