@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Noto+Sans+SC:wght@300;400;700&display=swap');

:root {
    --mahua-orange: #FF8C00;
    --mahua-dark: #0A0A0A;
    --mahua-gray: #1A1A1A;
    --mahua-light-gray: #2A2A2A;
    --mahua-text: #E0E0E0;
    --mahua-text-dim: #A0A0A0;
    --mahua-white: #FFFFFF;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background-color: var(--mahua-dark);
    color: var(--mahua-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    transition: var(--transition-smooth);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--mahua-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--mahua-orange);
    border-radius: 4px;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--mahua-orange);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--mahua-white);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--mahua-orange);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-content {
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    background: var(--mahua-orange);
    color: var(--mahua-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--mahua-white);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--mahua-text-dim);
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--mahua-orange);
    color: var(--mahua-dark);
}

.btn-primary:hover {
    background: var(--mahua-white);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title h2 {
    font-size: 36px;
    color: var(--mahua-white);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--mahua-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Movie Cards */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.movie-card {
    background: var(--mahua-gray);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.movie-img {
    aspect-ratio: 2/3;
    overflow: hidden;
    position: relative;
}

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

.movie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.movie-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--mahua-orange);
    color: var(--mahua-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
}

.movie-info {
    padding: 15px;
}

.movie-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-info p {
    font-size: 14px;
    color: var(--mahua-text-dim);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px;
    background: var(--mahua-gray);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 48px;
    color: var(--mahua-orange);
    margin-bottom: 20px;
}

/* News */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    background: var(--mahua-gray);
    padding: 20px;
    border-radius: 10px;
}

.news-date {
    background: var(--mahua-orange);
    color: var(--mahua-dark);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    min-width: 80px;
}

.news-date span {
    display: block;
    font-size: 24px;
    font-weight: 800;
}

/* Footer */
footer {
    background: var(--mahua-gray);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-links h4 {
    color: var(--mahua-white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--mahua-text-dim);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 40px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Products Page Specific */
.filter-bar {
    background: var(--mahua-gray);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.filter-group {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-label {
    font-weight: 700;
    min-width: 60px;
}

.filter-item {
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    background: var(--mahua-light-gray);
    font-size: 14px;
}

.filter-item.active {
    background: var(--mahua-orange);
    color: var(--mahua-dark);
}

.search-container {
    margin-bottom: 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    background: var(--mahua-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--mahua-text);
    font-size: 16px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mahua-gray);
    border-radius: 5px;
    cursor: pointer;
}

.page-btn.active {
    background: var(--mahua-orange);
    color: var(--mahua-dark);
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--mahua-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--mahua-text);
    margin-bottom: 20px;
}

.map-container {
    height: 400px;
    background: var(--mahua-gray);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 50px;
}

/* About Page Specific */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.vision-item {
    background: var(--mahua-gray);
    padding: 30px;
    border-radius: 15px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--mahua-orange);
    color: var(--mahua-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Chat Button */
.chat-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
