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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.white-text {
    color: #ffffff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: #ffffff;
    border-color: #3B82F6;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background: transparent;
    color: #60A5FA;
    border-color: #60A5FA;
}

.btn-outline:hover {
    background: #60A5FA;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

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

/* Fallback text logo styles (if image fails to load) */
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #60A5FA;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0F172A 50%, #1E293B 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, #3B82F6 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, #60A5FA 2px, transparent 2px);
    background-size: 100px 100px;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #CBD5E1;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: #94A3B8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}





/* YouTube Channels Section */
.channels {
    background: linear-gradient(135deg, #000000 0%, #111827 100%);
}

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

.channel-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.channel-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.channel-icon {
    color: #FF0000;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.channel-title {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.channel-description {
    color: #CBD5E1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.channel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.feature-tag {
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}



/* Portfolio Section */
.portfolio {
    background: linear-gradient(135deg, #0F172A 0%, #000000 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
}

/* Movie Poster Styles */
.movie-poster {
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
}

.movie-poster:hover {
    transform: translateY(-10px) scale(1.02);
}

.poster-link {
    display: block;
    text-decoration: none;
}

.poster-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    aspect-ratio: 2/3; /* Standard movie poster ratio */
}

.poster-image:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

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

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poster-image:hover .poster-overlay {
    opacity: 1;
}

.play-icon {
    color: #60A5FA;
    transition: all 0.3s ease;
}

.poster-overlay:hover .play-icon {
    color: #3B82F6;
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0F172A 0%, #000000 100%);
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.1);
}

.contact-icon {
    color: #60A5FA;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.contact-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.contact-email {
    display: block;
    color: #60A5FA;
    font-weight: 600;
    text-decoration: none;
    padding: 0.875rem 1.25rem;
    border: 2px solid #60A5FA;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 auto 1rem auto;
    text-align: center;
    max-width: 320px;
    font-size: 0.85rem;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
}

.contact-email:hover {
    background: #60A5FA;
    color: #000000;
    transform: translateY(-2px);
}

.contact-details {
    text-align: left;
}

.contact-details p {
    color: #94A3B8;
    margin-bottom: 0.5rem;
}

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

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-main {
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

/* Fallback footer logo styles */
.footer-logo-text {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.footer-description {
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.footer-bottom p {
    color: #64748B;
    margin: 0;
    font-size: 0.9rem;
}

.company-link {
    color: #60A5FA;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: #3B82F6;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-email {
        min-width: auto;
        width: 100%;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .portfolio-grid,
    .channels-grid {
        grid-template-columns: 1fr;
    }
    
    .channels-grid {
        gap: 2rem;
    }
    
    .channel-card {
        padding: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    

    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        min-width: unset;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .footer-logo-img {
        height: 40px;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
    .portfolio-item,
    .btn {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #60A5FA;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

/* Loading optimization */
body.loaded {
    opacity: 1;
}

/* Optimize animations for better performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* GPU acceleration for smooth animations */
.movie-poster,
.channel-card,
.contact-card,
.btn {
    will-change: transform;
    transform: translateZ(0);
}

/* Optimize font loading */
@font-face {
    font-family: 'Inter';
    font-display: swap;
    src: local('Inter');
}

/* Critical resource hints */
.poster-image img {
    content-visibility: auto;
    contain-intrinsic-size: 300px 450px;
}

/* Optimize scrolling performance */
html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #3B82F6 #000000;
}

/* Webkit scrollbar optimization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #60A5FA;
}