/* ==========================================================================
   The Vault Private Gym - Clean Stylesheet
   ========================================================================== */

/* Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Lato', sans-serif;
  color: #fff;
  background-color: #000;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

/* Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Navigation
   ========================================================================== */
.site-header {
  position: relative;
  height: 100px;
  background-color: rgba(0, 0, 0, 0.62);
  box-shadow: 0 2px 6px 0 #000;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  display: block;
  width: 150px;
  height: 70px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.62);
  padding: 20px 0;
}

.nav-menu.is-open {
  display: flex;
}

.nav-link {
  display: block;
  width: 100%;
  padding: 15px 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: rgba(173, 214, 7, 0.6);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid #797979;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.62);
}

.menu-toggle:focus {
  background-color: #525252;
  outline: none;
}

.menu-toggle.is-open {
  background-color: rgba(121, 120, 120, 0.62);
}

.menu-icon {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

/* Page Content / Hero Sections
   ========================================================================== */
.page-content {
  flex: 1;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Page-specific hero backgrounds */
.hero-home {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.19), rgba(0, 0, 0, 0.19)), url('/images/the-vault-private-gym-london.png');
}

.hero-about {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/Gym_Panorama1.jpg');
  min-height: auto;
  padding-bottom: 40px;
}

.hero-founder {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)), url('/images/jon-squirrel-private-gym.jpg');
  min-height: auto;
}

.hero-shoreditch {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.19), rgba(0, 0, 0, 0.19)), url('/images/shoreditch-gym-london.jpg');
}

.hero-services {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.19), rgba(0, 0, 0, 0.19)), url('/images/private-gym-services-london.jpg');
  min-height: auto;
  padding-bottom: 40px;
}

.hero-contact {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/contact-private-gym-london.jpg');
  min-height: auto;
  padding-bottom: 40px;
}

.hero-join {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/private-gym-join-the-team.jpg');
  min-height: auto;
  padding-bottom: 40px;
}

.hero-gallery {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/private-gym-london-gallery_1private gym london gallery.jpg');
  min-height: auto;
  padding-bottom: 40px;
}

.hero-404 {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)), url('/images/P1000944.jpg');
  min-height: 80vh;
}

/* Service page heroes */
.hero-personal-training {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)), url('/images/P1000944.jpg');
  min-height: auto;
}

.hero-boxing {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)), url('/images/P1000885.jpg');
  min-height: auto;
}

.hero-yoga {
  background-image: linear-gradient(180deg, transparent, transparent), url('/images/P1000905.jpg');
  min-height: auto;
}

.hero-pilates {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)), url('/images/AdobeStock_190998232.jpeg');
  min-height: auto;
}

.hero-nutrition {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)), url('/images/nutrition.jpeg');
  min-height: auto;
}

.hero-sports {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)), url('/images/P1000903.jpg');
  min-height: auto;
}

.hero-courses {
  background-image: linear-gradient(180deg, transparent, transparent), url('/images/vault01.jpg');
  min-height: auto;
}

/* Content Box
   ========================================================================== */
.content-box {
  margin-top: 40px;
  padding: 10px 40px 29px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.42);
  color: #fff;
  transition: opacity 0.2s ease;
}

.content-box.clear {
  background-color: transparent;
  text-align: left;
}

.content-box h1 {
  margin-bottom: 27px;
}

.content-box p {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.text-block {
  width: 60%;
  margin-top: 0;
  padding: 10px 40px 29px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.42);
  text-align: left;
}

/* Service Buttons
   ========================================================================== */
.service-buttons {
  border-radius: 5px;
}

.service-btn {
  display: flex;
  height: 80px;
  margin: 20px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
  font-family: 'Oswald', sans-serif;
  color: rgba(121, 120, 120, 0.62);
  font-size: 52px;
  font-weight: 700;
  text-decoration: none;
}

.service-btn:hover {
  background-color: rgba(173, 214, 7, 0.29);
  color: #fff;
}

/* Back Arrow Link
   ========================================================================== */
.back-link {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-top: 20px;
  background-image: url('/images/back-arrow.png');
  background-position: center;
  background-size: 50px;
  background-repeat: no-repeat;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.5;
}

/* Footer
   ========================================================================== */
.site-footer {
  display: flex;
  min-height: 250px;
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
  background-color: #000;
  box-shadow: 0 -1px 3px 0 #000;
}

.site-footer .container {
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.footer-logo img {
  width: 75px;
  height: 75px;
}

.twitter-link {
  display: block;
  width: 80px;
  height: 80px;
  background-image: url('/images/vaulttwitter_1vaulttwitter.png');
  background-position: center;
  background-size: 70px;
  background-repeat: no-repeat;
}

.footer-text {
  padding: 0;
  font-family: 'Lato', sans-serif;
  color: #a8a8a8;
  line-height: 20px;
  text-align: center;
  font-size: 14px;
}

.footer-text a {
  color: #fff;
}

/* Gallery Grid
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 20px;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* 404 Page
   ========================================================================== */
.utility-page-wrap {
  display: flex;
  width: 100%;
  min-height: 80vh;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.utility-page-content {
  display: flex;
  flex-direction: column;
  color: #fff;
  text-align: center;
  padding: 40px;
}

/* Cognito Forms Overrides
   ========================================================================== */
.cog-cognito--styled .cog-button--primary,
:root:root:root:root:root .cog-cognito--styled .cog-button--primary {
  background-color: #F1D600 !important;
  border: none !important;
  width: 100%;
  color: #000 !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease, filter 0.2s ease !important;
}

.cog-cognito--styled .cog-button--primary:hover,
:root:root:root:root:root .cog-cognito--styled .cog-button--primary:hover {
  transform: scale(1.02) !important;
  filter: brightness(1.1) !important;
}

.cog-53 {
  --background-hsl: 0, 0%, 25%;
  --border-radius: 0px;
  --border-width: 1px;
  --color: rgb(255, 255, 255);
}

/* Responsive Styles
   ========================================================================== */
@media screen and (min-width: 992px) {
  .menu-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
  }

  .nav-link {
    width: auto;
    padding: 10px 15px;
    font-size: 14px;
  }
}

@media screen and (max-width: 991px) {
  .text-block {
    padding: 20px;
  }
}

@media screen and (max-width: 767px) {
  .site-header .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo {
    margin-left: 8px;
  }

  .service-btn {
    font-size: 42px;
  }

  .text-block {
    padding: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 479px) {
  .hero-section {
    min-height: auto;
  }

  .footer-text {
    font-size: 12px;
  }

  .nav-link {
    padding: 10px;
    font-size: 28px;
  }

  .content-box {
    margin-top: 12px;
    padding: 10px 16px;
  }

  .content-box h1 {
    margin-top: 0;
    font-size: 28px;
    line-height: 36px;
  }

  .content-box p {
    font-size: 16px;
    line-height: 20px;
  }

  .service-btn {
    height: 60px;
    font-size: 24px;
  }

  .text-block {
    width: 100%;
    padding: 20px;
  }

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

  .utility-page-content {
    margin: 0 48px;
  }
}
