/* Root Variables */
:root {
    --primary-color: #024226;
    --secondary-color: #2c3e50;
    --accent-color: #024226;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #f9f9f9;
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --light-overlay: rgba(255, 255, 255, 0.9);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
}

/* Gallery Page Styles */
.gallery-banner {
    position: relative;
    height: 60vh;
    background-image: url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-overlay), rgba(230, 126, 34, 0.8));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.gallery-container {
    padding: 4rem 0;
}

.gallery-intro {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.gallery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gallery-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.gallery-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.gallery-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.gallery-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-medium);
}

.image-container:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--dark-overlay));
    opacity: 0;
    transition: var(--transition-medium);
}

.image-container:hover .image-overlay {
    opacity: 1;
}

/* Filter Section */
.gallery-filters {
    padding: 3rem 0;
    background-color: var(--light-text);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

/* Gallery Grid */
.gallery-grid {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.gallery-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-medium);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-medium);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--dark-overlay));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-medium);
}

.gallery-info {
    color: var(--light-text);
    transform: translateY(20px);
    transition: var(--transition-medium);
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.gallery-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition-fast);
}

.gallery-link:hover {
    background-color: var(--accent-color);
    transform: translateX(5px);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

/* Featured Gallery */
.featured-gallery {
    padding: 5rem 0;
    background-color: var(--light-text);
}

.featured-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
}

.featured-gallery h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.featured-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.featured-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-medium);
}

.featured-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.featured-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--dark-overlay));
    display: flex;
    align-items: flex-start;
    padding: 1rem;
}

.featured-category {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

.featured-content {
    padding: 2rem;
    background-color: var(--light-text);
}

.featured-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.featured-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateX(5px);
}

/* Video Gallery */
.video-gallery {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.video-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
}

.video-gallery h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-medium);
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.5rem;
    transition: var(--transition-medium);
}

.video-item:hover .play-button {
    background-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.5rem;
    background-color: var(--light-text);
}

.video-info h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* CTA Section */
.gallery-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background-color: var(--light-text);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .gallery-banner {
        height: 50vh;
        min-height: 350px;
    }
    
    .gallery-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-text h2, .featured-gallery h2, .video-gallery h2 {
        font-size: 2.2rem;
    }
    
    .gallery-items {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .featured-slider {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .banner-content h1 {
        font-size: 3rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .gallery-banner {
        height: 45vh;
        min-height: 320px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
    
    .gallery-intro, .gallery-grid, .featured-gallery, 
    .video-gallery, .gallery-cta {
        padding: 3.5rem 0;
    }
    
    .gallery-filters {
        padding: 2.5rem 0;
    }

    .gallery-text h2,
    .featured-gallery h2,
    .video-gallery h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .gallery-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .filter-buttons {
        gap: 0.8rem;
    }

    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    .gallery-items {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-image img {
        height: 280px;
    }
    
    .gallery-info h3 {
        font-size: 1.3rem;
    }
    
    .gallery-info p {
        font-size: 0.95rem;
    }
    
    .featured-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-content h3 {
        font-size: 1.3rem;
    }
    
    .featured-content p {
        font-size: 0.95rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
    }
    
    .video-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .gallery-banner {
        height: 40vh;
        min-height: 280px;
        background-attachment: scroll;
    }
    
    .banner-content {
        padding: 1.5rem;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .gallery-intro, .gallery-grid, .featured-gallery, 
    .video-gallery, .gallery-cta {
        padding: 3rem 0;
    }
    
    .gallery-filters {
        padding: 2rem 0;
    }
    
    .gallery-text h2, .featured-gallery h2, 
    .video-gallery h2, .cta-content h2 {
        font-size: 1.7rem;
    }
    
    .gallery-text p, .cta-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 15px;
    }

    .filter-btn {
        width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

    .gallery-items {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0 10px;
    }
    
    .gallery-item {
        margin: 0;
    }
    
    .gallery-image img {
        height: 250px;
    }
    
    .gallery-overlay {
        padding: 1.5rem;
    }
    
    .gallery-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .gallery-info p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .gallery-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .featured-slider {
        padding: 0 10px;
    }
    
    .featured-item {
        margin: 0;
    }
    
    .featured-image {
        height: 220px;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .featured-category {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .featured-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .featured-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .featured-content .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .video-grid {
        padding: 0 10px;
    }
    
    .video-item {
        margin: 0;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .video-info {
        padding: 1.2rem;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .video-info p {
        font-size: 0.85rem;
    }
    
    .gallery-cta {
        padding: 3rem 0;
    }
    
    .cta-content {
        padding: 0 15px;
    }
    
    .cta-content h2 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
} 