body {
margin: 0;
font-family: 'Inter', sans-serif;
color: #111;
background: #fff;
}

/* NAV MINIMAL */
.minimal-nav {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  padding: 20px 50px;
  gap: 20px;
}

.logo {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
}

@media (max-width: 768px) {
  .logo {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* 👇 AÑADE esto */
.logo img {
  height: 40px; /* ajusta aquí */
  width: auto;
  display: block;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* MENÚ (DESKTOP) */
.menu {
  display: flex;
  gap: 30px;
  margin-left: auto;
}


.menu a {
  text-decoration: none;
  color: #111;
  font-size: 12px;
  white-space: nowrap;
}

/* 📱 MÓVIL */
@media (max-width: 768px) {
  .nav-inner {
    padding: 15px 20px;
  }

  .menu {
    justify-content: flex-end;
    gap: 15px;
  }
}

/* HERO */
.hero {
height: 100vh;
display: flex;
align-items: center;
padding-left: 10%;
}

.hero h1 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 40px;
  margin: 0;
}

.hero p {
font-size: 14px;
margin-top: 10px;
}

/* SECTIONS */
.section {
  padding: 40px 60px;
  margin: 230px auto 40px auto;
  max-width: 1200px;
}
.narrow {
max-width: 1100px;
margin: 0 auto;
color: #333;
margin-top: 150px;
}

.section h2,
.section h3 {
  text-align: center;
}


.section .art-group-title {
  text-align: center;
}

/* PROJECTS estilo editorial */
.projects-list div {
text-align: center;
margin-bottom: 10px;
font-size: 14px;
}

/* ART GRID */
.art-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 6px;
}

/* tablet */
@media (min-width: 700px) {
  .art-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* desktop (aquí tu versión estable) */
@media (min-width: 1000px) {
  .art-grid {
    grid-template-columns: repeat(3, 320px);
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
  }
}

.art-piece {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.art-piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Tablet */
@media (max-width: 900px) {
  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .art-grid-wrapper {
    padding: 0 3px;
  }

  .art-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 6px;
  }
}

.art-group-title {
grid-column: 1 / -1;
margin-top: 70px;
margin-bottom: 40px;
font-size: 12px;
}

/* PIEZAS */
.art-piece {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.art-piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.art-grid-wrapper { 
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* móvil */
@media (max-width: 600px) {
  .art-grid-wrapper {
    max-width: 100%;
    padding: 0 5px;
  }
}

/* TEXTO OCULTO */
.art-piece span {
position: absolute;
bottom: 15px;
left: 15px;
font-size: 12px;
opacity: 0;
transition: 0.3s;
color: white;
}

/* HOVER elegante */
.art-piece:hover span {
opacity: 1;
}

/* FOOTER */
footer {
text-align: center;
padding: 60px;
font-size: 12px;
color: #777;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.projects-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-top: 60px;
}

/* TEXTO A LA IZQUIERDA */
.text {
  flex: 1;
}

/* IMAGEN A LA DERECHA (CUADRADA) */
.image img {
  width: 350px;
  height: 350px;
  object-fit: cover;
}

/* 📱 RESPONSIVE (MÓVILES) */
@media (max-width: 768px) {
  .projects-list {
    flex-direction: column;
  }

  .image img {
    width: 100%;
    height: auto;
  }
}


/* Estilo base (común) */
.social-icon {
  color: #111;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;

  margin-left: 20px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.social-icon:hover {
  opacity: 0.6;
}

/* 🔹 Contacto (centrado) */
.contact-icon {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

#contact {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.92);

  justify-content: center;
  align-items: center;

  opacity: 0;
  transition: opacity 0.3s ease;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
}

.lightbox img {
max-width: 85%;
max-height: 85%;
object-fit: contain;
}

html {
scroll-behavior: smooth;
}

section {
scroll-margin-top: 100px;
}

.menu a {
position: relative;
}

.lightbox {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;

  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.menu a::after {
content: "";
position: absolute;
width: 0;
height: 1px;
bottom: -4px;
left: 0;
background: #111;
transition: width 0.3s;
}

.menu a:hover::after {
width: 100%;
}


.comentario {
  width: 700px;          
  font-size: 16px;
  color: black;
  padding: 100px;
  border-left: 300px;
  margin: 100px 0;
}

form {
  max-width: 600px;
  margin: 0 auto;
}

input, textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #ccc;
}

textarea {
  height: 120px;
  resize: vertical;
}

button {
  background: black;
  color: white;
  padding: 10px;
  border: none;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal video {
  width: 80%;
  max-width: 900px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.video-piece::after {
  content: "▶";
  font-size: 40px;
  color: white;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.video-piece:hover::after {
  transform: translate(-50%, -50%) scale(1.2);
}

.mySwiper {
  width: 100%;
  max-width: 1000px;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: #666 !important;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
}

.mySwiper {
  width: 85%;
  max-width: 700px;
  height: 480px;
  margin: 10px auto 0 auto;
  border-radius: 18px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.05) saturate(1.05);
}

.swiper-pagination-bullet {
  background: #999 !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #444 !important;
  opacity: 1;
}

.mySwiper {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 20px;
}

.swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  pointer-events: none;
}

.seccion-carrusel {
  width: 85%;
  max-width: 1000px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 30px;
}

.descripcion-carrusel {
  text-align: center;
  margin-top: 50px;
  font-size: 14px;
  color: #000;
  line-height: 1.6;
}

.cita {
  max-width: 600px;
  margin: 100px 0 60px 130px;
  font-size: 14px;
  line-height: 1.6;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .cita {
    margin: 60px 20px; 
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    white-space: nowrap;
    font-size: 28px; 
  }
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.about-content .text {
  flex: 1;
  text-align: left;
}

.about-content .image {
  flex: 1;
}

.about-content img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .about-content .text {
    text-align: left;
    width: 100%;
  }
}

#about h2 {
  margin-bottom: 40px;
}


.art-piece {
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.art-piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================
   LIGHTBOX BASE
========================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.92);

  justify-content: center;
  align-items: center;

  opacity: 0;
  transition: opacity 0.3s ease;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

/* =========================
   CONTENIDO
========================= */

.lightbox-content {
  display: flex;
  gap: 30px;
  align-items: center;

  max-width: 90vw;
  max-height: 85vh;

  transform: scale(0.95);
  transition: transform 0.3s ease;

  margin-top: 40px; /* 👈 añade esto */
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

/* Imagen */
.lightbox-content img {
  max-width: 55vw;
  max-height: 80vh;
  object-fit: contain;
}

/* =========================
   TEXTO ESTILO GALERÍA
========================= */

.lightbox-info {
  color: #f5f5f5;
  max-width: 320px;
}

.lightbox-info h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.lightbox-info p {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  opacity: 0.85;
}


.lightbox-info .divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 0;

  opacity: 0;
  animation: fadeLine 0.6s ease forwards;
}

@keyframes fadeLine {
  to { opacity: 1; }
}


/* =========================
   NAVEGACIÓN
========================= */

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 1000;
}

.nav.left { left: 20px; }
.nav.right { right: 20px; }

/* BOTÓN CERRAR */
.close-btn {
  position: absolute;
  top: 70px; /* fallback por seguridad */
  right: 30px;

  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
}

/* PC */
@media (min-width: 769px) {
  .close-btn {
    top: 80px;
  }
}

/* MÓVIL */
@media (max-width: 768px) {
  .close-btn {
    top: 60px;
    font-size: 28px;
  }
}
/* =========================
   MÓVIL (TIPO MUSEO)
========================= */

@media (max-width: 768px) {
  .lightbox-content {
    flex-direction: column;
    text-align: center;
  }

  .lightbox-content img {
    max-width: 90vw;
    max-height: 50vh;
  }

  .lightbox-info {
    max-width: 90vw;
  }

  .nav {
    font-size: 30px;
  }
}

/* =========================
   ESCRITORIO AJUSTADO
========================= */

@media (min-width: 769px) {
  .lightbox-content {
    max-width: 80vw;
    max-height: 80vh;
  }

  .lightbox-info {
    max-width: 300px;
    max-height: 75vh;
    overflow-y: auto;
  }
}

@media (min-width: 768px) {
  .seccion-carrusel {
    flex-direction: row;
    align-items: center;
  }

  .mySwiper {
    width: 50%;
    max-width: 500px;
    height: 80vh; 
    max-height: 600px;
  }

  .descripcion-carrusel {
    width: 50%;
    text-align: left;
    margin-top: 0;
  }
}

.logo img {
  height: 32px;
}

@media (max-width: 768px) {
  .logo img {
    height: 20px;
  }
}

@media (max-width: 768px) {
  .social-icon {
    font-size: 12px; /* más pequeño en móvil */
    margin-left: 12px; /* opcional: reduce separación */
  }
}
