/* Overall layout */

body {
  position: relative;
}

main {
  position: relative;
  z-index: 1;
}

.site-shell {
  padding-top: var(--header-height);
}

/* Header / nav */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 241, 0.98),
    rgba(255, 248, 241, 0.88),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.site-header-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: var(--header-height);
  width: var(--content-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand block */

.brand-block {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}

.brand-block img {
  width: 150px;
  height: 150px;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.brand-text p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(60, 36, 51, 0.7);
}

/* Desktop nav */

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  text-decoration: none;
  color: rgba(60, 36, 51, 0.85);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-strong), var(--pink-deep));
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 16px;
  font-size: smaller;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  border: none;
  background: rgba(255, 238, 245, 0.9);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
  font-size: 16px;
  box-shadow: 0 8px 22px rgba(114, 57, 87, 0.35);
  cursor: pointer;
}

/* Hero layout */

.hero {
  padding: 110px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

/* Hero card */

.hero-card {
  position: relative;
  background: radial-gradient(circle at top, #fff8f7 0, #ffe3f0 40%, #f8c4d6 100%);
  border-radius: var(--radius-xl);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  justify-self: center;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.14),
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: shimmer 18s linear infinite;
  pointer-events: none;
}

.hero-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 16px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(60, 36, 51, 0.75);
}

.hero-badge-row strong {
  font-weight: 600;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  font-size: 11px;
  box-shadow: 0 8px 20px rgba(114, 57, 87, 0.2);
}

.hero-badge span.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--pink-strong);
}

/* Features grid */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Gallery previews (index) */

.gallery-preview-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 18px;
  margin-top: 22px;
}

.gallery-main,
.gallery-stack {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

/* Footer */

.footer {
  margin-top: 60px;
  padding: 30px 0 20px;
  background: rgba(255, 248, 241, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.footer-inner {
  width: var(--content-width);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(60, 36, 51, 0.8);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(60, 36, 51, 0.8);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
  :root {
    --header-height: 150px;
  }

  .site-header-inner {
    height: var(--header-height);
  }

  .nav-links {
    position: fixed;
    inset-inline: 0;
    top: var(--header-height);
    background: rgba(255, 248, 241, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px 18px;
    gap: 12px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity var(--transition-med),
      transform var(--transition-med);
    box-shadow: 0 18px 40px rgba(114, 57, 87, 0.3);
  }

  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links .btn.nav-cta,
  .nav-links .btn-primary.nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 90px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 120px;
  }

  .site-header-inner {
    height: var(--header-height);
    padding-inline: 15px;
  }

  .brand-block img {
    width: 100px;
    height: 100px;
  }

  .brand-text h1 {
    font-size: 18px;
  }

  .brand-text p {
    font-size: 10px;
  }

  .hero {
    padding: 70px 0 40px;
  }

  .hero-title {
    font-size: clamp(28px, 5vw, 36px);
  }

  .hero-text {
    font-size: 14px;
  }

  .features-grid {
    gap: 12px;
  }

  .footer {
    margin-top: 40px;
    padding: 20px 0 15px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
