/* General Body Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: #750d0d;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Video de fondo */
#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Capa roja con opacidad */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(112, 17, 11, 0.7);
    z-index: 1;
}

/* Contenido */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 5%;
}

/* Logo */
#logo img {
    max-height: 175px;
    margin: 0 auto 20px;
}

.container.mt-5 {
    display: flex; /* Activa Flexbox */
    flex-direction: row; /* Alinea las tarjetas en fila */
    justify-content: center; /* Centra las tarjetas horizontalmente */
    align-items: center; /* Centra las tarjetas verticalmente */
    flex-wrap: wrap; /* Permite que las tarjetas se apilen en pantallas pequeñas */
    gap: 15px; /* Espacio entre tarjetas */
    height: 100%; /* Ocupa toda la altura de la pantalla */
    margin-top: 0; /* Elimina el margen superior */
}

/* Reducir altura de las tarjetas */
.pricing-card {
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px; /* Reduce el espaciado inferior */
    padding: 10px 15px; /* Reduce el relleno interno */
    max-width: 300px; /* Ancho máximo */
}

/* Reducir altura del encabezado */
.pricing-card .card-header {
    font-size: 1.2rem; /* Reduce el tamaño de la fuente */
    padding: 8px; /* Reduce el relleno */
    background-color: rgba(255, 255, 255, 0.8); /* Fondo ligeramente transparente */
    border-bottom: 2px solid #750d0d;
}

/* Reducir altura del cuerpo */
.pricing-card .card-body {
    padding: 10px; /* Reduce el relleno interno */
}

/* Reducir tamaño del texto del título */
.pricing-card-title {
    font-size: 1.8rem; /* Reduce el tamaño del texto del precio */
    margin-bottom: 10px; /* Reduce el margen inferior */
}

.pricing-card-title small {
    font-size: 1rem; /* Ajusta el tamaño del texto complementario */
}

/* Reducir altura de la lista */
.pricing-card ul {
    margin: 5px 0; /* Reduce el margen superior e inferior */
    padding-left: 15px; /* Ajusta el sangrado izquierdo */
}

.pricing-card ul li {
    font-size: 0.9rem; /* Reduce el tamaño del texto */
    line-height: 1.4; /* Ajusta el espaciado entre líneas */
}

/* Botones */
.buttons a {
    display: inline-block;
    background-color: white;
    color: #750d0d;
    border: 1px solid #750d0d;
    padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.buttons a:hover {
    background-color: #750d0d;
    color: white;
}

/* Política de Uso */
#policy-section {
    margin-top: 20px;
    margin-bottom: 60px;
    text-align: center;
}

#policy-section a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

#policy-section a:hover {
    color: #7C7C7C;
    text-decoration: none;
}

/* Footer */
footer.footer-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(112, 17, 11, 0.80);
    color: #ffffff;
    padding: 10px;
}

footer.footer-overlay p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    max-width: 90%;
    word-wrap: break-word;
}

/* Responsividad */

/* Tablets y pantallas medianas */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding-bottom: 20px;
        overflow: auto;
    }

    #bg-video {
        width: 100vw;
        height: auto;
    }

    #logo img {
        max-height: 100px;
        margin: 10px auto;
    }

    .pricing-card {
        width: 90%;
        margin: 10px auto;
    }

    .pricing-card-title {
        font-size: 1.6rem;
    }

    .pricing-card-title small {
        font-size: 1rem;
    }

    .buttons a {
        width: 90%;
        font-size: 14px;
        margin: 10px auto;
    }

    #policy-section {
        font-size: 14px;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .hero-section {
        height: auto;
        padding-bottom: 30px;
    }

    #logo img {
        max-height: 80px;
    }

    .pricing-card {
        width: 100%;
        padding: 10px;
    }

    .pricing-card-title {
        font-size: 1.4rem;
    }

    .buttons a {
        font-size: 12px;
        padding: 8px 15px;
    }

    #policy-section a {
        font-size: 12px;
    }

    footer.footer-overlay p {
        font-size: 12px;
    }
}
