/* Gallery Hero Section */
.gallery-hero {
    height: 70vh;
    background: linear-gradient(to right, #2a2a2a, #111);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: 20px;
    color: white;
}

.gallery-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.gallery-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.gallery-hero .modern-button {
    padding: 15px 50px;
    font-size: 1.2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #f03a47, #f97e2e);
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

/* Video Section */
.video-section {
    background: #111;
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.video-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.video-container video {
    width: 100%;
    height: auto;
}

/* Carousel Section */
.gallery-carousel {
    background: #222;
    padding: 50px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    position: relative;
    width: 800px;
    height: 400px;
    perspective: 1000px;
    overflow: hidden;

}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease, opacity 0.6s ease;
    border-radius: 10px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Hover Effect for Active Image */
.carousel-item .carousel-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
    padding: 20px;
}

.carousel-item:hover .carousel-hover {
    opacity: 1;
}

.carousel-hover h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.carousel-hover p {
    font-size: 1rem;
    color: #ddd;
}

/* Navigation Buttons */
.carousel-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 3;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
    font-size: 0.9rem;
}

/* Flickering flame effect */
.modern-button:hover {
    background: linear-gradient(135deg, #ff5500, #ff3300);
    box-shadow: 0 0 15px rgba(255, 50, 0, 1), 0 0 30px rgba(255, 0, 0, 0.9);
    transform: scale(1.05);
    animation: flicker 1s infinite alternate ease-in-out;
}