/* Reset and general styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
}

main {
    max-width: 90%;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

h1, h2 {
    margin-bottom: 1rem;
}

/* Hero section */
.hero-2 {
    height: 45vh;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #230f20;
    opacity: 60%;
}

.hero-content-2 {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    z-index: 1;
}

.hero-2 h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-2 h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #230f20;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#about h2 {
    font-size: 1.7rem;
}

#about p {
    font-size: 1rem;
    text-align: justify;
}

#gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#gallery h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.filter-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1em;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #230f20;
    color: #fff;
}

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

.gallery-item {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item p {
    padding: 10px;
    margin: 0;
    text-align: center;
    font-weight: bold;
    color: #333;
}

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

.lightbox-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
}

.close {
    color: #fff;
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    z-index: 1002;
    cursor: pointer;
}

#lightbox-caption {
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Media Queries */
@media screen and (max-width: 1500px) {
    main {
        max-width: 85%;
    }

    .hero-2 {
        height: 50vh;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1200px) {
    main {
        max-width:85%;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media screen and (max-width: 1000px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    main {
        max-width:90%;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    form {
        width: 100%;
    }
}