/* ================= BASE ================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f5f0;
  color: #1f2937;
}

h1 {
  text-align: center;
}

/* ================= HERO ================= */
header.hero {
  position: relative;
}

/* DEFAULT (other pages) */
body.page header.hero {
  height: 25vh;
  min-height: 200px;
}

/* HOME PAGE ONLY */
body.home header.hero {
  height: 100vh;
}   

body.page header.hero img.bg {
  filter: brightness(0.85);
  object-position: center 30%;
}

/* background image FIXED */
header.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02); /* prevents edge gaps */
  z-index: 0;
}

/* overlay */
header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* ================= NAVBAR ================= */
.nav-bar {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);

  width: 80%;
  max-width: 1100px;

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 28px;

  border-radius: 16px;

  /* ✨ soft premium shading */
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.4);

  border: 1px solid rgba(255,255,255,0.35);

  z-index: 9999;
}

/* LOGO */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 95px;
  width: auto;
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* ================= DESKTOP NAV ================= */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin: 0 12px;
  text-decoration: none;
  color: #111827;
  font-weight: bold;
  font-size: 25px;
  position: relative;
  transition: color 0.25s ease;
}

/* subtle hover animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #111827;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ================= MOBILE BUTTON ================= */
.menu-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 90px;
  right: 20px;

  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);

  padding: 12px;
  border-radius: 10px;

  z-index: 10000;
}

.mobile-menu a {
  padding: 10px;
  text-decoration: none;
  color: #111827;
  font-weight: bold;
  transition: 0.2s;
}

.mobile-menu a:hover {
  transform: translateX(5px);
}

/* active state */
.mobile-menu.active {
  display: flex;
}

/* ================= HERO TITLE ================= */
.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 64px;
  color: white;
  text-align: center;
  

  z-index: 2;

  animation: fadeIn 1s ease;
}

/* fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ================= MAIN ================= */
main {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  padding: 60px 10px;
  position: relative;
  z-index: 1;
}

/* ================= ROW ================= */
.row {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
}

.row.reverse {
  flex-direction: row-reverse;
}

.col {
  flex: 1;
  min-width: 0;
}

.col p {
  margin: 10px 0;
  line-height: 1.6;
}

/* images */
img {
  width: 100%;
  border-radius: 10px;
}

.map {
  margin-top: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.section {
  max-width: 1400px;

  margin: 0 auto;

  padding: 40px;

}

/* shared content wrapper style */
.section-inner {
  max-width: 1400px;

  margin: 0 auto;

  background: #ffffff;
  border-radius: 20px;
  padding: 40px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.06);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.section-inner:hover {
  will-change: transform;
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

/* alternate soft background variation */
.section.alt .section-inner {
  background: #f3f4f6;
}

/* ROOMS GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  
}

.room-card {
  display: block;
  text-decoration: none;
  color: inherit;

  background: white;
  border-radius: 15px;
  overflow: hidden;

  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.room-card img {
  height: 220px;
  object-fit: cover;
}

.room-card h3 {
  margin: 15px;
}

.room-card p {
  margin: 0 15px 20px;
  color: #555;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}


/* ================= CENTER TEXT FIX ================= */
.center {
  text-align: center;
  
  font-size: 48px;
  margin-bottom: 40px;
  display: block;
}

/* ================= ROOM PAGE ================= */

/* FULL WIDTH BREAKOUT */
.room-full {
  width: 100%;
  padding: 0;
}

/* MAIN SPLIT */
.room-layout {
  display: flex;
  width: 100%;
  min-height: 600px;
  background: white;
}

/* LEFT SIDE (gallery) */
.gallery {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 40px;
  box-sizing: border-box;
}

/* BIG IMAGE */
.main-image {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.main-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* THUMBNAILS BELOW */
.thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  opacity: 0.7;
  transition: all 0.25s ease;
}

.thumbnails img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnails img.active {
  opacity: 1;
  border: 2px solid #111827;
}

/* ================= ROOM HIGHLIGHTS STRIP ================= */

.room-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.highlight {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.highlight:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

/* ================= ROOM INFO ================= */

/* RIGHT SIDE (info) */
.room-info {
  width: 50%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 20px;
  box-sizing: border-box;
}

/* nicer typography */
.room-info h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.room-info p {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* subtle divider like booking sites */
.room-info {
  border-left: 1px solid #e5e7eb;
}

/* ================= ROOM LAYOUT (BOOKING STYLE BALANCED) ================= */

.room-info-split {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* LEFT SIDE (TEXT + PRICES) */
.room-left {
  flex: 2.2;              /* takes most of the space */
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* RIGHT SIDE (RESERVATION CARD) */
.room-booking {
  flex: 1;                /* smaller side */
  max-width: 360px;      /* prevents it from getting too wide */
  min-width: 280px;      /* keeps it usable */
}

/* EMBED STYLE */
.embed {
  background: #f9fafb;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  width: 100%;
  box-sizing: border-box;
}

/* FIX FOR EMBEDS INSIDE SCRIPT WIDGETS */
.embed iframe,
.embed > div {
  width: 100% !important;
}

/* MAKE BOOKING STICK (LIKE AIRBNB SIDEBAR) */
.room-booking {
  position: sticky;
  top: 20px;
}

/* ================= ANIMATION ================= */
.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* ================= FOOTER ================= */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 5%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

footer h3 {
  color: #fff;
}

footer a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  transition: 0.2s ease;
}

footer a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #64748b;
  border-top: 1px solid rgba(255,255,255,0.08);
}

img {
  max-width: 100%;
  height: auto;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .row {
    flex-direction: column;
    text-align: left;
    
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    
  }

   .grid {
   grid-template-columns: 1fr;
  }

  .grid-3 {
   grid-template-columns: 1fr;
  }
  .row,
  .row.reverse {
   flex-direction: column;
  }
  /* ================= ROOM LAYOUT ================= */
  .room-layout {
    flex-direction: column;
  }

  .gallery {
    width: 100%;
    padding: 20px;
  }

  .main-image img {
    aspect-ratio: 3 / 2;
    height: auto;
  }

  .room-info {
    width: 100%;
    padding: 20px;
    border-left: none;
  }

  .room-info-split {
    flex-direction: column;
  }

  /* ================= BOOKING ================= */

  /* hide ONLY embed, NOT whole container */
  .room-booking .embed {
    display: none;
  }

  /* KEEP container visible so button works */
  .room-booking {
    display: block;
  }

  /* ================= BUTTON ================= */

  .mobile-only {
    display: block !important;;
  }

  .reservation-btn.mobile-only {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: #111827;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
  }

  /* OPTIONAL: hide highlights if you want cleaner mobile */
  .room-highlights {
    display: none;
  }
}