:root {
    --primary: #E50914;
    --secondary: #000000;
    --accent: #FFD700;
    --text-light: #ffffff;
    --text-dark: #222222;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.9);
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] {
    --primary: #E50914;
    --secondary: #f5f5f5;
    --accent: #FFD700;
    --text-light: #222222;
    --text-dark: #ffffff;
    --bg-dark: #ffffff;
    --bg-card: rgba(245, 245, 245, 0.9);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.header {
    background-color: var(--secondary);
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 50px;
    width: auto;
    border-radius: 5px;
}

.header h1 {
    font-size: 1.6rem;
    margin-left: 15px;
    background: linear-gradient(45deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 15px;
}

.theme-toggle, .menu-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover, .menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none;
}

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition);
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--primary);
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--secondary);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.sidebar.active {
    right: 0;
}

.close-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.close-sidebar:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-nav a {
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-social {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.sidebar-social a {
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
}

.sidebar-social a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a1a 100%);
    padding: 100px 5%;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
}

.banner .content {
    max-width: 800px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease;
    position: relative;
    z-index: 1;
}

.banner h1, .banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), #ff4d4d);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
    border: none;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.5);
}

.services {
    padding: 80px 5%;
    text-align: center;
}

.services h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.services h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary);
    bottom: -10px;
    left: 25%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.studio-info {
    padding: 80px 5%;
    text-align: center;
    background: var(--bg-card);
}

.studio-info h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.studio-info h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary);
    bottom: -10px;
    left: 25%;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    background: var(--secondary);
    padding: 30px 20px;
    border-radius: 10px;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.mission {
    padding: 80px 5%;
    text-align: center;
}

.mission h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.mission p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 20px auto;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    animation: fadeIn 0.8s ease;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: var(--bg-dark);
    color: var(--text-light);
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
}

.contact-form button {
    align-self: center;
}

.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
    text-align: center;
    flex: 1;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.error-message {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.footer {
    background-color: var(--secondary);
    color: var(--text-light);
    padding: 50px 5% 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    transition: var(--transition);
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.footer-bottom-links a {
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px 5%;
        gap: 15px;
    }
    
    .header-left {
        justify-content: center;
        width: 100%;
    }
    
    .header h1 {
        margin: 10px 0;
        font-size: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .header-right {
        justify-content: center;
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .banner h1, .banner h2 {
        font-size: 2rem;
    }
    
    .banner p {
        font-size: 1rem;
    }
    
    .services h2, .studio-info h2, .mission h2 {
        font-size: 1.8rem;
    }
    
    .services-grid, .process-steps {
        grid-template-columns: 1fr;
    }
    
    .error-code {
        font-size: 5rem;
    }
    
    .error-message {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 80px 5%;
    }
    
    .banner h1, .banner h2 {
        font-size: 1.8rem;
    }
    
    .banner .content {
        padding: 20px;
    }
    
    .services, .studio-info, .mission {
        padding: 60px 5%;
    }
    
    .sidebar {
        width: 100%;
        right: -100%;
    }
}