/* ═══════════════════════════════════════════════
   Ringchan Tours – Header & Footer  |  v2.0.0
   All design tokens via CSS custom properties.
═══════════════════════════════════════════════ */

:root {
  --rchf-font            : 'Montserrat', sans-serif;
  --rchf-ease            : cubic-bezier(0.25, 0.8, 0.25, 1);
  --rchf-amber           : #ffbe0f;

  /* Header defaults */
  --rchf-hdr-bg          : #ffffff;
  --rchf-hdr-bg-scrolled : #ffffff;
  --rchf-hdr-radius      : 18px;
  --rchf-nav-color       : #111111;
  --rchf-nav-hover       : #ffbe0f;
  --rchf-btn-color       : #111111;
  --rchf-btn-border      : #222222;
  --rchf-btn-hover-bg    : #ffbe0f;
  --rchf-btn-hover-text  : #ffffff;
  --rchf-hamburger       : #222222;
  --rchf-fz-nav          : 15px;
  --rchf-fw-nav          : 500;

  /* Footer defaults */
  --rchf-ftr-bg          : #000000;
  --rchf-ftr-card-bg     : #111111;
  --rchf-ftr-card-radius : 16px;
  --rchf-ftr-text        : #ffffff;
  --rchf-ftr-muted       : rgba(255,255,255,0.55);
  --rchf-ftr-accent      : #ffbe0f;
  --rchf-ftr-link        : rgba(255,255,255,0.6);
  --rchf-ftr-link-hover  : #ffbe0f;
  --rchf-ftr-soc-border  : rgba(255,255,255,0.2);
  --rchf-ftr-soc-hover   : #ffbe0f;
  --rchf-ftr-input-bg    : rgba(255,255,255,0.07);
  --rchf-ftr-input-bdr   : rgba(255,255,255,0.15);
  --rchf-ftr-btn-bg      : #ffbe0f;
  --rchf-ftr-divider     : rgba(255,255,255,0.1);
  --rchf-ftr-copy        : rgba(255,255,255,0.35);
  --rchf-fz-footer-body  : 14px;
  --rchf-fz-footer-title : 13px;
  --rchf-fw-footer-title : 600;
}

.rt-header *, .rt-footer * { box-sizing: border-box; }

/* ═══════════════════════════════════════════════
   HEADER — no design change, colors dynamic
═══════════════════════════════════════════════ */
.rt-header {
  position      : fixed;
  top           : 15px;
  left          : 20px;
  right         : 20px;
  z-index       : 99999;
  background    : var(--rchf-hdr-bg);
  border-radius : var(--rchf-hdr-radius);
  box-shadow    : 0 4px 28px rgba(10,9,3,.12);
  transition    : top .35s var(--rchf-ease), box-shadow .35s var(--rchf-ease), background .35s;
}

.rt-header.scrolled {
  top        : 10px;
  background : var(--rchf-hdr-bg-scrolled);
  box-shadow : 0 6px 36px rgba(10,9,3,.18);
}

.rt-header__inner {
  padding         : 10px 28px;
  display         : flex;
  align-items     : center;
  justify-content : space-between;
  gap             : 16px;
}

/* Logo */
.rt-logo { display: flex; align-items: center; gap: 6px; text-decoration: none; flex-shrink: 0; }

/* Desktop Nav */
.rt-nav { display: flex; align-items: center; gap: 28px; flex-wrap: nowrap; }

.rt-nav__link {
  font-family    : var(--rchf-font);
  font-size      : var(--rchf-fz-nav);
  font-weight    : var(--rchf-fw-nav);
  letter-spacing : .03em;
  color          : var(--rchf-nav-color) !important;
  text-decoration: none;
  position       : relative;
  padding-bottom : 3px;
  white-space    : nowrap;
  transition     : color .25s;
}

.rt-nav__link::after {
  content    : '';
  position   : absolute;
  bottom     : 0;
  left       : 0;
  width      : 0;
  height     : 1.5px;
  background : var(--rchf-nav-hover);
  transition : width .25s ease;
}

.rt-nav__link:hover,
.rt-nav__link:focus-visible { color: var(--rchf-nav-hover) !important; }
.rt-nav__link:hover::after  { width: 100%; }

/* Plan Trip button */
.rt-btn-plan {
  font-family    : var(--rchf-font);
  font-size      : .9rem;
  font-weight    : 500;
  letter-spacing : .07em;
  text-decoration: none;
  padding        : 7px 20px;
  border         : 1.5px solid var(--rchf-btn-border);
  border-radius  : 50px;
  color          : var(--rchf-btn-color) !important;
  background     : transparent;
  white-space    : nowrap;
  display        : inline-block;
  transition     : background .25s, color .25s, border-color .25s;
}

.rt-btn-plan:hover,
.rt-btn-plan:focus-visible {
  background   : var(--rchf-btn-hover-bg) !important;
  border-color : var(--rchf-btn-hover-bg) !important;
  color        : var(--rchf-btn-hover-text) !important;
}

/* Hamburger */
.rt-hamburger {
  display         : none;
  flex-direction  : column;
  justify-content : center;
  align-items     : center;
  gap             : 5px;
  width           : 38px;
  height          : 38px;
  background      : none;
  border          : none;
  cursor          : pointer;
  padding         : 4px;
  flex-shrink     : 0;
  border-radius   : 8px;
  transition      : background .2s;
}

.rt-hamburger:hover { background: rgba(0,0,0,.05); }

.rt-hamburger span {
  display       : block;
  width         : 22px;
  height        : 2px;
  background    : var(--rchf-hamburger);
  border-radius : 2px;
  transition    : transform .35s var(--rchf-ease), opacity .3s;
}

.rt-header.menu-open .rt-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rt-header.menu-open .rt-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.rt-header.menu-open .rt-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.rt-mobile-nav {
  display        : none;
  flex-direction : column;
  gap            : 0;
  border-top     : 1px solid rgba(0,0,0,.07);
  padding        : 0;
  overflow       : hidden;
}

.rt-header.menu-open .rt-mobile-nav { display: flex; }

.rt-mobile-nav .rt-nav__link {
  display      : block;
  padding      : 12px 24px;
  font-size    : 1rem;
  border-radius: 0;
  white-space  : normal;
}

.rt-mobile-nav .rt-btn-plan {
  display      : block;
  margin       : 10px 20px 14px;
  padding      : 10px 20px;
  text-align   : center;
  border-radius: 50px;
}

/* ═══════════════════════════════════════════════
   FOOTER — minimal card design
═══════════════════════════════════════════════ */

/* Outer shell — page-wide background */
.rt-footer {
  background  : white;
  font-family : var(--rchf-font);
  color       : var(--rchf-ftr-text);
  padding     : 24px 20px;
}

/* Rounded card wrapper */
.rt-footer__wrap {
  max-width : none;
  margin    : 0 10px;
}

.rt-footer__card {
  background    : var(--rchf-ftr-card-bg);
  border-radius : var(--rchf-ftr-card-radius);
  overflow      : hidden;
}

/* 4-column grid inside card */
.rt-footer__top {
  display               : grid;
  grid-template-columns : 2fr 1.2fr 1.6fr 1.6fr;
  gap                   : 40px;
  padding               : 52px 48px 44px;
}

/* Brand column */
.rt-footer__brand {}
.rt-footer__logo  { display: inline-block; margin-bottom: 18px; text-decoration: none; }

.rt-footer__tagline {
  font-size   : var(--rchf-fz-footer-body);
  font-weight : 300;
  line-height : 1.75;
  color       : var(--rchf-ftr-muted);
  margin      : 0 0 22px;
  max-width   : 270px;
}

.rt-footer__socials { display: flex; gap: 10px; flex-wrap: wrap; }

.rt-footer__social {
  width           : 36px;
  height          : 36px;
  border          : 1px solid var(--rchf-ftr-soc-border);
  border-radius   : 50%;
  display         : flex;
  align-items     : center;
  justify-content : center;
  color           : var(--rchf-ftr-muted);
  text-decoration : none;
  flex-shrink     : 0;
  transition      : border-color .25s, color .25s, background .25s;
}

.rt-footer__social:hover {
  border-color : var(--rchf-ftr-soc-hover);
  color        : var(--rchf-ftr-soc-hover);
  background   : rgba(255,190,15,.07);
}

.rt-footer__social svg { width: 15px; height: 15px; }

/* Columns */
.rt-footer__col {}

.rt-footer__col-title {
  font-size      : var(--rchf-fz-footer-title);
  font-weight    : var(--rchf-fw-footer-title);
  letter-spacing : .12em;
  text-transform : uppercase;
  color          : var(--rchf-ftr-text);
  margin         : 0 0 18px;
}

.rt-footer__col-title::after {
  content    : '';
  display    : block;
  width      : 22px;
  height     : 2px;
  background : var(--rchf-ftr-accent);
  margin-top : 7px;
}

/* Quick links */
.rt-footer__links {
  list-style     : none;
  display        : flex;
  flex-direction : column;
  gap            : 10px;
  padding        : 0;
  margin         : 0;
}

.rt-footer__links a {
  font-family    : var(--rchf-font);
  font-size      : var(--rchf-fz-footer-body);
  font-weight    : 400;
  color          : var(--rchf-ftr-link);
  text-decoration: none;
  display        : inline-block;
  transition     : color .22s, padding-left .22s;
}

.rt-footer__links a:hover {
  color        : var(--rchf-ftr-link-hover);
  padding-left : 5px;
}

/* Contact list */
.rt-footer__contact {
  list-style     : none;
  display        : flex;
  flex-direction : column;
  gap            : 14px;
  padding        : 0;
  margin         : 0;
}

.rt-footer__contact li {
  display     : flex;
  align-items : flex-start;
  gap         : 10px;
  font-size   : var(--rchf-fz-footer-body);
  font-weight : 300;
  color       : var(--rchf-ftr-muted);
  line-height : 1.55;
}

.rt-footer__ci {
  width       : 15px;
  height      : 15px;
  flex-shrink : 0;
  margin-top  : 2px;
  color       : var(--rchf-ftr-accent);
  fill        : none;
  stroke      : currentColor;
  stroke-width: 2;
}

.rt-footer__contact a {
  color          : var(--rchf-ftr-muted);
  text-decoration: none;
  transition     : color .22s;
}
.rt-footer__contact a:hover { color: var(--rchf-ftr-link-hover); }

/* Newsletter */
.rt-footer__sub-text {
  font-size   : var(--rchf-fz-footer-body);
  font-weight : 300;
  line-height : 1.7;
  color       : var(--rchf-ftr-muted);
  margin      : 0 0 16px;
}

.rt-footer__sub-form { display: flex; }

.rt-footer__sub-input {
  flex          : 1;
  min-width     : 0;
  padding       : 9px 14px;
  background    : var(--rchf-ftr-input-bg);
  border        : 1px solid var(--rchf-ftr-input-bdr);
  border-right  : none;
  border-radius : 6px 0 0 6px;
  font-family   : var(--rchf-font);
  font-size     : var(--rchf-fz-footer-body);
  color         : var(--rchf-ftr-text);
  outline       : none;
  transition    : border-color .25s;
}

.rt-footer__sub-input::placeholder { color: rgba(255,255,255,.28); }
.rt-footer__sub-input:focus        { border-color: var(--rchf-ftr-accent); }

.rt-footer__sub-btn {
  padding         : 9px 14px;
  background      : var(--rchf-ftr-btn-bg);
  border          : 1px solid var(--rchf-ftr-btn-bg);
  border-radius   : 0 6px 6px 0;
  cursor          : pointer;
  flex-shrink     : 0;
  display         : flex;
  align-items     : center;
  justify-content : center;
  transition      : opacity .2s;
}

.rt-footer__sub-btn:hover { opacity: .85; }
.rt-footer__sub-btn svg  { width: 14px; height: 14px; fill: #000; stroke: none; }

/* Bottom bar */
.rt-footer__bottom {
  border-top : 1px solid var(--rchf-ftr-divider);
  padding    : 16px 48px;
  text-align : center;
}

.rt-footer__copy {
  font-size      : .8rem;
  font-weight    : 300;
  letter-spacing : .05em;
  color          : var(--rchf-ftr-copy);
  margin         : 0;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .rt-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 44px 36px 36px; }
}

@media (max-width: 900px) {
  .rt-header__inner { padding: 10px 20px; }
  .rt-nav           { gap: 16px; }
  .rt-header        { left: 14px; right: 14px; }
  .rt-footer        { padding: 16px 14px; }
  .rt-footer__bottom{ padding: 14px 32px; }
}

@media (max-width: 768px) {
  .rt-nav         { display: none; }
  .rt-hamburger   { display: flex; }
  .rt-header      { left: 12px; right: 12px; border-radius: 14px; }
  .rt-footer__top { grid-template-columns: 1fr 1fr; gap: 24px; padding: 36px 24px 28px; }
}

@media (max-width: 560px) {
  .rt-header       { left: 8px; right: 8px; top: 6px; border-radius: 12px; }
  .rt-header__inner{ padding: 8px 16px; }
  .rt-footer       { padding: 12px 10px; }
  .rt-footer__top  { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
  .rt-footer__tagline { max-width: 100%; }
  .rt-footer__bottom  { padding: 14px 20px; }
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .rt-header,
  .rt-nav__link,
  .rt-btn-plan,
  .rt-footer__links a,
  .rt-footer__social { transition: none; }
}
