/*
Theme Name: Rituel de Soie
Author: WordPress Telex
Description: An intimate, editorial WordPress block theme inspired by the quiet luxury of a Parisian hair salon. Warm ivory tones, elegant serif typography, and refined spatial composition create a memorable, high-end aesthetic.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: rituel-de-soie
Tags: block-theme, full-site-editing, one-column, custom-colors, custom-menu, editor-style

Rituel de Soie — Coiffeuse Visagiste & Créatrice de Style
*/

/* Equal-height card system */
.equal-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}
.equal-cards > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.equal-cards .cta-bottom {
  margin-top: auto;
  justify-content: center;
}

/* Footer margin reset */
.wp-site-blocks > footer {
  margin-block-start: 0;
}

/* Stationery info card */
.stationery-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stationery-card .card-detail {
  text-align: center;
}

.stationery-card .card-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #C9B7A2;
  margin-bottom: 0.25rem;
  font-family: 'Poppins', sans-serif;
}

.stationery-card .card-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #6F5A56;
}

.stationery-card .card-divider {
  width: 1px;
  height: 28px;
  background-color: #C9B7A2;
  opacity: 0.5;
}

/* Decorative line ornament */
.ornament-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.ornament-line::before,
.ornament-line::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background-color: #C9B7A2;
}

/* Service card hover lift */
.service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(111, 90, 86, 0.1);
}

/* Header navigation links */
.nav-link-style a {
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.3s ease, color 0.3s ease;
  position: relative;
}

.nav-link-style a:hover {
  opacity: 1;
}

.nav-link-style a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #C9B7A2;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link-style a:hover::after {
  width: 100%;
  left: 0;
}

/* Ghost button style */
.ghost-button .wp-block-button__link {
  background: transparent !important;
  border: 1px solid rgba(255, 253, 252, 0.45) !important;
  color: #FFFDFC !important;
  font-family: 'Poppins', sans-serif !important;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
  font-size: 0.95rem;
  padding: 0.6rem 1.8rem;
}

.ghost-button .wp-block-button__link:hover {
  border-color: #FFFDFC !important;
  background: rgba(255, 253, 252, 0.1) !important;
}

/* Sand accent button */
.sand-button .wp-block-button__link {
  background-color: #C9B7A2 !important;
  color: #FFFDFC !important;
  font-family: 'Poppins', sans-serif !important;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  border: none;
  padding: 0.75rem 2.2rem;
  transition: all 0.4s ease;
}

.sand-button .wp-block-button__link:hover {
  background-color: #6F5A56 !important;
}

/* Espresso outline button */
.espresso-outline .wp-block-button__link {
  background: transparent !important;
  border: 1px solid #C9B7A2 !important;
  color: #6F5A56 !important;
  font-family: 'Poppins', sans-serif !important;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  padding: 0.7rem 2rem;
  transition: all 0.4s ease;
}

.espresso-outline .wp-block-button__link:hover {
  background-color: #6F5A56 !important;
  color: #FFFDFC !important;
  border-color: #6F5A56 !important;
}

/* Hero cover title blend */
.hero-blend-title {
  mix-blend-mode: soft-light;
}

@supports not (mix-blend-mode: soft-light) {
  .hero-blend-title {
    opacity: 0.75;
  }
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll indicator pulse */
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleY(1); }
  50% { opacity: 0.9; transform: translateX(-50%) scaleY(1.3); }
}

.scroll-line {
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* Italic accent for emphasis */
.italic-accent {
  font-style: italic;
}

/* Separator thin line */
.thin-separator .wp-block-separator {
  border-color: #C9B7A2;
  opacity: 0.4;
}

/* Footer links */
.footer-nav a {
  color: #C9B7A2;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #FFFDFC;
}

/* Smooth page scroll */
html {
  scroll-behavior: smooth;
}

/* Section fade-in on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  animation: fadeInUp 0.8s ease-out both;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .stationery-card .card-divider {
    display: none;
  }
  .stationery-card {
    gap: 1.5rem;
  }
}