/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Arial', sans-serif;
}

/* Barra de navegación fija */
.navbar {
    position: fixed; 
    top: 0; 
    left: 0;
    right: 0;
    background-color: #333; 
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000; 
}

.navbar-left .logo {
    height: 40px; 
}

.navbar-right a {
    color: white; 
    text-decoration: none; 
    margin-left: 20px;
    font-size: 1rem;
    transition: color 0.3s; 
}

.navbar-right a:hover {
    color: #FF8C00; 
}
/* Sección Hero */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../images/img-fondo.webp') no-repeat center center/cover;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px;
}

/* Contenido izquierdo */
.content-left {
    max-width: 50%;
    text-align: left;
}

.content-left h1 {
    font-size: 2.5rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.content-left p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
}

.content-left button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #FF8C00;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.content-left button:hover {
    background-color: #e67600;
}

/* Redes sociales */
.content-right {
    text-align: right;
}

.content-right p {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
}

.social-icons a {
    margin: 0 10px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.2);
}

/* ----------- Media Queries ----------- */

/* Tablets (768px o menor) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .navbar-left {
        margin-bottom: 10px;
    }

    .navbar-right a {
        font-size: 0.9rem;
        margin: 5px 0;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .content-left {
        max-width: 100%;
    }

    .content-left h1 {
        font-size: 2rem;
    }

    .image-container {
        grid-template-columns: repeat(2, 1fr); /* 2 imágenes por fila en tablet */
    }
}

/* Móviles (480px o menor) */
@media (max-width: 480px) {
    .navbar-right a {
        font-size: 0.8rem;
        margin: 5px 0;
    }

    .hero {
        flex-direction: column;
        padding: 10px;
    }

    .content-left h1 {
        font-size: 1.8rem;
    }

    .content-left p {
        font-size: 1rem;
    }

    .content-left button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .image-container {
        grid-template-columns: 1fr; /* 1 imagen por fila en móvil */
    }

    .social-icons img {
        width: 24px;
        height: 24px;
    }
}





