/* ==========================================================================
   HOTEL CU LODGING — Premium Landing Page Styles
   ========================================================================== */

:root {
  --navy: #0D1B2A;
  --navy-light: #16283d;
  --gold: #D4AF37;
  --gold-light: #f0d777;
  --white: #FFFFFF;
  --bg-light: #F8F9FA;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: all 0.35s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: #333;
  background: var(--white);
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}

a { text-decoration: none; }

.section-pad { padding: 90px 0; }
@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
}

.bg-light-alt { background: var(--bg-light); }

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-sub {
  color: #6c757d;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.title-underline {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  margin: 14px auto 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
  color: var(--navy);
  border: none;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 50px;
  transition: var(--transition);
  background: transparent;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: none;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-navy:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.btn-light-outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 50px;
  transition: var(--transition);
  background: rgba(255,255,255,0.05);
}
.btn-light-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

#mainNav {
  background: transparent;
  transition: var(--transition);
  padding: 18px 0;
}
#mainNav.scrolled {
  background: rgba(13, 27, 42, 0.96);
  padding: 10px 0;
  box-shadow: 0 6px 25px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}

.navbar-brand {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white) !important;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}
.navbar-brand span { color: var(--gold); }

#mainNav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 600;
  margin: 0 10px;
  position: relative;
  padding: 8px 0 !important;
}
#mainNav .nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { width: 100%; }
#mainNav .nav-link:hover { color: var(--gold) !important; }

.navbar-toggler {
  border: none;
  color: var(--white);
  font-size: 1.5rem;
}

.nav-cta-btn {
  font-size: 0.9rem;
  padding: 9px 20px;
}

/* Offcanvas mobile menu */
#mobileMenu .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#mobileMenu .nav-link:hover,
#mobileMenu .nav-link.active {
  color: var(--gold) !important;
}
#mobileMenu .offcanvas-title { color: var(--white); }

/* ==========================================================================
   Hero Section
   ========================================================================== */

#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
}

.hero-slide {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,13,21,0.92) 0%, rgba(13,27,42,0.82) 45%, rgba(13,27,42,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-top: 40px;
}

.hero-content .eyebrow { color: var(--gold-light); }

.hero-heading {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
  opacity: 0;
  transform: translateY(40px);
  text-shadow: 0 2px 6px rgba(0,0,0,0.5), 0 8px 30px rgba(0,0,0,0.4);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(30px);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-desc {
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 30px;
  color: #f1f3f5;
  opacity: 0;
  transform: translateY(30px);
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}

.hero-btns { opacity: 0; transform: translateY(30px); }

.carousel-item.active .hero-heading,
.carousel-item.active .hero-tagline,
.carousel-item.active .hero-desc,
.carousel-item.active .hero-btns {
  animation: heroUp 0.9s ease forwards;
}
.carousel-item.active .hero-tagline { animation-delay: 0.15s; }
.carousel-item.active .hero-desc { animation-delay: 0.3s; }
.carousel-item.active .hero-btns { animation-delay: 0.45s; }

@keyframes heroUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Floating booking card */
.floating-booking-card {
  position: absolute;
  right: 5%;
  bottom: 70px;
  z-index: 3;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 22px 26px;
  color: var(--white);
  min-width: 250px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.floating-booking-card h6 {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  margin-bottom: 12px;
}
.floating-booking-card .price-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
  font-size: 0.95rem;
}
.floating-booking-card .price-row:last-child { border-bottom: none; }
.floating-booking-card .price-row strong { color: var(--gold-light); }

@media (max-width: 991px) {
  .floating-booking-card {
    position: static;
    margin: 30px auto 0;
    max-width: 320px;
  }
}

.hero-scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--white);
  font-size: 1.6rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -12px); }
  60% { transform: translate(-50%, -6px); }
}

#hero .carousel-indicators { z-index: 3; margin-bottom: 25px; }
#hero .carousel-indicators [data-bs-target] {
  background-color: var(--gold);
  width: 10px; height: 10px;
  border-radius: 50%;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-img-wrap {
  position: relative;
  padding-bottom: 25px;
  padding-left: 25px;
}
.about-img-frame {
  border-radius: 24px;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-img-wrap:hover img { transform: scale(1.05); }

.about-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  padding: 18px 24px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  border: 3px solid var(--gold);
}
.about-badge h3 { color: var(--gold); margin: 0; font-size: 1.8rem; }
.about-badge small { color: #cfd6dd; }

@media (max-width: 767px) {
  .about-img-wrap { padding-bottom: 15px; padding-left: 15px; }
  .about-badge { padding: 12px 16px; }
  .about-badge h3 { font-size: 1.3rem; }
}

.highlight-list { list-style: none; padding: 0; margin: 25px 0; }
.highlight-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-weight: 600;
  color: var(--navy);
}
.highlight-list i {
  color: var(--gold);
  background: rgba(212,175,55,0.12);
  width: 32px; height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Cards common
   ========================================================================== */

.icon-circle {
  position: relative;
  z-index: 2;
  width: 65px; height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--navy);
  margin: -55px auto 18px;
  box-shadow: 0 8px 20px rgba(212,175,55,0.4);
  border: 4px solid var(--white);
}

/* Services */
.service-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(13,27,42,0.08);
  transition: var(--transition);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(13,27,42,0.18);
}
.service-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  border-radius: 20px 20px 0 0;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img img { transform: scale(1.12); }
.service-body { padding: 0 25px 28px; text-align: center; }
.service-body p { color: #6c757d; font-size: 0.95rem; }
.service-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.service-btns .btn { font-size: 0.85rem; padding: 8px 18px; }

/* ==========================================================================
   Pricing / Room Tariff
   ========================================================================== */

.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(13,27,42,0.08);
  transition: var(--transition);
  height: 100%;
  border: 2px solid transparent;
  position: relative;
}
.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(212,175,55,0.2);
}
.price-card .price-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 15px;
}
.price-card .price-amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0;
}
.price-card .price-amount span {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 400;
}
.price-card.featured {
  background: linear-gradient(160deg, var(--navy), var(--navy-light));
  color: var(--white);
  transform: scale(1.05);
  border-color: var(--gold);
}
.price-card.featured h5,
.price-card.featured .price-amount { color: var(--white); }
.price-card.featured .price-amount span { color: #b9c2cc; }
.price-card.featured .price-icon { color: var(--gold-light); }
@media (max-width: 991px) {
  .price-card.featured { transform: scale(1); }
}
.featured-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 6px 15px rgba(212,175,55,0.4);
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(13,27,42,0.1);
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.15); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.1), rgba(13,27,42,0.85));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
  font-size: 1.8rem;
  color: var(--gold);
  background: rgba(255,255,255,0.15);
  width: 55px; height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  margin-top: auto;
  transform: scale(0.7);
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay i { transform: scale(1); }
.gallery-overlay span {
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-head);
}

/* Masonry columns */
.gallery-masonry {
  column-count: 4;
  column-gap: 20px;
}
.gallery-masonry .gallery-item { break-inside: avoid; }
@media (max-width: 991px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 767px) { .gallery-masonry { column-count: 2; } }
@media (max-width: 480px) { .gallery-masonry { column-count: 1; } }

/* Lightbox modal */
#lightboxModal .modal-content {
  background: transparent;
  border: none;
}
#lightboxModal img {
  width: 100%;
  border-radius: 12px;
}
#lightboxModal .btn-close {
  filter: invert(1);
  position: absolute;
  top: -40px;
  right: 0;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */

.why-card {
  background: var(--white);
  border-radius: 18px;
  padding: 35px 20px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(13,27,42,0.07);
  transition: var(--transition);
  height: 100%;
}
.why-card:hover {
  background: var(--navy);
  transform: translateY(-8px);
}
.why-card i {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 15px;
  display: inline-block;
  transition: var(--transition);
}
.why-card h6 {
  transition: var(--transition);
  margin-bottom: 0;
  font-size: 1rem;
}
.why-card:hover h6 { color: var(--white); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-zoom { opacity: 0; transform: scale(0.85); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-zoom.active { opacity: 1; transform: scale(1); }

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.92), rgba(13,27,42,0.75));
}
.cta-banner .cta-inner { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.6rem); }
@media (max-width: 767px) {
  .cta-banner { background-attachment: scroll; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 35px;
}
.contact-info-card h4 { color: var(--white); }
.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-item i {
  background: var(--gold);
  color: var(--navy);
  width: 42px; height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-item a { color: #e7e9ec; }
.contact-item a:hover { color: var(--gold); }

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13,27,42,0.12);
  height: 100%;
  min-height: 350px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 350px; border: 0; }

/* ==========================================================================
   Floating buttons
   ========================================================================== */

.floating-buttons {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.floating-buttons a {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  animation: pulse 2.2s infinite;
}
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--gold); color: var(--navy) !important; animation-delay: 1.1s; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Back to top */
#backToTop {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 999;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  border: 2px solid var(--gold);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--navy);
  color: #cfd6dd;
}
.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Lazy load fade */
img.lazy-fade {
  opacity: 0;
  transition: opacity 0.6s ease;
}
img.lazy-fade.loaded { opacity: 1; }
