:root {
    --primary-blue: #4a90e2;
    --secondary-blue: #357abd;
    --cosmic-purple: #6b46c1;
    --space-dark: #0f0f23;
    --space-navy: #1a1a2e;
    --text-light: #e0e0e0;
    --text-dark: #2c3e50;
    --accent-gold: #ffd700;
    --success-green: #28a745;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

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

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: "🎬";
    font-size: 1.2em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--space-dark) 0%, var(--space-navy) 50%, var(--cosmic-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero::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"><circle cx="20" cy="20" r="1" fill="white" opacity="0.3"/><circle cx="80" cy="40" r="0.5" fill="white" opacity="0.5"/><circle cx="40" cy="60" r="1.5" fill="white" opacity="0.2"/><circle cx="90" cy="80" r="1" fill="white" opacity="0.4"/><circle cx="10" cy="90" r="0.8" fill="white" opacity="0.3"/></svg>') repeat;
    animation: starfield 50s linear infinite;
}

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

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

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero .tagline {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .description {
    font-size: 1.1em;
    margin-bottom: 40px;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* Featured Project Section */
.featured-project {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #6c757d;
    margin-bottom: 60px;
}

.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.project-visual {
    background: linear-gradient(135deg, var(--space-dark), var(--cosmic-purple));
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.project-visual::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"><circle cx="30" cy="30" r="1" fill="white" opacity="0.2"/><circle cx="70" cy="50" r="0.8" fill="white" opacity="0.3"/><circle cx="50" cy="80" r="1.2" fill="white" opacity="0.25"/></svg>') repeat;
    animation: twinkle 3s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.project-logo {
    font-size: 3em;
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
}

.project-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 15px;
    z-index: 2;
    position: relative;
}

.project-status {
    background: var(--success-green);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
}

.project-info h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.project-info p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-blue);
}

.stat-label {
    color: #6c757d;
    font-size: 0.9em;
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--space-dark);
    color: var(--text-light);
}

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

.about-text h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.about-visual {
    background: linear-gradient(45deg, var(--primary-blue), var(--cosmic-purple));
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
}

.about-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.about-visual h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 100px 20px;
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--space-navy), var(--space-dark));
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.5em;
    color: var(--primary-blue);
    width: 40px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--space-dark);
    color: var(--text-light);
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5em;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary-blue);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5em;
    }
    
    .hero .tagline {
        font-size: 1.1em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 250px;
    }
    
    .project-showcase,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .about-text h2 {
        font-size: 2em;
    }
    
    .contact-info h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.5em;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* Add after existing styles */

/* Fix content overlap with fixed navbar */
main, .main-content {
    padding-top: 100px; /* Adjust based on your navbar height */
    min-height: calc(100vh - 100px);
}

/* Auth pages styling to match your design system */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
    background: linear-gradient(135deg, var(--space-dark) 0%, var(--space-navy) 50%, var(--cosmic-purple) 100%);
}

.auth-form {
    max-width: 400px;
    width: 100%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.auth-form h1 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: bold;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.auth-links {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.auth-links a {
    color: var(--primary-blue);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Projects page styling */
.projects-container {
    padding: 2rem;
    /*max-width: 1200px;*/
    margin: 0 auto;
    background: linear-gradient(135deg, var(--space-dark) 0%, var(--space-navy) 100%);
    min-height: calc(100vh - 100px);
}

.projects-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.projects-header h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    /*max-width: 1200px;*/
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
    border-color: var(--primary-blue);
}

/* Form control styling for auth pages */
.form-control,
.auth-form input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus,
.auth-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* Responsive grid for name fields on registration form */
@media (max-width: 768px) {
    .auth-form .form-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

/* Better error message styling for auth forms */
.auth-form .error-messages {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.auth-form .error-messages ul {
    margin: 0;
    padding-left: 1rem;
}

.auth-form .error-messages li {
    margin-bottom: 0.5rem;
}
