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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cinzel', serif;
}

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

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 8px 12px;
    background: rgba(196, 135, 58, 0.2);
    border: 1px solid #c4873a;
    color: #c4873a;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
}

.lang-btn:hover,
.lang-btn.active {
    background: #c4873a;
    color: #0a0a0a;
}

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

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

.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 600;
    color: #c4873a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #ffffff;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #c4873a;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #c4873a;
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1514306191717-452ec28c7814?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #c4873a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    color: #c4873a;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-quote {
    font-size: 18px;
    font-style: italic;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #c4873a 0%, #d4984a 100%);
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(196, 135, 58, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 135, 58, 0.4);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator {
    width: 2px;
    height: 30px;
    background: #c4873a;
    margin: 0 auto;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c4873a, #d4984a);
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #cccccc;
}

.about-intro {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 300;
}

.about-text p {
    margin-bottom: 25px;
}

/* Filmography Section */
.filmography {
    background: #0a0a0a;
}

.filmography-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid #333333;
    color: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
    background: #c4873a;
    color: #0a0a0a;
    border-color: #c4873a;
}

.filmography-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.film-item {
    display: flex;
    background: rgba(26, 26, 26, 0.8);
    padding: 30px;
    border-left: 4px solid #c4873a;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.film-item:hover {
    transform: translateX(10px);
    background: rgba(26, 26, 26, 1);
    box-shadow: -10px 10px 30px rgba(196, 135, 58, 0.1);
}

.film-year {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 600;
    color: #c4873a;
    min-width: 120px;
    margin-right: 30px;
}

.film-info h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
}

.film-role {
    font-size: 16px;
    color: #c4873a;
    margin-bottom: 5px;
    font-weight: 500;
}

.film-type {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 5px;
}

.film-director {
    font-size: 14px;
    color: #999999;
    font-style: italic;
}

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-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;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    font-weight: 500;
    font-size: 16px;
}

/* Press Section */
.press {
    background: #0a0a0a;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.press-item {
    background: rgba(26, 26, 26, 0.8);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-top: 3px solid #c4873a;
}

.press-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: rgba(26, 26, 26, 1);
}

.press-title {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.press-source {
    color: #c4873a;
    font-weight: 600;
    margin-bottom: 5px;
}

.press-date {
    color: #999999;
    font-size: 14px;
    margin-bottom: 15px;
}

.press-excerpt {
    color: #cccccc;
    line-height: 1.6;
}

/* Media Section */
.media-section {
    margin-top: 80px;
    text-align: center;
}

.media-title {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 40px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

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

.contact-item {
    background: rgba(26, 26, 26, 0.8);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(196, 135, 58, 0.2);
}

.contact-item h3 {
    font-size: 24px;
    color: #c4873a;
    margin-bottom: 20px;
}

.contact-item p {
    color: #cccccc;
    margin-bottom: 10px;
}

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

.social-links {
    text-align: center;
}

.social-links h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c4873a, #d4984a);
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(196, 135, 58, 0.3);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(196, 135, 58, 0.5);
}

.social-icon span {
    font-size: 12px;
    text-align: center;
}

/* Footer */
.footer {
    background: #000000;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #333333;
}

.footer p {
    color: #999999;
    margin-bottom: 10px;
}

.footer-credit a {
    color: #c4873a;
    text-decoration: none;
    font-weight: 600;
}

.footer-credit a:hover {
    color: #ffffff;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-quote {
        font-size: 16px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-intro {
        font-size: 20px;
    }

    .film-item {
        flex-direction: column;
    }

    .film-year {
        margin-right: 0;
        margin-bottom: 15px;
        min-width: auto;
    }

    .filmography-tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .contact-content {
        gap: 30px;
    }

    .social-icons {
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 28px;
    }

    .film-item,
    .press-item,
    .contact-item {
        padding: 20px;
    }

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

/* Language Toggle Functionality */
.lang-content[data-lang="es"] {
    display: block;
}

.lang-content[data-lang="en"] {
    display: none;
}

body.lang-en .lang-content[data-lang="es"] {
    display: none;
}

body.lang-en .lang-content[data-lang="en"] {
    display: block;
}

/* Filter functionality */
.film-item.hidden {
    display: none;
}

/* Smooth transitions */
.film-item {
    transition: all 0.3s ease;
}

/* Loading animation */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.loading {
    animation-duration: 1.25s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
    background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
    background-size: 800px 104px;
}