/* ROOT VARIABLES */
:root {
    --primary-color: #38187d;
    --secondary-color: #6C757D;
    --dark-color: #343A40;
    --light-color: #F8F9FA;
    --accent-color: #000000;
    --gradient-bg: linear-gradient(135deg, #330563 0%, #330563 100%);
    --button-color: #000000;
}

/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--dark-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* NAVBAR STYLES */
.navbar {
    background: var(--dark-color);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    margin-right: 40px;
}

.logo {
    font-size: 2.5rem;
    letter-spacing: 3px;
    color: #fff;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: var(--accent-color);
}

/* HERO SECTION STYLES */
.hero-section {
    background-image: url(texture.jpeg), url('https://www.transparenttextures.com/patterns/stardust.png');
    background-repeat: repeat;
    background-size: 100px;
    background-position: center;
    position: relative;
    color: #000000;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 2rem 0; /* Menambahkan padding agar konten tidak terlalu menempel di atas/bawah */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-family: 'Lato', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fade-in-out 3s ease-in-out infinite;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

@keyframes fade-in-out {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.hero-btn.registrasi-btn,
.hero-btn.ticket-btn {
    background-color: var(--button-color);
    color: #fff;
    border: 2px solid var(--button-color);
}

.hero-btn.registrasi-btn:hover,
.hero-btn.ticket-btn:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
    border-color: var(--light-color);
    transform: scale(1.05);
}

/* SERVICES SECTION STYLES */
.services-section {
    padding: 120px 0; /* Menambahkan jarak yang lebih baik di atas dan bawah */
    text-align: center;
    background-color: #fcfcfc;
    background-image: url(rolling-img.png);
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: 0 0;
    animation: scroll-horizontal 60s linear infinite;
}

@keyframes scroll-horizontal {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -5000px 0;
    }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    margin-top: 10px; /* Ensures no extra margin interferes with the top padding */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border: 1px solid #e0e0e0;
    text-align: center;
    text-decoration: none;
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(http://googleusercontent.com/image_generation_content/1);
    background-repeat: repeat;
    background-size: 150px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--accent-color);
}

.card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    background-color: #f1f1f1;
    border-radius: 50%;
    padding: 10px;
}

.card h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    text-align: center;
}

/* CONTENT BOX STYLES */
.content-box {
    max-width: 800px;
    margin: 40px auto; /* Menambahkan jarak atas dan bawah */
    text-align: left;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-box p,
.content-box li {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.content-box ul {
    list-style: none;
    padding-left: 0;
}

.content-box ul li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 8px; /* Menambahkan jarak antar item daftar */
}

.content-box ul li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

/* CONTACT CARDS STYLES */
.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 40px 0; /* Menambahkan padding atas dan bawah */
}

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* FOOTER STYLES */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 20px;
}

.footer-content h3,
.footer-content h4 {
    margin-bottom: 15px;
}

.footer-content div {
    flex: 1;
    min-width: 200px;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-links ul a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    flex-direction: column;
}

.social-and-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    background-color: transparent;
    border-radius: 50%;
}

.social-icons a {
    color: var(--light-color);
    font-size: 1.5rem;
    margin-right: 15px;
    text-decoration: none;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-container img {
    height: 100px;
    margin-right: 40px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--secondary-color);
    padding-top: 20px;
    margin-top: 20px;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        text-align: center;
    }
    .navbar nav {
        margin-top: 10px;
    }
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }
    .navbar ul li {
        margin: 5px 0;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}