/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1C1C1C;
    color: #FFFFFF;
    line-height: 1.6;
    min-height: 100vh;
}

/* Contenedor general para que no pegue a los bordes */
main,
section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* HEADER */
header {
    background-color: #FF6F61;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    color: #fff;
    user-select: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #4A90E2;
    color: #fff;
}

/* SECCIÓN INICIO (Hero) */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #FF6F61 0%, #4A90E2 100%);
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(255, 111, 97, 0.4);
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.nosotros {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f0f0f0;
}

/* CONTACTO */
.contacto form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.contacto input,
.contacto textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.7);
  background-color: #2E2E2E;
  color: #fff;
  transition: box-shadow 0.3s ease;
}

.contacto input:focus,
.contacto textarea:focus {
  outline: none;
  box-shadow: 0 0 8px 2px #FF6F61;
}

.contacto button {
  padding: 15px;
  border: none;
  border-radius: 10px;
  background-color: #FF6F61;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contacto button:hover {
  background-color: #4A90E2;
}


/* FOOTER */
footer {
    text-align: center;
    padding: 15px 10px;
    background-color: #111111;
    color: #999999;
    margin-top: 40px;
    font-size: 0.9rem;
    user-select: none;
}

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

    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}


.oculto {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}
