/* ==========================================================================
   Spiti Horizon Homestay & Tours - Kaza, Spiti Valley
   Responsive Multi-Page Stylesheet
   ========================================================================== */

:root {
  --primary: #14365D;        /* Deep Himalayan Slate Blue */
  --primary-dark: #0B213A;
  --accent: #C85A32;         /* Spiti Monastery Terracotta */
  --accent-hover: #A84623;
  --gold: #D98A2B;           /* Prayer Flag Saffron Gold */
  --bg-light: #F8F7F4;       /* Warm Stone Off-White */
  --bg-white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #5A6778;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(15, 35, 60, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 35, 60, 0.10);
  --shadow-lg: 0 16px 36px rgba(15, 35, 60, 0.14);
  --radius: 12px;
  --transition: all 0.28s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 92%;
  max-width: 1220px;
  margin: 0 auto;
}

/* Top Info Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #E2E8F0;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left span,
.top-bar-right a {
  margin-right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-right a:last-child {
  margin-right: 0;
}

.top-bar-right a:hover {
  color: var(--gold);
}

/* Header & Navigation */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(11, 33, 58, 0.07);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  gap: 1rem;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.04);
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-text span {
  display: block;
  font-size: 0.68rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.2rem;
  background: #F1F5F9;
  padding: 0.3rem;
  border-radius: 50px;
  border: 1px solid #E2E8F0;
}

.nav-menu li {
  flex-shrink: 0;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.78rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 50px;
  white-space: nowrap;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a .nav-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.nav-menu a:hover {
  color: var(--primary);
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(15, 35, 60, 0.06);
}

.nav-menu a.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary), #1E4E84);
  box-shadow: 0 3px 10px rgba(20, 54, 93, 0.25);
}

.nav-menu a.btn-nav {
  background: linear-gradient(135deg, var(--accent), #E06D44);
  color: #FFFFFF;
  margin-left: 0.25rem;
  padding: 0.48rem 1rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(200, 90, 50, 0.28);
}

.nav-menu a.btn-nav:hover,
.nav-menu a.btn-nav.active {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(200, 90, 50, 0.36);
}

.hamburger {
  display: none;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  cursor: pointer;
  padding: 0.45rem 0.55rem;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.65rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background-color: #FFFFFF;
  color: var(--primary);
}

.btn-outline-dark {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-dark:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}

/* Hero Slider (Home Page) */
.hero-slider {
  position: relative;
  height: 78vh;
  min-height: 520px;
  max-height: 760px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48);
  transform: scale(1.03);
  transition: transform 6s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 720px;
}

.badge-pill {
  display: inline-block;
  background: rgba(217, 138, 43, 0.92);
  color: #FFFFFF;
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.slide-content h2 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.slide-content p {
  font-size: 1.12rem;
  color: #F1F5F9;
  margin-bottom: 1.8rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.slider-controls {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  width: 28px;
  border-radius: 10px;
}

/* Page Banner (Inner Pages) */
.page-banner {
  background: linear-gradient(135deg, rgba(11, 33, 58, 0.90), rgba(20, 54, 93, 0.82)),
              url('../images/lounge-1.jpg') center/cover no-repeat;
  color: #FFFFFF;
  padding: 4.5rem 0 4rem;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.page-banner p {
  font-size: 1.08rem;
  color: #E2E8F0;
  max-width: 660px;
  margin: 0 auto 1.2rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem 1rem;
  border-radius: 50px;
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* Section Styling */
.section {
  padding: 4.75rem 0;
}

.section-alt {
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.4rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Highlights Strip */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: -3rem;
  position: relative;
  z-index: 15;
}

.highlight-card {
  background: var(--bg-white);
  padding: 1.65rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--accent);
  text-align: center;
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 0.65rem;
}

.highlight-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Two-Column Split */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.split-image img {
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.split-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--primary);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
}

.split-content h3 {
  font-size: 1.85rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.split-content p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.4rem 0 1.8rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-dark);
}

.feature-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(200, 90, 50, 0.14);
  color: var(--accent);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Cards Grid (Rooms, Packages, Circuits) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: #FFFFFF;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

.card-body {
  padding: 1.65rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.price small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Itinerary / Route Timeline */
.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.route-card {
  background: var(--bg-white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border-left: 5px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.route-card h4 {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.route-card h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.route-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Gallery Grid & Lightbox */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.2rem;
}

.filter-btn {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.35rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(11, 33, 58, 0.9));
  color: #FFFFFF;
  padding: 1.5rem 1rem 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 33, 58, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 920px;
  width: 100%;
  text-align: center;
  position: relative;
}

.lightbox-inner img {
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #FFFFFF;
  margin-top: 0.9rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
}

/* Tables (Tariffs & Permits) */
.table-wrap {
  overflow-x: auto;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background-color: #F8FAFC;
}

/* Forms (Booking & Contact) */
.form-card {
  background: var(--bg-white);
  padding: 2.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 0.95rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 54, 93, 0.12);
}

.form-alert {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-weight: 600;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.cta-banner p {
  max-width: 620px;
  margin: 0 auto 1.8rem;
  color: #E2E8F0;
}

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: #CBD5E1;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.08rem;
  margin-bottom: 1.1rem;
  position: relative;
}

.footer-col p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1120px) {
  .nav-menu a {
    padding: 0.42rem 0.62rem;
    font-size: 0.8rem;
  }
  .brand-text span {
    display: none;
  }
}

@media (max-width: 940px) {
  .hamburger {
    display: flex;
  }
  .brand-text span {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: 0 0 16px 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.4rem;
    gap: 0.35rem;
    box-shadow: var(--shadow-lg);
    border: none;
    border-top: 1px solid var(--border-color);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    padding: 0.7rem 1rem;
    font-size: 0.94rem;
    border-radius: 10px;
  }
  .nav-menu a.btn-nav {
    margin-left: 0;
    margin-top: 0.4rem;
    justify-content: center;
  }
  .highlights-grid {
    margin-top: 1.5rem;
  }
}

@media (max-width: 600px) {
  .form-grid,
  .feature-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }
}
