/* ============================================================
   GEETA COTTAGE — COMPONENTS CSS
   Reusable UI components across all pages
   ============================================================ */

/* ─── HERO SLIDER (Homepage) ─── */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 7s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,24,10,0.55) 0%,
    rgba(28,43,26,0.35) 50%,
    rgba(46,74,43,0.15) 100%
  );
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  padding-top: var(--nav-height);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(232,201,110,0.35);
  padding: 8px 24px;
  border-radius: 20px;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.04);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 900px;
}
.hero-title em { font-style: italic; color: var(--amber); }
.hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 44px;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: var(--gold); width: 24px; }

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  right: 5%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.hero-scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.35));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Quick-stats bar */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 3;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
}
.hero-stat {
  flex: 1;
  padding: 20px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .h-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
}
.hero-stat .h-lbl {
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* ─── ATTRACTION CARD ─── */
.attr-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--snow);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.attr-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.attr-img-wrap { position: relative; overflow: hidden; }
.attr-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.attr-card:hover .attr-img { transform: scale(1.06); }
.attr-dist-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(6px);
  color: var(--amber);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 12px;
}
.attr-type-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 18px 12px;
  background: linear-gradient(to top, rgba(14,26,13,0.88) 0%, transparent 100%);
}
.attr-type-tag span {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
}
.attr-body { padding: 22px 22px 26px; }
.attr-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 10px;
  line-height: 1.3;
}
.attr-body p { font-size: 0.84rem; color: var(--text-light); line-height: 1.75; }
.attr-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--mist);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.attr-footer a {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  transition: color 0.2s;
}
.attr-footer a:hover { color: var(--forest); }

/* ─── ROOM CARD ─── */
.room-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--mist);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.room-img-wrap { position: relative; overflow: hidden; }
.room-img { width: 100%; height: 250px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.room-card:hover .room-img { transform: scale(1.04); }
.room-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--forest);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 12px;
}
.room-body { padding: 28px; }
.room-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 12px;
}
.room-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.room-feat {
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 13px;
  border: 1px solid var(--mist);
  color: var(--text-light);
  border-radius: 12px;
}
.room-body p { font-size: 0.87rem; color: var(--text-light); line-height: 1.75; margin-bottom: 22px; }
.room-price-row { display: flex; align-items: center; justify-content: space-between; }
.room-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--forest);
  font-weight: 600;
}
.room-price small { font-family: 'Inter', sans-serif; font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }

/* ─── TESTIMONIAL CARD ─── */
.test-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mist);
  position: relative;
  transition: var(--transition);
}
.test-card:hover { box-shadow: var(--shadow-md); }
.test-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--mist);
  line-height: 0.7;
  position: absolute;
  top: 24px; left: 28px;
  pointer-events: none;
}
.test-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 20px; letter-spacing: 2px; }
.test-text {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-light);
  font-style: italic;
  margin-top: 16px;
  margin-bottom: 24px;
}
.test-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--mist); }
.test-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--mist);
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.test-name { font-weight: 600; font-size: 0.9rem; color: var(--forest); }
.test-loc { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 1px; margin-top: 2px; }

/* ─── FACILITY CARD ─── */
.fac-card {
  padding: 32px 24px;
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  background: var(--white);
  cursor: default;
}
.fac-card:hover { border-color: var(--sage); background: var(--snow); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.fac-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.fac-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--forest);
  margin-bottom: 8px;
}
.fac-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.65; }

/* ─── ACTIVITY CARD ─── */
.act-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.act-card:hover { background: rgba(255,255,255,0.1); }
.act-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.act-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 8px;
}
.act-card p { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* ─── CONTACT FORM ─── */
.enquiry-form {
  background: var(--forest);
  padding: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--pine);
  color-scheme: dark;
}
.enquiry-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: white;
  margin-bottom: 8px;
}
.enquiry-form .sub { font-size: 0.84rem; color: rgba(255,255,255,0.45); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 13px 16px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--forest); color: white; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--forest);
  border: none;
  padding: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  margin-top: 8px;
}
.form-submit:hover { background: var(--amber); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: rgba(46,125,50,0.15);
  border: 1px solid rgba(46,125,50,0.3);
  border-radius: var(--radius-sm);
  color: #81C784;
  font-size: 0.9rem;
}

/* ─── STATS COUNTER ─── */
.stats-strip {
  background: var(--forest);
  padding: 56px 5%;
}
.stats-strip-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  background: var(--forest);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  display: block;
}
.stat-lbl {
  font-size: 0.62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
  display: block;
}

/* ─── IMAGE GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  min-height: 200px;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:nth-child(1), .gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item img:nth-child(1) { min-height: 320px; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,26,13,0);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 1.5rem;
  color: white;
  opacity: 0;
}
.gallery-item:hover .gallery-overlay { background: rgba(14,26,13,0.45); opacity: 1; }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: white; font-size: 2rem;
  cursor: pointer; opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* ─── TARIFF TABLE ─── */
.tariff-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tariff-table thead { background: var(--forest); }
.tariff-table th {
  padding: 18px 22px;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.tariff-table th:first-child { color: white; }
.tariff-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--mist);
  font-size: 0.9rem;
  background: white;
}
.tariff-table tr:nth-child(even) td { background: var(--snow); }
.tariff-table tr:hover td { background: rgba(107,140,94,0.08); }
.tariff-table .price-val { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--forest); font-weight: 600; }
.plan-sub { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 1px; display: block; font-family: 'Inter', sans-serif; font-weight: 400; margin-top: 2px; }

/* Cancellation table */
.cancel-table { width: 100%; border-collapse: collapse; margin-top: 36px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.cancel-table thead { background: var(--pine); }
.cancel-table th { padding: 15px 22px; text-align: left; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); font-weight: 500; }
.cancel-table td { padding: 14px 22px; border-bottom: 1px solid var(--mist); font-size: 0.88rem; background: white; }
.cancel-table tr:nth-child(even) td { background: var(--snow); }
.refund-full { color: #2E7D32; font-weight: 600; }
.refund-partial { color: #E65100; font-weight: 600; }
.refund-none { color: #C62828; font-weight: 600; }

/* ─── WORK IN MOUNTAINS — Special ─── */
.wim-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-height) 5% 80px;
}
.wim-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,20,8,0.9) 0%, rgba(28,43,26,0.65) 60%, rgba(46,74,43,0.4) 100%),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1920&q=80') center/cover;
}
.wim-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--amber);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.wim-perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.wim-perk {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.wim-perk:hover { background: rgba(255,255,255,0.1); border-color: rgba(201,168,76,0.3); }
.wim-perk-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.wim-perk h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: white; margin-bottom: 8px; }
.wim-perk p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.wim-speed-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.25);
  color: #81C784;
  font-size: 0.72rem;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 12px;
  margin-top: 12px;
}

/* ─── INFO BOXES ─── */
.info-box {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border-left: 3px solid;
  font-size: 0.85rem;
  line-height: 1.75;
}
.info-box-gold { background: rgba(201,168,76,0.08); border-color: var(--gold); color: var(--text-light); }
.info-box-sage { background: rgba(107,140,94,0.08); border-color: var(--sage); color: var(--text-light); }
.info-box-forest { background: rgba(28,43,26,0.06); border-color: var(--forest); color: var(--text-light); }

/* ─── RESPONSIVE COMPONENTS ─── */
@media (max-width: 768px) {
  .hero-stats-bar { display: none; }
  .wim-perks-grid { grid-template-columns: 1fr; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .enquiry-form { padding: 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 480px) {
  .stats-strip-inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(5) { grid-column: span 1; }
}
