:root {
    --primary-blue: #5276e3; /* Biru dari logo */
    --primary-red: #e31e24; /* Merah dari logo */
    --secondary-blue: #6b86d4;
    --dark-blue: #2a3b6b; /* Biru lebih gelap */
    --light-gray: #d4d7e5; /* Abu-abu terang */
    --dark-gray: #333; /* Abu-abu gelap */
    --primary-color: #f7f7f7;
    --accent-color: #ffb22c;
}

.hero-section {
    margin: 0;
    padding: 0;
}

.parallax-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.parallax-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent black overlay */
    z-index: 1;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url("../../images/man-jumping-with-racket.jpg");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.cta-button {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease-in-out;
}

.welcome-section {
    background-color: var(--primary-color);
    padding: 20px 15px;
}

.welcome-section h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
}

.welcome-section h3 {
    font-size: 1.3rem;
    /*text-align: justify;*/
    /*text-justify: inter-word;*/
    font-weight: 800;
}

.welcome-section p {
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    text-align: justify;
    text-justify: inter-word;
}

.highlight-text {
    background-color: var(--primary-blue);
    padding: 3px 5px;
    color: #fff;
    display: inline-block;
    border-radius: 0; /* Remove rounded corners */
    font-weight: 700;
    transform: skew(-5deg); /* Make it tilted/miring */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.welcome-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.welcome-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border-radius: 4px;
    font-weight: 400;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.welcome-cta:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.welcome-cta i {
    margin-right: 8px;
}

.primary-cta {
    background-color: var(--primary-blue);
    color: white;
}

.secondary-cta {
    background-color: #6c757d; /* Gray color */
    color: white;
}

.slider-facility-section {
    width: 100%;
    margin: 20px 0;
}

.facility-swiper {
    width: 100%;
    height: 250px; /* Set a fixed height for consistency */
}

.facility-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.facility-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This maintains aspect ratio while covering container */
    object-position: center; /* Center the image */
}

.facility-swiper .swiper-button-prev,
.facility-swiper .swiper-button-next {
    color: var(--light-gray);
    font-size: 1rem;
}

.facility-swiper .swiper-button-prev:hover,
.facility-swiper .swiper-button-next:hover {
    color: white;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.slide-content {
    width: 100%;
    height: 400px; /* Sesuaikan tinggi sesuai kebutuhan */
    background-size: cover;
    background-position: center;
    position: relative;
}

.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background: rgba(
        0,
        0,
        0,
        0.3
    ); /* Overlay gelap untuk meningkatkan keterbacaan teks */
}

.title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.subtitle {
    font-size: 0.8rem;
}

/* Footer Section Styles */
.footer-section {
    background-color: var(--dark-blue);
    color: white;
    padding: 20px 15px;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-separator {
    margin: 0 10px;
    color: var(--light-gray);
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--light-gray);
}

/* Modal Styles */
.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.7);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    color: var(--dark-gray);
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--primary-blue);
}

.modal-content h2 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    text-align: center;
}

.terms-content {
    padding: 0 10px;
}

.terms-content h3 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.terms-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: justify;
}

/* Daftar Harga Lapangan Section */
.price-list-section {
    padding: 30px 0 20px;
    background-color: var(--primary-color);
    margin-top: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
    color: var(--dark-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.price-table-container {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 800px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.price-table th,
.price-table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.price-table th {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-table tr:hover {
    background-color: #f0f4ff;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.loading-data {
    text-align: center;
    padding: 40px;
    color: var(--dark-gray);
    font-style: italic;
    font-size: 15px;
}

.price-note {
    margin-top: 15px;
    color: var(--dark-gray);
    font-size: 14px;
    text-align: center;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .modal-content {
        width: 70%;
        margin: 5% auto;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }

    .footer-links {
        margin-bottom: 0;
    }
}
