:root {
  --gold: #D4AF37;
  --gold-light: #F5D76E;
  --dark: #12111f;
  --border: #967815;
  --navbar-h: 60px;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--navbar-h);
  background-color: var(--dark);
  border-bottom: 3px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon img {
  width: 44px;
  height: 44px;
}

.logo-text {
  color: var(--gold);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: bold;
  letter-spacing: 2px;
}

.navbar-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(16px, 3vw, 40px);
}

.navbar-menu a {
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  position: relative;
  transition: color .3s, letter-spacing .3s, transform .3s;
}

.navbar-menu a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(212, 175, 55, .8), 0 0 20px rgba(212, 175, 55, .5);
  transform: translateY(-2px);
  letter-spacing: 1.5px;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width .3s;
}

.navbar-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 1100;
}

.mobile-overlay.open {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 280px;
  height: 100vh;
  background-color: var(--dark);
  border-left: 3px solid var(--border);
  z-index: 1200;
  padding: 80px 0 40px;
  transition: right .3s ease;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu a {
  display: block;
  color: var(--gold);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(150, 120, 21, .3);
  transition: color .2s, background .2s, padding-left .2s;
}

.mobile-menu a:hover {
  color: var(--gold-light);
  background: rgba(212, 175, 55, .08);
  padding-left: 40px;
}

.background {
  background: url('../images/background_desktop.jpeg') center / 100% 100% no-repeat;
  height: calc(100vh - var(--navbar-h));
  margin-top: var(--navbar-h);
}

.card_options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  align-content: flex-end;
  gap: clamp(8px, 2vw, 40px);
  padding: clamp(8px, 2vw, 24px);
  height: 100%;
}

.option-image {
  display: block;
  width: clamp(120px, 18vw, 280px);
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: filter .4s, transform .4s, box-shadow .4s;
}

.option-image:hover {
  filter: brightness(1.2) drop-shadow(0 0 10px var(--gold)) drop-shadow(0 0 25px var(--gold));
  transform: scale(1.04);
  box-shadow: 0 0 12px rgba(212, 175, 55, .5), 0 0 17px rgba(212, 175, 55, .3);
}

.page-section {
  min-height: 100vh;
  background: url('../images/background_sections.jpeg') center / cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--navbar-h) + 48px) 24px 60px;
}

.page-container {
  width: 100%;
  max-width: 860px;
  background: rgba(18, 17, 31, 0.82);
  border: 1px solid rgba(150, 120, 21, 0.4);
  border-radius: 12px;
  padding: clamp(28px, 5vw, 60px);
  backdrop-filter: blur(4px);
}

.page-title {
  color: var(--gold);
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: bold;
  letter-spacing: 3px;
  margin: 0 0 32px;
  text-align: center;
  border-bottom: 2px solid rgba(150, 120, 21, 0.5);
  padding-bottom: 20px;
}

.page-content {
  color: #e8e0cc;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.8;
}

.page-content p {
  margin: 0 0 16px;
}

.page-content p:last-child {
  margin-bottom: 0;
}

.page-subtitle {
  color: var(--gold-light);
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin: 0 0 20px;
  text-align: center;
}

.schedule-unit {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(150, 120, 21, 0.3);
}

.schedule-unit:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.schedule-unit__title {
  color: var(--gold);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 0 4px;
}

.schedule-unit__desc {
  color: rgba(232, 224, 204, 0.65);
  font-style: italic;
  font-size: 13px;
  margin: 0 0 16px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.schedule-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(150, 120, 21, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
}

.schedule-block h4 {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.schedule-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.schedule-block li {
  font-size: 13px;
  color: #e8e0cc;
  line-height: 1.4;
}

.schedule-block li em {
  color: rgba(232, 224, 204, 0.6);
  font-style: normal;
  font-size: 12px;
  display: block;
}

.schedule-time {
  display: inline-block;
  background: rgba(150, 120, 21, 0.3);
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  border-radius: 4px;
  padding: 1px 6px;
  margin-right: 6px;
  white-space: nowrap;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.unit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(150, 120, 21, 0.3);
  border-radius: 10px;
  padding: 20px;
}

.unit-card__title {
  color: var(--gold);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: bold;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.unit-card__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(150, 120, 21, 0.4);
  color: var(--gold-light);
  border-radius: 4px;
  padding: 2px 7px;
  text-transform: uppercase;
}

.unit-card__address {
  color: rgba(232, 224, 204, 0.65);
  font-size: 12px;
  margin: 0 0 10px;
}

.unit-card p:last-child {
  margin-bottom: 0;
  font-size: 13px;
  color: #e8e0cc;
  line-height: 1.6;
}

/* ===== Social Float ===== */
.social-float {
  position: fixed;
  bottom: 28px;
  right: 16px;
  z-index: 1900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-float__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-decoration: none;
}

.social-float__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.social-float__item:hover {
  transform: scale(1.14);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.5);
}

/* ===== Scroll Top ===== */
.scroll-top {
  width: 0;
  height: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--border);
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, box-shadow .3s, width .3s, height .3s;
  flex-shrink: 0;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  width: 90px;
  height: 90px;
}

.scroll-top:hover {
  background: rgba(150, 120, 21, 0.25);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.5);
}

@media (max-width: 715px) {
  :root {
    --navbar-h: 52px;
  }

  body {
    overflow: auto;
    height: auto;
  }

  .navbar-container {
    padding: 0 16px;
  }

  .logo-icon img {
    width: 32px;
    height: 32px;
  }

  .navbar-menu {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
    transform-origin: center;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .background {
    background: url('../images/background_mobile.png') center top / cover no-repeat;
    min-height: calc(100vh - var(--navbar-h));
    height: auto;
  }

  .page-section {
    background-image: url('../images/background_sections.jpeg');
    background-attachment: scroll;
    padding-left: 16px;
    padding-right: 16px;
  }

  .card_options {
    min-height: calc(91vh - var(--navbar-h));
    height: auto;
  }

  .option-image {
    width: calc(100vh - var(--navbar-h + 10px));
    max-width: 160px;
  }

  .option-image:hover {
    transform: none;
  }

  .social-float {
    bottom: 0;
    right: 0;
    left: 0;
    top: auto;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background: rgba(18, 17, 31, 0.97);
    border-top: 2px solid var(--border);
    padding: 8px 12px;
    gap: 0;
    border-radius: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
  }

  .social-float__item {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(150, 120, 21, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
  }

  .social-float__item:hover {
    box-shadow: none;
  }

  .scroll-top.visible {
    width: 44px;
    height: 44px;
  }

  body {
    padding-bottom: 64px;
  }
}
