/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.2s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f0f0f0;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

/* NAV DOTS */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 900;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* FEATURED WORK GALLERY */
.expanded-gallery {
    width: 100%;
    padding: 50px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.expanded-gallery.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dynamic Grid Layout */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 300px;
    cursor: pointer;
    animation: fadeIn 0.8s ease both;
}

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

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

.gallery-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Fade-in animation for images */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ABOUT SECTION */
.about-section {
    padding: 100px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    padding-right: 50px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ccc;
}

.about-image {
    flex: 1;
    height: 500px;
    overflow: hidden;
}

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

/* CTA SECTION */
.cta-section {
    text-align: center;
    padding: 100px 0;
    background-image: url('../images/Festivals/GJV_9918_C_webp.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111;
    position: relative;
    z-index: 2;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    z-index: -1;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    position: relative;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.cta-button:hover {
    background-color: #ddd;
    transform: translateY(-3px);
}

/* FOOTER */
footer {
    background-color: #111;
    padding: 50px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 1;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 20px;
}

.footer-links li {
    margin: 0 15px;
}

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

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

.social-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin-bottom: 20px;
}

.social-links li {
    margin: 0 10px;
}

.social-links a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ddd;
}

.copyright {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #888;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: -30px;
    right: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: #ddd;
}

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

.lightbox-nav button {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.lightbox-nav button:hover {
    color: #ddd;
}

/* RESPONSIVE */
@media screen and (max-width: 1200px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .mobile-menu {
        display: block;
    }

    .about-section {
        flex-direction: column;
        padding: 50px 20px;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .footer-content {
        flex-direction: column;
        padding: 0 20px;
    }

    .footer-logo, .footer-links, .social-links {
        justify-content: center;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
}
