/* assets/css/custom-ui.css - GMFL Custom Luxury UI Components (Datepicker & Select) */

/* ─── CUSTOM DATEPICKER ───────────────────────────────────── */
.custom-datepicker-wrap {
  position: relative;
  width: 100%;
}

.custom-datepicker-input {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23C9A84C' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.2rem;
  padding-right: 3rem !important;
  border: 1px solid rgba(201, 168, 76, 0.55) !important;
  background-color: #101010 !important;
  color: var(--white) !important;
  border-radius: 4px;
}

.custom-datepicker-input:hover, .custom-datepicker-wrap.open .custom-datepicker-input {
  border-color: var(--gold) !important;
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.35) !important;
}

.custom-datepicker-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background: #0d0d0d;
  border: 1px solid var(--gold);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(201, 168, 76, 0.2);
  z-index: 9999;
  padding: 1.2rem;
  border-radius: 4px;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-datepicker-calendar.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.dp-month-year {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.dp-nav-btn {
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.dp-nav-btn:hover {
  background: var(--gold);
  color: #000;
}

.dp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.6rem;
}

.dp-weekdays span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 0.3rem 0;
}

.dp-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 1rem;
}

.dp-day {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--white);
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.dp-day:hover {
  background: rgba(201, 168, 76, 0.25);
  color: var(--gold);
}

.dp-day.disabled {
  opacity: 0.2;
  pointer-events: none;
}

.dp-day.selected {
  background: var(--gold) !important;
  color: #000 !important;
  font-weight: 500;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
}

.dp-day.today {
  border: 1px solid var(--gold);
}

.dp-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
}

.dp-footer-btn {
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}

.dp-footer-btn:hover {
  color: var(--gold);
}

/* ─── CUSTOM SELECT DROPDOWN ──────────────────────────────── */
.custom-select-wrap {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: #101010;
  border: 1px solid rgba(201, 168, 76, 0.55);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}

.custom-select-trigger:hover, .custom-select-wrap.open .custom-select-trigger {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.35);
}

.custom-select-trigger-arrow {
  color: var(--gold);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.custom-select-wrap.open .custom-select-trigger-arrow {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #0d0d0d;
  border: 1px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  z-index: 999;
  max-height: 240px;
  overflow-y: auto;
  display: none;
  border-radius: 4px;
}

.custom-select-wrap.open .custom-select-menu {
  display: block;
}

.custom-select-option {
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
  color: var(--white-dim);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.custom-select-option:hover, .custom-select-option.selected {
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold);
}

/* ─── GLOBAL SITE-WIDE CTA SECTION ───────────────────────────── */
.home-cta {
  position: relative; padding: 9rem 0;
  overflow: hidden; text-align: center;
  background: #050505;
}

.home-cta__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}

.home-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.65) 0%, rgba(5,5,5,0.85) 100%);
}

.home-cta__rule-top,
.home-cta__rule-bot {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 80%; max-width: 1000px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.5), transparent);
  z-index: 2;
}
.home-cta__rule-top { top: 0; }
.home-cta__rule-bot { bottom: 0; }

.home-cta__content {
  position: relative; z-index: 3; max-width: 1000px; margin: 0 auto;
}

.home-cta__label {
  display: block; font-size: 0.7rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: #C9A84C; margin-bottom: 1.5rem;
  font-family: 'Jost', sans-serif;
}

.home-cta__title {
  font-size: clamp(1.6rem, 4.2vw, 4.2rem);
  font-family: 'Jost', sans-serif;
  font-weight: 250 !important; line-height: 1.1; color: #fafafa;
  margin-bottom: 1.5rem; letter-spacing: -0.03em;
  white-space: nowrap !important;
}

.home-cta__title em,
.home-cta__title span {
  font-family: 'Jost', sans-serif;
  font-style: normal; font-weight: inherit !important;
  background: linear-gradient(135deg, #C9A84C, #E8C97E);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.home-cta__line {
  width: 60px; height: 1px;
  background: linear-gradient(to right, transparent, #C9A84C, transparent);
  margin: 0 auto 1.8rem;
}

.home-cta__body {
  font-size: 1.1rem; font-weight: 200; color: rgba(250,250,250,0.85);
  line-height: 1.75; margin-bottom: 2.5rem;
  font-family: 'Jost', sans-serif;
}

.home-cta__date-strip {
  display: inline-flex; align-items: center; gap: 2rem;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 1rem 2.5rem; margin-bottom: 3rem;
}

.home-cta__date-block { display: flex; align-items: baseline; gap: 0.4rem; }

.home-cta__date-num {
  font-size: 2.5rem; font-weight: 100; color: #C9A84C; line-height: 1;
}

.home-cta__date-unit {
  font-size: 1rem; font-weight: 300; color: rgba(201,168,76,0.6);
  letter-spacing: 0.2em;
}

.home-cta__date-sep { width: 1px; height: 40px; background: rgba(201,168,76,0.2); }

.home-cta__date-info {
  display: flex; flex-direction: column; gap: 0.2rem;
  text-align: left;
}

.home-cta__date-info span {
  font-size: 0.82rem; color: rgba(250,250,250,0.5); font-weight: 300;
}

.home-cta__actions { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
