/* Font Face Declarations */
@font-face {
  font-family: 'Owners Wide';
  src: url('assets/fonts/fonnts.com-Owners_Wide.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Owners Wide';
  src: url('assets/fonts/fonnts.com-Owners_Wide_Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Owners Wide';
  src: url('assets/fonts/fonnts.com-Owners_Wide_Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* CSS Variables */
:root {
  --bg: #1c1c1c;
  --card: #222;
  --muted: #cfcfcf;
  --accent: #f5f5f5;
}

html {
  scroll-behavior: smooth;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--accent);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

/* Header / Hero */
.topbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: 99;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 70px);
  max-width: 1068px;
  margin: 0;
}

.topbar.scrolled {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0 0 18px 18px;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.topbar .navbar-toggler {
  padding: .25rem 0;
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 32%;
  width: 100%;
  text-align: center;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 28px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .navClose {
  position: absolute;
  top: 6px;
  right: calc(1.5rem* 0.5 + 20px);
  font-size: 32px;
  z-index: 1000;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .navClose {
      font-size: 40px;
      top: 15px;
      right: 35px;
  }
}

#menuBtn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  font-family: 'Owners Wide', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.logo-expanded {
  height: 30px;
  display: block;
}

.logo-collapsed {
  height: 30px;
  display: none;
}

.footer-logo {
  height: 50px;
  margin-bottom: 10px;
}

.hamburger {
  font-size: 26px;
  color: var(--accent);
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 70px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(28, 28, 28, 0.6) 60%, #1c1c1c 95%), rgba(6, 6, 6, 0.55);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 80%, #1c1c1c 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 80px 20px;
}

.hero h1 {
  font-family: 'Owners Wide', sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.hero .sub {
  opacity: .95;
  color: #fff;
}

.hero .location {
  display: inline-block;
  margin-top: 10px;
  color: white;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.scroll-down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 70px;
  color: rgba(255, 255, 255, 1);
  font-size: 32px;
}

/* Sections */
section {
  padding: 60px 20px;
  position: relative;
}

.container-xl {
  max-width: 1100px;
  position: relative;
}

h2.section-title {
  font-family: 'Owners Wide', sans-serif;
  font-size: 32px;
  margin-bottom: 4px;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Card panels */
.panel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 26px;
  position: relative;
  z-index: 2;
  margin-top: -20px;
  padding-top: 40px;
  width: 100%;
  height: 100%;
}

.panel {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.panel .icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.icon-item {
  text-align: center;
}

.icon-item i {
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}

.icon-item p {
  font-family: 'Owners Wide', sans-serif;
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 900px) {
  #blank-icon-item {
    display: none;
  }
}

/* Gallery/Carousel Styles */
.gallery {
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  align-items: center;
  position: relative;
  margin-top: 24px;
  margin-left: -26px;
  margin-right: -26px;
  margin-bottom: -26px;
}

.gallery-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  font-size: 28px;
  color: white;
}

.gallery-chevron-left {
  left: 0;
  background: linear-gradient(to right, rgb(0 0 0 / 65%) 0%, rgba(0, 0, 0, 0) 100%);
  justify-content: flex-start;
  padding-left: 20px;
}

.gallery-chevron-right {
  right: 0;
  background: linear-gradient(to left, rgb(0 0 0 / 65%) 0%, rgba(0, 0, 0, 0) 100%);
  justify-content: flex-end;
  padding-right: 20px;
}

.gallery-images {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  cursor: grab;
  transition: scroll 0.2s ease-out;
}

.gallery-images.active {
  cursor: grabbing;
}

.gallery-images img {
  scroll-snap-align: start;
  max-height: 400px;
  width: 100%;
  object-fit: cover;
  pointer-events: none;
}

.gallery-chevron.disabled {
  display: none;
  pointer-events: none;
}

/* Pricing & location boxes */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.info-container {
  display: flex;
}

.info-subcontainer {
  display: flex;
  flex-direction: column;
}

.info-container i {
  margin-top: 3px;
  margin-right: 6px;
}

#address-and-timetable {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--muted);
}

.price-list {
  font-size: .95rem;
  color: var(--muted);
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.06);
}

.price-list #combo-price {
  width: 180px;
  display: flex;
  justify-content: flex-end;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab {
  padding: 8px 12px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: .85rem;
  transition: background-color 0.3s ease;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tab.active {
  background: #fff;
  color: #111;
}

/* App section */
.app-panel {
  display: flex;
  align-items: center;
  gap: 30px;
}

.app-panel img {
  max-width: 100%;
  display: block;
}

.app-panel {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-direction: column;
}

.app-panel .phones {
  flex: 1;
  width: auto;
}

.app-panel .phones {
  flex: 1;
  background-image: url(./assets/app-pattern-bg.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%
}

.app-panel .phones #app-mockup {
  height: 300px;
}

.app-panel .app-download {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-panel .flex-1 .flex-center {
  display: none;
}

@media only screen and (min-width: 900px) {
  .app-panel {
    flex-direction: row;
  }
  .app-panel .flex-1 {
    max-width: 45%;
    padding: 0 30px 0 30px;
  }
  .app-panel .app-download {
    display: none;
  }
  .app-panel .flex-1 .flex-center {
    display: flex;
    margin-top: 20px;
  }
}


/* Footer */
footer {
  padding: 36px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: .95rem;
  padding-bottom: 70px;
}

/* Fixed Location Bar */
.fixed-location-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 70px);
  max-width: 1068px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px 18px 0 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 98;
}

.fixed-location-bar i {
  font-size: 20px;
  color: var(--accent);
}

.fixed-location-bar span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Additional utility classes for inline styles */
.text-muted {
  color: var(--muted);
}

.mb-18 {
  margin-bottom: 18px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-14 {
  margin-bottom: 14px;
}

.mb-12 {
  margin-bottom: 12px;
}

.mt-0 {
  margin-top: 0;
}

.flex-1 {
  flex: 1;
}

.flex-center {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flex-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Owners Wide', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-container .text-muted a:hover {
  color: var(--muted);
}

.footer-social {
  margin-top: 8px;
}

.footer-social a {
  color: var(--muted);
  margin: 6px;
  font-size: 24px;
}

.btn-app {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-icon {
  height: 40px;
  width: auto;
}

.fitpass-section {
  text-align: center;
  margin-top: 20px;
}

.fitpass-text {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 10px;
}

.fitpass-logo-container {
  margin-top: 10px;
}

.fitpass-logo {
  height: 22px;
  vertical-align: middle;
}

.location-info {
  color: var(--muted);
  display: flex;
  gap: 8px;
}

.schedule {
  color: var(--muted);
  margin-bottom: 14px;
}

.schedule > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.map-container iframe {
  width: 100%;
  border: 0;
  height: 270px;
  border-radius: 15px;
}

.map-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.app-description {
  color: var(--muted);
  margin-bottom: 14px;
}

.font-sm {
  font-size: .9rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .panel .icons-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .icon-item i {
    font-size: 30px;
  }
  
  .icon-item p {
    font-size: 1.1rem;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .hero-content {
    padding: 40px 10px;
  }
  
  /* On mobile, center both titles */
  .section-title-left,
  .section-title-right {
    position: relative;
    width: 50%;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .section-title-left {
    float: left;
  }
  
  .section-title-right {
    float: right;
  }
  
  /* Clear floats */
  .container-xl::after {
    content: "";
    display: table;
    clear: both;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding: 12px 20px;
    max-width: none;
    margin: 0;
  }
  
  .logo-expanded {
    display: none;
  }
  
  .logo-collapsed {
    display: block;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .location {
    font-size: 1rem;
  }
  
  .panel {
    padding: 26px;
    padding-top: 30px;
    border-radius: 14px;
  }
  
  .panel .icons-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .icon-item i {
    font-size: 26px;
  }
  
  .icon-item p {
    font-size: 1rem;
  }
  
  .hero-bg {
    background-position: center top;
  }
  
  .app-panel {
    flex-direction: column;
  }
  
  .hero {
    padding-top: 72px;
  }
  
  .gallery {
    margin-left: -26px;
    margin-right: -26px;
    margin-bottom: -26px;
  }
  
  .tabs {
    justify-content: center;
  }
  
  .tab {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}

@media (max-width: 380px) {
  .tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .tab {
    width: fit-content;
  }
}

#pattern1 {
  display: none;
}
#pattern2 {
  display: none;
}

#pricing {
  scroll-margin-top: 80px;
}

#location {
  scroll-margin-top: 80px;
}

#app {
  scroll-margin-top: 80px;
}

#about {
  padding-top: 10px;
  scroll-margin-top: 80px;
}

@media only screen and (max-width: 900px) {
  #pattern1 {
    display: none!important;
  }
  #pattern2 {
    display: none!important;
  }
  #pattern1 {
    display: flex;
    position: absolute;
  }
  #pattern2 {
    display: flex;
    position: absolute;
    right: 0;
    bottom: 200px;
  }
  #pricing {
    padding-top: 0px;
  }
  #location {
    /*padding-top: 60px;*/
    padding-top: 30px;
  }
  #app {
    padding-top: 0;
    margin-top: -30px;
  }
  /*#about {
    margin-top: 60px;
  }*/
}

@media only screen and (max-width: 900px) {
  body .container-xl {
    padding-left: 0;
    padding-right: 0;
  }
  .topbar, .fixed-location-bar {
    width: calc(100% - 40px);
  }
}