/* Gallery Slider Styles */

/* About Section with Gallery */
.about-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 30px;
}

.about-gallery {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-info {
    flex: 1;
    min-width: 300px;
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Navigation Dots */
.gallery-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.gallery-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* About Content Styling */
.about-content {
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-content p {
    margin-bottom: 15px;
}

/* Ensure gallery and info have equal heights on desktop */
@media (min-width: 768px) {
    .about-wrapper {
        align-items: stretch;
    }
    
    .about-gallery,
    .about-info {
        display: flex;
        flex-direction: column;
    }
    
    .gallery-slider {
        flex-grow: 1;
    }
    
    .about-content {
        flex-grow: 1;
        overflow-y: auto;
        max-height: 300px;
        padding-right: 10px;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .about-wrapper {
        flex-direction: column;
    }
    
    .gallery-slider {
        height: 300px;
        min-height: auto;
    }
    
    .about-gallery,
    .about-info {
        width: 100%;
    }
}