/* ============================================================
   Lake View Guest House — Main Public Stylesheet
   Fully Responsive (Mobile, Tablet, Desktop)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;600;700;800&display=swap');

:root {
  --primary:      #1a4a3c;
  --primary-dark: #0f2d24;
  --primary-light:#2d7a62;
  --accent:       #e8a020;
  --accent-light: #f5c842;
  --teal:         #0d9488;
  --bg:           #f8faf9;
  --surface:      #ffffff;
  --text:         #1a1f1e;
  --text-muted:   #6b7280;
  --border:       #e5e7eb;
  --danger:       #ef4444;
  --success:      #10b981;
  --warning:      #f59e0b;
  --info:         #3b82f6;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 10px 40px rgba(0,0,0,.15);
  --shadow-xl:    0 25px 80px rgba(0,0,0,.20);
  --transition:   all .25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; width: 100%; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

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

/* ── Header / Navbar ───────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 45, 36, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 0 16px;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; height: 64px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.logo-text { color: #fff; }
.logo-name { font-size: 15px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.logo-sub  { font-size: 9.5px; opacity: .65; font-family: 'Inter', sans-serif; font-weight: 400; letter-spacing: .05em; white-space: nowrap; }

/* Mobile Menu Toggle Button */
.nav-toggle-btn {
  display: none; background: transparent; border: none;
  color: #fff; font-size: 24px; cursor: pointer; padding: 6px;
  line-height: 1; border-radius: 6px;
}
.nav-toggle-btn:focus { outline: 2px solid var(--accent); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: rgba(255,255,255,.8); font-size: 13px; font-weight: 500;
  padding: 7px 12px; border-radius: var(--radius-sm);
  transition: var(--transition); white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }

.user-nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); color: #fff;
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 12.5px; font-weight: 600; transition: var(--transition);
  white-space: nowrap;
}
.user-nav-btn:hover { background: rgba(255,255,255,.25); }

.btn-book-nav {
  background: var(--accent); color: var(--primary-dark);
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; border: none;
  transition: var(--transition); white-space: nowrap;
}
.btn-book-nav:hover { background: var(--accent-light); transform: translateY(-1px); }

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative; min-height: 90vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  overflow: hidden; padding-top: 80px; padding-bottom: 40px;
}

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,30,25,.65) 0%,
    rgba(10,30,25,.40) 40%,
    rgba(10,30,25,.80) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 24px 20px;
  max-width: 860px; width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,160,32,.25); border: 1px solid rgba(232,160,32,.4);
  color: var(--accent-light); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
  max-width: 100%; word-break: break-word;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.15;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
  margin-bottom: 14px;
}
.hero-title span { color: var(--accent-light); }

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  opacity: .9; font-weight: 400; line-height: 1.6; margin-bottom: 18px;
}

.hero-info-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px; margin-bottom: 24px;
}
.hero-info-pill {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.95); font-size: 11.5px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}

/* ── Search / Booking Bar ──────────────────────────────────── */
.search-bar {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xl);
  width: 100%; max-width: 960px;
  margin: 10px auto 0;
}

.search-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.2fr 1fr auto;
  gap: 12px; align-items: end;
}

.search-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.search-label {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary); opacity: .85;
}
.search-input, .search-select {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  color: var(--text); background: #fff;
  transition: var(--transition); outline: none;
}
.search-input:focus, .search-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(45,122,98,.1);
}

.btn-search {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff; border: none; padding: 11px 24px;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 700;
  white-space: nowrap; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px;
}
.btn-search:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.search-note {
  margin-top: 12px; display: flex; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.search-note-pill {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--primary);
}
.search-note-pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-green { background: var(--success); }
.dot-amber { background: var(--accent); }

/* Hero nav arrows */
.hero-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  color: #fff; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); font-size: 18px;
  backdrop-filter: blur(8px);
}
.hero-arrow:hover { background: rgba(255,255,255,.35); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

.hero-dots {
  position: absolute; bottom: 16px; z-index: 3;
  left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,.4); transition: var(--transition);
  cursor: pointer;
}
.hero-dot.active { width: 22px; background: var(--accent); }

/* ── Section base ──────────────────────────────────────────── */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

.section-head { text-align: center; margin-bottom: 36px; padding: 0 10px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 8px;
}
.section-tag::before, .section-tag::after {
  content: ''; display: block; width: 24px; height: 1px;
  background: var(--primary); opacity: .4;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700; color: var(--text); line-height: 1.2;
  margin-bottom: 10px;
}
.section-desc { font-size: 14.5px; color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* ── Room Cards ────────────────────────────────────────────── */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.room-card {
  background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--transition);
  position: relative; display: flex; flex-direction: column;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.room-card.unavailable { opacity: .7; }

.room-img {
  width: 100%; height: 190px; object-fit: cover;
  background: linear-gradient(135deg, #1a4a3c 0%, #2d7a62 100%);
  position: relative; overflow: hidden;
}
.room-img img { width: 100%; height: 100%; object-fit: cover; }
.room-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}

.room-floor-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.65); backdrop-filter: blur(8px);
  color: #fff; font-size: 9.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; letter-spacing: .05em;
}
.room-ac-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(13,148,136,.9); backdrop-filter: blur(8px);
  color: #fff; font-size: 9.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
}
.room-ac-badge.no-ac { background: rgba(107,114,128,.9); }

.avail-tag {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(220,38,38,.95); color: #fff;
  font-size: 10px; font-weight: 800; padding: 4px 12px;
  border-radius: 999px; white-space: nowrap; z-index: 5;
}

.room-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.room-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.room-type { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 10px; }

.room-amenities {
  display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; margin-top: auto;
}
.amenity-tag {
  font-size: 9.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px;
  background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0;
}

.room-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-top: 1px solid var(--border);
  background: #fafafa; gap: 10px; flex-wrap: wrap;
}
.room-price { display: flex; flex-direction: column; }
.price-value { font-size: 18px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.price-label { font-size: 9.5px; color: var(--text-muted); font-weight: 500; }
.price-range { font-size: 11px; color: var(--text-muted); font-weight: 500; }

.btn-book-room {
  background: var(--primary); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-md);
  font-size: 12.5px; font-weight: 700; border: none;
  transition: var(--transition); white-space: nowrap;
}
.btn-book-room:hover { background: var(--primary-light); transform: translateY(-1px); }

/* ── Features Strip ────────────────────────────────────────── */
.features-strip {
  background: var(--primary); padding: 36px 0;
}
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item { text-align: center; color: #fff; padding: 0 8px; }
.feature-icon {
  font-size: 28px; margin-bottom: 8px;
  display: block;
}
.feature-title { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.feature-desc { font-size: 11.5px; opacity: .75; line-height: 1.4; }

/* ── Info Section ──────────────────────────────────────────── */
.info-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 22px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16.5px; font-weight: 700; margin-bottom: 12px;
  color: var(--primary); display: flex; align-items: center; gap: 8px;
}
.info-list { list-style: none; }
.info-list li {
  padding: 7px 0; border-bottom: 1px solid var(--border);
  font-size: 12.5px; display: flex; align-items: flex-start; gap: 8px;
  color: var(--text-muted);
}
.info-list li:last-child { border-bottom: none; }
.info-list li strong { color: var(--text); font-weight: 600; }

/* ── Rules Section ─────────────────────────────────────────── */
.rules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.rule-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px; display: flex; gap: 12px; align-items: flex-start;
}
.rule-num {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--primary); color: var(--accent);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rule-text { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.rule-text strong { color: var(--text); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--primary-dark); color: rgba(255,255,255,.75);
  padding: 44px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.footer-brand p { font-size: 12.5px; line-height: 1.6; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { font-size: 12.5px; margin-bottom: 6px; }
.footer-col ul li a:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin-bottom: 16px; }
.footer-bottom { display: flex; justify-content: center; text-align: center; font-size: 11.5px; opacity: .6; flex-wrap: wrap; gap: 8px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 700; border: none;
  transition: var(--transition); cursor: pointer; min-height: 38px;
}
.btn-sm { padding: 5px 12px; font-size: 11.5px; min-height: 28px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-accent { background: var(--accent); color: var(--primary-dark); }
.btn-accent:hover { background: var(--accent-light); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: .9; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ── Alert Banner ──────────────────────────────────────────── */
.alert {
  padding: 12px 16px; border-radius: var(--radius-md);
  font-size: 12.5px; font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* ── Form Fields ───────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text); margin-bottom: 5px;
  letter-spacing: .03em; text-transform: uppercase;
}
.form-control {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font-family: inherit; font-size: 13.5px; color: var(--text);
  background: #fff; transition: var(--transition); outline: none;
}
.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(45,122,98,.1);
}
.form-control::placeholder { color: var(--text-muted); font-weight: 400; }

/* ── Map embed ─────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  height: 320px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .5s ease forwards; }

/* ============================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & MOBILE)
   ============================================================ */

@media (max-width: 992px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .btn-search { grid-column: span 2; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .booking-grid { grid-template-columns: 1fr !important; }
  .confirm-grid { grid-template-columns: 1fr !important; }
  .upi-card { position: static !important; }
}

@media (max-width: 768px) {
  .nav-toggle-btn { display: block; }
  
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(15, 45, 36, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch;
    padding: 16px 20px 24px; gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%);
    opacity: 0; pointer-events: none;
    transition: all .3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1; pointer-events: auto;
  }
  .nav-link {
    padding: 10px 14px; font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .user-nav-btn {
    justify-content: center; padding: 10px; margin-top: 4px;
  }
  .btn-book-nav {
    text-align: center; padding: 11px; margin-top: 4px;
  }

  .hero-arrow { display: none; }
  .search-grid { grid-template-columns: 1fr; }
  .btn-search { grid-column: span 1; }
  
  .rooms-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .dashboard-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .header-inner { height: 56px; }
  .hero { padding-top: 68px; min-height: 85vh; }
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-badge { font-size: 9.5px; padding: 4px 10px; }
  .features-grid { grid-template-columns: 1fr; }
  .search-bar { padding: 16px 14px; border-radius: var(--radius-md); }
  .container { padding: 0 14px; }
  .booking-form-card { padding: 20px 16px !important; }
  .booking-summary { padding: 20px 16px !important; }
  .confirm-card { padding: 20px 16px !important; }
  .upi-card { padding: 20px 16px !important; }
}
