/* Photo Gallery Styles for Vital Care Associates */

.photo-gallery-section {
    padding: 80px 0;
    background-color: var(--vca-white);
    border-top: 1px solid var(--vca-primary-05);
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-title {
    color: var(--vca-primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.gallery-subtitle {
    font-size: 1.18rem;
    line-height: 1.6;
    color: var(--vca-text);
    max-width: 800px;
    margin: 0 auto;
}

.accent-line {
    width: 80px;
    height: 3px;
    background: var(--vca-primary);
    margin: 15px auto;
    border-radius: 2px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    border: 1px solid var(--vca-primary-10);
    background: white;
}

.photo-image-container {
    position: relative;
    overflow: hidden;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--vca-primary-30);
}

.photo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.photo-content {
    padding: 20px;
}

.photo-title {
    color: var(--vca-primary);
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.photo-title:after {
    content: '';
    position: absolute;
    width: 70%;
    height: 2px;
    background-color: var(--vca-primary);
    bottom: 0;
    left: 0;
}

/* Image overlay title */
.photo-overlay-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    padding: 15px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.photo-description {
    color: var(--vca-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 992px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-title {
        font-size: 1.8rem;
    }
    
    .photo-gallery-section {
        padding: 50px 0;
    }
}
