:root {
  --deep: #0c4668;
  --mid: #165f8d;
  --accent: #5b3fc8;
  --primary: #1f75b8;
  --btn-grad: linear-gradient(90deg, #5b3fc8, #1f75b8);
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-strong: 0 20px 40px rgba(6, 22, 40, 0.45);
  --shadow-soft: 0 8px 20px rgba(6, 22, 40, 0.25);
  --transition: all 0.3s ease;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(180deg, var(--deep), #0b3a5a 160%);
  color: var(--white);
  line-height: 1.6;
}

/* Container */
.container { max-width: 1150px; margin: 0 auto; padding: 28px; }
/* ===== Topbar ===== */
/* ===== Topbar ===== */
.topbar {
  width: 100%;
  background: rgba(12, 70, 104, 0.85); /* transparent blue */
  backdrop-filter: blur(8px);           /* blur effect */
  -webkit-backdrop-filter: blur(8px);   /* Safari support */
  padding: 14px 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

/* ===== Brand ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px; /* logo aur text ke beech gap */
}

.brand .logo-img {
  height: 55px;
  width: auto;
}

.brand span {
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap; /* wrap issue fix */
}

/* ===== Menu Links ===== */
.menu {
  display: flex;
  gap: 28px;
  align-items: center;
  transition: all 0.4s ease;
  margin: 0 20px; /* dono taraf thoda breathing space */
}

.menu a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
}

/* Underline animation */
.menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #5b3fc8, #1f75b8);
  transition: width 0.35s ease, left 0.35s ease;
  transform: translateX(-50%);
}
.menu a:hover {
  color: #5b3fc8;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.menu a:hover::after {
  width: 100%;
  left: 50%;
}

/* ===== Book Button ===== */
.btn-book {
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #6791e4, #1f75b8);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  margin-left: 15px; /* burger aur button ke beech space */
}
.btn-book:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(91,63,200,0.45);
}

/* ===== Burger ===== */
.burger {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  z-index: 1100;
  position: relative;
  width: 35px;
  height: 28px;
  margin-left: 15px; /* logo/text se thoda gap */
}
.burger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  left: 0;
  transition: all 0.4s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 12px; }
.burger span:nth-child(3) { top: 24px; }

.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 12px;
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 12px;
}

/* ===== Responsive Menu ===== */
@media (max-width: 768px) {
  .burger { display: block; }

  .menu {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    background: rgba(12,70,104,0.96);
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    gap: 18px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .menu.open {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu a {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
  }

  .menu.open a {
    animation: fadeSlide 0.5s forwards;
  }
  .menu.open a:nth-child(1) { animation-delay: 0.1s; }
  .menu.open a:nth-child(2) { animation-delay: 0.2s; }
  .menu.open a:nth-child(3) { animation-delay: 0.3s; }
  .menu.open a:nth-child(4) { animation-delay: 0.4s; }
  .menu.open a:nth-child(5) { animation-delay: 0.5s; }

  @keyframes fadeSlide {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-slides {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-slides img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideFade 20s infinite;
}
.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 5s; }
.hero-slides img:nth-child(3) { animation-delay: 10s; }
.hero-slides img:nth-child(4) { animation-delay: 15s; }
@keyframes slideFade {
  0%,30%,100% { opacity: 0; }
  5%,25% { opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}
.hero-content h1 {
  font-size: 64px;
  font-family: "Playfair Display", serif;
  text-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.hero-content p {
  font-size: 20px;
  margin: 20px 0;
  text-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.btn-cta {
  background: var(--btn-grad);
  color: #fff;
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-cta:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.45); }

/* ===== About Section ===== */
.about-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  align-items: center;
}
.about-info h2 {
  font-size: 34px;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}
.about-info p { font-size: 16px; }
.about-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.about-image img:hover { transform: scale(1.05); }

/* ===== Rooms Section ===== */
.rooms-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
}
.rooms-section h2 {
  font-size: 34px;
  margin-bottom: 30px;
  font-family: "Playfair Display", serif;
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.room-card {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.room-card:hover { transform: translateY(-5px); }
.room-card img { width: 100%; height: 200px; object-fit: cover; }
.room-card h3 { margin: 16px; font-size: 20px; }
.room-card a {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--btn-grad);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.room-card a:hover { transform: translateY(-3px); }

/* ===== Contact Section ===== */
.contact-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.contact-info h2 {
  font-size: 34px;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}
.contact-info p {
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.contact-info strong { color: var(--accent); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 15px;
}
.contact-form textarea { min-height: 120px; resize: none; }
.contact-form button {
  background: var(--btn-grad);
  color: var(--white);
  padding: 12px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}
.contact-form button:hover { transform: translateY(-3px); }

/* ===== Footer ===== */
.footer {
  background: #0b1e45;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
  flex-wrap: wrap;
}
.footer-left { flex: 1; min-width: 220px; }
.footer-logo { width: 90px; margin-bottom: 10px; }
.footer-left p { font-size: 14px; margin: 4px 0; }
.footer-center { flex: 1; text-align: center; min-width: 220px; }
.footer-center a {
  margin: 0 10px;
  font-size: 20px;
  color: #fff;
  transition: 0.3s;
}
.footer-center a:hover { color: var(--primary); transform: translateY(-3px); }
.footer-right a {
  color: #fff; margin-left: 16px; font-size: 14px; text-decoration: none; transition: 0.3s;
}
.footer-right a:hover { color: var(--accent); }

/* ===== Modal Overlay ===== */
#modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 20, 0.65);
  z-index: 120;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}
.modal-box {
  background: linear-gradient(135deg, #e7e6e6, #132f65);
  max-width: 520px;
  width: 100%;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.modal-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 18px 18px 0 0;
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.logo-title { display: flex; align-items: center; gap: 12px; }
.logo-title img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2)); }
.logo-title h3 { margin: 0; font-family: "Playfair Display", serif; font-size: 22px; font-weight: 700; color: #222; }
.close-btn {
  background: none; border: none; font-size: 22px; cursor: pointer; color: #555;
  transition: 0.3s; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
}
.close-btn:hover { background: rgba(0,0,0,0.05); color: var(--accent); }
.modal-form { display: grid; gap: 14px; }
.modal-form input {
  padding: 12px 14px; border: 1px solid #ddd; border-radius: 12px; font-size: 15px; transition: 0.3s; background: #fafbfc;
}
.modal-form input:focus {
  border-color: var(--primary); outline: none; box-shadow: 0 0 8px rgba(0,100,255,0.2); background: #fff; transform: translateY(-1px);
}
.date-group { display: flex; gap: 12px; }
.date-group input { flex: 1; }
.submit-btn {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  color: #082a59; padding: 14px; border-radius: 12px; border: none; font-weight: 700; cursor: pointer; transition: 0.3s; letter-spacing: 0.5px;
}
.submit-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 6px 22px rgba(0,0,0,0.18); }
.floating-book {
  position: fixed; right: 20px; bottom: 24px;
  background: var(--btn-grad); color: var(--white); padding: 14px 26px; border-radius: 999px; border: none;
  font-weight: 700; cursor: pointer; font-size: 15px; box-shadow: 0 6px 22px rgba(0,0,0,0.2); transition: 0.3s;
}
.floating-book:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===== Room Type / Custom Select ===== */
.room-select { display: grid; gap: 6px; }
.room-select label { font-size: 14px; font-weight: 600; color: #444; }
.custom-select { position: relative; background: #18397c; border: 1px solid #ddd; border-radius: 10px; cursor: pointer; user-select: none; }
.custom-select .selected { display: flex; align-items: center; gap: 10px; padding: 10px; }
.custom-select .selected img { width: 36px; height: 28px; object-fit: cover; border-radius: 6px; }
.custom-select .options {
  list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 100%;
  background: #18397c; border: 1px solid #3e6eac; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  max-height: 220px; overflow-y: auto; display: none; z-index: 10;
}
.custom-select .options li { display: flex; align-items: center; gap: 10px; padding: 10px; transition: 0.2s; cursor: pointer; }
.custom-select .options li:hover { background: #5278a3; }
.custom-select .options img { width: 34px; height: 26px; object-fit: cover; border-radius: 6px; }
.custom-select.active .options { display: block; }

/* ===== Restaurant Section ===== */
.restaurant-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 80px 10%;
}
.restaurant-content h5 {
  letter-spacing: 6px; font-size: 13px; font-weight: 600; color: #d35400; margin-bottom: 15px; text-transform: uppercase;
}
.restaurant-content h1 {
  font-size: 46px; margin-bottom: 25px; font-weight: 700; line-height: 1.2; color: #094f95;
}
.restaurant-content p { font-size: 16px; line-height: 1.8; color: #eee9e7; margin-bottom: 40px; }
.restaurant-content h2 {
  font-size: 26px; margin-bottom: 15px; color: #335e89; border-left: 4px solid #d35400; padding-left: 10px;
}
.hours-list { margin-bottom: 40px; }
.hours-item {
  margin-bottom: 12px; font-size: 16px; padding: 8px 12px; background: #113660; border-radius: 6px; transition: 0.3s;
}
.hours-item:hover { background: #b35811; }
.hours-item span { font-weight: 600; color: #d35400; }
.slider { position: relative; width: 100%; height: 500px; overflow: hidden; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.slides { display: flex; height: 100%; transition: transform 1s ease-in-out; }
.slides img { width: 100%; height: 100%; object-fit: cover; flex: 0 0 100%; }

/* ===== Menu Tabs (Text + Icon) ===== */
.menu-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  border-bottom: 1px solid #ddd; padding: 14px 0;
}
.menu-tabs button {
  background: none; border: none; font-size: 18px; font-weight: 600; color: #fff;
  cursor: pointer; position: relative; padding-bottom: 6px; transition: 0.3s;
  display: flex; align-items: center; gap: 6px;
}
.menu-tabs button:hover { color: #b35811; }
.menu-tabs button.active { color: #d35400; }
.menu-tabs button.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #d35400; border-radius: 2px;
}
.menu-tabs .icon { display: none; font-size: 20px; }

/* ===== Menu Section ===== */
.menu-section { padding: 50px 8%; display: none; }
.menu-section.active {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 30px; animation: fadeIn 0.6s ease-in-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Menu Item ===== */
.menu-item {
  display: flex; align-items: center; gap: 20px; transition: 0.3s;
}
.menu-item:hover { transform: translateY(-4px); }
.menu-item img {
  width: 120px; height: 120px; border-radius: 12px; object-fit: cover; transition: 0.4s;
}
.menu-item:hover img { transform: scale(1.08); }
.menu-info h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.menu-info p { font-size: 14px; color: #8aa0dd; margin-bottom: 8px; }
.menu-info .price { font-size: 18px; font-weight: 700; }

/* ===== Gallery Tabs & Sections ===== */
.gallery-tabs {
  display: flex; justify-content: center; gap: 15px; margin: 40px auto; flex-wrap: wrap;
}
.gallery-tabs button {
  padding: 12px 25px; border: none; background: #ddd; border-radius: 30px; cursor: pointer; font-weight: 600; transition: all 0.3s ease;
}
.gallery-tabs button.active-tab {
  background: #3a1c71; color: #fff; box-shadow: 0 4px 15px rgba(58,28,113,0.4); transform: translateY(-2px);
}
.gallery-tabs button:hover { background: #5a2c91; color: #fff; }

/* gallery-section default hidden, active-section shows grid */
.gallery-section {
  display: none; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease;
  max-width: 1200px; margin: 20px auto; padding: 20px;
}
.gallery-section.active-section {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
  opacity: 1; transform: translateY(0);
}

/* gallery-card */
.gallery-card {
  position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  background: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card img {
  width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease;
}
.gallery-card:hover img { transform: scale(1.06); }

/* overlay info */
.gallery-info {
  position: absolute; bottom: 0; left: 0; width: 100%;
  padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-card:hover .gallery-info {
  opacity: 1; transform: translateY(0);
}
.gallery-info h3 { font-size: 18px; margin-bottom: 6px; }
.gallery-info p { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,0.9); }
.Gallery-heading {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  color: #fff;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease;
}

.gallery-desc {
  color: #ddd;
  font-size: 15px;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease;
}
/* End of CSS */
