/* gaviya-shell.css — the gaviya.com header and footer, for stays.gaviya.com.
 *
 * Rules and values are taken from gaviya.com's live stylesheet so the two sites
 * match exactly, with one deliberate change: every class is renamed with a `gv-`
 * prefix.
 *
 * That rename is the whole point. gaviya.com is a WordPress theme that styles
 * `.container`, `.row`, `.d-flex`, `.logo` and `.row-three` — names Bootstrap
 * also owns, and Bootstrap is loaded on every page of this site. Dropping the
 * theme's CSS in as-is would silently reflow every existing layout. Nothing
 * here touches a class name this site already uses.
 *
 * Brand colour is gaviya.com's --mainColor.
 */

:root { --gv-main: #345a63; }

/* ─────────────────────────── header ─────────────────────────── */

.gv-header {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
  padding: 15px 0;
  position: relative;
  z-index: 9;
  font-family: 'Poppins', sans-serif;
}
.gv-header * { box-sizing: border-box; }

.gv-header .gv-bar { width: 100%; padding: 0 20px; display: flex; align-items: center; }

.gv-logo { line-height: 0; }
.gv-logo img { width: 140px; height: auto; display: block; }

.gv-nav { margin-left: auto; }

.gv-menu { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.gv-menu li { position: relative; list-style: none; }
/* gaviya.com's own values — matched exactly. */
.gv-menu li a {
  padding: 10px 15px; display: flex; align-items: center; gap: 4px;
  color: #000; text-decoration: none; font-size: 15px; line-height: 1.4;
}
.gv-menu li a:hover { color: var(--gv-main); }
.gv-menu li a svg { width: 22px; flex: 0 0 auto; }

/* current section — this site */
.gv-menu li.gv-current > a { color: var(--gv-main); font-weight: 600; }

.gv-sub {
  position: absolute; left: 0; right: 0; top: 40px; margin: 0; display: none;
  min-width: 220px; background: #fff; box-shadow: 0 30px 80px rgba(8, 0, 42, .08);
  text-align: left; padding: 15px; list-style: none; z-index: 20;
  border-bottom-right-radius: 10px; border-bottom-left-radius: 10px;
}
.gv-menu > li:hover > .gv-sub { display: block; animation: gv-fade-down .45s linear; }
.gv-menu > li .gv-sub li a { padding: 10px; white-space: nowrap; }

@keyframes gv-fade-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

.gv-hamburger { display: none; cursor: pointer; margin-left: auto; padding: 4px; }
.gv-hamburger .gv-line {
  width: 35px; height: 2px; background: #000; display: block; margin: 6px auto;
  transition: all .3s ease-in-out;
}
.gv-menu-open .gv-hamburger .gv-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.gv-menu-open .gv-hamburger .gv-line:nth-child(2) { opacity: 0; }
.gv-menu-open .gv-hamburger .gv-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Currency switcher sits in a WHITE bar here, unlike the old dark topbar. */
.gv-header .cur-switch { background: #f1f4f5; margin-right: 6px; }
.gv-header .cur-switch .cur-opt { color: #345a63; opacity: .75; }
.gv-header .cur-switch .cur-opt:hover { opacity: 1; }
.gv-header .cur-switch .cur-opt.is-active { background: var(--gv-main); color: #fff; opacity: 1; }

/* A slim bar under the header, carrying the per-page "Back"/"Home" links the
   old topbars had. Those are real navigation aids on a booking flow, so they
   are kept rather than dropped when the shared header takes over. */
.gv-subbar {
  background: #f5f6f8; border-bottom: 1px solid #ebedf0;
  padding: 9px 20px; font-family: 'Poppins', sans-serif; font-size: 13px;
}
.gv-subbar a { color: #345a63; text-decoration: none; margin-right: 18px; }
.gv-subbar a:hover { text-decoration: underline; }
@media print { .gv-subbar { display: none !important; } }

/* ─────────────────────────── footer ─────────────────────────── */

.gv-footer {
  background: var(--gv-main);
  color: #fff;
  padding: 40px 0 0;
  font-family: 'Poppins', sans-serif;
  margin-top: 40px;
}
.gv-footer * { box-sizing: border-box; }
.gv-footer a { color: #fff; font-size: 14px; text-decoration: none; }
.gv-footer a:hover { text-decoration: underline; }
.gv-footer p { font-size: 14px; line-height: 26px; margin: 0 0 20px; }
.gv-footer h3 { font-size: 16px; font-weight: 600; color: #fff; margin: 0 0 14px; }

.gv-container { max-width: 1170px; width: 100%; margin: 0 auto; padding: 0 20px; }
.gv-row { display: flex; flex-wrap: wrap; }

.gv-col-30 { flex: 0 0 30%; max-width: 30%; padding-right: 20px; }
.gv-col-70 { flex: 0 0 70%; max-width: 70%; padding-left: 30px; display: flex; flex-wrap: wrap; }
.gv-col-3  { flex: 0 0 33.333333%; max-width: 33.333333%; }

.gv-footer ul { margin: 0; padding: 0; list-style: none; }
.gv-footer li { list-style: none; margin-bottom: 10px; font-size: 14px; line-height: 22px; }

.gv-footer .gv-flogo img { width: 140px; height: auto; }
.gv-footer .gv-blurb { margin-top: 20px; }

.gv-ilink { display: flex; align-items: center; }
.gv-ilink svg { width: 20px; margin-right: 10px; fill: #fff; flex: 0 0 auto; }

.gv-copyright { text-align: center; font-size: 12px; padding: 10px 0; margin-top: 30px; }
.gv-copyright p, .gv-copyright a { font-size: 12px; margin: 0; }
.gv-copyright img { width: 85px; height: auto; vertical-align: middle; }

/* ─────────────────────── floating WhatsApp ─────────────────────── */

.gv-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.gv-wa svg { width: 30px; height: 30px; }
@media print { .gv-wa, .gv-header, .gv-footer { display: none !important; } }

/* ─────────────────────────── responsive ───────────────────────────
   gaviya.com switches to the hamburger at 820px, which is too low for a
   menu that also carries "Book Rooms" and the currency switcher: measured, the
   bar needs about 1120px before the items start compressing and the logo gets
   squeezed. The hamburger therefore takes over a little earlier than on
   gaviya.com. The FOOTER keeps gaviya.com's own 820px
   breakpoint, because three footer columns sit comfortably on a tablet — only
   the menu has the crowding problem. */

@media only screen and (max-width: 1140px) {
  .gv-nav {
    display: none; position: absolute; top: 56px; left: 0; width: 100%;
    background: #f8f8f8; padding: 20px 10px; z-index: 30;
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .gv-menu { display: block; }
  .gv-menu li a { justify-content: space-between; font-weight: 500; padding: 15px; font-size: 15px; }
  .gv-sub {
    position: static; display: block; background: transparent;
    box-shadow: none; padding: 0 0 0 30px; min-width: 0;
  }
  .gv-menu > li .gv-sub li a { padding: 4px 0 0 10px; white-space: normal; }
  .gv-hamburger { display: block; }
  /* Full width in the drawer, not a pill floating beside a menu row. */
  .gv-header .cur-switch { margin: 4px 0 0 15px; }
}

@media only screen and (max-width: 820px) {
  .gv-col-30, .gv-col-70, .gv-col-3 {
    flex: 0 0 100%; max-width: 100%; padding-left: 0; padding-right: 0;
  }
  .gv-col-3 { margin-bottom: 20px; }
  .gv-col-70 { margin-top: 20px; }
}
