/* ==========================================================================
   Thiền Dã Ngoại Trong Ngày — "Bước Chân Thảnh Thơi"
   Page-specific styles. Loaded after assets/styles.css — reuses its tokens,
   fonts and .btn/.wrap/.section/.eyebrow/.footer primitives, adds a fresher,
   more free-form set of components for this one-day event page.
   ========================================================================== */

/* ---- Variables ---- */
:root {
  --color-line: #b4d7bb; /* hairline borders */
  --color-line-strong: var(--color-forest);
  --color-bg-alt: #fdf2ec; /* warm off-white */
  --color-line-alt: #f8d6b7; /* fresh off-white */
}

/* ---- Reset ---- */
html {
  overflow-x: hidden;
}
body {
  background: var(--color-bg-fresh);
}
.section--alt {
  background: var(--color-bg-fresh-alt);
}
.link-highlight {
  color: var(--color-day);
  font-weight: 600;
}

/* ---- Top bar (static, not fixed — sits above the banner) ---- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-4);
  position: relative;
  z-index: 20;
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-ink);
  font-weight: 700;
}
.topbar__brand svg {
  width: 34px;
  height: 34px;
  flex: none;
}
.topbar__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.topbar__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-ink-soft);
  padding: var(--space-2) 0;
  position: relative;
}
.topbar__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-day);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.topbar__link:hover {
  color: var(--color-ink);
}
.topbar__link:hover::after {
  transform: scaleX(1);
}
.topbar__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-accent);
  color: var(--color-ink);
  background: rgb(255 255 255 / 50%);
}
@media (max-width: 780px) {
  .topbar__toggle {
    display: inline-flex;
  }
  .topbar__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    padding: var(--space-3) var(--gutter) var(--space-5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--dur) var(--ease),
      transform var(--dur) var(--ease);
  }
  .topbar__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .topbar__link {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-line);
  }
}

/* ---- Hero banner: full-bleed, short on desktop, natural flow on mobile ---- */
.hero2 {
  position: relative;
  isolation: isolate;
  background-image: url('img/1day/mttm-1day-hero.jpg');
  background-size: cover;
  background-position: center 35%;
  color: var(--color-on-primary);
  display: flex;
  align-items: flex-end;
}
@media (min-width: 860px) {
  .hero2 {
    height: 30vh;
    min-height: 340px;
  }
}
@media (max-width: 859px) {
  .hero2 {
    min-height: 62vw;
    padding-block: var(--space-8) var(--space-6);
  }
}
.hero2::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(16, 29, 48, 0.82) 0%,
    rgba(16, 29, 48, 0.28) 10%,
    rgba(16, 29, 48, 0.05) 100%
  );
}
.hero2__blob {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 63% 37% 54% 46% / 43% 65% 35% 57%;
  background: var(--color-day);
  opacity: 0.35;
  mix-blend-mode: soft-light;
  z-index: -1;
}
.hero2__inner {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-6);
  max-width: 780px;
}
.hero2__tag {
  display: inline-flex;
  align-self: start;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-brush);
  font-size: 1.35rem;
}
.hero2__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height: var(--lh-tight);
  color: var(--color-accent);
}
.hero2__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}
@media (max-width: 859px) {
  .hero2__meta {
    gap: var(--space-3);
    margin-top: var(--space-2);
  }
}
.hero2__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.hero2__meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex: none;
}
.hero2__meta-item--link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero2__meta-item--link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* ---- Brush accent label ---- */
.brush-tag {
  font-family: var(--font-brush);
  font-size: 1.6rem;
  color: var(--color-forest);
  display: inline-block;
}

/* ---- Intro ---- */
.intro2 {
  display: grid;
  gap: var(--space-8);
}
.intro2__copy {
  display: grid;
  gap: var(--space-4);
}
.intro2__copy p {
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--color-ink-soft);
}

/* ---- Info cards (đối tượng / chi phí) ---- */
.info2-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
@media (min-width: 700px) {
  .info2-grid {
    grid-template-columns: 2fr 1fr;
  }
}
.info2-card {
  background: var(--color-bg-fresh-alt);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.info2-card:nth-child(2) {
  transform: rotate(0.6deg);
}
.info2-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
}
.info2-card p {
  color: var(--color-ink-soft);
  line-height: var(--lh-relaxed);
}
.info2-card-alt {
  background: var(--color-bg-alt);
  border-color: var(--color-line-alt);
}

/* ---- Location blurb + carousel ---- */
.place2-blurb {
  max-width: 78ch;
  font-size: var(--fs-lead);
  color: var(--color-ink-soft);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
}
.carousel2 {
  position: relative;
}
.carousel2__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: var(--space-2);
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.carousel2__track::-webkit-scrollbar {
  display: none;
}
.carousel2__slide {
  flex: 0 0 50%;
  scroll-snap-align: start;
}
@media (min-width: 700px) {
  .carousel2__slide {
    flex-basis: 25%;
  }
}
@media (min-width: 1024px) {
  .carousel2__slide {
    flex-basis: 14.2857%;
  }
}
.carousel2__slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.carousel2__arrows {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: space-between;
  margin-top: var(--space-5);
}
.carousel2__arrow-group {
  display: flex;
  gap: var(--space-3);
}
@media (min-width: 1024px) {
  /* all 7 slides fit in one row at this breakpoint — nothing to scroll to */
  .carousel2__arrow-group {
    display: none;
  }
}
.carousel2__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--color-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  transition:
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.carousel2__arrow:hover {
  border-color: var(--color-forest-hover);
  color: var(--color-forest-hover);
}
.carousel2__arrow svg {
  width: 20px;
  height: 20px;
}
.carousel2__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.place2-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
}
.place2-more__icon {
  width: 16px;
  height: 16px;
  flex: none;
}
.callout {
  margin: 0 0 var(--space-7);
  padding: var(--space-5) var(--space-6);
  background: #ffffff;
  border-left: 4px solid var(--color-day);
  border-radius: var(--radius-md);
}
.callout p {
  color: var(--color-ink-soft);
  line-height: var(--lh-relaxed);
}
.callout strong {
  color: var(--color-ink);
}

/* ---- Schedule table (Chương trình dự kiến) ---- */
.schedule-row {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-7);
}
@media (min-width: 900px) {
  .schedule-row {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.schedule-table {
  border: 1px solid var(--color-line-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.schedule-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
}
.schedule-table tr + tr td {
  border-top: 1px solid var(--color-line-alt);
}
.schedule-table td {
  padding: var(--space-4) var(--space-5);
  vertical-align: top;
}
.schedule-table__time {
  width: 1%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--color-day);
}
.schedule-table__act {
  color: var(--color-ink-soft);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}
.blob-frame {
  display: none;
}
@media (min-width: 900px) {
  .blob-frame {
    display: block;
    position: relative;
    aspect-ratio: 4.5 / 5;
    overflow: hidden;
    border-radius: 63% 37% 30% 70% / 55% 45% 55% 45%;
    box-shadow: var(--shadow-md);
    justify-self: center;
    max-width: 420px;
    width: 100%;
  }
}
.blob-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Hành trang: bullet list ---- */
.pack-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-7);
  max-width: 62ch;
}
.pack-list li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--color-ink-soft);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}
.pack-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-day);
}

/* ---- Nội quy: numbered flowing list ---- */
.rules2-list {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-7);
  max-width: 84ch;
}
.rules2-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-4);
  align-items: start;
}
.rules2-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-day);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}
.rules2-item p {
  color: var(--color-ink-soft);
  line-height: var(--lh-relaxed);
  padding-top: 6px;
}
.rules2-item strong {
  color: var(--color-ink);
}

/* ---- Nội quy + Hành trang: side-by-side row ---- */
.prep-row {
  display: grid;
  gap: var(--space-9);
}
@media (min-width: 900px) {
  .prep-row {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}
.rules2-list,
.pack-list {
  max-width: none;
}

/* ---- Section header freeform variant ---- */
.section2__head {
  display: grid;
  gap: var(--space-3);
  max-width: 66ch;
  margin-bottom: var(--space-3);
}
/* ---- Section header freeform variant ---- */
.footer {
  background: var(--color-forest-dark);
}
.footer__bar {
  color: rgba(236, 228, 214, 1);
}

.footer__col h4,
.footer__list svg {
  color: var(--color-accent);
}
