/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #caa846;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* ===== NAVIGATION HEADER ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(45, 0, 62, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #caa846;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #caa846;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #caa846;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1601758123927-196d0f7987b1?fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #caa846;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button.primary {
    background: #caa846;
    color: #000;
}

.cta-button.primary:hover {
    background: #d4b954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 168, 70, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #caa846;
}

.cta-button.secondary:hover {
    background: #caa846;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 168, 70, 0.4);
}

/* ===== STORY SECTION ===== */
.story-section {
    padding: 8rem 0;
    position: relative;
    background: #111;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(45, 0, 62, 0.8), rgba(0, 0, 0, 0.9)), 
                url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?fit=crop&w=1600&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.story-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* ===== CAST SECTION ===== */
.cast-section {
    padding: 8rem 0;
    background: #1a1a1a;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cast-member {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.cast-member:hover {
    transform: translateY(-10px);
}

.cast-image {
    position: relative;
    overflow: hidden;
}

.cast-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cast-member:hover .cast-image img {
    transform: scale(1.1);
}

.cast-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cast-member:hover .cast-overlay {
    transform: translateY(0);
}

.cast-overlay h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #caa846;
    margin-bottom: 0.5rem;
}

.cast-overlay p {
    color: #e0e0e0;
    font-size: 1.1rem;
}

/* ===== TRAILER SECTION ===== */
.trailer-section {
    padding: 8rem 0;
    background: #2d003e;
    text-align: center;
}

.trailer-intro {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trailer-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 45%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.trailer-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 8rem 0;
    background: #1a1a1a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #2d003e, #000);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(202, 168, 70, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #caa846;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(202, 168, 70, 0.3);
    border-radius: 5px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #caa846;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: #caa846;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background: #d4b954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 168, 70, 0.4);
}

.contact-info {
    padding: 3rem 0;
}

.contact-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #caa846;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.social-link {
    padding: 10px 20px;
    background: rgba(202, 168, 70, 0.1);
    color: #caa846;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(202, 168, 70, 0.3);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #caa846;
    color: #000;
    transform: translateY(-2px);
}

.contact-details p {
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    line-height: 1.6;
}

.contact-details strong {
    color: #caa846;
}

/* ===== FOOTER ===== */
.footer {
    background: #000;
    padding: 3rem 0;
    border-top: 1px solid #333;
}

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

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #caa846;
}

.footer-copyright {
    color: #888;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cast-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .story-text p {
        font-size: 1.1rem;
    }
}

/* ===== SMOOTH SCROLLING ENHANCEMENTS ===== */
@media (prefers-reduced-motion: no-preference) {
    .parallax-bg {
        background-attachment: fixed;
    }
}

@media (prefers-reduced-motion: reduce) {
    .parallax-bg {
        background-attachment: scroll;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
