/* ========================================
   AUVRÉLLIQUE — LUXURY SALON WEBSITE
======================================== */

:root {
  --cream: #f8f5ef;
  --ivory: #fffdf9;
  --brown: #342820;
  --brown-soft: #75675b;
  --gold: #b69765;
  --gold-light: #dfcba9;
  --border: #e8e0d5;
  --white: #ffffff;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;

  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

body {
  background: var(--ivory);
  color: var(--brown);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), 90%);
  margin-inline: auto;
}

.section-padding {
  padding: 105px 0;
}

/* ANNOUNCEMENT BAR */

.announcement {
  min-height: 34px;
  padding: 7px 15px;
  background: var(--brown);
  color: var(--gold-light);
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
}

.announcement span {
  padding: 0 8px;
  color: var(--gold);
}

/* NAVIGATION */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.98);
  border-bottom: 1px solid rgba(52, 40, 32, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  width: 100%;
}

.navbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 5px;
}

.brand-subtitle {
  margin-top: 5px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 6px;
  padding-left: 6px;
}

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

.nav-links > a:not(.nav-book) {
  color: var(--brown-soft);
  font-size: 12px;
  transition: color 0.25s ease;
}

.nav-links > a:not(.nav-book):hover,
.nav-links > a.active {
  color: var(--gold);
}

.nav-book {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 17px;
  background: var(--brown);
  color: var(--white);
  font-size: 11px;
  transition: background 0.25s ease;
}

.nav-book:hover {
  background: #574437;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  position: relative;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--brown);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* TYPOGRAPHY */

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.6px;
  line-height: 1.8;
}

h1,
h2,
h3 {
  font-weight: 400;
}

h1,
h2 {
  font-family: var(--font-heading);
  line-height: 1.16;
}

h1 em,
h2 em {
  color: var(--gold);
  font-weight: 400;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 620px;
  background: var(--cream);
  overflow: hidden;
}

.hero-content {
  padding: 85px 6% 65px max(5.2vw, calc((100vw - var(--container)) / 2));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-content .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-content .eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(43px, 4.5vw, 67px);
  letter-spacing: -1.5px;
}

.hero-description {
  max-width: 410px;
  margin-top: 24px;
  color: var(--brown-soft);
  font-size: 13px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  padding: 15px 21px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease,
    transform 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--brown);
  color: var(--white);
}

.button-dark:hover {
  background: #574437;
}

.button-light {
  background: var(--ivory);
  color: var(--brown);
}

.button-light:hover {
  background: var(--gold-light);
}

.button-gold {
  background: var(--gold);
  color: var(--white);
}

.button-gold:hover {
  background: #a38250;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
}

.text-link span {
  color: var(--gold);
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 320px;
}

.note-star {
  color: var(--gold);
  font-size: 28px;
}

.hero-note strong {
  font-size: 11px;
  font-weight: 600;
}

.hero-note p {
  color: var(--brown-soft);
  font-size: 10px;
}

/* HERO VISUAL & SLIDER */

.hero-visual {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #e6ded3;
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 1s ease-out;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img,
.hero-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stamp {
  position: absolute;
  top: 12%;
  right: 9%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(255, 253, 249, 0.94);
  border-radius: 50%;
  text-align: center;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(52, 40, 32, 0.08);
}

.hero-stamp span {
  font-size: 7px;
  letter-spacing: 1.5px;
}

.hero-stamp strong {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.2;
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 6;
  pointer-events: none;
}

.slider-arrow {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  color: var(--brown);
  font-size: 22px;
  font-family: var(--font-body);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  line-height: 1;
}

.slider-arrow:hover {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
  transform: scale(1.08);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 17px 25px;
  background: rgba(52, 40, 32, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 1.6px;
  z-index: 6;
}

/* INTRODUCTION */

.intro {
  background: var(--ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 70px;
}

.intro h2,
.section-heading h2 {
  margin-top: 15px;
  font-size: clamp(34px, 4vw, 49px);
  letter-spacing: -0.8px;
}

.intro-copy p {
  color: var(--brown-soft);
  font-size: 13px;
  line-height: 2.1;
}

.intro-copy .text-link {
  margin-top: 24px;
}

/* SECTION HEADINGS */

.services-section {
  background: var(--cream);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 43px;
}

.section-heading > .text-link {
  margin-bottom: 10px;
}

/* SERVICE CARDS */

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

.service-image {
  display: block;
  position: relative;
  height: 330px;
  overflow: hidden;
  background: #e8dfd3;
}

.service-image img {
  transition: transform 0.65s ease;
}

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

.service-number {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 7px 10px;
  background: var(--ivory);
  color: var(--brown);
  font-size: 10px;
}

.service-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 19px;
}

.service-info h3 {
  font-family: var(--font-heading);
  font-size: 22px;
}

.service-info p {
  margin-top: 5px;
  color: var(--brown-soft);
  font-size: 11px;
}

.service-info > a {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  transition: background 0.25s ease;
}

.service-info > a:hover {
  background: var(--gold-light);
}

/* GALLERY */

.gallery-section {
  background: var(--ivory);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 230px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: #e8dfd3;
}

.gallery-item img {
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(35, 25, 20, 0.7));
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-item span {
  position: absolute;
  z-index: 1;
  bottom: 17px;
  left: 17px;
  color: var(--white);
  font-size: 11px;
}

/* BOOKING BANNER */

.booking-banner {
  position: relative;
  padding: 105px 20px;
  background:
    linear-gradient(rgba(48, 35, 26, 0.75), rgba(48, 35, 26, 0.75)),
    url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1800&q=85")
    center 50% / cover;
  text-align: center;
  color: var(--white);
}

.booking-banner-content {
  max-width: 620px;
  margin: auto;
}

.booking-banner .eyebrow {
  color: var(--gold-light);
}

.booking-banner h2 {
  margin-top: 18px;
  font-size: clamp(38px, 5vw, 58px);
}

.booking-banner h2 em {
  color: var(--gold-light);
}

.booking-banner-content > p:not(.eyebrow) {
  margin-top: 20px;
  color: #eee5da;
  font-size: 12px;
}

.booking-banner .button {
  margin-top: 28px;
}

/* FOOTER */

.newsletter-note {
  padding: 20px;
  background: var(--gold-light);
  text-align: center;
}

.newsletter-note p {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
}

.site-footer {
  background: var(--brown);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-top: 65px;
  padding-bottom: 55px;
}

.footer-brand .brand {
  align-items: flex-start;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand .brand-subtitle {
  padding-left: 5px;
}

.footer-brand > p {
  margin-top: 22px;
  color: #c9bdb1;
  font-size: 11px;
  line-height: 2;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  margin-bottom: 9px;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 19px;
}

.footer-column a,
.footer-column p {
  color: #c9bdb1;
  font-size: 10px;
  line-height: 1.9;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  min-height: 65px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.footer-bottom p {
  color: #c9bdb1;
  font-size: 9px;
}

/* FLOATING WHATSAPP LINK */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  padding: 13px 18px;
  background: #315e48;
  color: white;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.15);
  font-size: 11px;
  font-weight: 600;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

/* RESPONSIVE TABLET */

@media (max-width: 1050px) {
  .navbar {
    min-height: 78px;
  }

  .nav-links {
    gap: 16px;
  }

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

  .hero-content {
    padding-left: 5vw;
    padding-right: 4%;
  }

  .hero h1 {
    font-size: clamp(40px, 5vw, 55px);
  }

  .service-image {
    height: 270px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 760px) {
  .section-padding {
    padding: 72px 0;
  }

  .announcement {
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fffdf9;
    border-bottom: 1px solid var(--border);
  }

  .navbar {
    min-height: 74px;
    position: static;
  }

  .brand-name {
    font-size: 21px;
  }

  /* Centered, pixel-aligned hamburger toggle */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    position: relative;
    z-index: 1002;
    padding: 0;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--brown);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    transform-origin: center;
  }

  /* Seamless, symmetrical 'X' close state */
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* Full-screen luxury mobile drawer */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 90px 25px 40px;
    background: var(--ivory);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .nav-links > a:not(.nav-book) {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--brown);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .nav-links > a:not(.nav-book):hover,
  .nav-links > a.active {
    color: var(--gold);
  }

  .nav-book {
    margin-top: 10px;
    padding: 15px 32px;
    background: var(--brown);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

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

  .hero-content {
    padding: 70px 7% 50px;
  }

  .hero h1 {
    font-size: clamp(40px, 9vw, 58px);
  }

  .hero-description {
    max-width: 450px;
  }

  .hero-note {
    margin-top: 35px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .hero-stamp {
    width: 110px;
    height: 110px;
  }

  .hero-stamp strong {
    font-size: 14px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .intro h2,
  .section-heading h2 {
    font-size: 36px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-image {
    height: 330px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 12px;
  }

  .gallery-tall {
    grid-row: span 2;
  }

  .gallery-item span {
    left: 10px;
    bottom: 12px;
    font-size: 10px;
  }

  .booking-banner {
    padding: 80px 20px;
  }

  .footer-main {
    gap: 35px 20px;
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .service-image {
    height: 285px;
  }

  .gallery-grid {
    grid-template-rows: 180px 180px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 11px 14px;
  }
}

/* ACCESSIBILITY */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
