.banner-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-wrapper {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    left: 10%;
    bottom: 20%;
    z-index: 3;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
}

.banner-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 10px;
}

.banner-desc {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.banner-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.banner-btn:hover {
    transform: scale(1.05);
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

.banner-slide:hover .banner-content {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.banner-slide:hover .banner-btn {
    background: #ff4d00;
}

.banner-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
}

.banner-prev,
.banner-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
    background: rgba(0,0,0,0.3);
    padding: 8px 16px;
    border-radius: 20px;
}

.dot {
    width: 30px;
    height: 3px;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

.dot.active {
    background: #fff;
    width: 40px;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .banner-section {
        height: 250px;
    }

    .banner-content {
        width: 100%;
        padding: 20px 15px;
        bottom: 0;
        left: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    }

    .banner-link {
        position: relative;
    }

    .banner-controls {
        display: none;
    }

    .banner-dots {
        bottom: 10px;
        background: rgba(0, 0, 0, 0.4);
    }

    .banner-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .banner-subtitle {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .banner-desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .banner-btn {
        padding: 6px 15px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .banner-slide {
        height: 300px;
    }
} 