/* ============================================
   Hotel Manohar Palace — Main Stylesheet
   Faithful recreation of the original WP site
   ============================================ */

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

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: #555;
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── HEADER ── */
#site-header {
  background: #1a1a1a;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

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

.site-logo img {
  height: 55px;
  width: auto;
}

/* Main Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  padding: 0 18px;
  line-height: 80px;
  color: #ccc;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* Dropdown */
.main-nav .has-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
}

.main-nav ul li ul.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  min-width: 200px;
  border-top: 3px solid #872828;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.has-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: #bbb;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, background 0.2s;
}

.dropdown-menu li a:hover {
  color: #fff;
  background: #872828;
}

/* Book Now button */
.btn-book {
  background: #872828;
  color: #fff !important;
  padding: 10px 22px !important;
  line-height: normal !important;
  height: auto !important;
  margin-left: 10px;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s !important;
}
.btn-book:hover { background: #a03030 !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: #111;
  padding: 10px 0 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 24px;
  color: #ccc;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav a:hover { color: #fff; background: #872828; }
.mobile-nav .sub-item { padding-left: 40px; font-size: 12px; }

/* ── BODY OFFSET ── */
.page-wrap { padding-top: 80px; }

/* ── PAGE BANNER ── */
.page-banner {
  background: #872828;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}
.page-banner h1 {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ── SECTION GENERAL ── */
.section { padding: 70px 0; }
.section.bg-grey { background: #f8f8f8; }
.section.bg-dark { background: #1a1a1a; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #872828;
  margin-bottom: 8px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
  line-height: 1.2;
}

.section.bg-dark .section-title { color: #fff; }

/* ── HERO SLIDER ── */
#hero {
  position: relative;
  overflow: hidden;
  background: #111;
}

.slider {
  position: relative;
  height: 600px;
}

.slide {
  display: none;
  position: absolute;
  inset: 0;
}

.slide.active { display: block; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.slide-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a0a0a 0%, #3a1515 50%, #1a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 80px 40px 30px;
  color: #fff;
}

.slider-caption h2 {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 4px;
}

.slider-dots {
  position: absolute;
  bottom: 15px; right: 20px;
  display: flex; gap: 8px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: #872828; }

.slider-prev, .slider-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(135,40,40,0.7);
  border: none; color: #fff;
  width: 40px; height: 40px;
  font-size: 18px; cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.slider-prev:hover, .slider-next:hover { background: #872828; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* ── BOOKING BAR ── */
.booking-bar {
  background: #222;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.booking-field {
  text-align: center;
}
.booking-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px;
}
.booking-field .val {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.booking-field .sub {
  font-size: 11px;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.booking-divider {
  width: 1px; height: 50px;
  background: rgba(255,255,255,0.1);
}
.booking-btn {
  background: #872828;
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.booking-btn:hover { background: #a03030; }

/* ── ABOUT SECTION ── */
.about-text {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  color: #666;
}

/* ── ROOMS GRID ── */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.room-card {
  position: relative;
  overflow: hidden;
  background: #111;
  display: block;
  text-decoration: none;
  transition: transform 0.3s;
}
.room-card:hover { transform: translateY(-4px); }
.room-card:hover .room-overlay { opacity: 1; }

.room-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.room-card:hover img { transform: scale(1.05); }

.room-overlay {
  position: absolute;
  inset: 0;
  background: rgba(135,40,40,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
  text-align: center;
  padding: 20px;
}

.room-label-below {
  background: #222;
  color: #fff;
  padding: 14px 12px;
  text-align: center;
}
.room-label-below h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.room-label-below p { font-size: 12px; color: #999; }

/* ── SERVICES SECTION ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 10px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.service-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}
.service-item h4 { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 6px; }
.service-item p { font-size: 13px; color: #777; line-height: 1.7; }

/* ── STATS BAR ── */
.stats-bar {
  background: #872828;
  padding: 40px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.stat-item .lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ── CTA BAND ── */
.cta-band {
  background: #222;
  padding: 35px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-logo img { height: 50px; }
.cta-band-text h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.cta-band-text h3 strong { color: #872828; }
.cta-band-text p { color: #999; font-size: 13px; margin-top: 4px; }
.cta-band-btn {
  background: #872828;
  color: #fff;
  padding: 13px 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.cta-band-btn:hover { background: #a03030; }

/* ── FOOTER ── */
#site-footer {
  background: #111;
  padding: 25px 20px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #888;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #872828; }

.footer-copy {
  color: #555;
  font-size: 12px;
}
.footer-copy a { color: #872828; }

/* ── ROOM DETAIL PAGE ── */
.room-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: start;
  padding: 40px 0;
}

.room-detail-main { }

.room-tabs {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 25px;
}
.room-tab {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  transition: 0.2s;
}
.room-tab.active { color: #872828; border-bottom-color: #872828; }

.tab-content { display: none; }
.tab-content.active { display: block; }

.room-main-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  margin-bottom: 20px;
}

.room-info-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  font-weight: 600;
}
.meta-item img { width: 20px; height: 20px; }

.room-description ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 15px;
}
.room-description ul li {
  margin-bottom: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.services-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
}
.service-icon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #555;
  font-weight: 600;
}
.service-icon-item img { width: 36px; height: 36px; object-fit: contain; }

/* Sidebar booking panel */
.room-sidebar { }

.sidebar-price-box {
  background: #1a1a1a;
  color: #fff;
  padding: 25px;
  text-align: center;
  margin-bottom: 20px;
}
.sidebar-price-box .price-num {
  font-size: 50px;
  font-weight: 700;
  color: #872828;
  line-height: 1;
}
.sidebar-price-box .price-curr {
  font-size: 20px;
  vertical-align: super;
  color: #ccc;
}
.sidebar-price-box .per-night {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
}

.sidebar-contact-box {
  background: #872828;
  color: #fff;
  padding: 20px 25px;
  text-align: center;
}
.sidebar-contact-box h4 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.sidebar-contact-box p { font-size: 20px; font-weight: 700; }
.sidebar-contact-box a { color: #fff; text-decoration: none; }

/* ── RESTAURANT PAGE ── */
.restaurant-features {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 30px 0;
}
.rest-feat {
  text-align: center;
}
.rest-feat img { width: 60px; height: 60px; margin: 0 auto 10px; }
.rest-feat h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #333; }

.restaurant-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 30px 0;
}
.restaurant-gallery .gal-item {
  height: 200px;
  overflow: hidden;
  background: #222;
}
.restaurant-gallery .gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.restaurant-gallery .gal-item:hover img { transform: scale(1.08); }
.restaurant-gallery .gal-item.placeholder {
  background: linear-gradient(135deg, #1a0a0a, #3a1515);
  display: flex; align-items: center; justify-content: center;
  color: rgba(135,40,40,0.4); font-size: 40px;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 40px 0;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}
.contact-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.8;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-detail-icon {
  width: 36px; height: 36px;
  background: #872828;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-detail-text { font-size: 13px; color: #555; line-height: 1.7; }
.contact-detail-text strong { display: block; color: #333; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }

.map-wrap {
  margin-top: 25px;
  height: 260px;
  overflow: hidden;
  background: #ddd;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* Contact Form */
.contact-form-wrap h3 {
  font-size: 22px; font-weight: 700; color: #222;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #888; margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  font-size: 13px;
  font-family: inherit;
  color: #555;
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #872828;
  background: #fff;
}
.form-group textarea { height: 130px; resize: vertical; }
.form-submit {
  background: #872828;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 6px;
}
.form-submit:hover { background: #a03030; }
.form-success-msg {
  display: none;
  background: #eafaea;
  border: 1px solid #bde0bd;
  color: #2d6a2d;
  padding: 12px 16px;
  font-size: 13px;
  margin-top: 14px;
}
.form-success-msg.show { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .room-detail-wrap { grid-template-columns: 1fr; }
  .room-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .slider { height: 350px; }
  .contact-grid { grid-template-columns: 1fr; }
  .restaurant-gallery { grid-template-columns: repeat(2, 1fr); }
  .services-icons-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-bar { gap: 15px; }
  .booking-divider { display: none; }
  .stats-bar .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .rooms-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .room-sidebar { grid-template-columns: 1fr; }
  .header-inner { height: 65px; }
  .page-wrap { padding-top: 65px; }
  .site-logo img { height: 42px; }
  .restaurant-features { gap: 25px; }
}
