/* Color system (pastels) */
:root {
  --color-bg: #f5f1ea; /* warm beige */
  --color-surface: #ffffff;
  --color-primary: #111111; /* near-black */
  --color-secondary: #eae7e1; /* light neutral */
  --color-tertiary: #f2efe9; /* neutral tint */
  --color-accent: #cfc7bb; /* muted taupe */
  --color-ink: #111111;
  --color-muted: #6b7280;
  --shadow-soft: 0 10px 30px rgba(17, 17, 17, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--color-ink);
  background: linear-gradient(180deg, var(--color-bg), #ffffff);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; border-radius: 10px; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.display {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.lead { font-size: clamp(1rem, 1.8vw, 1.25rem); color: #444; }
.muted { color: var(--color-muted); }

/* Headings style */
.section h2 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin: 0 0 8px;
}
.section p { color: #3f3f46; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: saturate(1.2) blur(6px);
  background: color-mix(in oklab, var(--color-bg) 75%, #fff 25%);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; }
.brand-logo { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; box-shadow: var(--shadow-soft); }
.brand-name { font-weight: 600; letter-spacing: 0.02em; }

.site-nav ul { list-style: none; display: flex; gap: 8px; align-items: center; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.site-nav a:not(.button) { color: inherit; }
.site-nav a:not(.button):hover { background: var(--color-secondary); }
.site-nav .button { color: #fff; background: var(--color-ink); }

.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; border-radius: 8px; }
.nav-toggle:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: #333; margin: 4px 0; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; transform-origin: center; }

/* Hamburger -> Close animation */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.button {
  --bg: var(--color-ink);
  --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px;
  background: var(--bg); color: var(--fg);
  text-decoration: none; border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, background-color .25s ease, color .25s ease;
}
.button:hover { filter: brightness(0.98); transform: translateY(-1px) scale(1.03); box-shadow: 0 14px 36px rgba(34,33,37,0.12); }
.button:active { transform: translateY(0); }
.button-ghost { background: #fff; color: var(--color-ink); border: 1px solid var(--color-ink); }
.button-ghost:hover { background: var(--color-ink); color: #fff; }
.button-outline { background: transparent; color: var(--color-ink); border: 1px solid var(--color-ink); box-shadow: none; }
.button-outline:hover { background: var(--color-ink); color: #fff; }

/* Animated underline for nav links (not buttons) */
.site-nav a { position: relative; }
.site-nav a.button::after { display: none; }
.site-nav a:not(.button)::after {
  content: ""; position: absolute; left: 12px; right: 100%; bottom: 6px; height: 2px;
  background: #222; transition: right .25s ease; opacity: .6;
}
.site-nav a:not(.button):hover::after { right: 12px; }

/* Card hover lift */
.gallery-item { transition: transform .2s ease, box-shadow .2s ease; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17,17,17,0.12); }

/* CTA subtle pulse after delay */
.cta { position: relative; }
.cta.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 14px;
  box-shadow: 0 0 0 0 rgba(239, 223, 224, 0.9);
  animation: cta-pulse 1.8s ease-out 0s 3;
}
@keyframes cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 223, 224, 0.9); }
  100% { box-shadow: 0 0 0 22px rgba(239, 223, 224, 0); }
}

/* Form micro feedback */
.field input:valid, .field textarea:valid { border-color: #22c55e; }
.shake { animation: shake .25s ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.hero-copy .actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.hero-media .collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-media .collage img:nth-child(1) { grid-column: 1 / -1; border-radius: var(--radius); }
.hero-media .collage img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: linear-gradient(180deg, var(--color-secondary) 0%, #fff 100%); }
.section-head { margin-bottom: 18px; }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.chip { border: 1px solid rgba(0,0,0,0.12); background: #fff; color: #333; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.chip.active { background: var(--color-tertiary); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 18px; }
.gallery-item { grid-column: span 4; background: var(--color-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.gallery-item figcaption { padding: 10px 12px; font-size: 0.95rem; color: #475569; background: #fff; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3.5vw, 42px); align-items: center; }
.about-copy p { margin: 0 0 10px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 10px 0 0; list-style: none; }
.badges li { background: var(--color-secondary); color: var(--color-ink); padding: 8px 12px; border-radius: 999px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3.5vw, 42px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.contact-card { display: flex; gap: 12px; align-items: center; background: #fff; padding: 14px; border-radius: var(--radius); text-decoration: none; color: inherit; border: 1px solid rgba(0,0,0,0.06); }
.contact-card:hover { background: color-mix(in oklab, var(--color-tertiary) 60%, #fff 40%); }
.contact-card .icon { font-size: 20px; }

.contact-form { background: #fff; padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.06); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea { padding: 12px 12px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.12); background: #fff; font: inherit; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-secondary); border-color: transparent; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20,19,22,0.7); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox-image { max-width: 92vw; max-height: 80vh; border-radius: 12px; box-shadow: var(--shadow-soft); }
.lightbox-caption { color: #fff; margin-top: 10px; text-align: center; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.9); color: #222; border: 0; width: 36px; height: 36px;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-soft);
}
.lightbox-close { top: 22px; right: 22px; font-size: 22px; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

/* Footer */
.site-footer { padding: 18px 0 28px; border-top: 1px solid rgba(0,0,0,0.06); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }

/* Floating CTA WhatsApp */
.floating-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 999px;
  background: var(--color-ink); color: #fff; text-decoration: none;
  box-shadow: 0 12px 28px rgba(17,17,17,0.18);
  transform: translateY(16px); opacity: 0; pointer-events: none;
  transition: transform .25s ease, opacity .25s ease, box-shadow .2s ease;
}
.floating-cta .icon { display: inline-block; }
.floating-cta .label { font-weight: 600; letter-spacing: .02em; }
.floating-cta.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.floating-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(17,17,17,0.22); }

/* Responsive */
@media (max-width: 1024px) {
  .gallery-item { grid-column: span 6; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-header { position: fixed; top: 0; left: 0; right: 0; }
  body { padding-top: 62px; }
  .nav-toggle { display: inline-block; position: relative; z-index: 90; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: 62px; height: calc(100vh - 62px);
    background: linear-gradient(180deg, #ffffff, var(--color-secondary));
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 70;
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
    overflow: auto;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 20px; gap: 12px; }
  .site-nav a { padding: 16px 18px; font-size: 1.1rem; }
  .site-nav .menu-item {
    display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 12px;
    background: #fff;
    border: 1px solid var(--color-ink);
    border-radius: 12px;
    transition: transform .2s ease, box-shadow .2s ease, background-color .25s ease, color .25s ease;
  }
  .site-nav .menu-item:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,17,17,0.12); background: var(--color-ink); color: #fff; }
  .site-nav .menu-item:hover .menu-icon { color: #fff; }
  .site-nav .menu-item:active { transform: translateY(0); }
  .site-nav .menu-icon { color: var(--color-ink); }
  .mobile-only { display: block; }
  body.no-scroll { overflow: hidden; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery-item { grid-column: span 6; }
}

@media (min-width: 721px) {
  .mobile-only { display: none; }
}

