/* Photos Page Styles */

/* Photos Hero Section */
.photos-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photos-hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--waterloo-white);
    text-align: center;
    margin: 0 0 1rem 0;
}

.photos-hero-subtitle {
    font-size: 1.5rem;
    color: var(--waterloo-white);
    text-align: center;
    margin: 0 0 1rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.photos-hero-description {
    font-size: 1rem;
    color: var(--waterloo-white);
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.photos-hero-description a {
    color: var(--waterloo-gold);
    text-decoration: none;
    font-weight: 600;
}

.photos-hero-description a:hover {
    text-decoration: underline;
}

/* Photos Gallery Section */
.photos-gallery {
    padding: 80px 0;
    background: var(--waterloo-white);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.photo-item {
    background: var(--waterloo-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.photo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.photo-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: var(--waterloo-light-gray);
}

.photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-image img {
    transform: scale(1.05);
}

.photo-info {
    padding: 25px;
    text-align: center;
}

.photo-description {
    font-size: 16px;
    color: var(--waterloo-medium-gray);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .photos-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .photos-hero-title {
        font-size: 3rem;
    }
    
    .photos-gallery {
        padding: 60px 0;
    }
    
    .photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .photo-image {
        height: 250px;
    }
    
    .photo-info {
        padding: 20px;
    }
    
    .photo-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .photo-item {
        margin: 0 10px;
    }
    
    .photo-image {
        height: 220px;
    }
    
    .photo-info {
        padding: 15px;
    }
} 