
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f6f9fb;
  color: #222;
  overflow-x: hidden;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0.25; /* adjust to taste */
  pointer-events: none;
}

html {
  overflow-x: hidden;
}

.hero {
  position: relative;
  height: 60vh;
  overflow: hidden;
  margin-top: 70px;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

section {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: auto;
}

section img {
  width: 100%;
  border-radius: 8px;
}

.feature-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-container.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-text h2 {
  margin-top: 0;
  color: #00796B;
}

.feature-text p {
  line-height: 1.6;
  font-size: 1.1rem;
}

.feature-image {
  position: relative;
  flex: 1;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 8px;
}

.feature-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit; /* fallback */
  background-size: cover;
  background-position: center;
  filter: blur(12px) brightness(0.7);
  z-index: 1;
}

.feature-image img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
  display: block;
}


.design-your-studio {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #4DB6AC;
  color: white;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

footer {
  background: #1a2b3a;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.site-footer {
  background: #003d33;
  color: white;
  padding: 3rem 1rem 2rem;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}
.site-footer h3, .site-footer h4 {
  color: #aef2e0;
}
footer.legacy-footer {
  background-color: rgba(14, 27, 42, 0.95);
  backdrop-filter: blur(2px); /* optional, looks slick */
  color: white;
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.newsletter {
  text-align: center;
  margin-bottom: 2rem;
}
.newsletter-form {
  margin-top: 1rem;
}
.newsletter-form input {
  padding: 0.5rem;
  width: 250px;
  border-radius: 4px 0 0 4px;
  border: none;
}
.newsletter-form button {
  padding: 0.5rem 1rem;
  background: #26a69a;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  text-align: left;
  margin-bottom: 2rem;
}
.footer-columns h4 {
  margin-bottom: 0.5rem;
}
.footer-columns ul {
  list-style: none;
  padding: 0;
}
.footer-columns li {
  margin-bottom: 0.5rem;
}
.copyright {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 77, 64, 0.95); /* calming dark green */
  color: white;
  z-index: 999;
  padding: 0.75rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.logo a:hover {
  transform: scale(1.05);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: #aef2e0;
}

.topdown-grid {
  width: 100%;
  padding: 20px 40px;
  background: linear-gradient(to bottom, #0e1b2a, #00574b);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  box-sizing: border-box;
}

.topdown-tile {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;

  /* Add soft border glow */
  border: 2px solid rgba(0, 191, 255, 0.4); /* cyan-ish */
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.2);
}

.topdown-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* darker overlay */
  z-index: 0;
}

.topdown-tile:hover {
  transform: scale(1.05) rotate(-0.5deg);
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}

.topdown-tile:hover::before {
  background: rgba(0, 0, 0, 0.15); /* lighten slightly on hover */
}

.topdown-tile > * {
  position: relative;
  z-index: 1;
}

.topdown-tile {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  border: 2px solid rgba(0, 191, 255, 0.4);
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.2);
  text-decoration: none;
  background-color: #000;
}

.tile-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.tile-content {
  position: relative;
  z-index: 2;
}


.parallax-header {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.parallax-header video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%);
  transform: scale(1.05);
}

.header-overlay-banner {
  position: absolute;
  top: 10%;
  left: 5%;
  z-index: 10;
  max-width: 500px;
  padding: 20px;
}

.overlay-box {
  background: rgba(0, 0, 0, 0.8);
  padding: 30px;
  border-radius: 12px;
  color: white;
  text-align: left;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.overlay-box:hover {
  transform: translateY(-5px);
}

.overlay-box h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.overlay-box p {
  font-size: 1.05rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.overlay-box ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.overlay-box ul li {
  list-style-type: disc;
  font-size: 1rem;
  margin-bottom: 6px;
}

.book-button {
  display: inline-block;
  background: #FF0055;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.book-button:hover {
  background: #e60048;
}

.overlay-feature {
  background: linear-gradient(to right, #003d33, #004d40);
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}

.overlay-box {
  background: white;
  color: #003d33;
  padding: 2rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  max-width: 800px;
  width: 90%;
  transition: transform 0.3s ease;
}

.overlay-box:hover {
  transform: translateY(-4px) rotate(-0.3deg);
}

.overlay-box h2 {
  margin-top: 0;
  color: #00796B;
  font-size: 2rem;
}

.overlay-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.get-quote.small {
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
}

.feature-section {
  display: flex;
  flex-wrap: wrap;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  gap: 2rem;
}

.feature-tile {
  flex: 1 1 40%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-end;
}

.feature-caption {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 1rem;
  font-weight: bold;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  width: 100%;
  text-align: center;
}

.feature-description {
  flex: 1 1 55%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5); /* Add this line */
  padding: 1.5rem;                /* Optional: add padding for readability */
  border-radius: 12px;            /* Optional: soft edges */
}


.feature-description h2 {
  color: #00bfa5;
  font-size: 1.8rem;
  margin-top: 0;
}

.feature-description ul {
  padding-left: 1.2rem;
}

@media (max-width: 768px) {
  .feature-section {
    flex-direction: column;
  }

  .feature-tile,
  .feature-description {
    flex: 1 1 100%;
  }
}

.calculator-section input {
  padding: 6px;
  margin: 5px 0;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

.calculator-section button {
  padding: 10px 20px;
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.calculator-section button:hover {
  background: #084cdf;
}

.calculator {
  max-width: 400px; /* set a clean width */
  margin: 40px auto;
  padding: 20px;
  background-color: #444;
  border-radius: 10px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.calculator h2 {
  color: #19d0c0;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.calculator .form-group {
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
}

.calculator input[type="number"] {
  width: 30%;
  max-width:30%;
  padding: 8px;
  margin: 8px 0 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.calculator button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.2s ease;
}

.calculator button:hover {
  background-color: #0056b3;
}

.input-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.input-row div {
  flex: 1;
  min-width: 120px;
}

.full-width-section {
  width: 100%;
  background: #00574b; /* match your preferred green or blue background */
  padding: 0px;
  color: white;
}

.section-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-content .feature-description,
.section-content .overlay-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.section-content h2 {
  font-size: 2em;
  color: #78ffb7;
  margin-bottom: 20px;
}

.section-content p {
  font-size: 1.1em;
  line-height: 1.6;
}

.get-quote.small {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #78ffb7;
  color: #00322d;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.get-quote.small:hover {
  background: #56db9a;
}

.gym-popup-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-top:0px;
  padding-right: 30px;
}

.gym-popup {

  background: #ffffff;
  color: #003d33;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  max-width: 900px;
  max-height: 430px;
  text-align: left;
  z-index: 5;
  transform: translateY(-40px);
  border: 2px solid #78ffb7;
}

.gym-popup h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #00796B;
}

.gym-popup p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img:hover {
  transform: scale(1.02);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-grid a img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid a img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0, 255, 170, 0.6), 0 0 20px rgba(0, 255, 255, 0.3);
  z-index: 1;
}
