/* =============================================
   Aeonian Spa — Static Site CSS
   Brand colors: #e8d2b8 (gold/tan), #000 (black), #e4e4de (light grey)
   Fonts: Domine (headings), Rubik (body)
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
  color: #333;
  background: #fff;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Domine', serif;
  line-height: 1.3;
  color: #111;
}

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

/* ---- Variables ---- */
:root {
  --gold: #e8d2b8;
  --black: #000;
  --dark: #111;
  --grey-light: #e4e4de;
  --grey-bg: #f8f7f5;
  --text: #444;
  --container: 1200px;
  --header-h: 80px;
}

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

/* ---- Header ---- */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

#header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s;
}

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

/* Mobile nav toggle + hamburger→X animation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero / Slider ---- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active { opacity: 1; }
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.slide-content {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
  max-width: 700px;
}

.slide-content h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: .5rem;
}

.slide-content p {
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.slider-nav {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  transition: background .3s;
  padding: 0;
  /* enlarge tap target without changing visual size */
  position: relative;
}
.slider-dot::after {
  content: '';
  position: absolute;
  inset: -10px;
}

.slider-dot.active { background: var(--gold); }

.slider-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
  pointer-events: none;
}

.slider-arrow {
  pointer-events: all;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.slider-arrow:hover { background: rgba(0,0,0,.6); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Rubik', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
  border: none;
}

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

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

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

.btn-dark {
  background: var(--black);
  color: #fff;
}

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

/* ---- Section Titles ---- */
.section-label {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.25rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem auto;
}

section { padding: 80px 0; }

/* ---- Intro Section (homepage) ---- */
.intro {
  text-align: center;
  background: #fff;
  padding: 80px 0 40px;
}

.intro p {
  max-width: 720px;
  margin: 0 auto 1rem;
  color: var(--text);
  font-size: 1.05rem;
}

.intro h6 {
  font-family: 'Domine', serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2rem;
}

/* ---- About Strip ---- */
.about-strip {
  background: var(--black);
  color: #fff;
}

.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
}

.about-strip-left {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #333;
}

.about-strip-left .section-label { color: var(--gold); }
.about-strip-left h2 { color: #fff; }

.about-strip-right {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-strip-right p { color: #ccc; font-size: .95rem; margin-bottom: 1.5rem; }

/* ---- Services Preview (2 boxes) ---- */
.services-preview {
  background: var(--grey-bg);
  padding: 80px 0;
}

.services-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.service-box {
  text-align: center;
  padding: 48px 32px;
  background: #fff;
  border: 1px solid #eee;
  transition: box-shadow .2s;
}

.service-box:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); }

.service-box .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.service-box h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.service-box p { color: var(--text); font-size: .9rem; }
.service-box a.btn { margin-top: 1.5rem; }

/* ---- In-Room Banner ---- */
.inroom-banner {
  background: var(--black);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}

.inroom-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1.25rem; }
.inroom-banner p { max-width: 680px; margin: 0 auto 2rem; color: #ccc; }

/* ---- Photo Gallery ---- */
.gallery-section {
  padding: 80px 0;
  background: #fff;
}

.gallery-section .section-head {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  transition: opacity .2s;
}

.gallery-grid img:hover { opacity: .85; }

/* ---- Contact CTA Section ---- */
.contact-cta {
  background: var(--grey-bg);
  text-align: center;
  padding: 80px 24px;
}

.contact-cta h4 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 1rem; }
.contact-cta p { max-width: 680px; margin: 0 auto 2rem; color: var(--text); }

/* ---- Contact Form ---- */
.contact-form-section { padding: 80px 0; }

.contact-form-section .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.contact-info .info-item .ico {
  font-size: 1.2rem;
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-info .social-links {
  display: flex;
  gap: 14px;
  margin-top: 2rem;
}

.contact-info .social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: all .2s;
}

.contact-info .social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ---- Form ---- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: #666; }

.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px 14px;
  border: 1px solid #ddd;
  font-family: 'Rubik', sans-serif;
  font-size: .9rem;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }

.form-group textarea { resize: vertical; min-height: 110px; }

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text);
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--gold);
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }

/* ---- Section Intro (treatments page header) ---- */
.section-intro {
  padding: 56px 0 32px;
  text-align: center;
  background: #fff;
}

.section-intro-text {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.05rem;
}

/* ---- Services Page ---- */
.page-hero {
  height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.page-hero-content h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }

.breadcrumb {
  font-size: .8rem;
  color: var(--gold);
  margin-top: .5rem;
}

.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb span { color: var(--gold); }

/* ---- Services Category Section ---- */
.services-cat {
  padding: 80px 0 40px;
}

.services-cat h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: .5rem;
}

.services-cat-header {
  margin-bottom: 48px;
}

.services-cat-header p {
  max-width: 680px;
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  border: 1px solid #eee;
  padding: 28px 24px;
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.07);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: #111;
}

.service-card .price {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--black);
  display: inline-block;
  padding: 3px 12px;
  margin-bottom: .75rem;
  letter-spacing: .05em;
}

.service-card p {
  font-size: .875rem;
  color: var(--text);
  line-height: 1.6;
}

.services-cat--alt {
  background: var(--grey-bg);
}

.services-cat-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  margin-bottom: 60px;
}

/* Card image inside service-card */
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 1rem;
  display: block;
}

.service-card--featured {
  border-color: var(--gold);
  border-width: 2px;
}

.services-note {
  background: var(--grey-bg);
  padding: 24px 32px;
  border-left: 4px solid var(--gold);
  font-size: .9rem;
  color: var(--text);
}

/* ---- Note + CTA section ---- */
.section-note-cta {
  padding: 48px 0 64px;
  background: #fff;
}

/* ---- Venues Section (Contact) ---- */
.venues-section { padding: 60px 0; background: var(--grey-bg); }
.venues-section h2 { text-align: center; margin-bottom: 40px; }

.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.venue-card {
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  font-size: .875rem;
}

.venue-card h4 { font-size: 1rem; margin-bottom: .4rem; }
.venue-card p { color: var(--text); }

/* ---- About Page ---- */
.about-intro {
  padding: 80px 0;
}

.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.25rem; }
.about-intro p { color: var(--text); margin-bottom: 1rem; }

.about-features {
  background: var(--grey-bg);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-item { text-align: center; padding: 32px 24px; }
.feature-item .ico { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-item p { font-size: .875rem; color: var(--text); }

.about-gallery {
  padding: 80px 0;
}

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

.about-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery-grid img:first-child {
  grid-row: 1 / 3;
}

.team-section {
  background: var(--grey-bg);
  padding: 80px 0;
  text-align: center;
}

.team-section h2 { margin-bottom: .75rem; }
.team-section > .container > p { color: var(--text); max-width: 560px; margin: 0 auto 3rem; }

.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.team-card {
  background: #fff;
  padding: 32px 28px;
  text-align: center;
  width: 260px;
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}

.team-card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.team-card span { font-size: .85rem; color: var(--gold); font-weight: 500; }

/* ---- Privacy Page ---- */
.prose-section {
  padding: 80px 0;
}

.prose-section .container {
  max-width: 800px;
}

.prose-section h1 { margin-bottom: 2rem; }
.prose-section h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.prose-section p { color: var(--text); margin-bottom: 1rem; font-size: .95rem; }

/* ---- Footer ---- */
#footer {
  background: var(--black);
  color: #ccc;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  color: #888;
}

.footer-col h3 {
  font-family: 'Domine', serif;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a { font-size: .875rem; color: #888; transition: color .2s; }
.footer-col ul a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: .5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: .85rem;
  transition: all .2s;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.footer-reg {
  margin-top: .75rem;
  font-size: .8rem;
  color: #555;
}

.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .875rem; color: #888; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  background: var(--black);
  border-top: 1px solid #1a1a1a;
  padding: 20px 0;
  font-size: .8rem;
  color: #555;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.hosted-by a { color: #555; transition: color .2s; }
.hosted-by a:hover { color: var(--gold); }

/* ---- Lightbox ---- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-overlay.open { display: flex; }

.lightbox-img {
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  opacity: .8;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
}

.gallery-grid a { display: block; overflow: hidden; }
.gallery-grid a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .35s ease, opacity .2s;
}
.gallery-grid a:hover img { transform: scale(1.06); opacity: .9; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-strip .container { grid-template-columns: 1fr; }
  .about-strip-left { border-right: none; border-bottom: 1px solid #333; }
  .about-intro .container { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-section .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .about-gallery-grid img:first-child { grid-row: auto; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--black);
    padding: 20px 24px 32px;
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid #1c1c1c; color: #fff; }

  .nav-toggle { display: flex; }

  .hero { height: 70vh; }
  section { padding: 56px 0; }

  .services-preview .container { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .about-gallery-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip-left, .about-strip-right { padding: 40px 24px; }
}
