/* =========================================================
   CSS Variables — Brand Colors & Typography
   ========================================================= */
:root {
  --color-brand: #C2185B;
  --color-secondary: #5F7C77;
  --color-bg: #FAFAFA;
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-muted: #666666;
  --color-border: #DDDDDD;

  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-brand: 0 4px 12px rgba(194, 24, 91, 0.25);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
}

/* =========================================================
   Global base styles
   ========================================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.2;
  margin-top: 0;
}

section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

/* =========================================================
   Header
   ========================================================= */
header {
  text-align: center;
  padding: 40px 20px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

header h1 {
  margin: 0;
  color: var(--color-brand);
}

/* =========================================================
   Footer
   ========================================================= */
footer {
  text-align: center;
  padding: 20px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

footer p {
  margin: 0 0 6px;
  font-size: 14px;
}

footer a {
  font-size: 12px;
  opacity: 0.6;
  color: var(--color-text);
  text-decoration: none;
}

footer a:hover {
  opacity: 1;
}

/* =========================================================
   Animations
   ========================================================= */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   Navigation
   ========================================================= */
#site-header { min-height: 64px; }

.main-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand,
.nav-brand a {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-menu li.active a {
  color: var(--color-brand);
  font-weight: 600;
}

.nav-menu a:hover {
  opacity: 1;
  color: var(--color-brand);
}

.nav-short { display: none; }

.nav-social a {
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-social a:hover {
  opacity: 1;
  color: var(--color-brand);
}

/* =========================================================
   Header – internal pages
   ========================================================= */
body.internal-page .main-header {
  position: relative;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

body.internal-page .nav-menu a {
  color: var(--color-text);
}

body.internal-page .nav-menu a:hover {
  color: var(--color-brand);
}

body.internal-page .nav-brand a {
  color: var(--color-brand);
}

/* =========================================================
   Week empty notice
   ========================================================= */
.week-empty-notice {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background: #f5f0ee;
  border-radius: 12px;
  margin: 8px 0 24px;
}

.week-empty-main {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-text);
  margin: 0 0 8px;
}

.week-empty-sub {
  font-size: 13px;
  color: var(--color-muted);
  margin: 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--color-brand);
  color: white;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--color-brand);
}

.btn-outline-brand {
  background: transparent;
  color: var(--color-brand);
  border: 2px solid var(--color-brand);
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}

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

/* =========================================================
   Page intro
   ========================================================= */
.page-intro {
  max-width: 1000px;
  margin: auto;
  padding: 60px 20px 30px;
  text-align: center;
}

.page-intro h1 {
  color: var(--color-brand);
  font-size: 42px;
  margin-bottom: 8px;
}

.page-intro p {
  max-width: 700px;
  margin: auto;
  color: var(--color-muted);
}

/* =========================================================
   CTA section
   ========================================================= */
.cta-section {
  margin: 60px auto;
  padding: 40px 20px;
  max-width: 900px;
  text-align: center;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.cta-section h2 {
  margin-top: 0;
  color: var(--color-brand);
  font-size: 28px;
}

.cta-section p {
  max-width: 600px;
  margin: 15px auto 25px;
  color: var(--color-muted);
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-secondary {
  background: var(--color-bg);
  box-shadow: none;
}

.cta-secondary .btn-secondary {
  color: var(--color-brand);
  border-color: var(--color-brand);
}

.cta-secondary .btn-secondary:hover {
  background: var(--color-brand);
  color: white;
}

/* =========================================================
   Feature image (shared: pilates-party, private-pilates)
   ========================================================= */
.party-feature-img {
  display: flex;
  justify-content: center;
  padding: 48px 20px 0;
}

.party-feature-img img {
  max-width: 420px;
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   Site Footer
   ========================================================= */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  margin-top: 50px;
}

.footer-content {
  max-width: 1000px;
  margin: auto;
  padding: 24px 20px 12px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--color-muted);
}

.footer-contact h4 {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-brand);
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer-contact p {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-link svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.footer-contact a {
  color: var(--color-text);
  text-decoration: underline;
}

.footer-contact a:hover {
  color: var(--color-brand);
}

.footer-legal h4 {
  margin: 0 0 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.footer-legal p {
  margin: 0 0 4px;
  font-size: 13px;
}

.footer-legal a {
  color: var(--color-text);
  text-decoration: underline;
}

.footer-legal a:hover {
  color: var(--color-brand);
}

.footer-disclaimer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 8px 20px;
  font-size: 11px;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  font-style: italic;
}

.footer-bottom {
  max-width: 1000px;
  margin: auto;
  padding: 10px 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
}

.footer-bottom a {
  opacity: 0.6;
  color: var(--color-text);
  text-decoration: none;
}

.footer-bottom a:hover {
  opacity: 1;
}

.footer-tagline {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 4px;
  font-style: italic;
  font-family: var(--font-serif);
}

/* =========================================================
   FAQ (faq.html + pilates-party.html)
   ========================================================= */
.faq-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: var(--color-brand);
  box-shadow: var(--shadow-brand);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-brand);
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  margin-left: auto;
  font-size: 22px;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-brand);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-icon {
  color: var(--color-brand);
  font-size: 16px;
  flex-shrink: 0;
}

.faq-answer {
  margin: 0;
  padding: 0 20px 20px 48px;
  color: var(--color-text);
  line-height: 1.7;
  font-size: 15px;
}

.faq-closing {
  margin-top: 52px;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.faq-closing-text {
  font-style: italic;
  color: var(--color-muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.faq-tagline {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-brand);
  margin: 0;
}

/* =========================================================
   Party Photo Carousel (about.html + pilates-party.html)
   ========================================================= */
.party-carousel {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  background: var(--color-brand);
}

.party-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.party-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.party-carousel-slide {
  min-width: 100%;
  height: 100%;
}

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

.party-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.75);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.party-carousel-btn:hover {
  background: rgba(255, 255, 255, 0.95);
}

.party-carousel-btn--prev { left: 16px; }
.party-carousel-btn--next { right: 16px; }

.party-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  background: var(--color-brand);
}

.party-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.party-carousel-dot.active {
  background: #fff;
}

/* Temporary nav visibility — remove class to restore */
.temp-hidden { display: none; }

/* =========================================================
   Back to Top button
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 15px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-full  { display: none; }
  .nav-short { display: inline; }

  .btn {
    width: 100%;
    text-align: center;
    max-width: 280px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .party-carousel-wrapper {
    height: 280px;
  }

  .party-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}
