﻿/* Hero alanı için görselin üzerine hafif bir karartma efekti */
.hero-image-container {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 400px; /* Mobil için minimum yükseklik */
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    border-radius: .5rem; /* Kartın sol tarafıyla uyumlu olsun */
}

    .hero-image-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
        border-radius: .5rem;
    }

.hero-content {
    position: relative; /* Karartma efektinin üzerinde kalması için */
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Bilgi kutucuklarına hover efekti */
.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease-in-out;
}

/* Başvur butonuna hover efekti */
.btn-apply-now:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(44, 123, 229, 0.5); /* Falcon primary rengine yakın */
    transition: all 0.2s ease-in-out;
}

/* Sayfa yüklendiğinde elemanların yumuşakça gelmesi için animasyon */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    animation: fadeInScale 0.4s ease-out forwards;
}

.fullscreen-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(255,255,255,0.3);
    animation: zoomIn 0.4s ease-out;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 99999;
    transition: transform 0.2s ease;
}

    .close-btn:hover {
        transform: scale(1.2);
    }

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        background-color: rgba(0,0,0,0);
    }

    to {
        background-color: rgba(0,0,0,0.85);
    }
}