/* ============================
   Base & Design Tokens
============================ */
:root {
  --bg: #fff;
  --text: #2b2230;
  --muted: #6b5a67;
  --primary: #c66a8b; /* rosé */
  --primary-600: #b2587a;
  --primary-200: #f4d8e3;
  --accent: #7f3a57; /* plum */
  --surface: rgba(255, 255, 255, 0.6);
  --shadow: 0 10px 30px rgba(34, 14, 26, 0.15);
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(
      1200px 600px at 10% -10%,
      #fdeaf1 0%,
      transparent 60%
    ),
    radial-gradient(1000px 800px at 100% 0%, #f6e9ef 0%, transparent 50%), #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
.sr-only {
  position: absolute;
  left: -9999px;
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

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

/* ============================
   Header & Nav
============================ */
.site-header {
  position: relative;
  padding-bottom: 2rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(34, 14, 26, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.brand .brand-text {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.6px;
}
.brand .brand-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 0.5rem;
  opacity: 0.9;
}
.logo {
  width: 32px;
  height: 32px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.menu-close-item {
  display: none;
}
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.menu-close span {
  display: block;
  transform: translateY(-2px);
}
.menu-close:hover,
.menu-close:focus-visible {
  background: var(--primary-200);
  color: var(--accent);
  outline: none;
}
.menu a {
  position: relative;
  text-decoration: none;
  color: var(--text);
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 2px;
}
.menu a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================
   Hero
============================ */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 0;
}
.headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subhead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social {
  margin-top: 0.75rem;
}
.social a {
  color: var(--accent);
  text-decoration: none;
}
.social a:hover {
  text-decoration: underline;
}

.hero-media {
  position: relative;
}
.hero-media img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: #fff;
}
.hero-media .float {
  position: absolute;
  bottom: -14%;
  right: -6%;
  width: 48%;
  rotate: -6deg;
}

/* ============================
   Buttons
============================ */
.btn {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.2s, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(198, 106, 139, 0.18);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-600);
  box-shadow: 0 10px 26px rgba(127, 58, 87, 0.22);
}
.btn-ghost {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-ghost:hover {
  background: var(--primary-200);
}
.btn-lg {
  padding: 0.9rem 1.25rem;
  font-weight: 600;
}

/* ============================
   Sections
============================ */
.section {
  padding: 3.5rem 0;
}
.section-head {
  text-align: center;
  margin-bottom: 1.75rem;
}
.section-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin: 0 0 0.5rem;
  color: var(--accent);
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(34, 14, 26, 0.18);
}
.card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  background: #fff;
}
.card-body {
  padding: 1rem;
}
.card-body h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.1rem;
}
.card-body p {
  margin: 0;
  color: var(--muted);
}

/* ============================
   Gallery
============================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(34, 14, 26, 0.18);
}

/* Instagram embed slot */
.ig-embed {
  margin-bottom: 1rem;
}
.gallery-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

/* Portfolio Instagram link */
.portfolio-cta {
  text-align: center;
  margin-top: 1.5rem;
}
.portfolio-cta a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.portfolio-cta a:hover {
  background: var(--primary-200);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 15, 0.7);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 88vw;
  max-height: 80vh;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #fff;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.lightbox-close {
  top: 8%;
  right: 6%;
  translate: 0 0;
  font-size: 24px;
}
.lightbox-prev {
  left: 6%;
}
.lightbox-next {
  right: 6%;
}

/* ============================
   Quotes
============================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.quote {
  background: var(--surface);
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.quote p {
  margin: 0 0 0.5rem;
  font-style: italic;
}
.quote footer {
  color: var(--muted);
}

/* ============================
   Contact
============================ */
.contact {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* ============================
   Footer
============================ */
.site-footer {
  padding: 2rem 0 3rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}
.brand.small .brand-text {
  font-size: 1rem;
}
.dev-credit {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.dev-credit a {
  color: var(--accent);
  text-decoration: none;
}
.dev-credit a:hover {
  text-decoration: underline;
}
.copyright {
  color: var(--muted);
  margin: 0;
}

/* ============================
   Reveal on scroll
============================ */
.reveal {
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.5s ease, translate 0.5s ease;
}
.reveal.in-view {
  opacity: 1;
  translate: 0 0;
}

/* ============================
   Responsive
============================ */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-media {
    order: -1;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .menu {
    position: fixed;
    inset: 0;
    padding: calc(var(--nav-height) + 24px) 24px 32px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.24s ease, transform 0.24s ease;
    z-index: 400;
    overflow-y: auto;
    width: 100vw;
    min-height: 100vh;
  }
  .menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .menu li {
    width: 100%;
  }
  .menu-close-item {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .menu-close {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.04);
  }
  .menu a {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
    border-radius: 14px;
  }
  .menu a:focus,
  .menu a:hover {
    background: var(--primary-200);
  }
  .menu .btn {
    width: 100%;
    text-align: center;
  }
  .nav-toggle {
    display: block;
  }
  .nav {
    z-index: 500;
  }
  .hero {
    padding-top: 1rem;
  }
  .hero-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: min(340px, 100%);
    margin: 0 auto;
  }
  .hero-media .float {
    position: static;
    width: 68%;
    max-width: 220px;
    rotate: -4deg;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* ============================
    WhatsApp Floating Button
============================ */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  z-index: 60;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 52px rgba(37, 211, 102, 0.45);
}
