.custom-hero-section {
    position: relative;
    background-image: url('/img/fortlift.jpg'); 
    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 */

.fade-in-up {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.8s ease, transform 1.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.8s ease, transform 1.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 50px;
    color: #333;
    position: relative;
}

.intro-text {
    font-size: 22px;
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.forklift-gallery  {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 40px;
}
.brand-list {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 40px;
}
.forklift-item:hover {
    transform: scale(1.05);
}
.forklift-item p {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 20px;
    color: #777;
}
.forklift-item h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
    position: relative;
}

.forklift-item h3::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: #ff0000; 
    transition: width 0.3s ease; 
    position: absolute;
    bottom: -5px;
    left: 0;
}

.forklift-item:hover h3::after {
    width: 100%; 
}
.forklift-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: opacity 1.8s ease, transform 1.8s ease;
    position: relative; 
    opacity: 0; 
    transform: translateX(100px); 
}
.brand-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: transform 1.3s ease, opacity 1.5s ease; 
    position: relative; 
    opacity: 0; 
    transform: translateX(0px); 
}
.brand-item.show {
    opacity: 1;
}

.brand-item:hover {
    transform: scale(1.09);
    
}

.forklift-item img, .brand-item img , .brand-list img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    
}

h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

p {
    font-size: 16px;
    color: #666;
}



/* Küçük Ekranlar İçin */
@media (max-width: 768px) {
    .forklift-gallery, .brand-list {
        flex-direction: column;
        align-items: center;
    }

    .forklift-item, .brand-item {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .intro-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .intro-text {
        font-size: 16px;
    }

    .forklift-item h3 {
        font-size: 20px;
    }

    .forklift-item p {
        font-size: 14px;
    }
}






/* services */

.services-section {
    margin-top: 50px;
    padding: 50px 0;
    text-align: center;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.title {
    font-size: 36px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.services {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.service-box {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    width: 30%;
    margin-bottom: 20px;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out; 
    position: relative;
    opacity: 0; 
    transform: translateX(-100px); 
}

.service-box.show {
    opacity: 1;
    transform: translateX(0); 
}

.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 193, 7, 0.2);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.service-box:hover::before {
    opacity: 1;
}

.service-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-color: #ffc107;
}

.service-box img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid #ffc107;
    transition: transform 0.3s ease;
}

.service-box:hover img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    position: relative;
}

.service-content h2::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #ffc107;
    left: 0;
    bottom: -10px;
    transition: width 0.3s ease;
}

.service-box:hover .service-content h2::after {
    width: 100%;
}

.service-content p {
    margin-top: 20px;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.service-box:hover .service-content p {
    opacity: 1;
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
@media screen and (max-width: 576px) {
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
}

.service-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    background: #4b8800;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-button i {
    font-size: 20px;
    margin-right: 10px;
}

.service-button:hover {
    background: #3a6c00;
    transform: scale(1.05);
}

.service-button:active {
    background: #2a4d00;
}


/* Services Responsive Start */

@media (max-width: 992px) {
    .service-box {
        width: 45%; 
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .services {
        flex-direction: column;
        align-items: center;
    }
    .service-box {
        width: 100%; 
        margin-bottom: 20px;
    }
}
@media (max-width: 576px) {
    .services {
        flex-direction: column; 
        align-items: center;
    }
    .service-box {
        width: 100%; 
        margin-bottom: 20px;
    }
}
/* services responsive end */

.line {
    width: 100px;
    height: 4px;
    background-color: #ff0000;
    margin: 0 auto 20px;
} 
