/*
Theme Name: Hotel Deauville & Spa
Theme URI: https://spadeauvilleeljadida.com
Author: Hotel Deauville & Spa - El Jadida
Description: Theme one-page sur mesure pour Hotel Deauville & Spa (by Zahra Spa), El Jadida. Hammam, massages, soins esthetiques.
Version: 1.3
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spa-deauville
*/

/* =========================================================
   1. VARIABLES & RESET
========================================================= */
:root {
  --color-navy: #0E2640;
  --color-navy-light: #1B3A5C;
  --color-gold: #C9A876;
  --color-gold-dark: #B68F5C;
  --color-cream: #F8F6F2;
  --color-white: #FFFFFF;
  --color-text: #2C2C2C;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

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

.section--navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 14px;
  font-weight: 600;
}

.section--navy .section-eyebrow {
  color: var(--color-gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.section--navy .section-title {
  color: var(--color-white);
}

.section-desc {
  font-size: 16px;
  color: #5a5a5a;
}

.section--navy .section-desc {
  color: #D8DEE6;
}

/* =========================================================
   2. BUTTONS
========================================================= */
.btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn--gold:hover {
  background: var(--color-gold-dark);
}

.btn--outline {
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--outline-navy {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn--outline-navy:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

/* =========================================================
   3. HEADER
========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 16px rgba(14,38,64,0.08);
  transition: all 0.3s ease;
}

.site-header.is-sticky {
  padding: 10px 0;
  box-shadow: 0 4px 18px rgba(14,38,64,0.14);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 72px;
  width: auto;
  transition: height 0.3s ease;
}

.is-sticky .site-logo img {
  height: 54px;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  color: var(--color-navy);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-navy);
  font-size: 26px;
  cursor: pointer;
}

/* =========================================================
   4. HERO
========================================================= */
.hero {
  position: relative;
  height: calc(100vh - 100px);
  min-height: 520px;
  max-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(14,38,64,0.52), rgba(14,38,64,0.52)), url('assets/images/hero-bg-v2.jpg') center center / cover no-repeat;
}

.hero__content {
  max-width: 820px;
  padding: 0 24px;
  color: var(--color-white);
}

.hero__stars {
  color: var(--color-gold);
  letter-spacing: 6px;
  margin-bottom: 14px;
  font-size: 18px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero__subtitle {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 20px;
  margin: 16px 0 40px;
  color: #EDEAE3;
  opacity: 0.9;
}

.hero__cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   5. MENU INDEX (quick nav cards)
========================================================= */
.menu-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.menu-index__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--color-white);
  border-radius: 4px;
  padding: 36px 24px;
  box-shadow: 0 6px 24px rgba(14,38,64,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-index__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(14,38,64,0.12);
}

.menu-index__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-size: 18px;
  margin-bottom: 16px;
}

.menu-index__title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.menu-index__desc {
  font-size: 13px;
  color: #888;
}

/* =========================================================
   6. PRICE LISTS (Hammam / Massages - dotted rows, no images)

========================================================= */
.price-row--rich {
  flex-direction: column;
  align-items: stretch;
  padding: 16px 0;
}

.price-row--rich .price-row__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.price-row--rich .price-row__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
}

.price-row--rich .price-row__value {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-gold-dark);
  white-space: nowrap;
}

.price-row__sub {
  margin-top: 8px;
  font-size: 13.5px;
  color: #888;
  font-style: italic;
}

.massage-desc {
  font-size: 13.5px;
  color: #888;
  font-style: italic;
  margin: -4px 0 6px;
}


/* =========================================================

   7. PRICE TABLES (Epilations / Pieds / Mains / Vernis)
========================================================= */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.pricing-tab {
  padding: 12px 28px;
  border: 1px solid var(--color-navy);
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  background: transparent;
  transition: all 0.2s ease;
}

.pricing-tab.is-active,
.pricing-tab:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.pricing-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.pricing-panel {
  display: none;
}

.pricing-panel.is-active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 50px;
  grid-column: 1 / -1;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px dashed #DDD6C9;
  gap: 16px;
}

.price-row__name {
  font-size: 15px;
  color: var(--color-navy);
}

.price-row__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-gold-dark);
  white-space: nowrap;
}

.price-row--highlight .price-row__name,
.price-row--highlight .price-row__value {
  font-weight: 700;
  color: var(--color-navy);
}

.price-column-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-gold);
}

/* =========================================================
   8. CAROUSEL (Nos espaces)
========================================================= */
.carousel {
  position: relative;
  margin-top: 0;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 10px 34px rgba(14,38,64,0.14);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel__slide {
  flex: 0 0 100%;
  aspect-ratio: 16/8;
}

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

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--color-navy);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(14,38,64,0.18);
  transition: background 0.2s ease;
}

.carousel__arrow:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

.carousel__arrow--prev {
  left: 16px;
}

.carousel__arrow--next {
  right: 16px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.carousel__dot.is-active {
  background: var(--color-gold);
}

/* =========================================================
   9. CONTACT / FOOTER
========================================================= */


/* =========================================================
   9. CONTACT / FOOTER
========================================================= */
.contact__info--centered {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.contact__list {
  margin-top: 26px;
}

.contact__list li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 15px;
  color: #D8DEE6;
}

.contact__list li strong {
  color: var(--color-white);
  display: block;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.site-footer {
  background: #081726;
  color: #8FA0B5;
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
}

.site-footer a {
  color: var(--color-gold);
}


/* =========================================================
   10. RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .menu-index {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .pricing-panels,
  .pricing-panel.is-active {
    grid-template-columns: 1fr;
  }

  .carousel__slide {
    aspect-ratio: 4/3;
  }

  .carousel__arrow {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .carousel__arrow--prev {
    left: 8px;
  }

  .carousel__arrow--next {
    right: 8px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__tagline {
    font-size: 16px;
    margin: 12px 0 30px;
  }

  .hero {
    min-height: 420px;
    max-height: 600px;
  }

  .main-nav {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    gap: 0;
    display: none;
    padding: 10px 24px 20px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    color: var(--color-white);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .main-nav a:hover {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
  }

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 60px 0;
  }
}
