/* Hero Carousel */
.hero-carousel {
    margin-top: 76px;
    height: 85vh;
}

.carousel-item {
    height: 85vh;
    position: relative;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

/* BEYAZ KUTU: Küçültüldü ve Aşağı İndirildi */
.carousel-caption {
    bottom: 12%; /* %28'den %12'ye çekildi, aşağı indi */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    padding: 1.8rem 2.2rem; /* İç boşluklar daraltıldı */
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    max-width: 550px; /* Kutunun genişliği daraltıldı */
    width: 85%;
}

/* SLOGAN: Küçültüldü */
.carousel-caption h1 {
    font-size: 2.5rem; /* 3.5rem'den 2.5rem'e çekildi */
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

/* ALT YAZI: Büyütüldü */
.carousel-caption p {
    font-size: 1.2rem; /* 1.05rem'den 1.2rem'e çıkarıldı */
    margin-bottom: 1.8rem;
    color: #444;
    line-height: 1.5;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    color: white;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 1.2rem;
}

/* 1366px Çözünürlük Optimizasyonu */
@media (min-width: 1200px) and (max-width: 1400px) {
    .hero-carousel, .carousel-item {
        height: 70vh;
    }
    
    .carousel-caption {
        bottom: 8%; /* Laptop ekranında daha da aşağıda durması için */
        padding: 1.5rem 2rem;
        max-width: 500px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .btn-primary-custom {
        padding: 0.7rem 2rem;
        font-size: 0.95rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .hero-carousel, .carousel-item {
        height: 60vh;
    }
    
    .carousel-caption {
        padding: 1.5rem;
        max-width: 480px;
        bottom: 10%;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-carousel, .carousel-item {
        margin-top: 56px;
        height: 50vh;
    }
    
    .carousel-caption {
        padding: 1.2rem;
        max-width: 90%;
        bottom: 5%;
    }
    
    .carousel-caption h1 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}