/* BMovies - Modern Movie Theater Themed CSS */

/* Root Variables */
:root {
    --primary-gold: #FFD700;
    --secondary-gold: #FFA500;
    --deep-blue: #1a1a2e;
    --royal-purple: #16213e;
    --electric-blue: #0f3460;
    --neon-cyan: #00D4FF;
    --bright-red: #FF6B6B;
    --vibrant-purple: #9B59B6;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --gradient-dark: linear-gradient(135deg, #232526 0%, #414345 100%);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
    --shadow-deep: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: var(--gradient-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--vibrant-purple);
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    text-align: justify;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-deep);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6)); }
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 3px 0;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="%23FFD700" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: starfield 20s linear infinite;
}

@keyframes starfield {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-background {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px var(--primary-gold), 0 0 30px var(--primary-gold); }
    to { text-shadow: 0 0 30px var(--primary-gold), 0 0 40px var(--primary-gold); }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

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

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

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-deep);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cta-button.primary:hover {
    background: var(--gradient-secondary);
}

.cta-button.secondary:hover {
    background: var(--primary-gold);
    color: var(--deep-blue);
}

/* Content Sections */
.content-section {
    padding: 6rem 0;
    position: relative;
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.3) 0%, rgba(15, 52, 96, 0.3) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.intro-text {
    font-size: 1.3rem;
    text-align: center;
    color: var(--primary-gold);
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-deep);
    background: rgba(255, 255, 255, 0.1);
}

.content-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.content-image:hover {
    transform: scale(1.05);
}

.image-caption {
    color: var(--neon-cyan);
    font-weight: 600;
    margin: 0;
}

/* Action Button */
.action-button-container {
    text-align: center;
    margin: 4rem 0;
}

.main-action-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-deep);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.main-action-button:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
    animation: shimmer 1s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* Library Categories */
.library-categories {
    margin: 3rem 0;
}

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

.category-item {
    background: rgba(155, 89, 182, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--vibrant-purple);
    transition: var(--transition-smooth);
}

.category-item:hover {
    background: rgba(155, 89, 182, 0.2);
    transform: translateX(10px);
}

.category-item h3 {
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

/* Quality Features */
.quality-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.quality-item {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: var(--transition-smooth);
}

.quality-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.quality-item h3 {
    color: var(--neon-cyan);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-gold);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.faq-question {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    cursor: pointer;
}

.faq-answer {
    color: #d0d0d0;
    margin: 0;
}

/* Conclusion Section */
.conclusion-section {
    background: var(--gradient-hero);
    text-align: center;
}

.conclusion-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.final-cta {
    margin-top: 3rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.cta-text {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
}

.final-cta-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-deep);
}

.final-cta-button:hover {
    transform: translateY(-5px);
    background: var(--gradient-secondary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Footer */
.main-footer {
    background: var(--gradient-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .category-row,
    .quality-features,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .main-action-button,
    .final-cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Background Animations */
.features-bg {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    position: relative;
}

.quality-bg {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.8) 0%, rgba(26, 26, 46, 0.8) 100%);
    position: relative;
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content-section {
    animation: fadeIn 1s ease-in-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
    background: var(--primary-gold);
    color: var(--deep-blue);
}

::-moz-selection {
    background: var(--primary-gold);
    color: var(--deep-blue);
}
