﻿/* =========================
   General Body Styles
========================= */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #e2e8f0;
  color: #0f172a;
  line-height: 1.6;
  text-align: center; /* Center text globally */
}

/* =========================
   Header
========================= */
header {
  background: #0f172a;
  color: white;
  padding: 1.5rem 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  color: #0d9488;
  font-size: 2rem;
}

/* =========================
   Navigation
========================= */
nav {
  background: #0d9488;
  padding: 0.75rem 0;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  nav a {
    margin: 0 0.5rem;
  }
}

/* =========================
   Container
========================= */
.container {
  max-width: 960px;
  margin: 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.06);
  text-align: center; /* Center all inline content */
}

/* =========================
   Headings
========================= */
h2 {
  color: #0d9488;
  margin-top: 1.5rem;
}

h3 {
  margin-top: 1rem;
}

/* =========================
   Gallery
========================= */
.gallery-vertical {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-vertical img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: block;
}

.dancer-card {
  overflow: hidden;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.dancer-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 6px;
}

/* =========================
   Reviews
========================= */
.review {
  background: #f1f5f9;
  margin: 1rem 0;
  padding: 1.25rem 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left; /* Keep reviews left-aligned for readability */
}

.review strong {
  color: #0d9488;
}

/* =========================
   FAQ
========================= */
.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-item button {
  width: 100%;
  background: #0d9488;
  color: white;
  border: none;
  padding: 1rem;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: background 0.3s;
}

.faq-item button:hover {
  background: #0a7b6b;
}

.faq-item button::after {
  content: '+';
  float: right;
  font-weight: bold;
}

.faq-item button.active::after {
  content: '-';
}

.faq-answer {
  padding: 0 1rem 1rem 1rem;
  display: none;
  font-size: 0.95rem;
  color: #0f172a;
}

/* =========================
   Call to Action
========================= */
.cta {
  padding: 2rem 1rem;
  text-align: center;
  background-color: #fbbf24; /* Bright CTA */
  color: #0f172a;
  border-radius: 10px;
  margin: 2rem 0;
}

.cta h2, .cta strong {
  color: #064e3b;
  margin-bottom: 1rem;
}

.cta p, .cta a {
  display: block;
  margin: 0.5rem auto;
  text-decoration: none;
  font-weight: bold;
}

.cta a {
  background-color: #0f172a;
  color: #fbbf24;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1.2em;
}

.cta a:hover {
  background-color: #064e3b;
}

/* =========================
   Video Container
========================= */
.video-container {
  max-width: 480px;
  margin: 2rem auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

video {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* =========================
   Form Wrapper
========================= */
.formsite-wrapper {
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
}

.formsite-wrapper iframe {
  width: 100%;
  min-width: 320px;
  height: 1200px;
  border: none;
}

/* =========================
   Carousel / Slider
========================= */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-slide {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  flex: 0 0 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0 10px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.7);
}

/* =========================
   Back to Top Button (green)
========================= */
#backToTop {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background-color: #0d9488; /* Match header green */
  color: white; /* White text for contrast */
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s;
}

#backToTop:hover {
  background-color: #0a7b6b; /* Slightly darker green on hover */
}

#hero {
  position: relative;
  width: 100%;
  height: 400px; /* adjust height as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.5s ease-in-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35); /* semi-transparent overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero-overlay h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1.2rem;
}