/* 0. DISPONIBILIDAD DE TIPOGRAFÍAS */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

/* 1. PALETA DE DISEÑO */
:root {
  --color-fondo: hsl(336, 100%, 86%);
  --naranja-contraste: hsl(17, 86%, 55%);
  --rosa-secundario: hsl(338, 89%, 75%);
  --color-resaltador: hsl(78, 100%, 64%);
  --color-textos: hsl(0, 0%, 11%);
  --sombra: 0 8px 24px rgba(0, 2, 10, 0.15);
  --espacio-chico: 1rem;
  --espacio-medio: 1.5rem;
  --fuente-textos: "Bricolage Grotesque", sans-serif;
  --fuente-titulos: "Bricolage Grotesque", sans-serif;
  --ancho-maximo: min(75rem, calc(100% - 2rem));
}

/* 2. RESET */
* {
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

/* 3. REGLAS GENERALES */
body {
  background-color: var(--color-fondo);
  font-family: var(--fuente-textos);
  min-height: 100dvh;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
}



/* 4. LAYOUT */

header {
  background-color: var(--naranja-contraste);
  padding: 1rem 1.5rem;
}

header .menu-contenedor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

#logo img {
  max-height: 50px;
}

header nav ul {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

header nav a {
  font-family: var(--fuente-titulos);
  color: var(--color-textos);
  font-weight: 600;
}

header nav a:hover {
  color: white;
}


/* --- PAGINA EVENTOS --- */
.titulo-mes {
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--naranja-contraste);
  margin-bottom: 1rem;
  padding: 2rem;
  margin-top: 1rem;
}

.mes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(22em, 100%), 1fr));
  gap: 2rem;
  padding: 2rem;
}

.calendario {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendario figure img {
  border-radius: 16px;
}

.calendario h4 {
  margin: 0.25rem 0 0;
  font-weight: 500;
  color: #555;
}

.calendario h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--color-textos);
}

.calendario p {
  margin: 0;
  color: var(--color-textos);
  max-width: 65ch;
  text-wrap: pretty;
}

.calendario .boton-secundario {
  width: fit-content;
  padding: 0.6rem 1.5rem;
  margin-top: 0.5rem;
}

/* --- INFO EVENTOS --- */
.invitados-artistas {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(22em, 100%), 1fr));
  gap: 2rem;
  padding: 2rem;
}

.cronograma {
  padding: 1rem;
}

/* --- PAGINA TALLERES --- */
.talleres-sector {
padding: 1rem;
}

.tarjeta-taller {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.taller-info {
  background-color: #fff8f8;
  border-radius: 8px;
  padding: 1rem;
  width: fit-content;
}

.taller-info p {
  max-width: 30ch;
}

.taller-info img{
border-radius: 8px;
width: 70%;
}

.taller-etiquetas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.tag {
  background-color: transparent;
  border: 1px solid #ccc;
  color: var(--color-textos);
  font-size: 0.8rem;
  padding: 0.3rem 0.5rem;
  border-radius: 50px;
  font-weight: 500;
}

/* --- PAGINA TALLERES --- */
.titulo-taller {
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--naranja-contraste);
  margin-bottom: 1rem;
  padding: 2rem;
  margin-top: 1rem;
}

.pintura {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(22em, 100%), 1fr));
  gap: 2rem;
  padding: 2rem;
}

.dibujo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dibujo ul li {
  list-style: square;
}

.dibujo p {
  max-width: 65ch;
  text-wrap: pretty;
}

/* --- PAGINA ARTISTAS --- */
.artista {
padding: 1rem;
}

.artista p {
max-width: 65ch;
text-wrap: pretty;
}

/* --- HERO SECTOR --- */
.hero-sector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem 1.5rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1rem 0;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0;
}

.hero h2 {
  font-size: 1.4rem;
  margin: 0;
}

.hero .highlight {
  color: var(--naranja-contraste);
}

.boton {
  background-color: var(--naranja-contraste);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  color: rgb(0, 0, 0);
  font-weight: 600;
  width: fit-content;
}

.boton:hover {
  opacity: 0.9;
  color: white;
}

/* --- TARJETA --- */
.tarjeta {
  background-color: white;
  border-radius: 24px;
  box-shadow: var(--sombra);
  padding: 1.5rem;
  width: 100%;
  max-width: 380px;
  justify-self: end;
}

.tarjeta-talleres {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tarjeta-talleres h2 {
  margin: 0;
  font-size: 1.3rem;
}

.tarjeta-talleres p:not(.eyebrow) {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.eyebrow {
  color: var(--naranja-contraste);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0;
}

.tarjeta-foto img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* datos dentro de la tarjeta */
.tarjeta-talleres ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #363636;
  padding: 0.75rem 0;
  margin: 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.boton-secundario {
  background-color: var(--naranja-contraste);
  border-radius: 50px;
  padding: 0.75rem;
  color: rgb(0, 0, 0);
  font-weight: 600;
  text-align: center;
  display: block;
  margin-top: 0.5rem;
  width: fit-content;
}

.boton-secundario:hover {
  opacity: 0.9;
  color: white;
}

/* --- INSPIRARTE --- */
.inspirarte-sector {
  background-color: var(--rosa-secundario);
  padding: 3rem 1.5rem;
}



.obras h2 {
  margin: 0;
  font-size: 2rem;
}

.obras h3 {
  margin: 0.2rem 0 0;
  font-weight: 500;
  margin-bottom: 1rem;
}

.inspirarte-inicio a {
  font-weight: 600;
  color: var(--color-textos);
}

.inspirarte-inicio a:hover {
  color: var(--naranja-contraste);
}

.obras .highlight {
  color: var(--naranja-contraste);
}

.obras-fotos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.obras-fotos figure img {
  border-radius: 12px;
  width: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.obras-fotos figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.obras-fotos figcaption strong {
  display: block;
}

.obras-fotos figcaption p {
  margin: 0.15rem 0 0;
  color: #444;
}

/* --- EVENTO --- */
.evento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 1.5rem;
  margin: 0 auto;
}

.evento-contenido {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.evento-contenido h2 {
  font-size: 1.8rem;
  margin: 0;
}

.evento-contenido h3 {
  color: var(--naranja-contraste);
  font-size: 1.1rem;
  font-weight: 700;
  order: -1;
  margin: 0;
}

.evento-contenido p {
  margin: 0;
  color: #333;
}

.evento-foto img {
  border-radius: 24px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- FOOTER --- */
footer {
  background-color: var(--color-textos);
  color: #ffffff;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #222;
  padding-bottom: 2rem;
}

footer nav h2 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
}

footer nav a {
  color: #888;
}

footer nav a:hover {
  color: var(--color-resaltador);
}

footer img {
  max-width: 150px;
}

footer p {
  font-size: 0.85rem;
  color: #888;
  max-width: var(--ancho-maximo);
  margin-left: auto;
  margin-right: auto;
}

/* 5. ACCESIBILIDAD */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-resaltador);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 6. RESPONSIVE — TABLET */
@media (max-width: 900px) {
  .hero-sector {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }

  .tarjeta {
    justify-self: stretch;
    max-width: 480px;
    margin: 0 auto;
  }

  .obras-fotos {
    grid-template-columns: repeat(2, 1fr);
  }

  .evento {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }

  .evento-foto {
    order: -1;
  }
}

/* 7. RESPONSIVE — CELULAR */
@media (max-width: 600px) {
  header .menu-contenedor {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav ul {
    gap: 1rem;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .obras-fotos {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .inspirarte-inicio {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-contenido {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 420px) {
  .obras-fotos {
    grid-template-columns: 1fr;
  }
}