/* Importing the main CSS file (assuming main styles are defined there) */
@import url('style.css'); /* Assuming this is the main CSS file */

/* Resetting margin and padding for the whole page */
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* Featured Event Section */
.gallery-featured {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.featured-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-image {
    flex: 1;
    margin-right: 20px;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.featured-info {
    flex: 1;
    text-align: left;
}

.featured-info h2 {
    font-size: 36px;
    color: #111;
}

.featured-info p {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
}

.featured-info .cta-button {
    background-color: #0071e3;
    color: white;
    padding: 12px 24px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.featured-info .cta-button:hover {
    background-color: #005bb5;
}

/* Gallery Section */
.gallery-section {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.gallery-container h2 {
    font-size: 36px;
    color: #111;
    margin-bottom: 20px;
}

.gallery-container p {
    font-size: 18px;
    color: #333;
    margin-bottom: 40px;
}

/* Gallery Grid for Photos */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal-width columns */
    gap: 20px;
    justify-items: center;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* To maintain aspect ratio */
    border-radius: 8px;
}

/* Video Section */
.video-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.video-container video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
}

/* Footer Styles */
footer {
    background-color: #111;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

/* Footer Links */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    flex: 1;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: #0071e3;
}

/* Social Media Links */
.social-media {
    flex: 1;
    margin-bottom: 20px;
}

.social-media a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
}

.social-media a:hover {
    color: #0071e3;
}

/* Footer Info */
.footer-info {
    flex: 1;
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 14px;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-featured {
        padding: 30px 15px;
    }

    .featured-container {
        flex-direction: column;
        text-align: center;
    }

    .featured-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
    }

    .video-section {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .gallery-container h2 {
        font-size: 26px;
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }

    .video-container video {
        width: 100%;
    }
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Latar belakang hitam */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Pastikan loading screen berada di atas konten lainnya */
}

/* Logo yang akan kedap-kedip */
.loading-logo {
    width: 350px; /* Ukuran logo */
    animation: blink 1s infinite; /* Kedap-kedip setiap 1 detik */
}

/* Efek Kedap-Kedip untuk logo */
@keyframes blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1); /* Sedikit lebih besar saat redup */
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
