/* ===== Fitty Landing Page — Custom Styles ===== */

@font-face {
  font-family: 'HelveticaNowDisplay';
  src: url('../fonts/HelveticaNowDisplay/HelveticaNowDisplay-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HelveticaNowDisplay';
  src: url('../fonts/HelveticaNowDisplay/HelveticaNowDisplay.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HelveticaNowDisplay';
  src: url('../fonts/HelveticaNowDisplay/HelveticaNowDisplay-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HelveticaNowDisplay';
  src: url('../fonts/HelveticaNowDisplay/HelveticaNowDisplayBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --fitty-dark: #00282a;
  --fitty-dark-2: #023d32;
  --fitty-border: #055e4d;
  --fitty-text: #efecea;
  --fitty-gold: #e6b473;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'HelveticaNowDisplay', sans-serif;
  background-color: var(--fitty-dark);
  color: var(--fitty-text);
  padding-bottom: 76px;
}
@media (min-width: 768px) {
  body {
    padding-bottom: 84px;
  }
}

/* ===== Buttons ===== */
.button-round {
  border-radius: 34px;
  padding: 6px 7px 6px 14px;
  font-family: 'HelveticaNowDisplay', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.3s ease;
  width: fit-content;
}
@media (min-width: 768px) {
  .button-round {
    gap: 16px;
  }
}
.button-round .btn-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--fitty-dark-2);
  transition: background 0.3s ease;
}

/* Primary: white pill, dark text, gold on hover (as supplied by brand) */
.btn-primary {
  background: #fff;
  color: #0f3724;
  border: 1px solid #fff;
}
.btn-primary:hover {
  background: var(--fitty-gold);
  border-color: var(--fitty-border);
}
.btn-primary .btn-icon {
  background: #f4f1ee;
}
.btn-primary:hover .btn-icon {
  background: rgba(2, 61, 50, 0.15);
}

/* Outline variant for use on light sections */
.btn-outline {
  background: transparent;
  color: var(--fitty-dark-2);
  border: 1px solid var(--fitty-border);
}
.btn-outline:hover {
  background: var(--fitty-gold);
  color: #0f3724;
  border-color: var(--fitty-gold);
}
.btn-outline .btn-icon {
  background: rgba(5, 94, 77, 0.08);
}
.btn-outline:hover .btn-icon {
  background: rgba(15, 55, 36, 0.15);
}

/* Gold: solid gold pill for high-emphasis CTAs on dark sections */
.btn-gold {
  background: var(--fitty-gold);
  color: #0f3724;
  border: 1px solid var(--fitty-gold);
}
.btn-gold:hover {
  background: #fff;
  border-color: var(--fitty-border);
}
.btn-gold .btn-icon {
  background: rgba(15, 55, 36, 0.15);
}

/* WhatsApp button */
.btn-whatsapp {
  background: #e6b473;
  color: #04331f;
  border: 1px solid #04331f;
}
.btn-whatsapp:hover {
  background: var(--fitty-gold);
  border-color: var(--fitty-border);
}
.btn-whatsapp .btn-icon {
  background: rgba(4, 51, 31, 0.15);
}

/* ===== Header ===== */
#site-header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
#site-header.is-scrolled {
  background-color: var(--fitty-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Sticky booking bar — hidden until the page is scrolled */
#sticky-booking-bar {
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#sticky-booking-bar.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-link {
  position: relative;
  color: var(--fitty-text);
  opacity: 0.85;
}
.nav-link:hover {
  opacity: 1;
  color: var(--fitty-gold);
}

/* ===== Utilities ===== */
.text-gradient-gold {
  background: linear-gradient(90deg, #e6b473 0%, #f4d9ae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-eyebrow {
  letter-spacing: 0.2em;
}

.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  border-color: var(--fitty-gold);
}

/* Marquee-style feature ring accents */
.ring-fade {
  background: radial-gradient(circle at center, rgba(230, 180, 115, 0.18) 0%, rgba(230, 180, 115, 0) 70%);
}

/* FAQ accordion */
.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-answer {
  animation: faqOpen 0.3s ease;
}
@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery */
.gallery-item {
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/* Mobile nav */
#mobile-menu {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 600px;
  opacity: 1;
}

/* Lightbox */
#lightbox {
  transition: opacity 0.3s ease;
}

/* Custom scrollbar accent (optional, non-critical) */
::selection {
  background: var(--fitty-gold);
  color: #0f3724;
}

/* Transformations carousel */
.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.testimonial-clamp {
  /* display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5; */
  overflow: hidden;
}


button, a{
  cursor: pointer;
}

/* ===== Lead form ===== */
.form-field {
  display: flex;
  flex-direction: column;
}

.form-input.has-error {
  border-color: #c0392b;
}

.form-error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #c0392b;
}
.form-error.is-visible {
  display: block;
}

.form-status {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}
.form-status.is-error {
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
}
.form-status.is-success {
  background: rgba(5, 94, 77, 0.08);
  color: #055e4d;
}

.recaptcha-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(15, 55, 36, 0.55);
  text-align: center;
}
.recaptcha-note a {
  color: rgba(15, 55, 36, 0.75);
  text-decoration: underline;
}

button[type='submit'].is-busy {
  opacity: 0.7;
  pointer-events: none;
}

/* intl-tel-input inside the rounded Tailwind inputs */
.iti {
  width: 100%;
}
.iti__tel-input,
.iti input[type='tel'] {
  width: 100%;
}
/* iti sets the input's left padding inline from the flag button's width, so it
   only needs to follow the field's rounded corner. */
.iti__selected-country {
  border-radius: 12px 0 0 12px;
}
.iti__country-list,
.iti__dropdown-content {
  color: #0f3724;
  font-size: 14px;
  text-align: left;
  border-radius: 12px;
}
/* The booking modal sits at z-40/z-100, so lift the country dropdown above it. */
.iti__dropdown-content {
  z-index: 200;
}
