/* === Inner Bloom Paris — Award-Winning Redesign === */

@font-face {
  font-family: 'Giza Stencil';
  src: url('../fonts/Giza-Stencil.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f5ede4;
  --dark: #131110;
  --rose: #c9918a;
  --rose-pale: #ead5cf;
  --rose-mid: #d4b0a8;
  --text: #131110;
  --text-muted: #786560;
  --text-light: #f5ede4;
  --white: #fefaf6;
  --font-display: 'Giza Stencil', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 1.25rem;
  --radius-sm: 0.625rem;
  --section-pad: 8rem;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========================
   PRELOADER
   ======================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo { overflow: hidden; }

.preloader-logo img {
  max-width: 160px;
  filter: invert(1) sepia(0.3) saturate(2) hue-rotate(320deg);
  animation: preloadSlide 0.9s var(--ease-out) 0.2s both;
}

@keyframes preloadSlide {
  from { transform: translateY(110%) skewY(6deg); opacity: 0; }
  to   { transform: translateY(0) skewY(0deg); opacity: 1; }
}

/* ========================
   NAVIGATION
   ======================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: padding 0.4s var(--ease);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 237, 228, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(201, 145, 138, 0.18);
  border-radius: 50px;
  padding: 0.7rem 0.7rem 0.7rem 1.5rem;
  box-shadow: 0 4px 32px rgba(19, 17, 16, 0.07);
  transition: all 0.4s var(--ease);
  gap: 1rem;
}

#header.scrolled .nav {
  background: rgba(245, 237, 228, 0.96);
  box-shadow: 0 8px 48px rgba(19, 17, 16, 0.12);
}

.nav-logo img { height: 2rem; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { background-color: var(--rose-pale); }

.nav-cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--rose);
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.2s;
}

.nav-cta:hover { background: var(--text); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  margin-left: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.active span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* ========================
   MOBILE MENU
   ======================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-link {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--text-light);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.mobile-link:hover { color: var(--rose); }

.mobile-cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: var(--rose);
  border-radius: 50px;
  padding: 0.8rem 2.25rem;
  margin-top: 0.5rem;
  transition: background-color 0.2s, color 0.2s;
}

.mobile-cta:hover { background: var(--white); color: var(--text); }

/* ========================
   REVEAL ANIMATIONS
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ========================
   SHARED COMPONENTS
   ======================== */
.section-number {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--text);
  border-radius: 50px;
  padding: 0.9rem 2rem;
  letter-spacing: 0.02em;
  transition: background-color 0.25s, transform 0.25s;
  margin-top: 1rem;
}

.btn-primary:hover { background: var(--rose); transform: translateY(-2px); }
.btn-primary svg { transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--rose);
  border-radius: 50px;
  padding: 0.8rem 1.75rem;
  margin-top: 1.5rem;
  transition: background-color 0.25s, transform 0.25s;
}

.btn-service:hover { background: var(--text); transform: translateY(-2px); }

.btn-icon { width: 1.5rem; height: 1.5rem; object-fit: contain; }

.service-icon { width: 2.5rem; height: 2.5rem; object-fit: contain; }

/* ========================
   HERO
   ======================== */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: calc(var(--container) + 4rem);
  margin: 0 auto;
  padding: 9rem 2rem 4rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7.5vw, 7.5rem);
  font-weight: 400;
  line-height: 0.97;
  color: var(--text);
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.hero-title .italic { font-style: italic; color: var(--rose); }

.hero-right { position: relative; }

.hero-image-wrap {
  border-radius: 2.5rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 40px 100px rgba(19, 17, 16, 0.15);
  will-change: transform;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.hero-image-wrap:hover img { transform: scale(1.04); }

/* ========================
   MARQUEE
   ======================== */
.marquee-band {
  background: var(--dark);
  padding: 1.1rem 0;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marqueeScroll 24s linear infinite;
}

.marquee-track {
  display: flex;
  align-items: center;
  padding-right: 0;
}

.marquee-track span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 213, 207, 0.7);
  padding: 0 1.5rem;
  white-space: nowrap;
}

.marquee-track .sep {
  color: var(--rose);
  padding: 0 0.25rem;
  opacity: 0.8;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========================
   ABOUT
   ======================== */
.about {
  background: var(--dark);
  padding: var(--section-pad) 2rem;
  overflow: hidden;
}

.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: center;
}

.about-media { position: relative; }

.about-video {
  width: 100%;
  height: 68vh;
  max-height: 580px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.about-flower {
  position: absolute;
  top: -2.5rem;
  right: -1.5rem;
  width: 5rem;
  opacity: 0.5;
  pointer-events: none;
  filter: invert(0.8) sepia(0.4) hue-rotate(320deg);
}

.desktop-only { display: block; }
.mobile-only  { display: none; }

.about .section-number { color: var(--rose-mid); }

.about-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.about-desc {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(245, 237, 228, 0.65);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.value-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  border: 1.5px solid rgba(201, 145, 138, 0.4);
  border-radius: 50px;
  padding: 0.45rem 1.25rem;
  letter-spacing: 0.04em;
  transition: background-color 0.2s, border-color 0.2s;
}

.value-tag:hover {
  background-color: rgba(201, 145, 138, 0.14);
  border-color: var(--rose);
}

/* ========================
   SERVICES
   ======================== */
.services {
  padding: var(--section-pad) 2rem;
  max-width: var(--container);
  margin: 0 auto;
}

.services-header { margin-bottom: 4rem; }

.services-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.title-flower { width: 2.25rem; margin-top: -1.75rem; }

.service-block { margin-bottom: 6rem; }

.service-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--rose-pale);
  border-radius: 50px;
  padding: 0.5rem 1.5rem 0.5rem 0.75rem;
  margin-bottom: 2rem;
}

.service-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.service-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service-block.no-image .service-body {
  grid-template-columns: 1fr;
  max-width: 680px;
}

.service-intro {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 2rem;
}

.service-details { margin-bottom: 2rem; }

.detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.detail-item {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--rose-pale);
}

.detail-item h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.detail-item p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.detail-list { padding-left: 0.25rem; }

.detail-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}

.detail-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rose);
  font-size: 0.7rem;
  top: 0.4rem;
}

.service-tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.service-invite {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.service-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(19, 17, 16, 0.1);
  transition: transform 0.6s var(--ease);
}

.service-image:hover img { transform: scale(1.02); }

.service-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-pale), transparent);
  margin: 0 0 6rem;
}

/* ========================
   PRICING
   ======================== */
.pricing {
  background: var(--dark);
  padding: var(--section-pad) 2rem;
}

.pricing-header {
  max-width: var(--container);
  margin: 0 auto 4rem;
}

.pricing .section-title { color: var(--white); }
.pricing .section-number { color: var(--rose-mid); }

.pricing-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: rgba(245, 237, 228, 0.04);
  border: 1px solid rgba(201, 145, 138, 0.14);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: border-color 0.3s, background-color 0.3s;
}

.pricing-card:hover {
  border-color: rgba(201, 145, 138, 0.36);
  background: rgba(245, 237, 228, 0.07);
}

.pricing-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(201, 145, 138, 0.14);
}

.pricing-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.pricing-section { margin-bottom: 1.75rem; }

.pricing-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(201, 145, 138, 0.07);
  gap: 0.5rem;
}

.price-row:last-child { border-bottom: none; }

.price-name {
  font-size: 0.875rem;
  color: rgba(245, 237, 228, 0.75);
  font-weight: 400;
}

.price-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rose);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.extra-section {
  background: rgba(245, 237, 228, 0.03);
  border: 1px solid rgba(201, 145, 138, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.pricing-cta {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
}

.pricing-cta .btn-service { margin-top: 0; }

/* ========================
   GALLERY
   ======================== */
.gallery {
  padding: var(--section-pad) 2rem;
}

.gallery-header {
  max-width: var(--container);
  margin: 0 auto 3rem;
}

.gallery-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 17, 16, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s var(--ease);
}

.gallery-overlay .insta-icon {
  width: 2.75rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-item:hover .gallery-overlay { background: rgba(19, 17, 16, 0.52); }
.gallery-item:hover .insta-icon { opacity: 1; transform: scale(1); }

.gallery-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}

.gallery-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(245, 237, 228, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.35rem 1rem;
}

.gallery-footer {
  max-width: var(--container);
  margin: 2.5rem auto 0;
  display: flex;
  justify-content: center;
}

.insta-follow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  border: 1.5px solid var(--rose-pale);
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.insta-follow:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--cream);
}

.insta-follow img { width: 1.25rem; }

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--dark);
  padding: 5rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 237, 228, 0.07);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-logo-img {
  width: 2.5rem;
  height: auto;
  filter: invert(1) sepia(0.2) saturate(1.5) hue-rotate(310deg);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--white);
  line-height: 1;
}

.footer-tagline {
  font-size: 0.84rem;
  line-height: 1.75;
  color: rgba(245, 237, 228, 0.45);
  max-width: 38ch;
  margin-bottom: 1.5rem;
}

.footer-social img {
  width: 1.5rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.footer-social:hover img { opacity: 1; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.footer-nav-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(245, 237, 228, 0.55);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy,
.footer-credit { font-size: 0.75rem; color: rgba(245, 237, 228, 0.28); }
.footer-credit a { color: #ff6726; font-weight: 600; }

/* ========================
   RESPONSIVE — TABLET ≤991px
   ======================== */
@media (max-width: 991px) {
  :root { --section-pad: 6rem; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 8rem;
    gap: 2.5rem;
  }

  .hero-right { order: -1; }

  .hero-image-wrap {
    aspect-ratio: 3/2;
    border-radius: 1.75rem;
    max-height: 50vw;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .desktop-only { display: none; }
  .mobile-only  { display: block; }

  .about-video.mobile-only {
    height: 45vw;
    min-height: 260px;
  }

  .service-body { grid-template-columns: 1fr; }
  .service-image { display: none; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 540px; }

  .gallery-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item {
    min-width: 270px;
    scroll-snap-align: start;
  }

  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* MOBILE ≤767px */
@media (max-width: 767px) {
  :root { --section-pad: 5rem; }

  #header { padding: 1rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav { padding: 0.6rem 0.6rem 0.6rem 1.25rem; }

  .hero { padding: 7rem 1.5rem 4rem; gap: 2rem; }
  .hero-image-wrap { aspect-ratio: 4/3; max-height: none; }

  .about { padding: var(--section-pad) 1.5rem; }
  .about-video.mobile-only { height: 55vw; }

  .services { padding: var(--section-pad) 1.5rem; }
  .service-block { margin-bottom: 4rem; }

  .pricing { padding: var(--section-pad) 1.5rem; }
  .pricing-card { padding: 1.75rem; }

  .gallery { padding: var(--section-pad) 1.5rem; }

  .footer { padding: 4rem 1.5rem 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* SMALL MOBILE ≤479px */
@media (max-width: 479px) {
  .hero { padding: 6.5rem 1.25rem 3rem; }
  .hero-image-wrap { display: none; }
  .hero-eyebrow { display: none; }
  .hero-title { font-size: clamp(3rem, 14vw, 4.5rem); }

  .about-video.mobile-only { height: 60vw; }

  .gallery-item { min-width: 240px; }

  .pricing-card { padding: 1.5rem 1.25rem; }
}
