/* Slider CSS (V3.5 - Karakter Temizligi) */

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #f9f9f9; 
}

.hero-section {
    position: relative; 
    padding: 6rem 0 0 0; 
    margin-top: 10px;
    border-bottom: 1px solid #e0e0e0; 
    overflow: hidden; 
}

.hero-container {
    position: relative; 
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: 60vh;
}

.hero-content {
    position: relative; 
    z-index: 1;
    flex: 1;
    max-width: 50%;
    border-left: 4px solid #009441; 
    padding-left: 2.5rem;
    min-height: 380px;
}

.hero-slide {
    position: absolute; 
    top: 0;
    left: 2.5rem; 
    width: 100%;
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #222; 
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #555; 
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background-color: #009441;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    padding: 0.9rem 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 148, 65, 0.4);
    transition: all 0.3s ease;
}
.hero-cta:hover {
    background-color: #007a36;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 148, 65, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: -2rem; 
    left: 2.5rem;
    display: flex;
    gap: 0.7rem;
}
.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc; 
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.slider-dots .dot.active {
    background-color: #009441;
}

.hero-image {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 45%;
    text-align: center;
}
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    animation: bobbing 4s infinite ease-in-out;
}

@keyframes bobbing {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-features {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    text-align: center;
    padding: 4rem 0;
    background-color: #ffffff; 
    margin-top: 0; 
}

.feature-item {
    flex: 1;
    max-width: 300px;
    padding: 2rem;
    border-radius: 12px;
    background-color: #ffffff; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
}

.feature-item i {
    font-size: 2.2rem;
    color: #009441;
    margin-bottom: 1.5rem;
    
    background-color: rgba(0, 148, 65, 0.1); 
    width: 60px;
    height: 60px;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333; 
    margin-bottom: 0.5rem;
}
.feature-item p {
    font-size: 0.95rem;
    color: #666; 
    line-height: 1.5;
}

.slide-arrow-wrapper {
    display: flex;
    gap: 1rem;
    margin-top: 2rem; 
    margin-bottom: 2.5rem; 
}

.slider-arrow {
    background-color: rgba(0, 0, 0, 0.05); 
    border: 1px solid #ddd;
    color: #333;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.slider-arrow:hover {
    background-color: #009441;
    color: #ffffff;
    border-color: #009441;
}

.scroll-down-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: #333; 
    font-size: 1.5rem;
    animation: bounce 2s infinite ease-in-out;
}
.scroll-down-arrow:hover {
    color: #009441;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -15px);
    }
    60% {
        transform: translate(-50%, -10px);
    }
}


@media (max-width: 992px) {
    .hero-section {
        padding: 4rem 0 0 0;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }
    .hero-content,
    .hero-image {
        max-width: 100%;
    }
    .hero-content {
        order: 2;
        border-left: none;
        padding-left: 0;
        min-height: 500px; 
        width: 100%;
    }
    .hero-slide {
        left: 0; 
        padding: 0 1rem; 
        text-align: center; 
        display: flex;
        flex-direction: column;
        align-items: center; 
    }
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
        max-width: 80%;
    }
    .hero-image img {
        animation: none; 
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 0.5rem; 
    }
    
    .slide-arrow-wrapper {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0;
        align-items: center;
    }
    .feature-item {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        text-align: center;
    }
    .feature-item:hover {
        transform: none; 
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    .scroll-down-arrow {
        display: none; 
    }
}