@font-face {
    font-family: 'Luckiest Guy';
    src: url('assets/LuckiestGuy-Regular.ttf') format('truetype');
}

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

body {
    font-family: 'Luckiest Guy', sans-serif;
    background-color: #5a33a3;
    color: white;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #5a33a3;
    padding: 0.5rem 2rem;
}

nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto;
}

.logo img {
    height: 72px;
    width: auto;
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    gap: 0;
    padding: 0;
}

.hero-left {
    background-image: url('assets/Banner-BG.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.hero-content {
    text-align: center;
}

.sah-duluan {
    margin-top: 4rem;
    max-width: 70%;
    margin-bottom: 1rem;
}

.text-1 {
    max-width: 100%;
    margin-bottom: 2rem;
}

/* Form Styles */
.submission-form {
    background-color: #f9c132;
    padding: 1rem;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #5a33a3;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background-color: white;
    color: #5a33a3;
    font-family: 'Luckiest Guy', sans-serif;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a33a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.disclaimer {
    color: #5a33a3;
    font-size: 0.9rem;
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.4;
}

.submit-btn {
    background-color: black;
    color: white;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Luckiest Guy', sans-serif;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: scale(1.02);
}

.movie-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cast Section */
.cast {
    padding: 4rem 2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
}

.section-title {
    margin: 0 auto 1rem;
    display: block;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cast-item {
    position: relative;
    border: 10px solid #f9c132;
    background-color: #f9c132;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cast-item:hover {
    transform: scale(1.05);
}

.cast-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cast-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1rem 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cast-item:hover .cast-name {
    opacity: 1;
}

/* Trailer Section */
.trailer {
    padding: 4rem 2rem;
    text-align: center;
}

.trailer-content {
    max-width: 800px;
    margin: 0 auto;
    cursor: pointer;
}

.trailer-thumbnail {
    width: 100%;
    border-radius: 10px;
}

/* Sinopsis Section */
.sinopsis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: rgba(0, 0, 0, 0.1);
}

.sinopsis-left {
    padding: 0.4rem;
}

.sinopsis-text {
    margin-top: 2rem;
    text-align: justify;
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
}

.sinopsis-text p {
    margin-bottom: 1.5rem;
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #f9c132;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f9c132;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #5a33a3;
    padding: 2rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cast-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .sinopsis {
        grid-template-columns: 1fr;
    }

    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-slider {
        height: 300px;
    }

    .section-title {
        max-width: 40%;
    }

    .logo img {
        height: 60px;
    }

    .hero-left, .hero-right {
        min-height: 50vh;
    }

    /* Sinopsis mobile adjustments */
    .sinopsis-title {
        max-width: 60% !important; /* Increased from 40% */
    }

    .sinopsis-text {
        font-size: 1.3rem; /* Increased from 1.1rem */
        line-height: 1.9; /* Increased from 1.8 */
        padding: 0 1rem; /* Added padding for better readability */
    }

    .info-box h4 {
        font-size: 1.6rem; /* Increased from 1.5rem */
    }

    .info-box p {
        font-size: 1.3rem; /* Increased from 1.2rem */
    }

    /* Mobile form adjustments */
    .form-group {
        margin-bottom: 0.8rem;
    }

    .form-group label {
        margin-bottom: 0.3rem;
    }

    /* Mobile hero content adjustments */
    .sah-duluan {
        max-width: 90%;
        margin-bottom: 0.5rem;
    }

    .hero-text-image {
        margin: 0.5rem 0 1rem;
    }

    .submission-form {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .cast-grid {
        grid-template-columns: 1fr;
    }
    
    .cast-item {
        max-width: 300px;
        margin: 0 auto;
    }

    .section-title {
        max-width: 80%;
    }

    nav {
        justify-content: center;
    }
    
    .logo img {
        height: 48px;
    }

    .hero-left, .hero-right {
        min-height: 50vh;
        padding: 1rem;
        background-size: contain;
        background-position: top;
    }

    /* Further sinopsis mobile adjustments */
    .sinopsis-title {
        max-width: 70% !important; /* Even bigger on smallest screens */
    }

    .sinopsis-text {
        font-size: 1.4rem; /* Even bigger on smallest screens */
        line-height: 2; /* Even more spacing */
        padding: 0 1.5rem; /* More padding for better readability */
    }

    .info-box h4 {
        font-size: 1.7rem; /* Even bigger on smallest screens */
    }

    .info-box p {
        font-size: 1.4rem; /* Even bigger on smallest screens */
    }

    /* Further mobile form adjustments */
    .form-group {
        margin-bottom: 0.6rem;
    }

    .form-group label {
        margin-bottom: 0.2rem;
    }

    /* Further mobile hero content adjustments */
    .sah-duluan {
        max-width: 95%;
        margin-bottom: 0.3rem;
    }

    .hero-text-image {
        margin: 0.3rem 0 0.8rem;
    }

    .submission-form {
        margin-top: 0.8rem;
    }
} 