/* ============================= */
/* STOP WHITE SPACE ON ROTATION */
/* ============================= */

/* 1) Lock the page to the viewport and prevent horizontal overflow */
html,
body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: "Baskerville", serif;
  background-color: #ffffff;

}

body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ============================= */
/* FULL-WIDTH SECTIONS */
/* ============================= */
section {
  width: 100%;
  margin: 0;
}



/* ============================= */
/* NAVBAR */
/* ============================= */
.navbar {
  background-color: #000;
  padding: 0.75rem 1rem;
}

/* Brand container */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  /* CRITICAL: allow shrinking on Android */
  min-width: 0;
}

/* Logo */
.navbar-logo {
  width: 48px;
  height: auto;
}

/* Brand text must be allowed to shrink */
.brand-text {
  font-family: "Baskerville", serif;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fff;

  /* PREVENT OVERLAP */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* THIS IS THE ANDROID FIX */
  min-width: 0;
  max-width: 100%;
}

/* Nav links */
.navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #ffffff !important;
}


/* ============================= */
/* HAMBURGER TOGGLE (FORCED WHITE) */
/* ============================= */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.6);
  margin-left: 1rem;
  
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Replace Bootstrap SVG with white stroke */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================= */
/* MOBILE MENU */
/* ============================= */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #000;
    padding: 1rem 0;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    font-size: 16px;
  }
}

/* ============================= */
/* TABLET */
/* ============================= */
@media (min-width: 768px) {
  .brand-text {
    font-size: 22px;
  }

  .navbar-logo {
    width: 56px;
  }
}

/* ============================= */
/* DESKTOP */
/* ============================= */
@media (min-width: 992px) {
  .brand-text {
    font-size: 26px;
    letter-spacing: 1.5px;
  }

  .navbar-logo {
    width: 70px;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================= */
/* SMALL IPHONES */
/* ============================= */
@media (max-width: 375px) {
  .brand-text {
    font-size: 18px;
  }

  .navbar-logo {
    width: 42px;
  }
}





/* ============================= */
/* HERO SECTION */
/* ============================= */
.hero-section {
  position: relative;
  background: url("../Photos/hero-bg.jpg") center / cover no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

/* Overlay */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.648);
}

/* Content container */
.hero-section .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

/* ============================= */
/* HERO HEADING */
/* ============================= */
.hero-heading {
  font-family: "Baskerville", serif;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.25rem;

  /* Responsive font sizing */
  font-size: clamp(3rem, 7vw, 5rem);
}


/* ============================= */
/* SMALL IPHONES */
/* ============================= */
@media (max-width: 375px) {
  .hero-section {
    min-height: 60vh;
    padding: 2.5rem 1rem;
  }
}





/* ============================= */
/* MEMBERSHIP SECTION */
/* ============================= */
.membership-section {
  background-color: #000;
  padding: 3rem 1.5rem;
  text-align: center;
}

/* Main text */
.membership-text {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 1px;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  line-height: 1;
}

/* Button */
.membership-button {
  display: inline-block;
  text-decoration: none;
  background-color: #ffffff;
  border-radius: 6px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #000;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.membership-button:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
}

/* Plan options container */
.plan-options {
  margin-top: 2.5rem;
}

/* Individual plan option */
.plan-option {
  color: #ffffff;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

/* ============================= */
/* MOBILE OPTIMIZATION */
/* ============================= */
@media (max-width: 768px) {
  .membership-text {
    font-size: 1.1rem;
  }

  .membership-button {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
}

/* ============================= */
/* DESKTOP ENHANCEMENT */
/* ============================= */
@media (min-width: 992px) {
  .membership-text {
    font-size: 1.35rem;
  }
}






/* ============================= */
/* FOOTER */
/* ============================= */
footer {
  background-color: #000;
  color: #fff;
}

/* ============================= */
/* FOOTER MAIN BAR */
/* ============================= */
.footer {
  padding: 2rem 1rem;
}

/* Layout */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================= */
/* FOOTER LOGO / ADDRESS */
/* ============================= */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1.4;
}

.footer-logo img {
  width: 60px;
  height: auto;
}

/* ============================= */
/* FOOTER NAV LINKS */
/* ============================= */
.footer-foot {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-item {
  list-style: none;
}

.footer-link {
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #ffffff;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ============================= */
/* POLICIES */
/* ============================= */
.policies {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background-color: #ffffff;
  margin: 0;
}

.policy_text {
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #000;
}

.policy_text:hover {
  text-decoration: underline;
}

/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 767px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-foot {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-logo {
    justify-content: center;
    text-align: center;
  }
}