:root {
    --amarillo: #fcff5a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Geist", sans-serif;
    background: #000;
    color: #fff;
}

/* Contenedor principal */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    /* background: rgba(0,0,0,0.8); */
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.btn-enviar {
    /* background: var(--amarillo); */
    color: var(--amarillo);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-enviar:hover {
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 12px rgba(252, 255, 90, 0.4); */
    color: white;
}

/* Hero Section */
.hero {
    height: 65vh;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    /* margin-top: 70px; */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    /* max-width: 800px; */
    padding: 0 300px 0 0;
}

.hero-label {
    font-size: 19px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1;
}

.hero-icon {
    display: inline-block;
    background: var(--amarillo);
    width: 80px;
    height: 45px;
    border-radius: 10px;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #000;
    text-decoration: none;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 20px;
}

/* Navigation */
.nav-section {
    border-bottom: 1px solid #333;
}

.nav-categories {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    overflow-x: auto;
}

.nav-categories::-webkit-scrollbar {
    height: 4px;
}

.nav-categories::-webkit-scrollbar-track {
    background: #111;
}

.nav-categories::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

.nav-categories a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-categories a:hover,
.nav-categories a.active {
    opacity: 1;
    color: var(--amarillo);
    /* font-weight: 600; */
    /* text-transform: uppercase; */
}

/* Grid de contenido */
.content-section {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.card:hover .card-overlay {
    opacity: 1;
}

.card-overlay-sinopsis {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    max-height: 120px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.card-overlay-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* border: 2px solid #fff; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.card-content {
    padding: 15px;
}

.card-header {
    margin-bottom: 8px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.card-info {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-duration-text {
    display: inline-block;
    /* margin-left: 8px; */
}

.card-duration-text i {
    font-size: 12px;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: transparent;
    border: 1px solid #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    text-transform: uppercase;
}

/* Sección Videoarte */
.section-videoarte {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.section-videoarte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.videoarte-wrapper {
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.section-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.videoarte-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.videoarte-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
}

.videoarte-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.duration {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-play {
    background: var(--amarillo);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-play:hover {
    transform: scale(1.1);
}

/* Estrenos Locales */
.section-estrenos {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
}

.carousel {
    position: relative;
}

.carousel-items {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
}

.carousel-items::-webkit-scrollbar {
    height: 8px;
}

.carousel-items::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
}

.carousel-items::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}

.carousel-card {
    min-width: calc((100% - 90px) / 4);
    max-width: calc((100% - 90px) / 4);
    flex-shrink: 0;
}

.carousel-card .card {
    height: 100%;
}

@media (max-width: 1200px) {
    .carousel-card {
        min-width: calc((100% - 60px) / 3);
        max-width: calc((100% - 60px) / 3);
    }
}

@media (max-width: 768px) {
    .carousel-card {
        min-width: calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 480px) {
    .carousel-card {
        min-width: 100%;
        max-width: 100%;
    }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.carousel-nav:hover {
    background: rgba(255,255,255,0.2);
}

.carousel-nav.prev {
    left: -20px;
}

.carousel-nav.next {
    right: -20px;
}

/* Formulario de contacto */
.section-contact {
    background: linear-gradient(135deg, #c4baff 0%, #d4c5ff 100%);
    padding: 80px 0 120px;
}

.section-contact form {
    max-width:960px;
    margin:0 auto;
}

.section-contact .container {/* max-width: 960px; *//* margin: 0 auto 0 0; */}

.contact-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #333;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #333;
    background: transparent;
    color: #000;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}
select option {
  background-color: #333333; /* White background for options */
  color: #fff; /* Dark gray text color */
}
input:focus,
textarea:focus {
    outline: none;
    border-color: #000;
}

input::placeholder,
textarea::placeholder {
    color: #666;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    background: var(--amarillo);
    /* color: #fff; */
    padding: 12px 40px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    float: right;
    /* margin-top: 20px; */
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-logo {
    font-weight: 600;
    font-size: 14px;
    /* letter-spacing: -0.01em; */
}

/* Mensaje de éxito/error */
.message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }

    .header-content {
        padding: 15px 30px;
    }

    .hero-title {
        font-size: 48px;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .carousel-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .videoarte-title {
        font-size: 32px;
    }

    .hero-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}