/* Configuración General */
:root {
    --negro: #000000;
    --blanco: #ffffff;
    --rojo: #E60000;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--negro);
    color: var(--blanco);
    overflow-x: hidden; /* Evita cualquier desbordamiento accidental */
}

.text-rojo { color: var(--rojo) !important; }

/* DISEÑO DE BARRA DE NAVEGACIÓN */
.navbar {
    padding: 1.2rem 0;
    transition: background 0.4s;
}

.nav-link {
    color: #ffffff !important;
    position: relative;
    transition: 0.3s;
    font-size: 1.25rem; 
    font-weight: 800;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 50%;
    background-color: var(--rojo);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after { width: 80%; }
.nav-link:hover { color: var(--rojo) !important; }

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-menu {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    min-width: 250px;
    border-top: 3px solid var(--rojo) !important;
    background-color: var(--negro) !important;
    z-index: 1050;
}

.dropdown-toggle::after { display: none !important; }

.dropdown-item {
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding: 10px 20px;
    transition: 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--rojo) !important;
    color: #fff !important;
}


/* DISEÑO DE CONTACTOS Y REDES */
.contact-card {
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon-wrapper {
    background: rgba(230, 0, 0, 0.05);
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid rgba(230, 0, 0, 0.2);
}

.contact-card h5 {
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
}

.contact-card p {
    font-size: 1rem;
    color: #ccc;
    font-family: 'Inter', sans-serif;
}

.tracking-wider {
    letter-spacing: 3px;
}



.social-icon {
    color: var(--rojo);
    font-size: 3rem;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #ff3333;
    transform: scale(1.2);
}

/* AJUSTES FOOTER */
.footer-link {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Inter', sans-serif;
    position: relative;
    opacity: 1;
}

.footer-link:hover {
    color: var(--rojo);
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 50%;
    background-color: var(--rojo);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-link:hover::after {
    width: 40px;
}

/* AJUSTES PARA EL MODAL */
.modal-content {
    border-radius: 12px;
}

.fw-black {
    font-weight: 900 !important;
    text-transform: uppercase;
}

.btn-rojo-intenso {
    background-color: #E60000 !important; /* El rojo puro de tu web */
    color: white !important;
    border: none !important;
    font-size: 1.1rem;
    letter-spacing: 2px;
    transition: background 0.3s ease;
}

.btn-rojo-intenso:hover {
    background-color: #c70000 !important; /* Un tono apenas más oscuro al pasar el mouse */
    color: white !important;
}

.modal-content .form-control {
    border-radius: 4px;
}
.modal-header {
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}
.form-control {
    background-color: #1a1a1a !important; /* Un gris muy oscuro para contraste */
    color: white !important;
    border: 1px solid #333 !important;
}

.form-control:focus {
    background-color: #222 !important;
    color: white !important;
    border: 1px solid var(--rojo) !important;
    box-shadow: none !important;
}

.btn-danger {
    background-color: var(--rojo) !important;
    border: none !important;
}

.btn-danger:hover {
    background-color: #ff0000 !important;
}

::placeholder {
    color: #888888 !important; /* Un gris claro visible */
    opacity: 1 !important;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--negro);
        border-top: 1px solid #333;
        margin-top: 10px;
    }
    .nav-item { padding: 15px 0; }
}

@media (max-width: 768px) {
    .poster-img { height: 250px; }
    .movie-card .card-title { font-size: 0.9rem; }
    #btn-funciones-principal {
        font-size: 1.2rem !important;
        padding: 14px 40px !important;
        width: 85% !important;
    }
}

@media (max-width: 576px) {
    .social-icon { font-size: 2rem; }
}