/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #FFF8F0;
  --card:      #FFFFFF;
  --border:    #E8D5C0;
  --text:      #3D3128;
  --muted:     #7A6B5A;
  --green:     #4A7A36;
  --orange:    #E37433;
  --red:       #C0392B;
  --gold:      #C8A45A;
  --shadow:    0 2px 8px rgba(61,49,40,0.08);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  min-height: 100%;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--bg);
  display: flex;
  justify-content: center;
  padding: 0;
}

.header-banner-img {
  width: 100%;
  max-width: 1280px;
  height: auto;
  display: block;
}


/* ===== NAV BAR ===== */
.nav-bar {
  background: var(--green);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 8px 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-bar-centered {
  justify-content: center;
}

.nav-bar a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
}

.nav-bar a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nav-bar a.amenities-link { color: #FFE8A0; }

/* ===== MAIN CONTENT ===== */
.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

/* ===== LOADING ===== */
#loading {
  text-align: center;
  padding: 60px 20px;
}

.bounce-dots {
  display: inline-flex;
  gap: 8px;
}

.bounce-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  animation: bounce 1.2s ease-in-out infinite;
}
.bounce-dot:nth-child(2) { animation-delay: 0.2s; }
.bounce-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-8px); opacity: 1; }
}

/* ===== DAY SECTIONS ===== */
.day-section { margin-bottom: 36px; }

.day-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.day-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.day-date {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* ===== ACTIVITY CARDS ===== */
.activity-card {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.activity-card:last-child { border-bottom: none; }

.act-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--border);
}

.act-image-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.act-info { flex: 1; min-width: 0; }

.act-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 2px;
}

.act-name.canceled {
  color: #9ca3af;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.act-canceled-label {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.act-relocated-venue {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 2px;
}

.act-relocated-note {
  font-size: 12px;
  color: var(--red);
  font-style: italic;
  margin-bottom: 4px;
}

.act-rescheduled-note {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
}

.act-time {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 3px;
}

.act-time .time-val { color: var(--orange); font-weight: 600; }
.act-time .venue-val { color: var(--text); font-weight: 500; }

.act-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.act-info-line {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ===== EMPTY DAY ===== */
.empty-day {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  padding: 12px 0;
}

/* ===== FEATURED TOP CARD ===== */
.featured-top-card {
  background-image: url('../static/images/activities.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  min-height: 140px;
}

.featured-top-overlay {
  background: rgba(74, 122, 54, 0.84);
  padding: 18px 20px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-top-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.featured-top-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-top-item {
  font-size: 15px;
  font-weight: 600;
  color: #FFE8A0;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

.featured-top-item .feat-venue {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-top: 1px;
}

.featured-top-item .feat-info {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
}

/* ===== FOOTER ===== */
.page-footer {
  text-align: center;
  padding: 20px 20px 36px;
  border-top: 1px solid var(--border);
}

.page-footer p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}

.popup-link {
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* ===== POPUPS ===== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-box {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px 24px;
  max-width: 500px;
  width: 100%;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}

.popup-close:hover { color: var(--text); }

.popup-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
}

.popup-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-top: 14px;
  margin-bottom: 4px;
}

.popup-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== DISCLAIMER ===== */
.disclaimer-box {
  background: #888;
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  min-height: 100px;
}

.disclaimer-text {
  font-size: 10px;
  color: #d0d0d0;
  line-height: 1.6;
  margin-bottom: 4px;
  padding-right: 110px;
}

.disclaimer-logo {
  position: absolute;
  bottom: 14px;
  right: 18px;
  max-height: 70px;
  width: auto;
}

/* ===== MOBILE ===== */
@media (max-width: 540px) {
  .act-image, .act-image-placeholder { width: 54px; height: 54px; font-size: 22px; }
  .act-name { font-size: 16px; }
  .disclaimer-text { padding-right: 0; }
  .disclaimer-logo { position: static; display: block; margin-top: 10px; }
}
