/* ===== RESET & FOUNDATIONS ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0b0b0b;
  --bg-alt: #111111;
  --bg-card: #161616;
  --gold: #c9a96e;
  --gold-light: #e0c992;
  --gold-dim: #8a7340;
  --text: #e8e8e8;
  --text-muted: #777;
  --text-dim: #555;
  --white: #f5f5f0;
  --whatsapp: #25d366;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

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

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) saturate(0.7);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 11, 0.4) 0%,
    rgba(11, 11, 11, 0.1) 40%,
    rgba(11, 11, 11, 0.6) 80%,
    rgba(11, 11, 11, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-line {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 2rem auto 0;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SECTIONS ===== */
section {
  padding: 6rem 3rem;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.section-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2.5rem;
}

/* ===== ABOUT ===== */
.about {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border: 1px solid var(--gold-dim);
  opacity: 0.4;
}

.about-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: saturate(0.85);
  transition: filter 0.4s;
}

.about-image-wrap:hover .about-image {
  filter: saturate(1);
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.about-text p:first-of-type {
  font-size: 1.15rem;
  color: var(--text);
}

/* ===== GALLERY ===== */
.gallery-section {
  background: var(--bg-alt);
  padding: 6rem 2rem;
}

.gallery-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.gallery-header .section-line {
  margin: 0 auto 2.5rem;
}

.gallery {
  max-width: 1400px;
  margin: 0 auto;
  columns: 4;
  column-gap: 10px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
  filter: saturate(0.8) brightness(0.95);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.3) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===== DOWNLOADS ===== */
.downloads {
  max-width: 900px;
  margin: 0 auto;
}

.downloads-header {
  margin-bottom: 3rem;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 110, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.download-card:hover {
  border-color: rgba(201, 169, 110, 0.2);
  transform: translateY(-4px);
}

.download-card:hover::before {
  opacity: 1;
}

.download-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1.25rem;
  stroke: var(--gold-dim);
  transition: stroke 0.3s;
}

.download-card:hover .download-icon {
  stroke: var(--gold);
}

.download-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.download-card p {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.3s, gap 0.3s;
}

.download-btn:hover {
  color: var(--gold-light);
  gap: 0.7rem;
}

.download-btn svg {
  width: 14px;
  height: 14px;
}

/* ===== CONTACT ===== */
.contact {
  position: relative;
  text-align: center;
  padding: 8rem 3rem;
  background: var(--bg-alt);
  overflow: hidden;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.contact .section-line {
  margin: 0 auto 2.5rem;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  border: 1px solid;
  transition: all 0.4s var(--ease-out);
}

.contact-btn svg {
  width: 20px;
  height: 20px;
}

.contact-btn.whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff;
}

.contact-btn.whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.2);
}

.contact-btn.email {
  background: transparent;
  border-color: var(--gold-dim);
  color: var(--gold);
}

.contact-btn.email:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer p {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  cursor: zoom-out;
}

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

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
  transition: transform 0.4s var(--ease-out);
}

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

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s;
}

.lightbox-close:hover { color: var(--white); }

.lightbox-close svg { width: 24px; height: 24px; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s;
}

.lightbox-nav:hover { color: var(--white); }
.lightbox-nav svg { width: 28px; height: 28px; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gallery { columns: 3; }
}

@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .nav.scrolled { padding: 0.75rem 1.5rem; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s var(--ease-out);
  }

  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.9rem; }
  .nav-toggle { display: flex; }

  section { padding: 4rem 1.5rem; }

  .about {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 500px;
  }

  .about-image-wrap { max-width: 280px; }

  .gallery { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }

  .downloads-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .contact-buttons { flex-direction: column; align-items: center; }
  .contact-btn { width: 100%; max-width: 300px; justify-content: center; }

  .lightbox-nav { display: none; }
}

@media (max-width: 480px) {
  .gallery { columns: 2; column-gap: 6px; }
  .gallery-item { margin-bottom: 6px; }
  .hero-name { font-size: 2.8rem; }
}
