/* Estilos para el menú responsivo */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
    }

    nav ul.show {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }
}

* {
    box-sizing: border-box;
}

/* Media queries para tamaños de pantalla */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .card {
        width: 100%;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: flex-start;        
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 0.9em;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer img {
        width: 80%;
        margin-bottom: 20px;
    }

    .footer-column {
        text-align: center;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* Fondo negro */
    color: #fff; /* Texto blanco */
    font-size: 16px; /* Tamaño base de fuente*/
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #000; /* Fondo negro */
    border-bottom: 1px solid #333; /* Línea inferior */
}

.logo img {
    height: 50px; /* Altura del logo */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff; /* Texto blanco */
    font-weight: bold;
}

nav ul li a:hover {
    color: #E09F0E; /* Color al pasar el cursor */
}

.hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
}

.hero-description {
    position: relative;
    color: #fff;
    text-align: justify;
    padding: 20px; 
    overflow: hidden; 
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.5; /* Sombra para contraste */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-button {
    position: relative;
    text-align: center;
}

.hero h1 {
    font-size: 3em; /* 3 veces el tamaño base */
    margin: 0 0 5px;
}

.hero p {
    font-size: 1.2em;
    margin: 0 0 5px;
}

.cta-button {
    background-color: #E09F0E; /* Color del botón */
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;    
}

.cta-button:hover {
    background-color: #fff;
    color: #000;
}

.who-we-are {
    padding: 20px;
    text-align: justify;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.gallery img {
    width: 100%;
    border: 1px solid #333;
    border-radius: 5px;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery img.visible {
    opacity: 1;
    transform: translateX(0);
}

.portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.card {
    background-size: cover;
    background-position: center;
    width: 45%;
    padding: 15px;
    margin: 5px;
    border: 1px solid #333;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card-content {
    font-size: 0.9em;
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px;
    border-radius: 2px;
}

.card-title {
    font-size: 1.1em;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2px;
    border-radius: 2px;
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #E09F0E;
    border-top: 1px solid #333;
    align-items: top;
}

.footer-column {
    width: 30%;
    text-decoration: none;
    font-size: 0.75em; /* Cambia este valor al tamaño que desees */
    color: #000; /* Cambia este valor al color de texto que desees */
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-column h3 {
    margin-top: 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #000;
}

.footer-column ul li a:hover {
    color: #fff; /* Color al pasar el cursor */
}

.footer-column .linkedin-icon {
    display: flex;
    align-items: top;
}

.footer-column .linkedin-icon img {
    height: 24px;
    margin-right: 10px;
}

footer img {
    max-width: 100%;
    height: auto;
}