﻿/* ============================
   GLOBAL
============================= */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
}

header, footer {
  background-color: #1e2a2a;
  color: white;
  padding: 1rem 0;
}

h1, h2 {
  color: #c62828;
  margin: 0.5rem 0;
}

a {
  color: #c62828;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

nav {
  background-color: #333;
  padding: 0.5rem 0;
}

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

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

nav a.active {
  color: #ffeb3b;
  text-decoration: underline;
}

.container {
  padding: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

/* ============================
   GALLERY
============================= */
.gallery-vertical {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  justify-items: center;
  padding: 1rem 0;
}

.gallery-vertical img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ============================
   REVIEWS + BUTTON
============================= */
.review {
  background-color: #fff;
  margin: 1rem auto;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-width: 800px;
  text-align: left;
}

.review img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  background: #c62828;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  margin: 1rem 0;
  text-decoration: none;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* ============================
   SIDEBAR (Desktop)
============================= */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 240px;
  background: #111;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1rem;
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.sidebar a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
}

.sidebar a:hover,
.sidebar a.active {
  text-decoration: underline;
  color: #ffeb3b;
}

/* Desktop pushes content right */
main, header, footer {
  margin-left: 240px;
}
/* ============================
   GALLERY - VERTICAL WITH VIDEOS
============================= */
.gallery-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 800px;
    margin: 30px auto;
}

.dancer-card {
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.dancer-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.video-container {
    width: 100%;
    max-width: 500px;
    margin: 10px 0;
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #000;
}

/* ============================
   SIDEBAR DROPDOWN
============================= */
.dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dropdown-btn {
  cursor: pointer;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  display: block;
}

.dropdown-btn:hover {
  color: #ffeb3b;
  text-decoration: underline;
}

/* When dropdown-btn is a span not an anchor */
span.dropdown-btn {
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
}

span.dropdown-btn:hover {
  color: #ffeb3b;
}

.dropdown-content {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  background-color: #222;
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 2px solid #c62828;
  margin-top: 0.25rem;
}

.dropdown-content a {
  font-size: 0.95rem;
  color: #ccc;
  font-weight: normal;
  padding: 0.1rem 0;
}

.dropdown-content a:hover {
  color: #ffeb3b;
  text-decoration: underline;
}

.dropdown.open .dropdown-content {
  display: flex;
}

/* ============================
   HAMBURGER BUTTON
============================= */
.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 2000;
}

/* ============================
   MOBILE MODE
============================= */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-260px);
    padding-top: 100px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
  }

  main, header, footer {
    margin-left: 0 !important;
    width: 100%;
  }

  .review {
    max-width: 100%;
  }

  .review img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* ============================
   HEADER LAYOUT
============================= */
.site-header {
  position: relative;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header-text {
  text-align: center;
  padding: 0 20px;
}

.header-text h2 {
  margin-top: 0.2rem;
  font-size: 1.4rem;
  color: #c62828;
}

@media (max-width: 600px) {
  .header-text h2 {
    font-size: 1.2rem;
    line-height: 1.25;
  }
}
/* ============================
   FORMS
============================= */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 100%;
}

button {
  padding: 0.75rem;
  background-color: #c62828;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background-color: #a71d1d;
}

.formsite-wrapper {
  max-width: 600px;
  margin: 1rem auto;
}

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

.carousel-container button:hover {
  background: rgba(0,0,0,0.8);
}

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

.carousel-slide img {
  flex: 0 0 100% !important;
  max-width: 100%;
  max-height: 500px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border-radius: 10px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transition: background 0.3s ease;
  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);
}
/* Carousel Video Support */
/* Carousel - Support images + videos */
.carousel-slide > * {
  flex: 0 0 100% !important;
  max-width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.carousel-slide img {
  height: auto;
}

.carousel-slide video {
  width: 100%;
  height: auto;
  background: #000;
  border-radius: 10px;
}

/* Make sure videos don't autoplay unexpectedly */
.carousel-slide video {
  pointer-events: auto;
}@media (max-width: 600px) {
  .carousel-slide img {
    max-height: 300px;
  }
}

/* ============================
   BACK TO TOP BUTTON
============================= */
#backToTop {
  opacity: 0;
  display: block;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background-color: #c62828;
  color: white;
  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, opacity 0.3s;
  pointer-events: none;
}

#backToTop:hover {
  background-color: #a71d1d;
}

/* ============================
   CTA BLOCK
============================= */
.cta {
  background-color: #1e2a2a;
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
}

.cta a {
  color: #ffeb3b;
  font-weight: bold;
}

.cta a:hover {
  text-decoration: underline;
}