/* ===== Variables y base ===== */
:root {
  --brand: #c8a200;
  --text-main: #222222;
  --bg-page: #ffffff;
  --bg-slider: #000000; /* gris muy suave solo para el slider */
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  margin: 0;
}

.title {
  font-family: "Playfair Display", "Times New Roman", serif;
}

/* ===== Navegación ===== */

.nav-link {
  position: relative;
  font-size: 0.9rem;
  color: #1E1C1C; /* negro teatral suave */
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand); /* dorado suave */
}

/* Página activa */
.nav-link.active {
  color: #5C2B33; /* granate teatral suave */
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #5C2B33;
  border-radius: 999px;
}

/* ===== Slider (index) ===== */

.slider-bg {
  background: var(--bg-slider);
}

.slide-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--bg-slider);
}

.swiper-button-prev,
.swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  color: var(--text-main);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 16px;
}

.swiper-pagination-progressbar {
  background: rgba(0, 0, 0, 0.08);
}

.swiper-pagination-progressbar-fill {
  background: var(--brand);
}

/* ===== Botones por obra ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}

/* Batetik Bestera: Kontzertua - verde musgo */
.btn-bidutzi {
  background: #FF7500;
  color: #ffffff;
}
.btn-bidutzi:hover {
  background: #fa7f01;
}

/* Batetik Bestera: Kontzertua - verde musgo */
.btn-kontzertua {
  background: #4E6B43;
  color: #ffffff;
}
.btn-kontzertua:hover {
  background: #395233;
}

/* Batetik Bestera - azul verdoso */
.btn-batetik {
  background: #3A6365;
  color: #ffffff;
}
.btn-batetik:hover {
  background: #2c4c4e;
}

/* Porno vs Afrodita - fucsia teatral */
.btn-porno {
  background: #C52973;
  color: #ffffff;
}
.btn-porno:hover {
  background: #9e1f5d;
}

/* Inondik Inora - mostaza */
.btn-inondik {
  background: #C19A3A;
  color: #ffffff;
}
.btn-inondik:hover {
  background: #9a7c2f;
}

/* GRID */
.function-photos {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* HORIZONTALES POR DEFECTO */
.function-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;

  background: #fff;
  padding: 12px 12px 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
}

/* ------------------ */
/* ÚLTIMA SECCIÓN 2x2 */
/* ------------------ */

main section:last-of-type .function-photos {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 1.2rem;
  justify-content: center;   /* centra el bloque */
}

main section:last-of-type .function-photo {
  aspect-ratio: 1 / 1;
  width: 260px;              /* tamaño fijo controlado */
}


/* Rotaciones suaves tipo collage */
.function-photo:nth-child(1) {
  transform: rotate(-3deg);
}
.function-photo:nth-child(2) {
  transform: rotate(2.5deg);
}
.function-photo:nth-child(3) {
  transform: rotate(-1.5deg);
}
.function-photo:nth-child(4) {
  transform: rotate(3deg);
}

/* Hover ligero */
.function-photo:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* En móvil: un poco más grandes y en 2 columnas aprox */
@media (max-width: 768px) {
  .function-photo {
    max-width: 45%;
    height: 150px;
  }
}

/* ===== Animaciones scroll (fade in up) ===== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
.img-circular {
  width: 330px;        /* el tamaño que quieras */
  height: 330px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
	
}