/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #f5f5f5;
    background-color: #1a1a1a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #FFD700;
    color: #1a1a1a;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #FFD700, #FF8C00);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    border-color: #FF8C00;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    /* Navbar container spans the full viewport so logo and menu can sit at opposite corners */
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 20px; /* comfortable left padding */
    padding-right: 48px; /* larger right gap for visual balance */
    display: flex;
    /* Showcase Tabs (Movies | Songs | Exclusive) */
    .media-showcase {
        padding: 70px 0 40px;
    }

    justify-content: space-between; /* position children at left and right */
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto; /* Ensures the logo stays on the left */
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-family: 'CreteRound-Regular';
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem; /* slightly larger spacing between links for a cleaner look */
    margin-left: auto; /* Pushes menu to the right */
    padding: 0; /* Reset any default padding */
    justify-content: flex-end; /* Align items to the right end */
}

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

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

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

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

/* Admin Button Styling */
.admin-nav-item {
    margin-left: 1rem;
}

.admin-link {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #FFD700;
    border-radius: 20px;
    padding: 8px 16px !important;
    color: #FFD700 !important;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: #FFD700;
    color: #1a1a1a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.admin-link::after {
    display: none; /* Remove the underline effect for admin button */
}

.admin-link i {
    margin-right: 5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #f5f5f5;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger animation */
.hamburger.toggle .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 100vh;
    background-size: cover; /* Default for desktop */
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 26, 26, 0.6), rgba(9, 9, 9, 0.7));
    z-index: 1;
}

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

.hero-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #FFD700, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f5f5f5;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
    animation: fadeInUp 1s ease 0.4s both;
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFD700;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #222;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #ccc;
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile image positioning - hidden on desktop */
.about-image-mobile {
    display: none;
    margin: 2rem 0;
}

.about-image-mobile img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Desktop image - shown by default */
.about-image-desktop {
    display: block;
}

/* Featured Movie Section */
.featured-movie {
    padding: 100px 0;
    background: #1a1a1a;
}

.movie-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.movie-poster {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.movie-poster img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.movie-poster:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: #FFD700;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    font-size: 2rem;
    color: #1a1a1a;
    margin-left: 5px;
}

.movie-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #FFD700;
    font-weight: 700;
}

.movie-genre {
    color: #FF8C00;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.movie-synopsis {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ddd;
}

.movie-synopsis p {
    margin-bottom: 1rem;
}

.movie-info {
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 0.8rem;
    color: #ccc;
}

.info-item strong {
    color: #FFD700;
    margin-right: 0.5rem;
}

.movie-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Cast & Crew Sections */
/* Movie People Sections (Cast & Crew) */
.movie-divider {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    position: relative;
}

.divider-line {
    display: block;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0), rgba(255, 215, 0, 0.8), rgba(255, 215, 0, 0));
}

.movie-people-section {
    margin-bottom: 3rem;
}

.people-title {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.people-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #FFD700;
}

.cast-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.crew-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.cast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    width: 100px;
    margin-bottom: 10px;
}

.cast-item:hover {
    transform: translateY(-5px);
}

.cast-avatar-container {
    position: relative;
    margin-bottom: 10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.cast-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.cast-item:hover .cast-avatar-container {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.cast-name {
    font-size: 0.9rem;
    color: #f5f5f5;
    margin: 0 0 3px;
    font-weight: 600;
}

.cast-role {
    font-size: 0.8rem;
    color: #FFD700;
    opacity: 0.8;
}

.crew-grid .cast-avatar-container {
    width: 80px;
    height: 80px;
}

.cast-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #ffffff;
    margin: 0;
    transition: color 0.3s ease;
}

.cast-item:hover .cast-name {
    color: #FFD700;
}

.cast-role {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 3px;
    transition: color 0.3s ease;
}

.cast-item:hover .cast-role {
    color: #ccc;
}

.section-divider {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.03);
    margin: 1.5rem 0;
    width: 90%;
}

/* Video Gallery Section */
.video-gallery {
    padding: 100px 0;
    background: #222;
}

/* Media Gallery (posters) */
.media-gallery {
    padding: 60px 0 40px; /* compacted to make tabs sit higher */
    /* Dark gradient that complements the gold accents */
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%);
    position: relative;
    border-top: none;
    /* Improved shadow for depth */
    box-shadow: inset 0 5px 20px rgba(0,0,0,0.4);
    /* Add a subtle texture overlay */
    position: relative;
    z-index: 1;
}

/* Add vignette effect */
.media-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.7);
    z-index: -1;
    pointer-events: none;
}

.showcase-tabs {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
    list-style: none;
    margin: 0 auto 1.2rem;
    padding: 0;
    align-items: center;
}

.showcase-tabs .tab-btn {
    background: transparent;
    border: none;
    color: #ddd;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    cursor: pointer;
    position: relative;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase; /* enforce uppercase */
    font-size: 1.15rem;
}

.showcase-tabs .tab-btn:hover { color: #FFD700; }

.showcase-tabs .tab-btn.active { color: #FFD700; }

.showcase-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 72px; /* short centered underline */
    height: 6px;
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    border-radius: 6px;
}

/* Add subtle texture and glow effects */
.media-gallery::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Subtle noise texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

.poster-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    align-items: stretch;
}

.poster-grid { margin-top: 18px; }

/* Special styling for the films grid with only two posters */
.films-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 850px; /* adjusted for the taller posters */
    margin: 40px auto;
    gap: 4rem; /* more space between posters */
}

.poster-card {
    display: block;
    background: #1b1b1b;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.8);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    border: 1px solid rgba(255,215,0,0.07);
}

.poster-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 2/3; /* back to 2:3 ratio for taller posters */
    transition: transform 0.35s ease;
}

/* Special styling for film posters to make them bigger */
.films-grid .poster-card img {
    aspect-ratio: 2/3; /* back to 2:3 ratio for taller posters */
    max-height: 600px; /* increased height to match the example */
}

.poster-card .card-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px; /* more padding for better visibility */
    background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.85)); /* stronger gradient to match example */
    color: #fff;
}

.poster-card h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
}

.poster-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 20px rgba(255,215,0,0.15);
    border-color: rgba(255,215,0,0.2);
}

.poster-card:hover img {
    transform: scale(1.04);
}

/* Larger screens: 4-5 columns */
@media (min-width: 1200px) {
    .poster-grid { grid-template-columns: repeat(5, 1fr); }
    .films-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .poster-grid { grid-template-columns: repeat(4, 1fr); }
    .films-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Medium screens: 3 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .poster-grid { grid-template-columns: repeat(3, 1fr); }
    .films-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Small screens: 2 columns */
@media (max-width: 767px) {
    .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .films-grid { grid-template-columns: repeat(1, 1fr); max-width: 320px; } /* adjusted for 2:3 ratio */
    .films-grid .poster-card img { max-height: 480px; } /* control height on mobile */
    .media-gallery { padding: 70px 0; }
    .showcase-tabs { gap: 1rem; }
}


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

.video-card {
    background: #333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: #444;
    overflow: hidden;
}

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: #FFD700;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-left: 3px;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #FFD700;
}

.video-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.video-modal video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-modal-close:hover {
    color: #FFD700;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #1a1a1a;
}

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

.service-card {
    background: #333;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #FFD700;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #FFD700, #FF8C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: #1a1a1a;
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.service-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #222;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #FFD700, #FF8C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #1a1a1a;
}

.contact-details h4 {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #ccc;
}

.contact-form {
    background: #333;
    padding: 2rem;
    border-radius: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #444;
    border: 2px solid #555;
    border-radius: 5px;
    color: #f5f5f5;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Footer */
.footer {
    background: #111;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFD700;
}

.footer-section h4 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFD700;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FFD700;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile landscape orientation optimizations */
@media screen and (max-width: 896px) and (orientation: landscape) {
    .hero {
        background-attachment: scroll !important;
        background-size: contain !important; /* Show full image in landscape mode */
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-color: #1a1a1a !important; /* Fallback background color */
        min-height: 100vh;
        min-height: 100lvh; /* Landscape viewport height */
    }
    
    .hero-content {
        padding: 0 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Fixed navbar overlap prevention */
    body {
        padding-top: 80px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Admin button mobile styling */
    .admin-nav-item {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .admin-link {
        display: inline-block;
        margin: 0 auto;
        width: fit-content;
    }
    
    /* Hero section mobile optimizations */
    .hero {
        background-image: url('../images/backgroundmobile.jpg') !important; /* Mobile-specific background */
        background-attachment: scroll !important; /* Fixed attachment can cause issues on mobile */
        background-size: cover !important; /* Cover the entire viewport */
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-color: #1a1a1a !important; /* Fallback color for areas not covered by image */
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for better mobile support */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content,
    .movie-showcase,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile image visibility controls */
    .about-image-mobile {
        display: block !important; /* Show mobile image */
    }
    
    .about-image-desktop {
        display: none !important; /* Hide desktop image */
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .cast-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .crew-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    /* Additional hero optimizations for very small screens */
    .hero {
        background-position: center center !important;
        background-size: contain !important; /* Show full image on small screens */
        background-repeat: no-repeat !important;
        background-color: #1a1a1a !important; /* Fallback background color */
        min-height: 100vh;
        min-height: 100svh; /* Small viewport height for better compatibility */
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cast-avatar {
        width: 70px;
        height: 70px;
    }
    
    .crew-grid .cast-avatar {
        width: 65px;
        height: 65px;
    }
    
    .cast-grid {
        gap: 12px;
    }
    
    .featured-cast-crew h3 {
        font-size: 1.1rem;
    }
    
    .featured-cast-crew h3:after {
        width: 25px;
    }
    
    .cast-name {
        font-size: 0.8rem;
    }
    
    .cast-role {
        font-size: 0.7rem;
    }

    /* Hide native controls in fullscreen on many browsers */
    /* Fullscreen modal container styling (kept minimal) */
    .video-modal.active:fullscreen, .video-modal.active:-webkit-full-screen, .video-modal.active:-moz-full-screen, .video-modal.active:-ms-fullscreen {
        background: #000;
    }

    .video-controls-extra {
        position: absolute;
        bottom: 14px;
        right: 14px;
        z-index: 10003;
    }

    .video-controls-extra select {
        background: rgba(0,0,0,0.6);
        color: #fff;
        border: 1px solid rgba(255,255,255,0.1);
        padding: 6px 8px;
        border-radius: 4px;
    }

    .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }


    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Package Movie Modal Styles */
.movie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.movie-modal.active {
    display: block;
}

.movie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
}

.movie-modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #111;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    z-index: 1002;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.movie-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 1003;
}

.movie-modal-container {
    display: flex;
    padding: 30px;
    gap: 40px;
}

.movie-modal-poster {
    flex: 1;
    max-width: 400px;
}

.movie-modal-poster img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.movie-modal-info {
    flex: 1.2;
    padding-top: 20px;
}

.movie-modal-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffc107;
}

.movie-modal-meta {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.modal-meta-item {
    background-color: #222;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.movie-modal-credits {
    margin: 30px 0;
}

.movie-credit-row {
    display: flex;
    margin-bottom: 15px;
}

.movie-credit-label {
    flex: 0 0 100px;
    color: #aaa;
}

.movie-credit-value {
    flex: 1;
    font-weight: 500;
}

.movie-modal-plot {
    line-height: 1.7;
    margin: 30px 0;
    font-size: 16px;
    color: #ddd;
}

.movie-modal-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.movie-modal-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    gap: 10px;
    font-size: 16px;
}

.btn-watch-trailer {
    background-color: #ff3d00;
    color: white;
}

.btn-watch-trailer:hover {
    background-color: #ff6434;
}

.btn-watch-movie {
    background-color: #2196f3;
    color: white;
}

.btn-watch-movie:hover {
    background-color: #42a5f5;
}

@media (max-width: 768px) {
    .movie-modal-container {
        flex-direction: column;
        padding: 15px;
    }
    
    .movie-modal-poster {
        max-width: 100%;
    }
    
    .movie-modal-title {
        font-size: 32px;
    }
    
    .comments-list {
        max-height: 300px; /* Smaller height for mobile */
    }
}

/* YouTube-style Comment Section */
.comments-section {
    margin-top: 40px;
}

/* Comments Container */
.comments-list {
    margin-top: 30px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom scrollbar for comments */
.comments-list::-webkit-scrollbar {
    width: 8px;
}

.comments-list::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Comment Styling */
.comment {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.comment-user-avatar {
    flex: 0 0 40px;
    margin-right: 16px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.comment-author {
    font-weight: 500;
    margin-right: 8px;
}

.comment-date {
    color: #aaa;
    font-size: 0.85rem;
}

.comment-content {
    margin-bottom: 8px;
    line-height: 1.5;
}

.comment-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.comment-action-btn {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.comment-action-btn:hover {
    color: #f5f5f5;
}

.comment-action-btn i {
    margin-right: 6px;
}

.reply-form {
    margin: 12px 0;
    padding: 12px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.reply-input {
    width: 100%;
    min-height: 80px;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 12px;
    color: #f5f5f5;
    font-family: 'Roboto', sans-serif;
    resize: vertical;
    margin-bottom: 12px;
}

.reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.post-reply-btn {
    background-color: #4285F4;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.cancel-reply-btn {
    background-color: transparent;
    color: #aaa;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}

.post-reply-btn:hover {
    background-color: #3367d6;
}

.cancel-reply-btn:hover {
    color: #f5f5f5;
}

/* Reply Styling */
.replies-container {
    margin-top: 12px;
    margin-left: 12px;
    border-left: 2px solid #333;
    padding-left: 24px;
}

.reply {
    display: flex;
    margin-bottom: 20px;
}

.reply-user-avatar {
    flex: 0 0 32px;
    margin-right: 12px;
}

.reply-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.reply-body {
    flex: 1;
}

.reply-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.reply-author {
    font-weight: 500;
    margin-right: 8px;
}

.reply-date {
    color: #aaa;
    font-size: 0.85rem;
}

.reply-content {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Admin Badge */
.admin-badge {
    background-color: #4285F4;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-right: 8px;
    font-weight: normal;
}

/* Admin Comment Styling */
.comment.admin-comment .comment-author,
.reply.admin-reply .reply-author {
    color: #4285F4;
}

.comment.admin-comment,
.reply.admin-reply {
    background-color: rgba(66, 133, 244, 0.05);
    border-radius: 8px;
    padding: 10px;
}

/* Emoji Picker Styles */
.emoji-picker-toggle {
    background: transparent;
    border: none;
    color: #aaaaaa;
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.emoji-picker-toggle:hover {
    background-color: #3a3a3a;
}

.emoji-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    background-color: #272727;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 320px;
    max-height: 300px;
    overflow: hidden;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #444;
}

.emoji-picker::-webkit-scrollbar {
    width: 8px;
}

.emoji-picker::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.emoji-picker::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.emoji-picker::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.emoji-actions {
    position: relative;
}

/* Mobile responsive for emoji picker */
@media (max-width: 480px) {
    .emoji-picker {
        width: 260px;
        max-height: 240px;
    }
}
