/* --- Hero Slider Specific Styles --- */

.er-hero-slider-wrap {
    height: 450px;
    border-radius: 12px; /* Gallery Grid ile uyumlu (çok hafif oval) */
    overflow: hidden;
    position: relative;
    border: none; /* er-base'den gelen çerçeveyi kaldır */
}

.er-hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Yazıların okunması için hafif karartma */
    transition: 0.8s ease-in-out;
}

.er-slide-content-wrap {
    position: absolute;
    bottom: 60px;
    left: 60px;
    color: white;
    z-index: 20;
    max-width: 600px;
}

.er-slide-content-wrap h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: white;
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.er-slide-content-wrap p {
    margin-bottom: 30px;
    color: #ffffff;
    opacity: 0.95;
    font-size: 1.1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Dots Styling for Hero */
.er-slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 30;
    right: auto; /* Base CSS'den gelen sağ hizalamayı ez */
}

.er-slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.er-slider-dot.active {
    width: 35px;
    border-radius: 10px;
    background: white !important;
}

/* Arrows for Hero */
.er-slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 40;
}

.er-slider-arrow {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.3s;
}

.er-slider-arrow:hover {
    background: white;
    color: var(--primary);
}

@media (max-width: 768px) {
    .er-hero-slider-wrap {
        height: 380px;
    }
    .er-slide-content-wrap {
        left: 20px;
        bottom: 50px;
        right: 20px;
    }
    .er-slide-content-wrap h3 {
        font-size: 24px;
    }
    .er-slider-arrows {
        display: none; /* Mobilde okları gizle, kaydırma (swipe) yeterli */
    }
}
