/* Corporate Slider Base */
.corporate-hero-slider {
    width: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
    background: #000;
}

.hero-slide-item {
    height: 750px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex !important;
    /* Force flex for slick */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    outline: none;
    /* remove focus border */
}

/* Make sure slick-track doesn't do weird heights */
.corporate-hero-slider .slick-track,
.corporate-hero-slider .slick-list {
    min-height: 750px;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Çok daha aydınlık bir radial gradient (ortası parlak, köşeler hafif gölgeli) */
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.carousel-caption {
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    padding: 20px;
    position: relative;
    z-index: 5;
}

.hero-title,
.hero-title * {
    /* Sadece okumayı kolaylaştıracak güçlü bir gölge ekliyoruz, renk ve font-size kullanıcı ayarlarını ezmesin */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.2);
    line-height: 1.3;
}

.hero-title {
    margin-bottom: 20px;
}

/* Slider Typography Defaults (Eğer kullanıcı panele font boyutu girmezse devredecek) */
.hero-title h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero-title h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero-title h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero-title p {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.custom-btn {
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    border-width: 2px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
}

.custom-btn.red-btn {
    background-color: #E73841;
    border-color: #E73841;
    color: white !important;
}

.custom-btn.red-btn:hover {
    background-color: transparent;
    border-color: #E73841;
    color: #E73841 !important;
}

.custom-btn.btn-outline-light {
    border-color: #ffffff;
    color: #ffffff !important;
}

.custom-btn.btn-outline-light:hover {
    background-color: white;
    color: #000 !important;
}

/* Elegant Fade animations for elements */
.corporate-hero-slider .hero-title,
.corporate-hero-slider .hero-title p {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.3s;
}

.corporate-hero-slider .hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.6s;
}

/* Trigger animation when active */
.corporate-hero-slider .slick-active .hero-title,
.corporate-hero-slider .slick-active .hero-title p,
.corporate-hero-slider .slick-active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Beautiful custom slick dots */
.corporate-hero-slider .slick-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
    z-index: 10;
}

.corporate-hero-slider .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.corporate-hero-slider .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 30px;
    height: 4px;
    /* Dash style instead of dots */
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.corporate-hero-slider .slick-dots li.slick-active button {
    background: #E73841;
    width: 45px;
    /* Active pagination becomes slightly longer */
    box-shadow: 0 0 10px rgba(231, 56, 65, 0.5);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {

    .hero-slide-item,
    .corporate-hero-slider .slick-track,
    .corporate-hero-slider .slick-list {
        height: 500px;
        min-height: 500px;
    }

    .hero-title,
    .hero-title p,
    .hero-title span {
        font-size: 2.8rem !important;
    }
}

@media (max-width: 768px) {

    .hero-title,
    .hero-title p,
    .hero-title span {
        font-size: 2rem !important;
    }

    .hero-content {
        padding: 10px;
    }

    .custom-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        display: block;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {

    .hero-slide-item,
    .corporate-hero-slider .slick-track,
    .corporate-hero-slider .slick-list {
        height: 450px;
        min-height: 450px;
    }

    .hero-title,
    .hero-title p,
    .hero-title span {
        font-size: 1.6rem !important;
    }

    .hero-overlay {
        /* Make overlay slightly darker on very small screens so text is super readable over any image */
        background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    }
}