:root {
  --dark-blue: #1a237e; /* Material Design Indigo 900 */
  --blue: #3f51b5; /* Material Design Indigo 500 */
  --violet: #7b1fa2; /* Material Design Purple 700 */
  --indigo: #5c6bc0; /* Material Design Indigo 400 */
  --white: #ffffff;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.3);
  --background-color: #e8f5e9;
  --light-violet: rgb(240, 224, 250);
  --blue-light: #dee2f3;
}

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

p,
li {
  font-weight: 650;
  font-size: 1rem; /* ~16pt */
  line-height: 1.5;
  width: 100%;
}

h1,
h2,
h3 {
  letter-spacing: 1px;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5; /* Light gray for Material Design background */
}

/* Sticky Navbar */
.navbar {
  background-color: var(--dark-blue);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.navbar h1 {
  font-size: 2.75rem; /* ~36pt */
  font-weight: 500;
  color: var(--white);
}

.navbar p {
  color: yellow;
  font-size: 1.5rem; /* ~20pt */
  font-weight: 700;
}

/* Hero Section */
.hero {
  background-color: var(--white);
  text-align: center;
  padding: 48px 16px;
  margin-bottom: 24px;
}

.hero h2 {
  font-size: 2.25rem; /* ~44pt */
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark-blue);
}

.hero p {
  font-size: 1.125rem; /* ~18pt */
  font-weight: 650;
  margin-bottom: 24px;
  color: var(--dark-blue);
}

.hero .btn {
  background-color: var(--blue);
  color: var(--white);
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}

.hero .btn:hover {
  background-color: #3949ab; /* Indigo 600 */
  box-shadow: var(--shadow-hover);
}

/* Card Slider */
.slider-container {
  max-width: 1200px;
  margin: 24px auto;
  overflow: hidden;
  position: relative;
  padding: 1rem;
  padding-bottom: 40px; /* Space for pagination */
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slider-card {
  min-width: 98%;
  padding: 16px;
  padding-bottom: 2rem;
  text-align: center;
  background-color: var(--white);
  border-radius: 8px;
  margin: 0 10px;
  box-shadow: var(--shadow);
  height: auto;
}

.slider-card h3 {
  color: var(--blue);
  padding: 8px;
  margin-bottom: 16px;
  font-size: 1.75rem; /* ~28pt */
  font-weight: 500;
}

.slider-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.slider-card:nth-child(1) h3 {
  color: var(--blue);
}
.slider-card:nth-child(2) h3 {
  color: var(--violet);
}
.slider-card:nth-child(3) h3 {
  color: var(--indigo);
}
.slider-card:nth-child(4) h3 {
  color: var(--blue);
}

.slider-card p {
  margin-bottom: 16px;
  color: var(--dark-blue);
  font-size: 1rem; /* ~16pt */
  font-weight: 650;
  padding: 0 1.2rem;
  text-align: center;
}

.slider-card a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  border: 1px solid var(--dark-blue);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  font-size: 1rem; /* ~16pt */
}

.slider-card a:hover {
  color: #3949ab;
  border: 2px solid var(--dark-blue);
  font-weight: 600;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 8px;
}

.slider-controls button {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark-blue);
  padding: 8px;
  transition: color 0.2s;
}

.slider-controls button:hover {
  color: var(--blue);
}

.pagination {
  text-align: center;
  margin-top: 16px;
  padding: 8px 0;
}

.pagination span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 8px;
  background-color: #bdbdbd; /* Material Design Gray 400 */
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}

.pagination span.active {
  background-color: var(--blue);
}

.pagination span:hover {
  background-color: #757575; /* Gray 600 */
}

/* Trainer Section */
.trainer {
  max-width: 1200px;
  margin: 24px auto;
  padding: 16px;
  text-align: center;
  background-color: var(--blue-light);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trainer h2 {
  background-color: var(--blue);
  color: var(--white);
  padding: 12px;
  margin-bottom: 16px;
  font-size: 2rem; /* ~32pt */
  font-weight: 500;
  border-radius: 4px;
}

.trainer h3 {
  padding: 8px;
  margin-bottom: 16px;
  font-size: 1.5rem; /* ~24pt */
  font-weight: 700;
  color: var(--violet);
}

.trainer img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.trainer p {
  color: var(--dark-blue);
  font-size: 1.05rem; /* ~16pt */
  font-weight: 650;
  padding: 1rem;
}

/* Services Section */
.services {
  max-width: 1200px;
  margin: 24px auto;
  padding: 10px;
}

.services h2 {
  background-color: var(--violet);
  color: var(--white);
  padding: 12px;
  text-align: center;
  margin-bottom: 24px;
  font-size: 2rem; /* ~32pt */
  font-weight: 500;
  border-radius: 4px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card {
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  background-color: var(--light-violet);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.service-card {
  padding: 2.2rem;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
}

.service-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.service-card h3 {
  padding: 8px;
  margin-bottom: 16px;
  font-size: 1.5rem; /* ~24pt */
  font-weight: 500;
}

.service-card:nth-child(1) h3 {
  color: var(--blue);
}
.service-card:nth-child(2) h3 {
  color: var(--violet);
}
.service-card:nth-child(3) h3 {
  color: var(--indigo);
}
.service-card:nth-child(4) h3 {
  color: var(--blue);
}

.service-card ul {
  width: 100%;
  margin: 0 0 0 10px;
  text-align: left;
  color: var(--dark-blue);
}

.service-card ul li {
  margin-bottom: 8px;
  font-size: 1.05rem; /* ~16pt */
  font-weight: 650;
}

/* Center Ambiance */
.ambiance {
  max-width: 1200px;
  margin: 24px auto;
  padding: 16px;
  text-align: center;
  background-color: var(--blue-light);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ambiance h2 {
  background-color: var(--indigo);
  color: var(--white);
  padding: 12px;
  margin-bottom: 24px;
  font-size: 2rem; /* ~32pt */
  font-weight: 500;
  border-radius: 4px;
}

.ambiance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.ambiance-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ambiance video {
  border-radius: 8px;
}

.ambiance p {
  color: var(--dark-blue);
  font-size: 1.05rem; /* ~16pt */
  font-weight: 650;
  margin-bottom: 1rem;
  padding: 1rem;
}

/* Contact Section */
.contact {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 32px 16px;
  text-align: center;
}

.contact h2 {
  background-color: var(--blue);
  color: var(--white);
  padding: 12px;
  margin-bottom: 24px;
  font-size: 2rem; /* ~32pt */
  font-weight: 500;
  border-radius: 4px;
}

.contact a {
  color: var(--white);
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
  transition: color 0.2s;
}

.contact a:hover {
  color: #bbdefb; /* Light Blue 200 */
}

.contact p {
  margin-bottom: 16px;
  font-size: 1.05rem; /* ~16pt */
  font-weight: 650;
}

/* Copyright Section */
.copyright {
  background-color: var(--dark-blue);
  color: var(--white);
  text-align: center;
  padding: 16px;
  font-size: 0.875rem; /* ~14pt */
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar h1 {
    font-size: 2.78rem; /* ~30pt */
  }

  .navbar p {
    font-size: 1.5rem; /* ~16pt */
  }

  .hero h2 {
    font-size: 2.25rem; /* ~36pt */
  }

  .hero p {
    font-size: 1rem; /* ~14pt */
  }

  .slider-container {
    margin: 16px 8px;
    padding-bottom: 32px;
  }

  .slider-card {
    padding: 12px;
    margin: 0 4px;
  }

  .slider-card h3 {
    font-size: 1.5rem; /* ~24pt */
  }

  .slider-card p {
    font-size: 1rem; /* ~14pt */
  }

  .slider-card a {
    font-size: 0.875rem; /* ~14pt */
  }

  .slider-controls button {
    font-size: 1.5rem;
    padding: 4px;
  }

  .pagination span {
    width: 10px;
    height: 10px;
    margin: 0 6px;
  }

  .trainer h2 {
    font-size: 1.75rem; /* ~28pt */
  }

  .trainer p {
    font-size: 1rem; /* ~14pt */
  }

  .trainer img {
    width: 150px;
    height: 150px;
  }

  .services h2 {
    font-size: 1.75rem; /* ~28pt */
  }

  .services h3 {
    font-size: 1.25rem; /* ~20pt */
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    width: 80px;
    height: 80px;
  }

  .service-card ul li {
    font-size: 1.05rem; /* ~14pt */
  }

  .service-card ul {
    width: 100%;
  }

  .ambiance h2 {
    font-size: 1.75rem; /* ~28pt */
  }

  .ambiance p {
    font-size: 1rem; /* ~14pt */
  }

  .ambiance-grid img {
    height: 120px;
  }

  .contact h2 {
    font-size: 1.75rem; /* ~28pt */
  }

  .contact p {
    font-size: 1rem; /* ~14pt */
  }

  .copyright p {
    font-size: 0.75rem; /* ~12pt */
  }
}

@media (max-width: 480px) {
  .navbar h1 {
    font-size: 1.6rem; /* ~24pt */
  }

  .navbar p {
    font-size: 1.2rem; /* ~14pt */
  }

  .hero h2 {
    font-size: 1.275rem; /* ~30pt */
  }

  .hero p {
    font-size: 1rem; /* ~12pt */
  }

  .slider-container {
    margin: 12px 4px;
    padding-bottom: 28px;
  }

  .slider-card {
    padding: 8px;
    margin: 0 2px;
  }

  .slider-card h3 {
    font-size: 1.25rem; /* ~20pt */
  }

  .slider-card p {
    font-size: 1rem; /* ~12pt */
  }

  .slider-card a {
    font-size: 1rem; /* ~12pt */
  }

  .slider-controls button {
    font-size: 1.25rem;
    padding: 2px;
  }

  .pagination span {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }

  .trainer h2 {
    font-size: 1.5rem; /* ~24pt */
  }

  .trainer p {
    font-size: 1rem; /* ~12pt */
    padding: 0;
  }

  .services h2 {
    font-size: 1.5rem; /* ~24pt */
  }

  .services h3 {
    font-size: 1.3rem; /* ~16pt */
  }

  .service-card img {
    width: 150px;
    height: 150px;
  }

  .service-card ul li {
    font-size: 1.02rem; /* ~12pt */
  }

  .ambiance h2 {
    font-size: 1.5rem; /* ~24pt */
  }

  .ambiance p {
    font-size: 1rem; /* ~12pt */
  }

  .contact h2 {
    font-size: 1.5rem; /* ~24pt */
  }

  .contact p {
    font-size: 1rem; /* ~12pt */
  }

  .copyright p {
    font-size: 0.688rem; /* ~11pt */
  }
}

/* Gallery Styles */
.gallery-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
}
.gallery-column {
  flex: 0 0 25%;
  padding: 10px;
  box-sizing: border-box;
}
.gallery-column img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.2s, border 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.gallery-column img:hover {
  opacity: 1;
  border: 2px solid #3f51b5; /* var(--blue) */
}
/* Expanded Image Container */
.gallery-expanded {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.gallery-expanded-img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.gallery-caption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffffff;
  font-size: 35px;
  cursor: pointer;
  transition: color 0.2s;
}
.gallery-close:hover {
  color: #bbdefb; /* --blue-light */
}
/* Clear floats for older browsers */
.gallery-row:after {
  content: "";
  display: table;
  clear: both;
}
/* Responsive Design */
@media (max-width: 768px) {
  .gallery-column {
    flex: 0 0 50%;
  }
  .gallery-column img {
    max-width: 100%;
  }
  .gallery-caption {
    font-size: 16px;
  }
  .gallery-close {
    font-size: 30px;
    right: 15px;
    top: 15px;
  }
  .gallery-expanded-img {
    max-width: 100%;
    max-height: 100%;
  }
}
@media (max-width: 480px) {
  .gallery-column {
    flex: 0 0 100%;
  }
  .gallery-column img {
    max-width: 100%;
  }
  .gallery-caption {
    font-size: 14px;
    bottom: 10px;
    left: 10px;
  }
  .gallery-close {
    font-size: 25px;
    right: 10px;
    top: 10px;
  }
}
