@import "tailwindcss" source(none);
@source "../src";
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&display=swap');

/* Proyecto escolar - Intemporel */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  color: #3d2f22;
  background-color: #f7efe1;
  min-height: 100vh;
  line-height: 1.4;
}

h1, h2, h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  color: #5a3e25;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.pagina {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.Header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f0e0c0;
  border-bottom: 2px solid #c9a26b;
  flex-wrap: wrap;
  gap: 15px;
}
.Header .logo img { height: 100px; border-radius: 12px; }
.Header .titulo { text-align: center; }
.Header .titulo h1 { font-size: 36px; margin: 0; }
.Header .titulo p { font-style: italic; font-size: 14px; }
.Header .redes { font-size: 14px; text-align: right; }
.Header .redes a { display: block; color: #5a3e25; }
.Header .redes a:hover { text-decoration: underline; }

/* NAV */
.Menu {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  background-color: #d9b483;
  flex-wrap: wrap;
}
.Menu a {
  text-align: center;
  color: #fff;
  padding: 8px 15px;
  width: 130px;
  background-color: #a37b4d;
  border: 1px solid #5a3e25;
  border-radius: 10px;
  font-size: 16px;
}
.Menu a:hover, .Menu a.activo {
  background-color: #f7efe1;
  color: #5a3e25;
}

main { flex: 1; }

/* FOOTER */
.Footer {
  background-color: #f0e0c0;
  color: #3d2f22;
  border-top: 2px solid #c9a26b;
  padding: 10px;
}
.Footer .contenido { display: flex; flex-wrap: wrap; }
.Footer .columna { width: 50%; padding: 15px; }
.Footer h3 { font-size: 20px; }
.Footer a { color: #5a3e25; text-decoration: underline; }
.Footer .nota {
  text-align: center;
  padding: 10px;
  border-top: 1px dashed #c9a26b;
  font-size: 13px;
  font-style: italic;
}

/* INDEX */
.Slider {
  max-width: 1100px;
  margin: 30px auto;
  padding: 12px;
  border: 1px solid #c9a26b;
  background-color: #fffaf0;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(90, 62, 37, 0.15);
  overflow: hidden;
  position: relative;
}
.Slider .caja {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.Slider .caja img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 8s ease;
  animation: heroZoom 14s ease-in-out infinite alternate;
}
.Slider .caja::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247,239,225,0) 55%, rgba(247,239,225,0.55) 100%);
  pointer-events: none;
  border-radius: 18px;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.Bienvenida {
  text-align: center;
  padding: 30px 15px;
  background-color: #f7efe1;
}
.Bienvenida h2 { font-size: 36px; }
.Bienvenida p { max-width: 600px; margin: 10px auto 20px; font-size: 16px; }
.Bienvenida .botones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.Bienvenida .botones a {
  background-color: #a37b4d;
  color: #fff;
  padding: 10px 22px;
  border: 1px solid #5a3e25;
  font-size: 15px;
  border-radius: 999px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.Bienvenida .botones a:hover { background-color: #5a3e25; transform: translateY(-2px); }

/* NOSOTROS */
.Intro {
  padding: 30px 15px;
  text-align: center;
  background-color: #fffaf0;
}
.Intro h2 { font-size: 32px; }
.Intro p { max-width: 700px; margin: 0 auto; font-size: 16px; }

.MVV {
  text-align: center;
  padding: 30px 15px;
  background-color: #f0e0c0;
}
.MVV h2 { font-size: 28px; margin-bottom: 20px; }
.MVV .contenedor {
  max-width: 1100px;
  margin: 0 auto;
  background: transparent;
  border: 0;
  padding: 0;
}
.MVV .trescol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.MVV .col {
  flex: 1 1 280px;
  max-width: 340px;
  padding: 22px;
  text-align: left;
  background: #fffaf0;
  border: 1px solid #c9a26b;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(90, 62, 37, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.MVV .col:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(90, 62, 37, 0.16); }
.MVV .col h3 { font-size: 22px; }
.MVV .col p, .MVV .col li { font-size: 15px; }
.MVV .col ul { list-style: disc; padding-left: 20px; }

/* MENU */
.MenuHeader {
  padding: 30px 15px;
  text-align: center;
  background-color: #fffaf0;
}
.MenuHeader h2 { font-size: 32px; }
.MenuHeader p { font-size: 16px; }

.Galeria { padding: 20px 15px; background-color: #f7efe1; }
.Galeria .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}
.Galeria .card {
  background: #fffaf0;
  border: 1px solid #c9a26b;
  width: 300px;
}
.Galeria .card img { width: 100%; height: 200px; object-fit: cover; }
.Galeria .card .info { padding: 10px; }
.Galeria .card h3 { font-size: 18px; }
.Galeria .card p { font-size: 14px; }

.Precios { padding: 30px 15px; background-color: #f0e0c0; }
.Precios h2 { font-size: 28px; text-align: center; margin-bottom: 15px; }
.Precios table {
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fffaf0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(90, 62, 37, 0.10);
}
.Precios th, .Precios td {
  border-bottom: 1px solid #c9a26b;
  padding: 10px 22px;
  font-size: 15px;
}
.Precios tr:last-child td { border-bottom: 0; }
.Precios th { background-color: #d9b483; color: #fff; }

/* CONTACTO */
.ContactoHeader {
  padding: 30px 15px;
  text-align: center;
  background-color: #fffaf0;
}
.ContactoHeader h2 { font-size: 32px; }
.ContactoHeader p { font-size: 16px; }

.ContactoBody { padding: 20px 15px; background-color: #f7efe1; }
.ContactoBody .doscol {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}
.ContactoBody .info {
  background: #fffaf0;
  border: 1px solid #c9a26b;
  padding: 22px;
  flex: 1;
  min-width: 280px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(90, 62, 37, 0.10);
}
.ContactoBody .info h3 { font-size: 20px; }
.ContactoBody .info p { margin-bottom: 10px; font-size: 15px; }
.ContactoBody .mapa {
  border: 1px solid #c9a26b;
  flex: 1;
  min-width: 280px;
  min-height: 300px;
  background: #fffaf0;
}
.ContactoBody .mapa iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .Header { flex-direction: column; text-align: center; }
  .Header .redes { text-align: center; }
  .Menu a { width: 45%; }
  .Footer .columna { width: 100%; }
  .Slider .caja img { height: 220px; }
  .Bienvenida h2, .Intro h2, .MVV h2, .MenuHeader h2, .ContactoHeader h2 { font-size: 24px; }
}
