/* =========================================================
   Maya Cohen Photography — Landing Page Styles
   Design system: warm neutral palette, elegant serif headings,
   soft gold accents. Complements Tailwind utility classes.
   ========================================================= */

:root {
  --cream: #FBF8F3;
  --beige: #EEE4D6;
  --charcoal: #2B2723;
  --charcoal-light: #4A443D;
  --gold: #B4894F;
  --gold-light: #C9A66B;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Assistant', sans-serif;
}

h1, h2, h3, .font-serif {
  font-family: 'Frank Ruhl Libre', serif;
}

/* Offset anchor scroll targets under the fixed header */
section[id] {
  scroll-margin-top: 90px;
}

::selection {
  background: var(--gold-light);
  color: #fff;
}

/* ---------------- Scrollbar ---------------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--beige); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ================= HEADER ================= */
#site-header {
  background: transparent;
}
#site-header.is-scrolled {
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(43, 39, 35, 0.06);
}

.header-logo-main { color: var(--charcoal); }
.header-logo-sub { color: var(--gold); }

.header-nav-link {
  color: var(--charcoal);
  position: relative;
  font-size: 0.95rem;
}

.nav-link {
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: var(--gold);
}
.nav-link:hover::after {
  width: 100%;
}

.header-burger {
  background: var(--charcoal);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

#menu-toggle.is-open .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#menu-toggle.is-open .burger-line:nth-child(2) {
  opacity: 0;
}
#menu-toggle.is-open .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.5s ease;
}
#mobile-menu.is-open {
  transform: translateX(0);
}

/* Frosted glass panel: kept deliberately light/see-through now that
   each nav row (below) carries its own readable background — the
   panel itself no longer has to hide the hero text on its own, the
   blur just needs to keep it from reading as sharp letterforms. */
.mobile-menu-glass {
  background: rgba(251, 248, 243, 0.5);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
}
.mobile-menu-glow {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(180, 137, 79, 0.4) 0%, rgba(201, 166, 107, 0.18) 45%, transparent 72%);
  pointer-events: none;
}

/* Each item is a full tappable row/button, not a text-hugging pill —
   bigger, clearer tap target, and its own solid-ish background gives
   the dark text a reliable contrast base regardless of the panel's
   transparency. */
.mobile-nav-link {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
  border-radius: 0.9rem;
  text-align: center;
  color: var(--charcoal);
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(43, 39, 35, 0.08);
  transition: box-shadow 0.25s ease, transform 0.2s ease, filter 0.25s ease;
}
.mobile-nav-link:hover {
  box-shadow: 0 6px 18px rgba(43, 39, 35, 0.14);
  transform: translateY(-1px);
  filter: brightness(1.04);
}
/* A soft warm tint per row (echoing the vision-board tile palette)
   instead of a flat white list — adds a bit of color/personality
   without straying from the site's neutral-warm brand. */
.mobile-nav-link:nth-of-type(1) { background: #F5DFC7; }
.mobile-nav-link:nth-of-type(2) { background: #E8D5DE; }
.mobile-nav-link:nth-of-type(3) { background: #DCE2D0; }
.mobile-nav-link:nth-of-type(4) { background: #F0E0BE; }
.mobile-nav-link:nth-of-type(5) { background: #EBD2C7; }
.mobile-nav-link:nth-of-type(6) { background: #E4CBA8; }

/* ================= BUTTONS ================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 8px 20px rgba(43, 39, 35, 0.15);
}
.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(180, 137, 79, 0.35);
}

.btn-primary--light {
  background: var(--gold-light);
  color: var(--charcoal);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.btn-primary--light:hover {
  background: var(--cream);
  color: var(--charcoal);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ================= HERO ================= */
/* min-h-screen (100vh) sits taller than the visible area on mobile
   browsers once the address bar is accounted for. 100svh tracks the
   real visible viewport instead; @supports keeps 100vh as the
   fallback for browsers that don't understand svh yet. */
@supports (min-height: 100svh) {
  #home {
    min-height: 100svh;
  }
}

.hero-bg {
  background: radial-gradient(ellipse at top left, var(--beige) 0%, var(--cream) 55%);
}

.hero-texture {
  background-image: radial-gradient(var(--charcoal) 0.6px, transparent 0.6px);
  background-size: 22px 22px;
  opacity: 0.04;
}

.text-gold-underline::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 100%;
  height: 10px;
  background: var(--gold-light);
  opacity: 0.35;
  z-index: -1;
  border-radius: 3px;
}

.scroll-cue span:last-child {
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ================= SECTION HEADERS ================= */
.section-label {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.section-label--dark { color: var(--gold-light); }

.section-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.9rem;
  line-height: 1.3;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.5rem; }
}
.section-title--dark { color: var(--cream); }

.section-subtitle {
  color: var(--charcoal-light);
  line-height: 1.7;
}
.section-subtitle--dark { color: rgba(251, 248, 243, 0.7); }

/* ================= VISION BOARD BUILDER ================= */
.style-tile {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  /* Auto height + min-height on narrow phones so the longer Hebrew
     labels can never get clipped by overflow:hidden; the fixed 4:5
     card look only kicks in once each tile has enough width. */
  min-height: 168px;
  border-radius: 1.1rem;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  border: none;
  text-align: right;
  background-image: var(--tile-gradient);
  box-shadow: 0 6px 16px rgba(43, 39, 35, 0.1);
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}
@media (min-width: 480px) {
  .style-tile {
    aspect-ratio: 4 / 5;
  }
}
.style-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.style-tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 30px rgba(43, 39, 35, 0.18);
}
.style-tile.is-selected {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 5.5px var(--gold), 0 16px 28px rgba(180, 137, 79, 0.35);
}
.style-tile.is-disabled {
  opacity: 0.4;
  filter: grayscale(0.4);
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 6px 16px rgba(43, 39, 35, 0.1);
}
.style-tile.is-shaking {
  animation: tileShake 0.4s ease;
}
@keyframes tileShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.tile-icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
}
.tile-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}
.tile-desc {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  line-height: 1.4;
}
.tile-check {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.style-tile.is-selected .tile-check {
  transform: scale(1);
  opacity: 1;
}

.moodboard-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 28px rgba(43, 39, 35, 0.08);
  padding: 2rem 1.5rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.moodboard-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed rgba(43, 39, 35, 0.18);
  border-radius: 1.1rem;
  padding: 2.5rem 1.5rem;
}
.moodboard-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 92px;
  gap: 0.55rem;
}
@media (min-width: 640px) {
  .moodboard-swatches {
    grid-auto-rows: 80px;
    gap: 0.65rem;
  }
}
.moodboard-swatch {
  position: relative;
  grid-column: span 2;
  grid-row: span 1;
  border-radius: 0.8rem;
  overflow: hidden;
  background-image: var(--tile-gradient);
  display: flex;
  align-items: flex-end;
  padding: 0.6rem;
  box-shadow: 0 4px 10px rgba(43, 39, 35, 0.1);
  animation: swatchIn 0.4s ease both;
}
.moodboard-swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
}
.moodboard-swatch.is-featured {
  grid-column: span 4;
  grid-row: span 2;
}
.moodboard-swatch span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}
.moodboard-swatch.is-featured span {
  font-size: 0.95rem;
}
@keyframes swatchIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.vision-whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #25D366;
  color: #fff;
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.vision-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
}
.vision-whatsapp-btn.is-disabled {
  pointer-events: none;
  opacity: 0.45;
  box-shadow: none;
  transform: none;
}

/* ================= IMAGE PLACEHOLDERS ================= */
/* No photos are used yet — these render an elegant gradient + icon
   card in place of a real photograph. Swap in real <img> tags (see
   git history for the previous markup) once real photos are ready. */
.img-hover-zoom {
  position: relative;
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-image: var(--ph-gradient);
  transition: transform 0.6s ease;
}
.img-hover-zoom:hover .photo-placeholder {
  transform: scale(1.06);
}
.photo-placeholder .ph-icon {
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.9;
}
.photo-placeholder .ph-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 0.95rem;
  font-weight: 600;
  background-image: var(--ph-gradient);
  flex-shrink: 0;
}

/* ================= GALLERY ================= */
.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-light);
  background: transparent;
  border: 1.5px solid rgba(43, 39, 35, 0.15);
  transition: all 0.3s ease;
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.filter-btn.is-active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--cream);
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(43, 39, 35, 0.08);
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}
.gallery-item.is-hidden {
  display: none;
}
.gallery-item:hover {
  box-shadow: 0 14px 28px rgba(43, 39, 35, 0.14);
}
.gallery-item:hover .photo-placeholder {
  transform: scale(1.06);
}
.gallery-item .ph-icon {
  width: 32px;
  height: 32px;
}
.gallery-item .gallery-tag {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ================= ABOUT ================= */
.highlight-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 14px rgba(43, 39, 35, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(43, 39, 35, 0.1);
}
.highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--beige);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

/* ================= PRICING ================= */
.pricing-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 6px 20px rgba(43, 39, 35, 0.06);
  border: 1px solid rgba(43, 39, 35, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(43, 39, 35, 0.12);
}
.pricing-card--highlight {
  background: var(--charcoal);
  color: var(--cream);
  box-shadow: 0 20px 45px rgba(43, 39, 35, 0.28);
}
/* The "featured" scale-up only makes sense once the cards sit side
   by side (md: is where the grid switches from stacked to 3 columns)
   — at full mobile width it would visually overflow past its column. */
@media (min-width: 768px) {
  .pricing-card--highlight {
    transform: scale(1.04);
  }
  .pricing-card--highlight:hover {
    transform: scale(1.04) translateY(-6px);
  }
}
.pricing-badge {
  position: absolute;
  top: -14px;
  right: 2rem;
  background: var(--gold-light);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--charcoal-light);
}
.pricing-feature--light { color: rgba(251, 248, 243, 0.85); }
.pricing-feature::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/60% no-repeat;
}
.pricing-feature-off {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(43, 39, 35, 0.35);
  text-decoration: line-through;
}
.pricing-feature-off--light { color: rgba(251, 248, 243, 0.35); }
.pricing-feature-off::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' d='M6 18L18 6M6 6l12 12'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' d='M6 18L18 6M6 6l12 12'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ================= TESTIMONIALS ================= */
.testimonials-pattern {
  background-image: radial-gradient(#fff 0.6px, transparent 0.6px);
  background-size: 24px 24px;
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}
.testimonial-card {
  text-align: center;
}
#testimonial-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(251, 248, 243, 0.3);
  transition: all 0.3s ease;
}
#testimonial-dots button.is-active {
  background: var(--gold-light);
  width: 26px;
}

/* ================= FORM ================= */
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  border: 1.5px solid rgba(43, 39, 35, 0.15);
  border-radius: 0.7rem;
  padding: 0.75rem 1rem;
  font-family: 'Assistant', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 137, 79, 0.15);
}
.form-input.is-invalid {
  border-color: #d9534f;
}
.form-error {
  min-height: 1.1rem;
  font-size: 0.78rem;
  color: #d9534f;
  margin-top: 0.3rem;
}

/* ================= CONTACT SIDE ================= */
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--beige);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ================= FOOTER ================= */
.footer-link {
  transition: color 0.25s ease;
}
.footer-link:hover {
  color: var(--gold-light);
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(251, 248, 243, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--charcoal);
  transform: translateY(-3px);
}

/* ================= BACK TO TOP ================= */
#back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ================= SCROLL REVEAL ================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
