/* ================================================
   Birla Dharamshala Ayodhya - Main Stylesheet
   Color Theme: White + Saffron/Golden (#c69200, #ff6b00)
   ================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #333; background: #fff; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---- CONTAINER ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block; background: #c69200; color: #fff;
  padding: 12px 28px; border-radius: 6px; font-weight: 600;
  font-size: 15px; transition: background .3s;
}
.btn-primary:hover { background: #a57a00; }

.btn-whatsapp {
  display: inline-block; background: #25d366; color: #fff;
  padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 15px;
}
.btn-whatsapp:hover { background: #1ebe57; }

/* ---- SECTION TITLES ---- */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 32px; color: #1a1a1a; margin-bottom: 8px; }
.section-title p { color: #666; font-size: 16px; }
.title-bar {
  width: 60px; height: 4px; background: #c69200;
  margin: 10px auto 0; border-radius: 3px;
}

/* ================================================
   HEADER / NAVBAR
   ================================================ */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.header .container {
  display: flex; align-items: center;
  justify-content: space-between; padding: 12px 20px;
}
.logo img { height: 54px; width: auto; }
.navbar ul { display: flex; align-items: center; gap: 6px; }
.navbar ul li a {
  padding: 8px 14px; font-size: 15px; font-weight: 500;
  color: #333; border-radius: 4px; transition: color .2s;
}
.navbar ul li a:hover { color: #c69200; }
.btn-book {
  background: #c69200 !important; color: #fff !important;
  padding: 10px 20px !important; border-radius: 6px !important;
  font-weight: 700 !important;
}
.btn-book:hover { background: #a57a00 !important; }
.nav-toggle {
  display: none; background: none; border: none;
  font-size: 22px; cursor: pointer; color: #333;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  background: url('../../../Images/hero.jpg') center/cover no-repeat;
  min-height: 88vh; display: flex; align-items: center;
}
.hero-overlay {
  background: rgba(0,0,0,.52); width: 100%; min-height: 88vh;
  display: flex; align-items: center;
}
.hero-content {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 60px 0;
}
.hero-text { max-width: 540px; color: #fff; }
.hero-text h1 { font-size: 46px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-text h1 span { color: #ffd700; }
.hero-text p { font-size: 18px; margin-bottom: 24px; opacity: .9; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badge {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 13px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Booking Card on Hero */
.hero-book {
  background: #fff; padding: 28px 26px; border-radius: 12px;
  width: 280px; box-shadow: 0 12px 40px rgba(0,0,0,.25); flex-shrink: 0;
}
.hero-book h3 { font-size: 18px; color: #c69200; margin-bottom: 16px; border-bottom: 2px solid #c69200; padding-bottom: 8px; }
.book-item { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.book-item:last-of-type { border-bottom: none; }
.book-item .price { font-weight: 700; color: #c69200; }
.book-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.book-actions a { text-align: center; }

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-section { padding: 70px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { border-radius: 12px; width: 100%; object-fit: cover; height: 380px; }
.about-text h2 { font-size: 30px; color: #1a1a1a; margin-bottom: 14px; }
.about-text h2 span { color: #c69200; }
.about-text p { color: #555; margin-bottom: 14px; font-size: 15px; }
.about-highlights { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.highlight-item { text-align: center; }
.highlight-item strong { display: block; font-size: 28px; color: #c69200; }
.highlight-item span { font-size: 13px; color: #666; }

/* ================================================
   ROOMS SECTION
   ================================================ */
.rooms-section { padding: 70px 0; background: #faf7f0; }
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.room-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: transform .3s;
}
.room-card:hover { transform: translateY(-6px); }
.room-card img { width: 100%; height: 200px; object-fit: cover; }
.room-info { padding: 22px; }
.room-info h3 { font-size: 20px; margin-bottom: 6px; }
.room-price { font-size: 24px; font-weight: 800; color: #c69200; margin: 8px 0; }
.room-info p { color: #666; font-size: 14px; margin-bottom: 14px; }
.room-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.room-feature {
  background: #faf7f0; border: 1px solid #e8d9a0; color: #7a6500;
  font-size: 12px; padding: 4px 10px; border-radius: 20px;
}

/* ================================================
   FACILITIES SECTION
   ================================================ */
.facilities-section { padding: 70px 0; background: #fff; }
.facilities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facility-card {
  text-align: center; padding: 32px 16px; border-radius: 12px;
  background: #faf7f0; border: 1px solid #f0e8c0; transition: all .3s;
}
.facility-card:hover { background: #c69200; color: #fff; transform: translateY(-4px); }
.facility-card:hover p { color: #fff; }
.facility-icon { font-size: 40px; margin-bottom: 14px; color: #c69200; }
.facility-card:hover .facility-icon { color: #fff; }
.facility-card h4 { font-size: 17px; margin-bottom: 8px; }
.facility-card p { font-size: 13px; color: #666; }

/* ================================================
   GALLERY SECTION
   ================================================ */
.gallery-section { padding: 70px 0; background: #faf7f0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: 10px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.07); }

/* ================================================
   BLOG SECTION (Home Preview)
   ================================================ */
.blog-section { padding: 70px 0; background: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.07); transition: transform .3s;
}
.blog-card:hover { transform: translateY(-5px); }
.blog-card-img img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-body h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { font-size: 14px; color: #666; margin-bottom: 14px; }
.blog-date { font-size: 12px; color: #999; margin-bottom: 8px; }
.read-more { color: #c69200; font-weight: 600; font-size: 14px; }

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #c69200, #ff8c00);
  text-align: center; color: #fff;
}
.cta-section h2 { font-size: 34px; margin-bottom: 12px; }
.cta-section p { font-size: 17px; margin-bottom: 28px; opacity: .9; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff; color: #c69200; padding: 14px 30px;
  border-radius: 8px; font-weight: 700; font-size: 16px;
}
.btn-outline {
  background: transparent; color: #fff; border: 2px solid #fff;
  padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 16px;
}

/* ================================================
   BLOG LISTING PAGE
   ================================================ */
.page-banner {
  background: linear-gradient(135deg, #1a1a1a, #4a3800);
  padding: 60px 0; text-align: center; color: #fff;
}
.page-banner h1 { font-size: 36px; margin-bottom: 10px; }
.page-banner p { font-size: 16px; opacity: .85; }

.blog-listing { padding: 60px 0; background: #f8f9fb; }
.blog-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.blog-list-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.07); display: flex; flex-direction: column;
}
.blog-list-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-list-body { padding: 24px; flex: 1; }
.blog-list-body h2 { font-size: 20px; margin-bottom: 10px; line-height: 1.4; }
.blog-list-body p { color: #666; font-size: 14px; margin-bottom: 16px; }

/* ================================================
   SINGLE BLOG PAGE
   ================================================ */
.blog-single { padding: 60px 0; background: #f8f9fb; }
.blog-single-container { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.blog-single-img img { width: 100%; height: 360px; object-fit: cover; }
.blog-single-body { padding: 40px; }
.blog-single-body h1 { font-size: 30px; margin-bottom: 16px; line-height: 1.35; }
.blog-single-body h2 { font-size: 22px; margin: 28px 0 12px; color: #1a1a1a; }
.blog-single-body h3 { font-size: 18px; margin: 20px 0 10px; }
.blog-single-body p { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 14px; }
.blog-single-body ul { padding-left: 20px; margin-bottom: 14px; }
.blog-single-body ul li { font-size: 15px; color: #444; margin-bottom: 8px; line-height: 1.6; }
.blog-meta { font-size: 13px; color: #999; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #eee; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-section { padding: 70px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 6px;
  font-size: 15px; margin-bottom: 16px; font-family: inherit;
}
.contact-form textarea { height: 130px; resize: vertical; }
.contact-form button {
  background: #c69200; color: #fff; border: none; padding: 14px 32px;
  border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; width: 100%;
}
.contact-form button:hover { background: #a57a00; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-icon {
  width: 46px; height: 46px; background: #faf7f0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #c69200; flex-shrink: 0;
}
.map-section { padding: 0 0 60px; }
.map-section iframe { border-radius: 12px; }
.alert-success { background: #d4edda; color: #155724; padding: 14px; border-radius: 6px; margin-bottom: 16px; }
.alert-error { background: #f8d7da; color: #721c24; padding: 14px; border-radius: 6px; margin-bottom: 16px; }

/* ================================================
   ROOMS PAGE
   ================================================ */
.rooms-page { padding: 60px 0; }
.room-detail-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07); margin-bottom: 36px;
}
.room-detail-card.reverse { direction: rtl; }
.room-detail-card.reverse .room-detail-body { direction: ltr; }
.room-detail-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.room-detail-body { padding: 36px; }
.room-detail-body h2 { font-size: 26px; margin-bottom: 10px; }
.room-detail-price { font-size: 30px; font-weight: 800; color: #c69200; margin-bottom: 14px; }
.room-detail-body p { color: #555; font-size: 15px; margin-bottom: 16px; }
.features-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.feature-tag {
  background: #faf7f0; border: 1px solid #e8d9a0; color: #7a6500;
  font-size: 13px; padding: 5px 14px; border-radius: 20px;
}

/* ================================================
   GALLERY PAGE
   ================================================ */
.gallery-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 60px 0; }
.gallery-page-item { border-radius: 10px; overflow: hidden; }
.gallery-page-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .3s; }
.gallery-page-item:hover img { transform: scale(1.05); }

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-page { padding: 70px 0; }

/* ================================================
   FLOATING BUTTONS
   ================================================ */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
}
.whatsapp-float a {
  width: 56px; height: 56px; background: #25d366; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 4px 14px rgba(37,211,102,.4);
  animation: pulse 2s infinite;
}
.call-float {
  position: fixed; bottom: 20px; left: 20px; z-index: 9999;
}
.call-float a {
  width: 52px; height: 52px; background: #007bff; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 4px 14px rgba(0,123,255,.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@media (min-width: 992px) { .call-float { display: none; } }

/* ================================================
   FOOTER
   ================================================ */
.footer { background: #1a1200; color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-col h4 { font-size: 17px; color: #ffd700; margin-bottom: 16px; }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 8px; font-size: 14px; }
.footer-col ul li a { color: #ccc; transition: color .2s; }
.footer-col ul li a:hover { color: #ffd700; }
.footer-col a { color: #ccc; }
.footer-col a:hover { color: #ffd700; }
.footer-disclaimer {
  background: rgba(255,255,255,.06); border-left: 4px solid #c69200;
  padding: 16px 20px; margin-top: 36px; border-radius: 6px;
  font-size: 13px; line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0;
  margin-top: 24px; text-align: center; font-size: 13px; color: #999;
}
.footer-bottom a { color: #ffd700; }

/* ================================================
   ADMIN PANEL STYLES (in admin/css/admin.css)
   ================================================ */

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .room-detail-card { grid-template-columns: 1fr; }
  .room-detail-card.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-list-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .navbar { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.12); padding: 20px; }
  .navbar.open { display: block; }
  .navbar ul { flex-direction: column; gap: 4px; }
  .navbar ul li a { display: block; padding: 10px 16px; }
  .nav-toggle { display: block; }

  .hero-content { flex-direction: column; text-align: center; padding: 40px 0; }
  .hero-text h1 { font-size: 30px; }
  .hero-text p { font-size: 15px; }
  .hero-cta { justify-content: center; }
  .hero-book { width: 100%; }

  .rooms-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title h2 { font-size: 24px; }
  .hero { min-height: auto; }
  .hero-overlay { min-height: auto; }
  .about-highlights { justify-content: center; }
}

@media (max-width: 480px) {
  .facilities-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
}
.btn-book {
    background: #b8860b; /* dark golden */
    color: #ffffff;
    font-weight: 600;
}

.btn-book:hover {
    background: #8b6508;
}

.btn-primary {
    background: #0d6efd;
    color: #ffffff;
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
}
.price {
    background: #fff3cd;   /* light yellow */
    color: #000000;        /* black text */
    font-weight: bold;
}
h1, h2, h3, h4 {
    color: #111111;
}

p {
    color: #333333;
}
.hero {
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* dark overlay */
}
* {
    color: #111 !important;
}

button, .btn {
    color: #fff !important;
}
