/* =====================================================
   SILIGURI ROOMS — COMPLETE DESIGN SYSTEM CSS v2.0
   Vibrant, professional, zero-overflow, fully responsive
   ===================================================== */

/* ── Custom Properties ── */
:root {
  --srr-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --srr-primary:       #2563eb;
  --srr-primary-dark:  #1d4ed8;
  --srr-primary-light: #eff6ff;
  --srr-secondary:     #059669;
  --srr-secondary-dark:#047857;
  --srr-secondary-light:#ecfdf5;
  --srr-accent:        #f59e0b;
  --srr-accent-dark:   #d97706;
  --srr-accent-light:  #fffbeb;
  --srr-danger:        #dc2626;
  --srr-danger-light:  #fef2f2;

  --srr-bg:        #f1f5f9;
  --srr-card-bg:   #ffffff;
  --srr-border:    #e2e8f0;
  --srr-text:      #0f172a;
  --srr-muted:     #64748b;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-full:9999px;

  --shadow-xs: 0 1px 3px rgba(15,23,42,.06);
  --shadow-sm: 0 2px 8px rgba(15,23,42,.07);
  --shadow-md: 0 6px 20px rgba(15,23,42,.10);
  --shadow-lg: 0 16px 40px rgba(15,23,42,.14);

  --ease: all .22s cubic-bezier(.4,0,.2,1);

  /* backward-compat aliases */
  --srr-text-main:   var(--srr-text);
  --srr-text-muted:  var(--srr-muted);
  --srr-radius-sm:   var(--r-sm);
  --srr-radius-md:   var(--r-md);
  --srr-radius-full: var(--r-full);
  --srr-shadow-sm:   var(--shadow-sm);
  --srr-shadow-md:   var(--shadow-md);
  --srr-shadow-lg:   var(--shadow-lg);
  --srr-transition:  var(--ease);
}

/* ── Global Resets ── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--srr-font);
  font-size: 15px;
  line-height: 1.65;
  background: var(--srr-bg);
  color: var(--srr-text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--srr-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── Container ── */
.srr-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Two-Col Layout ── */
.srr-main-layout { display: grid; grid-template-columns: 1fr; gap: 22px; }

@media(min-width:992px){
  .srr-main-layout.has-sidebar { grid-template-columns: 1fr 320px; gap: 32px; }
}

/* ════════════════════════════════════════
   TOP BAR
════════════════════════════════════════ */
.srr-top-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 12px;
  padding: 7px 0;
}
.srr-top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.srr-top-meta { display: none; gap: 18px; }
@media(min-width:600px){ .srr-top-meta { display: flex; } }

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.srr-site-header {
  background: #fff;
  border-bottom: 1px solid var(--srr-border);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
  width: 100%;
}

.srr-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  gap: 14px;
}

.srr-logo {
  font-size: 22px; font-weight: 800;
  color: var(--srr-text); letter-spacing: -.02em;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; text-decoration: none;
}
.srr-logo:hover { text-decoration: none; }
.srr-accent-txt { color: var(--srr-primary); }

/* Desktop nav */
.srr-desktop-nav { display: none; }
@media(min-width:900px){ .srr-desktop-nav { display: block; } }

.srr-nav-menu, .main-navigation ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important; padding: 0 !important;
  display: flex; gap: 2px;
}
.srr-nav-menu li, .main-navigation ul li { list-style: none; }
.srr-nav-menu a, .main-navigation ul li a {
  display: block;
  color: var(--srr-text); font-weight: 600; font-size: 14px;
  padding: 8px 13px; border-radius: var(--r-sm);
  white-space: nowrap; transition: var(--ease);
}
.srr-nav-menu a:hover, .main-navigation ul li a:hover {
  background: var(--srr-primary-light);
  color: var(--srr-primary);
  text-decoration: none;
}

/* Header actions */
.srr-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.srr-header-btn     { padding: 9px 18px; font-size: 13px; white-space: nowrap; }

/* Hamburger */
.srr-mobile-toggle-btn {
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; border: 1px solid var(--srr-border);
  border-radius: var(--r-sm); padding: 8px 11px;
  font-size: 20px; cursor: pointer; color: var(--srr-text);
  transition: var(--ease);
}
.srr-mobile-toggle-btn:hover { background: var(--srr-primary-light); }
@media(min-width:900px){ .srr-mobile-toggle-btn { display: none; } }

/* Mobile drawer */
.srr-mobile-drawer {
  display: none !important;
  background: #fff;
  border-top: 1px solid var(--srr-border);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
}
.srr-mobile-drawer.is-open { display: block !important; }

.srr-mobile-menu {
  list-style: none !important;
  margin: 0 !important; padding: 0 !important;
  display: flex; flex-direction: column; gap: 8px;
}
.srr-mobile-menu li { list-style: none; }
.srr-mobile-menu a {
  display: block; padding: 11px 16px;
  background: #f8fafc; border: 1px solid var(--srr-border);
  border-radius: var(--r-sm); font-weight: 700; font-size: 14px;
  color: var(--srr-text); transition: var(--ease);
}
.srr-mobile-menu a:hover { background: var(--srr-primary-light); color: var(--srr-primary); text-decoration: none; }

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.srr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: var(--r-sm);
  font-family: var(--srr-font); font-weight: 700; font-size: 14px;
  cursor: pointer; border: none; transition: var(--ease);
  text-align: center; white-space: nowrap; line-height: 1;
  text-decoration: none;
}
.srr-btn:hover { text-decoration: none; }

.srr-btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,.30);
}
.srr-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 18px rgba(37,99,235,.40);
  transform: translateY(-1px);
  color: #fff;
}

.srr-btn-secondary {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  box-shadow: 0 4px 12px rgba(5,150,105,.28);
}
.srr-btn-secondary:hover {
  background: linear-gradient(135deg, #047857, #065f46);
  color: #fff; transform: translateY(-1px);
}

.srr-btn-outline {
  background: transparent;
  border: 2px solid var(--srr-primary);
  color: var(--srr-primary);
}
.srr-btn-outline:hover { background: var(--srr-primary-light); }

.srr-btn-accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 4px 12px rgba(245,158,11,.30);
}

/* ════════════════════════════════════════
   FORM ELEMENTS
════════════════════════════════════════ */
.srr-form-group { display: flex; flex-direction: column; }
.srr-form-group label {
  font-size: 11px; font-weight: 700;
  color: var(--srr-muted); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 5px;
}
.srr-form-group input,
.srr-form-group select,
.srr-form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--srr-border); border-radius: var(--r-sm);
  font-family: var(--srr-font); font-size: 14px; color: var(--srr-text);
  background: #fff; transition: var(--ease);
}
.srr-form-group input:focus,
.srr-form-group select:focus,
.srr-form-group textarea:focus {
  outline: none;
  border-color: var(--srr-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.srr-hero {
  background:
    linear-gradient(135deg, rgba(15,23,42,.92) 0%, rgba(30,58,138,.85) 100%),
    url('../images/hero-bg.png') center/cover no-repeat;
  color: #fff;
  padding: 72px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.srr-hero h1 {
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 900; letter-spacing: -.025em;
  margin: 0 0 16px; line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.srr-hero > .srr-container > p {
  font-size: 17px; color: #cbd5e1;
  max-width: 660px; margin: 0 auto 36px;
}

/* Search box inside hero */
.srr-search-box {
  background: #fff; border-radius: var(--r-md);
  padding: 22px; box-shadow: var(--shadow-lg);
  max-width: 940px; margin: 0 auto;
}
.srr-search-form {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media(min-width:760px){
  .srr-search-form { grid-template-columns: 1.6fr 1fr 1fr auto; align-items: end; }
}

/* ════════════════════════════════════════
   AREA CARDS (Popular Cities Section)
════════════════════════════════════════ */
.srr-area-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media(min-width:480px){
  .srr-area-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(min-width:768px){
  .srr-area-cards-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
@media(min-width:1024px){
  .srr-area-cards-grid { grid-template-columns: repeat(5, 1fr); }
}

.srr-area-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 22px 12px;
  background: #fff; border: 1.5px solid var(--srr-border);
  border-radius: var(--r-md); text-align: center;
  transition: var(--ease); text-decoration: none;
  color: var(--srr-text);
  box-shadow: var(--shadow-xs);
}
.srr-area-card:hover {
  border-color: var(--srr-primary);
  background: var(--srr-primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--srr-primary);
}
.srr-area-icon {
  font-size: 28px; line-height: 1;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--srr-primary-light);
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.srr-area-card:hover .srr-area-icon { background: var(--srr-primary); }
.srr-area-card h3 {
  font-size: 14px; font-weight: 700;
  margin: 0; line-height: 1.3; word-break: break-word;
}
.srr-area-card span {
  font-size: 12px; color: var(--srr-muted);
  font-weight: 500;
}
.srr-area-card:hover span { color: var(--srr-primary-dark); }

/* ════════════════════════════════════════
   ROOM CARD
════════════════════════════════════════ */
.srr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.srr-room-card {
  background: #fff; border: 1px solid var(--srr-border);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--ease);
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--srr-text);
}
.srr-room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe;
  text-decoration: none;
}

.srr-card-media {
  position: relative; width: 100%; aspect-ratio: 4/3;
  overflow: hidden; background: #e2e8f0;
}
.srr-card-media img { width: 100%; height: 100%; object-fit: cover; }

.srr-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.srr-card-title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; word-wrap: break-word; }
.srr-card-title a { color: var(--srr-text); }

.srr-card-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--srr-border);
  background: #fafafa;
}

/* Badge */
.srr-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: var(--r-full);
}

/* ════════════════════════════════════════
   SINGLE ROOM PAGE
════════════════════════════════════════ */
.srr-single-room-container { padding-top: 24px; padding-bottom: 100px; }

/* Gallery */
.srr-gallery-grid { display: grid; gap: 8px; margin-bottom: 26px; }
.srr-gallery-main img {
  width: 100%; border-radius: var(--r-md); aspect-ratio: 16/9;
  object-fit: cover; cursor: zoom-in;
}
.srr-gallery-thumbs {
  display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto;
}
.srr-gallery-thumbs img {
  width: 80px; height: 60px; object-fit: cover;
  border-radius: var(--r-sm); cursor: pointer; flex-shrink: 0;
  border: 2px solid transparent; transition: var(--ease);
}
.srr-gallery-thumbs img:hover { border-color: var(--srr-primary); }

@media(min-width:760px){
  .srr-gallery-grid { grid-template-columns: 1fr 90px; }
  .srr-gallery-main img { aspect-ratio: 4/3; }
  .srr-gallery-thumbs { flex-direction: column; flex-wrap: nowrap; gap: 8px; overflow-y: auto; max-height: 320px; }
  .srr-gallery-thumbs img { width: 82px; height: 64px; }
}

/* Single section cards */
.srr-single-card {
  background: #fff; border: 1px solid var(--srr-border);
  border-radius: var(--r-md); padding: 22px; margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
  max-width: 100%; overflow: hidden; word-wrap: break-word;
}
.srr-single-card h2 {
  font-size: 17px; font-weight: 800; color: var(--srr-text);
  margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--srr-border);
  display: flex; align-items: center; gap: 8px;
}
.srr-single-card h3 {
  font-size: 15px; font-weight: 700;
  margin: 0 0 10px;
}

/* Price chips */
.srr-price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px;
}
.srr-price-chip {
  border-radius: 10px; padding: 14px 10px; text-align: center; border: 1px solid;
}
.srr-price-chip strong { font-size: 22px; font-weight: 900; display: block; }
.srr-price-chip small { font-size: 11px; font-weight: 600; text-transform: uppercase; }

/* Facility chips */
.srr-fac-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px;
}
.srr-fac-chip {
  background: #f8fafc; border: 1px solid var(--srr-border);
  padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 7px;
  word-wrap: break-word;
}
.srr-fac-chip span.tick { color: var(--srr-secondary); font-weight: 900; }

/* Privacy note */
.srr-privacy-note {
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-size: 12px; line-height: 1.5; margin-bottom: 16px;
}

/* Enquiry sidebar card */
.srr-enquiry-card {
  background: #fff; border: 2px solid var(--srr-primary);
  border-radius: var(--r-md); padding: 22px;
  box-shadow: var(--shadow-md); position: sticky; top: 90px;
}
.srr-enquiry-card h3 {
  font-size: 18px; font-weight: 800; margin: 0 0 14px; color: var(--srr-text);
}

/* ════════════════════════════════════════
   STICKY MOBILE CTA BAR
════════════════════════════════════════ */
.srr-mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 2px solid var(--srr-primary);
  padding: 10px 20px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(15,23,42,.12);
}
@media(min-width:992px){ .srr-mobile-cta-bar { display: none; } }

.srr-mobile-cta-info { display: flex; flex-direction: column; }
.srr-mobile-price { font-size: 20px; font-weight: 900; color: var(--srr-primary); }
.srr-mobile-area  { font-size: 12px; color: var(--srr-muted); }

/* ════════════════════════════════════════
   MODAL POPUP
════════════════════════════════════════ */
.srr-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,23,42,.82);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center; justify-content: center;
  padding: 16px;
}
.srr-modal-overlay.is-active { display: flex; }

.srr-modal-dialog {
  background: #fff; border-radius: var(--r-lg);
  padding: 28px; width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg);
  position: relative; max-height: 92vh; overflow-y: auto;
}
.srr-modal-close {
  position: absolute; top: 14px; right: 14px;
  background: #f1f5f9; border: none; border-radius: 50%;
  width: 34px; height: 34px; font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--srr-muted); transition: var(--ease);
}
.srr-modal-close:hover { background: #e2e8f0; color: var(--srr-text); }

/* ════════════════════════════════════════
   ANIMATED GREEN TICK (SUCCESS)
════════════════════════════════════════ */
.srr-success-wrapper { text-align: center; padding: 24px 10px; }

.srr-checkmark-svg {
  width: 80px; height: 80px; border-radius: 50%;
  display: block; stroke-width: 3;
  stroke: #047857; stroke-miterlimit: 10;
  margin: 0 auto 18px;
  box-shadow: inset 0 0 0 #047857;
  animation: srr-fill .4s ease-in-out .4s forwards, srr-scale .3s ease-in-out .9s both;
}
.srr-checkmark-circle {
  stroke-dasharray: 166; stroke-dashoffset: 166;
  stroke-width: 3; stroke-miterlimit: 10;
  stroke: #047857; fill: none;
  animation: srr-stroke .6s cubic-bezier(.65,0,.45,1) forwards;
}
.srr-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: srr-stroke .3s cubic-bezier(.65,0,.45,1) .8s forwards;
}
@keyframes srr-stroke  { 100%{stroke-dashoffset:0} }
@keyframes srr-scale   { 0%,100%{transform:none} 50%{transform:scale3d(1.1,1.1,1)} }
@keyframes srr-fill    { 100%{box-shadow:inset 0 0 0 40px #d1fae5} }

/* ════════════════════════════════════════
   HOW IT WORKS / STEPS
════════════════════════════════════════ */
.srr-steps-grid {
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
@media(min-width:640px){ .srr-steps-grid { grid-template-columns: 1fr 1fr; } }

.srr-step-card {
  background: #fff; border: 1px solid var(--srr-border);
  border-radius: var(--r-md); padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* ════════════════════════════════════════
   SECTION HEADINGS
════════════════════════════════════════ */
.srr-section-head { text-align: center; margin-bottom: 40px; }
.srr-section-head h2 { font-size: clamp(22px,4vw,30px); font-weight: 900; margin: 0 0 10px; }
.srr-section-head p  { color: var(--srr-muted); font-size: 16px; margin: 0 auto; max-width: 640px; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.srr-site-footer {
  background: #0f172a; color: #94a3b8;
  padding: 52px 0 24px; margin-top: 60px; font-size: 13px;
}
.srr-footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-bottom: 36px;
}
.srr-footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; font-size: 12px; }

/* ════════════════════════════════════════
   MISC / UTILITIES
════════════════════════════════════════ */
.srr-box-container { box-sizing: border-box; max-width: 100%; overflow: hidden; word-wrap: break-word; }

.entry-content * { max-width: 100%; word-wrap: break-word; }

/* WordPress admin bar compatibility */
.admin-bar .srr-site-header { top: 32px; }
@media(max-width:782px){ .admin-bar .srr-site-header { top: 46px; } }

/* Generic card wrapper */
.srr-card {
  background: #fff; border: 1px solid var(--srr-border);
  border-radius: var(--r-md); padding: 22px;
  box-shadow: var(--shadow-xs); word-wrap: break-word; overflow: hidden;
}

/* ════════════════════════════════════════
   ROOM LISTING CARD — overlay badges, price, facility chips
════════════════════════════════════════ */
.srr-card-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 5px;
}

.srr-badge-featured {
  background: linear-gradient(135deg,#f59e0b,#d97706) !important;
  color: #fff !important;
}

.srr-area-tag {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(15,23,42,.75); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 9px;
  border-radius: var(--r-full); backdrop-filter: blur(4px);
  white-space: nowrap;
}

.srr-card-prices {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px;
}
.srr-price-item {
  display: flex; align-items: baseline; gap: 3px;
  background: var(--srr-primary-light);
  border-radius: var(--r-full); padding: 4px 10px;
}
.srr-price-val { font-size: 15px; font-weight: 800; color: var(--srr-primary); }
.srr-price-lbl { font-size: 11px; color: var(--srr-muted); font-weight: 600; }

.srr-card-facilities {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px;
}
.srr-facility-chip {
  font-size: 11px; font-weight: 600; color: var(--srr-muted);
  background: #f8fafc; border: 1px solid var(--srr-border);
  padding: 3px 9px; border-radius: var(--r-full);
}

/* ════════════════════════════════════════
   SECTION ROW HEADER (flex between heading & CTA)
════════════════════════════════════════ */
.srr-section-row {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 14px;
  margin-bottom: 28px;
}
.srr-section-row h2 { font-size: clamp(20px,3.5vw,28px); font-weight: 900; margin: 0 0 4px; }
.srr-section-row p  { color: var(--srr-muted); margin: 0; }
