/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: white;
    background-color: #000;
    overflow: hidden;
}

.hero-container {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://i.insider.com/57ffe5a752dd731b008b4c41?width=2000&format=jpeg&auto=webp'); 
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column; /* Cambiado para acomodar el footer abajo */
    justify-content: space-between;
    padding: 20px 50px;
}

.content h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: -5px;
}

.content p {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
}

.project-card {
    position: relative;
    outline: none;
}

/* Ajuste para que los iconos SVG se alineen correctamente */
svg {
    width: 24px;
    height: 24px;
    fill: currentColor; /* Hereda el color del texto */
    vertical-align: middle;
}

.card-trigger,
.card-trigger-pmi
{
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.09);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-trigger-pmi
{
    background: rgba(255, 55, 0, 0.09);
    border: 1px solid #ff37006d;
}
.project-card:hover .card-trigger {
    border-color: #f2f4f1;
    box-shadow: 0 0 10px #f2f4f1, inset 0 0 5px #f2f4f1;
    transform: translateX(10px);
}

.project-card:hover .card-trigger-pmi {
    border-color: #ff3700;
    box-shadow: 0 0 10px #ff3700, inset 0 0 5px #ff3700;
    transform: translateX(10px);
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -48%);
    width: 450px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.modal-overlay h2 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 400;
}

.modal-overlay p {
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: justify;
    color: #dfdfdf;
    margin-bottom: 25px;
}

.modal-btn {
    display: inline-block;
    padding: 10px 25px;
    background: white;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.cliente {
    font-weight: 700;
}

/* FOOTER */
.contact-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 10px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-item:hover {
    opacity: 1;
}

.footer-item span {
    font-size: 1.1rem;
}

.footer-item a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .hero-container { padding: 40px 20px; background-position: 70%; }
    .content h1 { font-size: 2.25rem; }
    .projects-container { width: 100%; padding-right: 0px; }
    .modal-overlay {
        width: 85%;
        left: 50%;
        top: 50%;
    }
    .contact-footer {
    padding-bottom: 35px;
    }

}