/* ===================================================================
   GRAND HERITAGE HOTEL — Custom Stylesheet
   Author: Grand Heritage Hotel
   Stack: Bootstrap 5 + AOS + FontAwesome + Custom CSS
   =================================================================== */

/* ─────────── CSS Variables ─────────── */
:root {
  --gold: #b8860b;
  --gold-light: #d4a843;
  --gold-dark: #8b6914;
  --navy: #1a1a2e;
  --navy-light: #2d2d44;
  --cream: #faf8f0;
  --cream-dark: #f0ece2;
  --brown: #3d2b1f;
  --brown-light: #5c4033;
}

/* ─────────── Font Families ─────────── */
.font-playfair   { font-family: 'Playfair Display', Georgia, serif; }
.font-lato       { font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; }
.font-cormorant  { font-family: 'Cormorant Garamond', Georgia, serif; }

body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* ─────────── Smooth Scrolling & Scrollbar ─────────── */
html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

::selection { background: var(--gold); color: #fff; }

/* ============ NAVBAR ============ */
.gh-navbar {
  background: #1a1a2e;
  transition: all 0.4s ease;
  padding: 0px 0;
  z-index: 1050;
}

.gh-navbar.scrolled {
  background: #1a1a2e;
  padding: 8px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.gh-navbar .navbar-brand img {
  height: 80px;
  transition: height 0.4s ease;
}

.gh-navbar.scrolled .navbar-brand img { height: 40px; }

.gh-navbar .nav-link {
  color: #fff !important;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px !important;
  transition: color 0.3s ease;
  position: relative;
}

.gh-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.gh-navbar .nav-link:hover::after,
.gh-navbar .nav-link.active::after { width: 60%; }
.gh-navbar .nav-link:hover { color: var(--gold) !important; }

.gh-navbar .btn-book {
  background: var(--gold);
  color: #fff;
  border: none;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 28px;
  border-radius: 0;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.gh-navbar .btn-book:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
  color: #fff;
}

/* custom collapse — avoids any framework class conflicts */
.gh-nav-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}
@media (min-width: 992px) {
  .gh-nav-collapse { display: flex !important; flex-basis: auto; }
}
@media (max-width: 991.98px) {
  .gh-nav-collapse { display: none; }
  .gh-nav-collapse.show { display: block; }
}

/* ============ HERO SLIDER ============ */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }

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

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgb(26 26 46) 0%, rgb(26 26 46 / 72%) 40%, rgba(26, 26, 46, 0.6) 100%)
}

.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 90%;
  max-width: 800px;
}

.hero-content h5 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-family: 'Lato', sans-serif;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-divider {
  width: 80px; height: 2px;
  background: var(--gold);
  margin: 0 auto 25px;
}

.hero-btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 2px solid var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
}
.hero-btn:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.hero-btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
  margin-left: 15px;
}
.hero-btn-outline:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.slider-indicators {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}
.slider-dot {
  width: 12px; height: 12px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0;
}
.slider-dot.active { background: var(--gold); }

.scroll-indicator {
  position: absolute;
  bottom: 80px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}
.scroll-indicator i { color: #fff; font-size: 24px; opacity: 0.7; }

/* ============ SECTION COMMON ============ */
.section-padding { padding: 100px 0; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}

.section-divider {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 15px auto 20px;
}

.section-desc {
  font-family: 'Lato', sans-serif;
  color: #666;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.text-gold { color: var(--gold) !important; }

/* ============ ABOUT SECTION ============ */
.about-section { background: #fff; }

.about-image-wrapper { position: relative; overflow: hidden; }
.about-image-wrapper img {
  width: 100%; height: 450px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-image-wrapper:hover img { transform: scale(1.05); }

.about-image-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--gold);
  color: #fff;
  padding: 15px 25px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-text p {
  font-family: 'Lato', sans-serif;
  color: #555;
  line-height: 1.9;
  margin-bottom: 15px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.about-feature i { color: var(--gold); font-size: 18px; width: 30px; text-align: center; }
.about-feature span { font-family: 'Lato', sans-serif; color: #444; font-size: 0.95rem; }

/* ============ ROOMS SECTION ============ */
.room-card {
  background: #fff;
  border: none;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
}
.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.room-card .card-img-top {
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.room-card:hover .card-img-top { transform: scale(1.08); }
.room-card .card-img-wrapper { overflow: hidden; position: relative; }

.room-card .room-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 26, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.room-card:hover .room-overlay { opacity: 1; }

.room-overlay a {
  color: #fff;
  border: 2px solid var(--gold);
  padding: 10px 25px;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.3s ease;
}
.room-overlay a:hover { background: var(--gold); color: #fff; }

.room-card .card-body { padding: 25px; text-align: center; }
.room-card .card-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.room-card .card-body .room-price {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.room-card .card-body p {
  font-family: 'Lato', sans-serif;
  color: #777;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.room-amenities {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.room-amenities span {
  font-size: 12px;
  color: #999;
  font-family: 'Lato', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
}
.room-amenities i { color: var(--gold); font-size: 13px; }

/* ============ AMENITIES SECTION ============ */
.amenity-item {
  text-align: center;
  padding: 35px 20px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  border-radius: 0;
  height: 100%;
}
.amenity-item:hover {
  background: #fff;
  border-color: rgba(184, 134, 11, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.amenity-item .amenity-icon {
  width: 70px; height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.amenity-item:hover .amenity-icon { background: var(--gold); }
.amenity-item .amenity-icon i {
  font-size: 28px;
  color: var(--gold);
  transition: color 0.3s ease;
}
.amenity-item:hover .amenity-icon i { color: #fff; }
.amenity-item h5 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.amenity-item p {
  font-family: 'Lato', sans-serif;
  color: #888;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ GALLERY SECTION ============ */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 20px;
}
.gallery-item img {
  width: 100%; height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gallery-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 26, 46, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--gold); font-size: 30px; }

/* ============ TESTIMONIALS ============ */
.testimonial-card {
  background: #fff;
  padding: 35px;
  border: 1px solid #eee;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}
.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--gold);
}
.testimonial-card .quote-icon {
  color: var(--gold);
  font-size: 40px;
  opacity: 0.3;
  position: absolute;
  top: 20px; right: 25px;
  font-family: 'Playfair Display', serif;
}
.testimonial-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-card .reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
}
.testimonial-card .reviewer-img {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
}
.testimonial-card .reviewer h6 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.testimonial-card .reviewer span {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  color: #999;
}
.testimonial-stars { color: var(--gold); font-size: 13px; margin-bottom: 15px; }

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.85)),
    url('../images/hero-3.png') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 15px;
}
.cta-section p {
  font-family: 'Lato', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* ============ CONTACT SECTION ============ */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}
.contact-info-item .icon-box {
  width: 50px; height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  font-size: 20px;
}
.contact-info-item h5 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 5px;
}
.contact-info-item p,
.contact-info-item a {
  font-family: 'Lato', sans-serif;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  text-decoration: none;
  margin-bottom: 0;
}
.contact-info-item a:hover { color: var(--gold); }

.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: 'Lato', sans-serif;
  border: 1px solid #ddd;
  padding: 12px 16px;
  font-size: 0.9rem;
  border-radius: 0;
  transition: border-color 0.3s ease;
  width: 100%;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(184, 134, 11, 0.15);
}
.contact-form .btn-submit {
  background: var(--gold);
  color: #fff;
  border: none;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 40px;
  border-radius: 0;
  transition: all 0.3s ease;
  width: 100%;
  cursor: pointer;
}
.contact-form .btn-submit:hover { background: var(--gold-dark); }

/* ============ FOOTER ============ */
.gh-footer {
  background: var(--navy);
  padding: 60px 0 0;
}
.gh-footer h5 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.gh-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.gh-footer p,
.gh-footer li,
.gh-footer a {
  font-family: 'Lato', sans-serif;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.3s ease;
}
.gh-footer a:hover { color: var(--gold); }
.gh-footer ul { list-style: none; padding: 0; }
.gh-footer ul li { margin-bottom: 8px; }
.gh-footer ul li i { color: var(--gold); margin-right: 8px; font-size: 12px; }

.footer-social { display: flex; gap: 10px; margin-top: 15px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; margin: 0; }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 45px; height: 45px;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 30px; left: 30px;
  width: 55px; height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* ============ LIGHTBOX ============ */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-modal.active { display: flex; }
.lightbox-modal img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10000;
}
.lightbox-close:hover { color: var(--gold); }

/* ============ FORM ALERT ============ */
.form-alert {
  padding: 12px 18px;
  margin-bottom: 15px;
  border-radius: 0;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  display: none;
}
.form-alert.show { display: block; }
.form-alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-alert.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
  .gh-navbar {
    background: rgba(26, 26, 46, 0.97);
    padding: 10px 0;
  }
  .gh-navbar .gh-nav-collapse {
    background: rgba(26, 26, 46, 0.97);
    padding: 15px;
    margin-top: 10px;
  }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-btn-outline { margin-left: 0; margin-top: 10px; }
  .about-image-wrapper img { height: 300px; margin-bottom: 30px; }
  .section-padding { padding: 60px 0; }
}

@media (max-width: 767.98px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content h5 { font-size: 0.9rem; letter-spacing: 3px; }
  .hero-content p { font-size: 0.95rem; }
  .hero-btn { padding: 12px 25px; font-size: 12px; }
  .room-card .card-img-top { height: 220px; }
  .gallery-item img { height: 200px; }
  .section-padding { padding: 50px 0; }
  .cta-section { padding: 50px 0; }
}
