/* Modern Gallery Styles */
.modern-gallery {
    position: relative;
    overflow: hidden;
    background: #000000;
}

.modern-gallery-carousel {
    position: relative;
}

.gallery-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.gallery-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(232, 28, 46, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.gallery-image-wrapper:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-overlay {
    display: none;
}

.gallery-content {
    display: none;
}

.gallery-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #f0f0f0;
    line-height: 1.5;
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 18px;
    transition: all 0.3s ease;
}

.gallery-icon:hover {
    background: #ffffff;
    color: #E81C2E;
    transform: scale(1.1);
}

/* Owl Carousel Navigation */
.modern-gallery .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.modern-gallery .owl-nav .owl-prev,
.modern-gallery .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E81C2E, #ff4757);
    color: #ffffff;
    font-size: 24px;
    text-align: center;
    line-height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 10px 30px rgba(232, 28, 46, 0.4);
}

.modern-gallery .owl-nav .owl-prev {
    left: -80px;
}

.modern-gallery .owl-nav .owl-next {
    right: -80px;
}

.modern-gallery .owl-nav .owl-prev:hover,
.modern-gallery .owl-nav .owl-next:hover {
    background: linear-gradient(135deg, #ff4757, #E81C2E);
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(232, 28, 46, 0.6);
}

/* Dots */
.modern-gallery .owl-dots {
    display: none;
    margin: 0;
    padding: 0;
}

.modern-gallery .owl-carousel {
    margin-bottom: 0;
    padding-bottom: 0;
}

.gallery-container {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-image-wrapper {
        height: 350px;
    }
    
    .gallery-content h4 {
        font-size: 20px;
    }
    
    .gallery-content p {
        font-size: 14px;
    }
    
    .modern-gallery .owl-nav .owl-prev,
    .modern-gallery .owl-nav .owl-next {
        width: 50px;
        height: 50px;
        line-height: 46px;
        font-size: 20px;
    }
    
    .modern-gallery .owl-nav .owl-prev {
        left: -60px;
    }
    
    .modern-gallery .owl-nav .owl-next {
        right: -60px;
    }
}

@media (max-width: 480px) {
    .gallery-image-wrapper {
        height: 300px;
    }
    
    .modern-gallery .owl-nav .owl-prev,
    .modern-gallery .owl-nav .owl-next {
        width: 40px;
        height: 40px;
        line-height: 36px;
        font-size: 16px;
    }
    
    .modern-gallery .owl-nav .owl-prev {
        left: -50px;
    }
    
    .modern-gallery .owl-nav .owl-next {
        right: -50px;
    }
}
