:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --muted: #bfbfbf;
  --text: #eaeaea;
  --bg-gray: #f4f5f7;
  --card-bg: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.15);
  --radius: 16px;
}

@font-face {
  font-family: 'BlauerNue';
  src: url('assets/fonts/BlauerNue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BlauerNue';
  src: url('assets/fonts/BlauerNue-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BlauerNue';
  src: url('assets/fonts/BlauerNue-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'BlauerNue', sans-serif;
  color: var(--text);
  background: var(--black);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}
.brand img {
  width: 100%;
  height: 100%;
  max-width: 300px;
  max-height: 120px;
  object-fit: contain;
}
.lang-select {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-select img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  margin: 0 4px;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 8px;
  margin: 0;
}

.lang-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  z-index: 1000;
  overflow: hidden;
}

html[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

.lang-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.lang-option:hover {
  background-color: #f5f5f5;
}

.lang-option span {
  margin-right: 8px;
  font-size: 14px;
}

html[dir="rtl"] .lang-option span {
  margin-right: 0;
  margin-left: 8px;
}

.chevron-down {
  transition: transform 0.2s ease;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--white);
}

[aria-expanded="true"] .chevron-down {
  transform: rotate(180deg);
}

.lang-dropdown-btn img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  margin: 0;
}

.lang-dropdown-btn[aria-expanded="true"] {
  background: rgba(255,255,255,0.1);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 100;
  min-width: 60px;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 18px;
}

.lang-option:hover {
  background: rgba(0,0,0,0.05);
}

.lang-option:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.flag-icon {
  line-height: 1;
}

/* Hero */
.hero {
  position: relative;
  /* height: 100%; */
  min-height: calc(100vh - 138px);
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/Capa.png');
  background-size: cover;
  background-position: center center;
  filter: blur(4px) brightness(0.7);
  /* transform: scale(1.05); */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 0;
}
.hero h1 {
  margin: 0 0 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 0rem;
}
.hero p {
  margin: 0 0 28px;
  color: rgba(255,255,255,0.85);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.3px;
  margin-bottom: 3rem;
}

/* Booking Card */
.booking-card {
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
  /* overflow: hidden; */
  color: #111827;
  max-width: 500px;
  margin: 0 auto;
}
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px 24px 0 0;
}
.tab {
  padding: 16px 12px;
  border: 0;
  background: #ffffff;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  border-radius: 24px;
}
.tab.active { background: #0a0a0a; color: #ffffff; border-radius: 24px 18px 18px 0 ; }
.tab.hours.active { background: #0a0a0a; color: #ffffff; border-radius: 18px 22px 0 18px ; }
/* Hide tabs when showing attention (step 3) */
.booking-card.no-tabs .tabs { display: none; }

.booking-form { padding: 30px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.form-field { text-align: left; }
.hint { color: #6b7280; font-weight: 500; }

/* Card-like field style to mimic the reference image */
.field-card {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 6px;
  align-items: center;
  background: #efefef;
  border-radius: 0px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Field card without icon (for time input) */
.field-card.no-icon {
  grid-template-columns: 1fr;
  padding: 10px 12px;
}

.field-card:hover {
  background: #e5e5e5;
}

.field-card.active {
  /* background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.field-card.active .field-input {
  cursor: pointer;
  /* padding: 6px; */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.field-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-icon img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.field-body {
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 16px;
  color: #111827;
  font-weight: 700;
}

.field-input {
  margin-top: 0px;
  width: 100%;
  padding: 6px 0 0 0;
  background: transparent;
  border: none;
  border-bottom: 0;
  font-size: 14px;
  color: #000;
  opacity: 1;
  max-height: none;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.select-wrapper {
  display: block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.field-card.active .select-wrapper .field-select {
  max-height: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #000;
}

.field-label {
  font-size: 16px;
  color: #000;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.field-input::placeholder { color: #9ca3af; }
.field-input:focus { outline: none; }

/* Phone input visible by default */
.phone-input-visible {
  opacity: 1 !important;
  max-height: 40px !important;
  margin-top: 4px !important;
  padding: 0 0 0 40px !important;
}

/* Intl Tel Input Customization */
.iti {
  width: 100%;
  margin-top: 4px;
}

.iti__flag-container {
  background: transparent;
}

.iti__selected-flag {
  background: transparent !important;
  border: none !important;
  padding: 0 8px 0 0 !important;
}

.iti__flag {
  /* transform: scale(0.8); */
}

.iti__selected-dial-code {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

/* .iti--separate-dial-code .iti__selected-dial-code {
  display: none;
} */

.iti__arrow {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #6b7280;
  margin-left: 6px;
}

.iti__arrow--up {
  border-top: none;
  border-bottom: 5px solid #6b7280;
}

.iti__country-list {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-height: 200px;
  overflow-y: auto;
}

.iti__country {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.iti__country:hover {
  background: rgba(0,0,0,0.05);
}

.iti__country.iti__active {
  background: rgba(0,0,0,0.1);
}

.iti__country-name {
  color: #111827;
  font-size: 14px;
  font-weight: 500;
}

.iti__dial-code {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.iti__flag-box {
  margin-right: 8px;
}

/* Error state for invalid inputs */
.field-input.error {
  border-color: #ef4444;
  color: #ef4444;
}

.field-input.error::placeholder {
  color: #ef4444;
}

/* Inline validation message under fields */
.error-text {
  margin-top: 6px;
  color: #ef4444;
  font-size: 12px;
  font-weight: 600;
}

/* Custom Dropdown Styles */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: 8px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  text-align: left;
  transition: all 0.2s ease;
}

.dropdown-trigger:hover {
  color: #000;
}

.dropdown-text {
  font-weight: 700;
  font-size: 16px;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  color: #111827;
}

.dropdown-trigger[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #efefef;
  /* border: 1px solid #e9ecef; */
  border-radius: 0px;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.15); */
  z-index: 1000;
  /* margin-top: 4px; */
  width: 112.5%;
  margin-left: -10%;
  overflow: hidden;
  padding: 0.5rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-top: 1px solid #000;
}


.dropdown-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.dropdown-item:hover {
  background: #e9ecef;
}

.item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
}

.dropdown-item.selected .item-icon {
  color: white;
}

.item-text {
  font-weight: 500;
  font-size: 14px;
}

/* Native date/time/select normalization inside the card */
.field-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Remove browser's built-in time input icon */
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button,
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="time"],
input[type="date"] {
  -moz-appearance: textfield;
}
/* .select-wrapper { position: relative; display: inline-block; width: 100%; } */
.field-caret {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #111827;
  pointer-events: none;
  font-size: 22px;
}
.actions { margin-top: 8px; display: flex; justify-content: flex-end; }

.next-btn {
  background: #000;
  color: var(--white);
  border: none;
  padding: 12px 16px;
  width: 40%;
  margin: 0.5rem auto 0 auto;
  border-radius: 0px;
  font-weight: 600;
  cursor: pointer;
  font-size: 18px;
}
/* Confirm button in step 3 */
.confirm-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 16px;
  width: 40%;
  margin: 0.5rem auto 0 auto;
  border-radius: 0;
  font-weight: 600;
  cursor: pointer;
  font-size: 18px;
}

/* Back to Home button on thank you screen */
.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a0a0a;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.05s ease;
}
.back-home-btn:hover {
  background: #111111;
  border-color: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.back-home-btn:active {
  transform: translateY(1px);
}
.back-home-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}


/* Step 3 attention card */
.attention {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 34px;
  color: #111827;
  text-align: center;
  /* box-shadow: var(--shadow); */
}
.attention-icon { color: #111827; margin-bottom: 10px; }
.attention-text { color: #4b5563 !important; font-size: 16px !important; line-height: 1.8; }
.attention-text strong { color: #111827; }
.attention-icon img {
  width: 60px;
  height: 60px;
}
/* Footer */
.footer {
  background: #000;
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 100;
  position: relative;
  overflow: hidden;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}
.footer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  border: 1px solid #fff;
  text-decoration: none;
  padding: 6px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9px;
  transition: all 0.3s ease;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  /* padding: 10px 8px; */
}
.footer-social-btn img {
  width: 40px;
  height: 40px;
}
.footer-btn:hover { background: rgba(255,255,255,0.06); }

/* A11y helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 780px) {
  .form-grid { grid-template-columns: 1fr; }
  .booking-card {
    width: 95%;
  }
  .hero-content {
    padding: 40px 0;
  }
  .hero h1 {
    font-size: 18px;
  }
  .hero p {
    font-size: 18px;
  }
  .hero-bg {
    background-size: cover;
    background-position: center center;
  }
  .footer-inner {
    flex-flow: column;
  }
  .footer-actions {
    flex-flow: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* Spinner animation */
@keyframes spin { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }

/* Centered message after confirm */
.center-message {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 138px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.center-text {
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(22px, 4.5vw, 54px);
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  padding: 0 24px;
}

/* RTL support */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
html[dir="rtl"] .footer-inner { flex-direction: row-reverse; }
html[dir="rtl"] .tabs { direction: rtl; }
html[dir="rtl"] .field-card {
  grid-template-columns: 56px 1fr;
  direction: rtl;
}
html[dir="rtl"] .field-card .field-body { text-align: right; }
html[dir="rtl"] .footer-actions { flex-direction: row-reverse; }


