/* Gallery Highlights Styles */
.gallery-highlights-section {
    padding: 40px 0;
    background-color: #f0f4ff;
    border-radius: 10px;
    margin: 30px auto 40px;
    position: relative;
    z-index: 5;
    overflow: hidden;
    max-width: 1400px;
}

.gallery-highlights-section h2 {
    color: #1a3a8f;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
}

.gallery-highlights-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 30px;
}

.highlight-item {
    width: calc(50% - 15px);
    max-width: 600px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 500px;
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.highlight-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/10;
    transition: transform 0.5s ease;
    min-height: 450px;
}

.highlight-item:hover img {
    transform: scale(1.05);
}

.highlight-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    text-align: center;
}

.highlight-item .overlay h3 {
    margin: 0 0 5px;
    font-size: 1.5rem;
}

.highlight-item .overlay p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive styles */
@media (max-width: 768px) {
    .gallery-highlights-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .highlight-item {
        width: 90%;
        max-width: 500px;
        height: 400px; /* Increased height for better visibility */
    }
    
    .highlight-item img {
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .gallery-highlights-section {
        padding: 30px 0;
        margin: 20px auto 30px;
    }
    
    .highlight-item {
        width: calc(100% - 30px);
        height: 350px; /* Further increased height for mobile */
    }
    
    .highlight-item img {
        height: 100%;
        min-height: unset; /* Remove min-height constraint to allow full visibility */
    }
    
    .highlight-item .overlay {
        padding: 15px;
    }
    
    .highlight-item .overlay h3 {
        font-size: 1.3rem;
    }
}