/* ================== RESET GENERAL ================== */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
    font-size: 18px;
}

/* ================== HEADER ================== */
header {
    width: 100%;
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    border-radius: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}

/* ================== SECCIONES ================== */
section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: auto;
}

/* ================== SOBRE NOSOTROS ================== */
.sobre-nosotros {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contenido-nosotros {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.texto-nosotros {
    flex: 2;
}

.logo-nosotros img {
    max-width: 200px;
}

/* ================== GALERÍA ================== */
#galeria {
    text-align: center;
}

#galeria h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.galeria-grid {
    columns: 3;
    column-gap: 20px;
}

.galeria-grid img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 25px;
    break-inside: avoid;
    transition: transform 0.3s ease;
}

.galeria-grid img:hover {
    transform: scale(1.03);
}

/* ================== SERVICIOS + CONTACTO ================== */
.servicios-contacto {
    display: flex;
    gap: 40px;
    padding: 50px 20px;
}

.bloque-servicios {
    flex: 2;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.servicio-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.servicio-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* ================== FORMULARIO ================== */
.bloque-contacto {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input,
textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Outfit', sans-serif;
}

button {
    background: #ffcc00;
    color: #000;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #333;
    color: #fff;
}

/* ================== UBICACIÓN ================== */
.contenido-ubicacion {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.texto-ubicacion,
.mapa-ubicacion {
    flex: 1;
    min-width: 280px;
}

.mapa-ubicacion iframe {
    width: 100%;
    height: 350px;
    border-radius: 12px;
}

/* ================== FOOTER ================== */
.footer-nosotros {
    background-color: #ffc20f;
    color: #fff;
    padding: 40px 20px 20px;
}

.contenido-footer {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.texto-footer {
    flex: 1;
    min-width: 280px;
}

.contacto-columnas {
    display: flex;
    gap: 20px;
}

.separador {
    width: 1px;
    background: rgba(255,255,255,0.3);
}

.contacto-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.logo-footer img {
    width: 250px;
    border-radius: 20px;
}

/* ================== RESPONSIVE ================== */

/* Tablets */
@media (max-width: 900px) {
    .servicios-contacto {
        flex-direction: column;
    }

    .galeria-grid {
        columns: 2;
    }
}

/* Celulares */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
    }

    .contenido-nosotros {
        flex-direction: column;
        text-align: center;
    }

    .contenido-ubicacion {
        flex-direction: column;
    }

    .contenido-footer {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contacto-columnas {
        flex-direction: column;
    }

    .separador {
        display: none;
    }

    .galeria-grid {
        columns: 1;
    }
}
/* === ICONOS DE CONTACTO (WhatsApp, Gmail, Teléfono) === */
.contacto-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 8px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%)
            saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}
.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: black;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }
}
