/* Gallery Page CSS */
.main-content {
    margin-top: 80px;
}

/* Gallery Header */
.gallery-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(26, 54, 93, 0.9) 100%), 
                url('/images/67389_0.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.gallery-header h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: white;
}

.gallery-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.8);
}

/* Gallery Filter */
.gallery-filter {
    padding: 40px 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.filter-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn:hover {
    background-color: rgba(255, 140, 0, 0.1);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.filter-btn.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.search-box {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 4px 0 0 4px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.search-btn {
    padding: 14px 24px;
    background-color: var(--secondary-color);
    color: white;
    border: 1px solid var(--secondary-color);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: var(--secondary-dark);
}

/* Gallery Grid */
.gallery-grid-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.3s ease;
    color: white;
    width: 100%;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.overlay-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.photo-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

#loadMoreBtn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 1rem;
}

#loadMoreBtn .fa-spinner {
    display: none;
}

#loadMoreBtn.loading .fa-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.lightbox-close:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-image-container {
    height: 70vh;
    display: flex;
    flex-direction: column;
}

.lightbox-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

.lightbox-info {
    padding: 20px;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.lightbox-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.lightbox-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.lightbox-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.lightbox-meta span {
    padding: 4px 12px;
    background-color: rgba(255, 140, 0, 0.1);
    color: var(--secondary-color);
    border-radius: 4px;
    font-weight: 600;
}

/* Gallery CTA */
.gallery-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(26, 54, 93, 0.9) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-content .btn {
    font-size: 1.1rem;
    padding: 15px 35px;
}

.cta-content .btn i {
    margin-right: 10px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .gallery-header h1 {
        font-size: 2.8rem;
    }
    
    .gallery-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .gallery-item {
        height: 270px;
    }
}

@media (max-width: 768px) {
    .gallery-header {
        padding: 60px 0 40px;
    }
    
    .gallery-header h1 {
        font-size: 2.2rem;
    }
    
    .gallery-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .gallery-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filter-controls {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .gallery-item {
        height: 240px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .lightbox-content {
        width: 95%;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-image-container {
        height: 60vh;
    }
}

@media (max-width: 576px) {
    .gallery-header h1 {
        font-size: 2rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
    }
    
    .gallery-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .filter-controls {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .lightbox-nav {
        width: 35px;
        height: 35px;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .lightbox-info {
        padding: 15px;
    }
    
    .lightbox-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 400px) {
    .gallery-item {
        height: 250px;
    }
    
    .overlay-content h3 {
        font-size: 1.1rem;
    }
    
    .overlay-content p {
        font-size: 0.85rem;
    }
}





/* =========================================== */
/* MODERN PROFESSIONAL FOOTER STYLES */
/* =========================================== */

.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    position: relative;
    padding-top: 60px;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Section */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 70px;
    height: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.footer-tagline {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-description {
    color: var(--footer-text);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Newsletter */
.footer-newsletter h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-newsletter {
    padding: 12px 20px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-newsletter:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--footer-text);
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
    padding: 4px 0;
}

.footer-menu a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Contact Info */
.contact-info {
    margin-top: 5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-text p {
    margin: 0;
    color: var(--footer-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer Middle Section (Social Media) */
.footer-middle {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-media h4 {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: white;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 140, 0, 0.2);
    color: var(--secondary-color);
}

.social-icon.facebook:hover {
    background-color: rgba(24, 119, 242, 0.2);
    color: #1877F2;
}

.social-icon.instagram:hover {
    background-color: rgba(225, 48, 108, 0.2);
    color: #E1306C;
}

.social-icon.tiktok:hover {
    background-color: rgba(0, 0, 0, 0.2);
    color: orange;
}

.social-icon.youtube:hover {
    background-color: rgba(255, 0, 0, 0.2);
    color: #FF0000;
}

.social-icon i {
    font-size: 1.1rem;
}

.social-icon span {
    font-weight: 500;
}

/* Footer Bottom Section */
.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: var(--footer-text);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal a {
    color: var(--footer-text);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

.divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* Design Credit */
.design-credit {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--footer-text);
    font-size: 0.9rem;
}

.design-credit i {
    color: #ff4757;
    margin: 0 5px;
}

.designer {
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
    padding-left: 5px;
}

/* Back to Top Button */
.back-to-top {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.8;
    z-index: 100;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* =========================================== */
/* RESPONSIVE STYLES FOR FOOTER */
/* =========================================== */

@media (max-width: 1100px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-slideshow {
        height: 65vh;
        min-height: 450px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 20px 10px;
    }
    
    .countdown-item span {
        font-size: 2.5rem;
    }
    
    .slide-control {
        width: 40px;
        height: 40px;
    }
    
    /* Footer Responsive */
    .footer-top {
        gap: 30px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        padding: 10px 15px;
    }
    
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .btn-newsletter {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-slideshow {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-item span {
        font-size: 2rem;
    }
    
    .highlight-card, .group-card {
        padding: 20px;
    }
    
    .group-image {
        height: 200px;
    }
    
    .slideshow-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Footer Responsive */
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .social-icons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-icon {
        width: 200px;
        justify-content: center;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-logo-image {
        margin: 0 auto;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-slideshow {
        height: 55vh;
        min-height: 350px;
    }
    
    .hero-text h2 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}