/* ============================================================
   LAYOUT.CSS
   Nav · Hero · Value Strip · All Section Layouts · Responsive
   Brooklyn Beauty Lens
   ============================================================ */

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-gray);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  text-decoration: none;
}

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

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--rust);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}

.hero-left {
  background: var(--section-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem 6rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--rust);
  opacity: 0.12;
  pointer-events: none;
}

.hero-left::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.08;
  pointer-events: none;
}

.hero-right {
  background: var(--warm-off);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(145deg, #D9CFC5 0%, #C4B49E 50%, #A89278 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}

/* ── VALUE STRIP ── */
.value-strip {
  background: var(--rust);
  display: flex;
  justify-content: center;
  gap: 0;
}

.value-item {
  padding: 1.8rem 3.5rem;
  text-align: center;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  flex: 1;
  max-width: 280px;
}

.value-item:last-child {
  border-right: none;
}

/* ── LOGO STRIP ── */
.logo-strip {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.logo-strip-img {
  height: 280px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Logo is dark grey on white; cream background matches well, but multiply blend
     ensures the white image background fades into the cream */
  mix-blend-mode: multiply;
}

/* ── ABOUT ── */
#about {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .section-title {
  margin-top: 0.5rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

/* ── SERVICES ── */
#services {
  background: var(--section-dark);
  color: #fff;
}

#services .section-title { color: #fff; }
#services .section-sub   { color: var(--light-gray); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  margin-top: 3.5rem;
  background: rgba(255, 255, 255, 0.08);
}

.service-combo {
  grid-column: 1 / -1;
}

/* ── PORTFOLIO ── */
#portfolio {
  background: var(--warm-off);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.portfolio-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Category group (one per portfolio category) */
.portfolio-group {
  margin-bottom: 3.5rem;
}

.portfolio-group:last-child {
  margin-bottom: 0;
}

.portfolio-group.is-hidden {
  display: none;
}

.portfolio-group-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--light-gray);
}

.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* All portfolio items now use a consistent square aspect ratio */
.port-item {
  aspect-ratio: 1 / 1;
}

/* ── PRICING ── */
#pricing {
  background: var(--cream);
}

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

/* ── BOOKING ── */
#booking {
  background: var(--section-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

#booking .section-title { color: #fff; }
#booking .section-sub   { color: var(--light-gray); }

.booking-info {
  padding-top: 2rem;
}

.booking-info .section-eyebrow {
  color: var(--amber);
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

/* ── CONTACT ── */
#contact {
  background: var(--rust);
  text-align: center;
  padding: 5rem 6rem;
}

#contact .section-eyebrow { color: rgba(255, 255, 255, 0.65); }
#contact .section-title   { color: #fff; margin-left: auto; margin-right: auto; }
#contact .section-sub     { color: rgba(255, 255, 255, 0.75); margin: 0 auto 2.5rem; }

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ── FOOTER ── */
footer {
  background: var(--footer-dark);
  color: var(--light-gray);
  padding: 3rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    padding: 1rem 2rem;
  }

  .nav-links {
    display: none;
  }

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

  .hero-left {
    padding: 4rem 2.5rem;
  }

  .hero-right {
    min-height: 340px;
  }

  section {
    padding: 4rem 2.5rem;
  }

  #about {
    grid-template-columns: 1fr;
  }

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

  .service-combo {
    grid-column: 1;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .portfolio-masonry {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-group-title {
    font-size: 1.3rem;
  }

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

  #booking {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .value-strip {
    flex-wrap: wrap;
  }

  .value-item {
    flex: 1 1 50%;
    max-width: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .service-selector {
    grid-template-columns: 1fr;
  }

  .portfolio-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}