.custom-hero-section {
    position: relative;
    background-image: url('/img/akuler.png'); 
    background-size: cover;
    background-position: center;
    height: 600px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-top: 10px;
}

.custom-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.custom-hero-section h1 {
    position: relative;
    z-index: 2;
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    opacity: 0; 
    transform: translateY(100px); 
    transition: all 0.8s ease-out; 
}

.custom-hero-section.animate h1 {
    opacity: 1;
    transform: translateY(0);
}





/* hero responsive start */

@media (max-width: 768px) {
    .custom-hero-section {
        height: 400px; 
    }

    .custom-hero-section h1 {
        font-size: 36px; 
    }
}

@media (max-width: 480px) {
    .custom-hero-section {
        height: 300px; 
        padding: 20px; 
    }

    .custom-hero-section h1 {
        font-size: 28px; 
    }
}

/* hero responsive end */

.battery-section {
    padding: 50px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 2s ease, transform 2s ease;
}

/* Animation for scroll visibility */
h2.visible {
    opacity: 1;
    transform: translateY(0);
}


.battery-card {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 20px;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 2s ease, transform 2s ease;
}

.battery-card img {
    width: 250px;
    height: auto;
}

.battery-image {
    width: 30%;
    border-radius: 10px;
}

.battery-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.battery-info {
    margin-left: 40px;
    flex-grow: 1;
}

.battery-info h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.battery-info p {
    font-size: 20px;
    color: #666;
    margin-bottom: 20px;
}

.battery-info ul {
    list-style: none;
}

.battery-info ul li {
    margin-top: 30px;
}

.amper-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.amper-list li {
    background-color: #eaeaea;
    padding: 10px 15px;
    border-radius: 5px;
    color: #333;
    font-size: 16px;
}

.battery-card.visible {
    opacity: 1;
    transform: translateY(0);
}


/* battery responsive start */

@media (max-width: 1024px) {
    .battery-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .battery-image {
        width: 50%;
        margin-bottom: 20px;
    }

    .battery-info {
        margin-left: 0;
    }

    .battery-info h3 {
        font-size: 24px;
    }

    .battery-info p {
        font-size: 18px;
    }

    .amper-list {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 30px;
    }

    .battery-image {
        width: 60%;
    }

    .battery-info h3 {
        font-size: 22px;
    }

    .battery-info p {
        font-size: 16px;
    }

    .amper-list li {
        font-size: 14px;
        flex: 1 1 45%; 
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 24px;
    }

    .battery-card {
        padding: 15px;
    }

    .battery-image {
        width: 80%;
    }

    .battery-info h3 {
        font-size: 20px;
    }

    .battery-info p {
        font-size: 14px;
    }

    .amper-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
        margin: 0;
    }

    .amper-list li {
        font-size: 12px;
        padding: 8px 8px;
        margin-top: 0; 
    margin-bottom: 0; 
        flex: 2 2 40%; 
        gap: 10px;
        line-height: 1.2;
    }
}
/* battery responsive end */


.intro-text {
    width: 70%;
    margin: 40px auto;
    text-align: center;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.5em;
    line-height: 1.8;
    color: #333;
    padding: 30px 0;
  }
  
  .intro-text p {
    opacity: 0;
    transform: translateY(100px); 
    transition: opacity 1.5s ease, transform 1.5s ease;
    margin-bottom: 30px;
    transition-delay: var(--delay);
  }
  
  .intro-text p.visible {
    opacity: 1;
    transform: translateY(0);
  }
  


/* Responsive Ayarlar */

@media (min-width: 1200px) {
    .intro-text {
        width: 60%; 
        font-size: 1.7em; 
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .intro-text {
        width: 70%;
        font-size: 1.4em; 
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .intro-text {
        width: 80%;
        font-size: 1.3em; 
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .intro-text {
        width: 90%;
        font-size: 1.2em; 
        padding: 20px 0; 
    }
}

@media (max-width: 575px) {
    .intro-text {
        width: 95%; 
        font-size: 1.1em; 
        padding: 15px 0; 
    }

    .intro-text p {
        margin-bottom: 20px; 
    }
}


.line {
    width: 100px;
    height: 4px;
    background-color: #ff0000;
    margin: 0 auto 60px;
    margin-top: -20px;
} 
