/*
Theme Name: CineFrame Studio
Description: Professional WordPress theme for film editing and animation studio. Modern dark theme with cinematic effects.
Version: 1.0
Author: CineFrame Studio
License: GPL v2 or later
Text Domain: cineframe-studio
*/

/* 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;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* WordPress Required Classes */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption {
    background: #1a1a1a;
    border: 1px solid #333;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
    color: #ffffff;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
    color: #cccccc;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #ff6b35;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #ffffff;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

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

/* Header */
.site-header {
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

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

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.site-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #ff6b35;
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: #cccccc;
    margin-left: 20px;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    padding: 15px 20px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: #ff6b35;
}

.menu-toggle {
    display: none;
    background: #ff6b35;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
}

/* Content */
.site-content {
    padding-top: 80px;
}

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

.entry-header {
    margin-bottom: 30px;
    text-align: center;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #ffffff;
    margin-bottom: 15px;
    margin-top: 30px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #cccccc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #111111;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.service-card {
    background: linear-gradient(145deg, #1a1a1a, #252525);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff6b35;
}

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

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease;
    background: #1a1a1a;
    border: 1px solid #333;
}

.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 30px 20px 20px;
    color: white;
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ff6b35;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    color: #cccccc;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #111111;
}

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

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cccccc;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border-radius: 15px;
    border: 1px solid #333;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #0a0a0a;
}

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

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #ff6b35;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #cccccc;
}

.contact-form {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #333;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    background: #333;
    border: 1px solid #555;
    color: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

/* Buttons */
.cta-button,
button[type="submit"],
input[type="submit"] {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
    color: white;
    text-decoration: none;
}

/* Comments */
.comments-area {
    margin-top: 50px;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #333;
}

.comments-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #ff6b35;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    background: #252525;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Widgets */
.widget {
    margin-bottom: 40px;
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333;
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ff6b35;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 12px 0;
    border-bottom: 1px solid #333;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #ff6b35;
}

/* Footer */
.site-footer {
    background: #000000;
    padding: 60px 0 20px;
    margin-top: 0;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ff6b35;
}

.footer-info p {
    color: #cccccc;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.social-link:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        border-top: 1px solid #333;
    }

    .main-navigation ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}