:root {
  --bg: #0b0b0c;
  --bg-alt: #141416;
  --text: #f2f2f2;
  --text-muted: #a6a6a6;
  --accent: #d8b26a;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}

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

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: sticky;
  top: 0;
  background: rgba(11,11,12,0.9);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.nav .logo {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.nav nav a {
  margin-left: 2rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav nav a:hover,
.nav nav a.active {
  color: var(--accent);
}

.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.hero.small { padding: 4rem 2rem 2rem; }

.hero h1 {
  font-size: 3rem;
  letter-spacing: 3px;
  font-weight: 300;
}

.hero p {
  color: var(--text-muted);
  margin-top: 0.8rem;
}

.gallery { padding: 0 2rem 4rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-item {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-item:hover img { transform: scale(1.05); }

.photo-item.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-item.placeholder::after {
  content: "Reemplazá esta imagen en /images";
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
}

.photo-item.placeholder img { display: none; }

.about, .contact {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.about h2, .contact h2 {
  font-size: 1.6rem;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  color: var(--accent);
}

.about p, .contact p { color: var(--text-muted); }

.socials { margin-top: 1rem; }

.socials a {
  margin: 0 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.85rem;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid #222;
}

/* Blog */
.blog-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

.blog-post {
  margin-bottom: 3rem;
  background: var(--bg-alt);
  border-radius: 8px;
  overflow: hidden;
}

.blog-post img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.blog-content { padding: 1.5rem 2rem; }

.blog-content h2 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.blog-date {
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.blog-content p:last-child { color: var(--text-muted); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 600px) {
  .nav { padding: 1rem 1.2rem; flex-direction: column; gap: 0.8rem; }
  .nav nav a { margin: 0 0.7rem; }
  .hero h1 { font-size: 2.2rem; }
  .gallery { padding: 0 1rem 3rem; }
}
