/* Gallery Page Styles */

/* Page Banner Styles */
.page-banner {
    height: 40vh;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

.banner-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    width: 100%;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    position: relative;
    color: var(--light-text);
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: white;
}

/* Main Gallery Section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay h3 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.gallery-item .gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: var(--light-gray);
    color: var(--text-color);
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.gallery-load-more {
    text-align: center;
    margin-top: 30px;
}

/* Equipment Gallery Styles */
.more-gallery {
    background-color: var(--light-gray);
    padding: 60px 0;
    margin-top: 30px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.equipment-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    height: 220px;
}

.equipment-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.equipment-item:hover img {
    transform: scale(1.1);
}

.equipment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 15px;
    transition: all 0.3s ease;
}

.equipment-overlay h4 {
    color: white;
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

/* Team Gallery Styles */
.team-gallery {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    height: 300px;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-overlay h4 {
    color: white;
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.team-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* Video Gallery Styles */
.video-gallery {
    margin-top: 60px;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-item iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.video-info {
    padding: 15px;
    background-color: var(--white);
}

.video-info h3 {
    margin: 0 0 10px;
    color: var(--primary-color);
}

.video-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Virtual Tour Section */
.virtual-tour {
    margin-top: 60px;
    background-color: var(--light-gray);
    padding: 50px 0;
    text-align: center;
}

.tour-container {
    max-width: 800px;
    margin: 0 auto;
}

.tour-container iframe {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: none;
}

.tour-info {
    margin-top: 30px;
}

.tour-info p {
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gallery-container,
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-container {
        grid-template-columns: 1fr;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .team-member {
        height: 250px;
    }
    
    .page-banner {
        height: 30vh;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .gallery-container,
    .equipment-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item,
    .equipment-item {
        height: 200px;
    }
    
    .team-member {
        height: 300px;
    }
    
    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .page-banner {
        height: 25vh;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
} 