/* Reset basic styles */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

/* Header styling */
header {
    background-color: #222831;
    color: #FFD700;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #FFD700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo img {
    height: 75px; /* Logo size */
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1); /* Scale up on hover */
}
/* Slideshow styling */
.slideshow {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.slideshow-container {
    display: flex;
    animation: slide 10s infinite;
}

.slide {
    min-width: 100%;
    transition: opacity 5s ease-in-out;
}

.slide img {
    width: 100%;
    height: auto;
}

@keyframes slide {
    0% {transform: translateX(0);}
    20% {transform: translateX(0);}
    25% {transform: translateX(-100%);}
    45% {transform: translateX(-100%);}
    50% {transform: translateX(-200%);}
    70% {transform: translateX(-200%);}
    75% {transform: translateX(0);}
    100% {transform: translateX(0);}
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFD700;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.text-overlay h1 {
    font-size: 3em;
}

.text-overlay p {
    font-size: 1.5em;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border: 2px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05); /* Scale up on hover */
}

.gallery-videos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.gallery-videos video {
    width: 100%;
    max-width: 600px; /* Optional: set a max-width for better video alignment */
    margin: 0 auto; /* Center videos */
}

.gallery-videos video:hover {
    transform: scale(1.05); /* Scale up on hover */
}

/* Footer styling */
footer {
    background-color: #222831;
    color: #FFD700;
    text-align: center;
    padding: 20px 0;
    border-top: 3px solid #FFD700;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

.social-media a {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-media a img {
    width: 30px;
    height: 30px;
}

.social-media a:hover {
    transform: scale(1.2); /* Scale up on hover */
}

/* Styles moved from index.html */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

#slideshow {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#slideshow img {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hover-zoom {
    transition: transform 0.3s ease-in-out;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    background-color: #222831; /* Warna latar belakang dropdown menu */
    color: #FFD369; /* Warna teks dropdown menu */
}

.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    transition: all 0.2s;
    color: #FFD369; /* Warna teks item dropdown */
}

.dropdown-item:hover {
    background-color: #393E46; /* Warna latar belakang saat item dropdown di-hover */
    color: #FFD369; /* Warna teks saat item dropdown di-hover */
}

.dropdown-submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.group:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

body {
    background-image: url('images/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
