/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    transition: all 0.3s ease;
}

/* Header Styles */
.gallery-header {
    position: relative;
    height: 60vh;
    overflow: hidden;
    background: linear-gradient(135deg, #1e5799 0%,#207cca 51%,#2989d8 100%);
}

.header-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.header-slide.active {
    opacity: 1;
    transform: scale(1);
    animation: glow 6s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(255,255,255,0.3);
    }
    100% {
        box-shadow: 0 0 30px rgba(255,255,255,0.8);
    }
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 10px;
}

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

/* Language Toggle */
.language-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.language-toggle button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 5px;
    transition: all 0.3s;
}

.language-toggle button:hover {
    background: rgba(255,255,255,0.4);
}

/* Gallery Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-title {
    text-align: center;
    margin: 40px 0;
    font-size: 2.5rem;
    color: #2c3e50;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

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

/* Video Section */
.video-section {
    margin: 60px 0;
    text-align: center;
}

.video-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.video-placeholder {
    background-color: #f1f1f1;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-placeholder i {
    font-size: 60px;
    color: #ff0000;
    margin-bottom: 20px;
}

.video-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.video-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.video-placeholder a {
    display: inline-block;
    background-color: #ff0000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.video-placeholder a:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.pagination button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination button:hover {
    background-color: #2980b9;
}

.pagination button.active {
    background-color: #2c3e50;
}

.pagination button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 1000;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: 5% auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    box-sizing: border-box;
}

.lightbox-nav button {
    background-color: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border: 2px solid white;
}

.lightbox-nav button:hover {
    background-color: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(0,0,0,0.7);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid white;
}

.lightbox-close:hover {
    color: #3498db;
    transform: rotate(90deg);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    background: rgba(0,0,0,0.7);
    padding: 10px 20px;
    border-radius: 5px;
}

/* Back to Website Buttons */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    background-color: rgba(255,255,255,0.8);
    color: #2c3e50;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.back-button:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.bottom-back-button {
    display: block;
    text-align: center;
    margin: 40px auto;
    background-color: #3498db;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    max-width: 200px;
}

.bottom-back-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Social Media */
.social-media-top {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.social-media-top a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-media-top a:hover {
    transform: translateY(-3px);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-media a {
    color: #2c3e50;
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

.social-media a:hover {
    transform: translateY(-3px);
    color: #3498db;
}

.social-media img {
    transition: transform 0.3s;
}

.social-media img:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .lightbox-nav button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content h1 {
        font-size: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}