/* Club Nirvana: a classic resort look, gold on warm dark and cream, serif display type. */
/* The two typefaces, kept here (no request to another site before the page can show). */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/cormorant-garamond.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/mulish.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --gold: #a7834a;
  --gold-deep: #8a6a35;
  --ink: #1c1a17;
  --text: #3d3a35;
  --muted: #7a746b;
  --cream: #f7f3ec;
  --paper: #ffffff;
  --line: #e6dfd3;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 300 16px/1.75 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
/* A link among words is underlined, not told by its colour alone. */
p a, li a { text-decoration: underline; text-underline-offset: 3px; }

/* Buttons */
.btn { display: inline-block; padding: 13px 28px; font: 600 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; text-align: center; }
.btn-gold { background: var(--gold-deep); color: #fff; }
.btn-gold:hover { background: #6f5528; color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-deep); font-weight: 600; letter-spacing: .08em; border-bottom: 1px solid currentColor; }

/* Top bar and header */
.topbar { background: var(--ink); color: #cfc7b8; font-size: 12.5px; letter-spacing: .03em; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #e9dcc3; }
.header { position: sticky; top: 0; z-index: 50; margin-bottom: -88px; transition: background .3s, box-shadow .3s; }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand img { height: 52px; width: auto; }
.brand .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 12px 0; }
.nav a:hover { color: #f0d9a8; }
.nav .nav-book { color: #fff; padding: 12px 20px; }
.header.is-solid { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); }
.header.is-solid .nav a:not(.nav-book) { color: var(--ink); }
.header.is-solid .nav a:not(.nav-book):hover { color: var(--gold); }
.header.is-solid .logo-light { display: none; }
.header.is-solid .logo-dark { display: block; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
.header.is-solid .menu-btn span { background: var(--ink); }

/* Hero: the film */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1000px; color: #fff; overflow: hidden; background: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-video { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(20,17,12,.55) 0%, rgba(20,17,12,.28) 38%, rgba(20,17,12,.7) 100%); }
.hero-text { position: relative; width: 100%; padding-bottom: 44px; }
.hero h1 { color: #fff; font-size: clamp(40px, 7vw, 82px); font-weight: 400; margin-bottom: 18px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero .eyebrow { color: #f0d9a8; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); max-width: 560px; color: #f3eee6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.hero-sound { position: absolute; right: 24px; top: 150px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.25); color: #fff; font-size: 12px; letter-spacing: -2px; }
/* The music, beside the film's pause: a note, struck through while it is off. */
.hero-music { right: 76px; font-size: 18px; letter-spacing: 0; z-index: 6; }
.hero-music::after { content: ''; position: absolute; left: 9px; right: 9px; top: 50%; height: 1.5px; background: #fff; transform: rotate(-45deg); }
.hero-music.is-on::after, .hero-music.is-waiting::after { display: none; }
.hero-music.is-waiting { animation: beckon 1.6s ease-in-out infinite; }
.hero-music.is-waiting::before { content: 'Tap for music'; position: absolute; right: 50px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(20,17,12,.6); padding: 8px 12px; border-radius: 16px; pointer-events: none; }
@keyframes beckon { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 60% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
.hero-music.is-on { background: var(--gold-deep); border-color: var(--gold-deep); }

/* Booking bar */
/* The search, over the foot of the film: dark glass, the film seen through it. */
.booking { position: relative; z-index: 5; width: 100%; padding-bottom: 40px; }
.booking-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 16px; align-items: end; padding: 22px 24px; background: rgba(20,17,12,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.wrap.booking-form { max-width: calc(var(--wrap) - 40px); }
.booking-form label { min-width: 0; display: flex; flex-direction: column; gap: 6px; font: 600 11px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #e9dcc3; }
.booking-form input, .booking-form select { min-height: 46px; font: 400 16px var(--sans); color: var(--ink); padding: 11px 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 0; min-width: 0; width: 100%; -webkit-appearance: none; appearance: none; }
.booking-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #d9d1c3; }
.booking-note a { color: #f0d9a8; }
.booking-form .btn { min-height: 46px; }

/* Sections */
.section { padding: 110px 0; }
.head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.head p:last-child { color: var(--muted); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-photo::after { content: ''; position: absolute; top: 22px; right: -22px; bottom: -22px; left: 22px; border: 1px solid var(--gold); z-index: -1; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts strong { display: block; font: 500 34px/1 var(--serif); color: var(--gold-deep); }
.facts span { font-size: 13px; color: var(--muted); letter-spacing: .06em; }

.rooms { background: var(--cream); }
.room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.room { background: var(--paper); display: flex; flex-direction: column; }
.room-photos { position: relative; aspect-ratio: 3/2; overflow: hidden; background: #ddd; }
.room-photos .slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; transition: opacity .6s; }
.room-photos .slide.is-on { opacity: 1; }
.room-photos img { width: 100%; height: 100%; object-fit: cover; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--ink); font-size: 24px; line-height: 1; opacity: 0; transition: opacity .25s; }
.slide-btn.prev { left: 12px; } .slide-btn.next { right: 12px; }
.room-photos:hover .slide-btn, .slide-btn:focus-visible { opacity: 1; }
.room-count { position: absolute; left: 12px; bottom: 12px; background: rgba(28,26,23,.7); color: #fff; font-size: 12px; padding: 4px 10px; letter-spacing: .06em; }
.room-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.room-body p { color: var(--muted); }
.room-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.exp { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--ink); }
.exp img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.exp:hover img { transform: scale(1.06); }
.exp-text { position: absolute; top: auto; right: 0; bottom: 0; left: 0; padding: 70px 26px 24px; background: linear-gradient(180deg, transparent, rgba(20,17,12,.85)); color: #eee6d8; }
.exp-text h3 { color: #fff; margin-bottom: 6px; }
.exp-text p { margin: 0; font-size: 14.5px; }

.sonapur { position: relative; padding: 140px 0; overflow: hidden; }
.sonapur-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.sonapur-bg img { width: 100%; height: 100%; object-fit: cover; }
.sonapur-bg::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(20,17,12,.35); }
.sonapur-card { position: relative; max-width: 560px; margin-left: max(20px, calc((100% - var(--wrap)) / 2 + 20px)); background: rgba(255,255,255,.96); padding: 46px 44px; }

.events-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--gold); }
.events-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.events-photos img { width: 100%; height: 100%; object-fit: cover; }
.events-photos img:first-child { grid-row: span 2; aspect-ratio: 3/4; }

.gallery { background: var(--cream); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.tab { background: transparent; border: 1px solid var(--line); padding: 9px 18px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.tab.is-on, .tab:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { padding: 0; border: 0; background: #ddd; aspect-ratio: 1; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, opacity .3s; }
.tile:hover img { transform: scale(1.07); }
.tile[hidden] { display: none; }

.goa-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.goa-tiles { grid-template-columns: repeat(3, 1fr); }
.goa-book { padding: 16px 20px; background: var(--cream); border-left: 2px solid var(--gold); }

.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 0; background: var(--paper); }
.contact-card { padding: 50px 46px; }
.addr { font: 400 21px/1.5 var(--serif); color: var(--ink); }
.label { display: inline-block; min-width: 70px; font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.map { min-height: 420px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.footer { background: var(--ink); color: #b9b1a3; font-size: 14.5px; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; }
.footer h3 { color: #fff; font-size: 22px; }
.footer a { display: block; color: #e2d3b4; margin-bottom: 6px; }
.footer-logo { height: 58px; width: auto; margin-bottom: 16px; }
.footer-base { margin-top: 50px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

.call-fab { display: none; position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-deep); color: #fff; font-size: 24px; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); z-index: 40; }

/* Lightbox */
.lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 200; background: rgba(12,10,8,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 86vh; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.lightbox figcaption { color: #cfc7b8; text-align: center; margin-top: 10px; font-size: 14px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; width: 56px; height: 56px; line-height: 1; }
.lb-close { top: 12px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* The copyright, and who made the website: one line on a wide screen, two on a phone. */
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footer .credit a { display: inline; margin: 0; color: #e2d3b4; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { letter-spacing: .1em; }
}
@media (max-width: 960px) {
  .topbar .wrap span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .header { margin-bottom: -72px; }
  .header-in { height: 72px; }
  .brand img { height: 42px; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; right: 0; bottom: auto; left: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 8px 20px 20px; box-shadow: 0 20px 40px rgba(0,0,0,.15); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; max-height: calc(100vh - 120px); max-height: calc(100svh - 120px); overflow: auto; }
  .nav a, .header.is-solid .nav a:not(.nav-book) { color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-book { margin-top: 14px; border: 0; }
  .header.is-open .nav { transform: none; visibility: visible; }
  .header.is-open { background: var(--paper); }
  .header.is-open .logo-light { display: none; }
  .header.is-open .logo-dark { display: block; }
  .header.is-open .menu-btn span { background: var(--ink); }
  .header.is-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
  .header.is-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { height: auto; min-height: calc(100vh - 34px); min-height: calc(100svh - 34px); max-height: none; }
  .topbar .wrap { padding-top: 0; padding-bottom: 0; height: 34px; align-items: center; }
  .hero-text { padding-top: 150px; padding-bottom: 28px; }
  .booking { padding-bottom: 24px; }
  .booking-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px 16px; }
  .wrap.booking-form { max-width: none; margin: 0 16px; }
  .booking-form .btn { grid-column: 1 / -1; }
  .section { padding: 76px 0; }
  .about-grid, .events-grid, .goa-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo::after { top: 14px; right: -10px; bottom: -14px; left: 10px; }
  .room-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 36px 24px; }
  .call-fab { display: flex; }
  body:not(.is-down) .call-fab { display: none; }
  .footer-base { padding-bottom: 92px; }
  .hero-sound { top: 130px; right: 16px; }
  .hero-music { right: 68px; }
  .slide-btn { opacity: 1; }
}
@media (max-width: 560px) {
  /* A phone: the words short, the search in the first view over the film (it is the booking). */
  .hero-text { padding-top: 120px; padding-bottom: 18px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .2em; margin-bottom: 8px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); margin-bottom: 8px; }
  .hero-sub { font-size: 14px; line-height: 1.5; }
  .hero-cta { display: none; }
  .booking { padding-bottom: 16px; }
  .booking-form { gap: 10px; padding: 14px 12px; }
  .booking-form label { gap: 4px; font-size: 10px; }
  .booking-form input, .booking-form select { min-height: 42px; padding: 8px; }
  .booking-note { display: none; }
  .hero-sound { display: none; }
  .hero-music { display: block; top: 112px; right: 16px; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp { aspect-ratio: 4/3; }
  .tiles, .goa-tiles { grid-template-columns: 1fr 1fr; }
  .facts strong { font-size: 28px; }
  .ticks { grid-template-columns: 1fr; }
  .sonapur { padding: 80px 0; }
  .sonapur-card { margin: 0 16px; padding: 30px 24px; }
  .room-body { padding: 22px 20px 24px; }
  .room-actions { flex-wrap: wrap; }
}
/* A phone on its side: a short screen, the film behind words sized to it. */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { height: auto; min-height: 100vh; max-height: none; }
  .hero-text { padding-top: 100px; padding-bottom: 20px; }
  .hero h1 { font-size: clamp(30px, 5.2vw, 46px); margin-bottom: 10px; }
  .hero-sub { font-size: 15px; margin-bottom: 8px; }
  .topbar { display: none; }
  .booking-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .booking-form .btn { grid-column: auto; }
  .booking-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  }

/* Safari before 15 knows no aspect-ratio: the boxes of the photographs keep their shape. */
@supports not (aspect-ratio: 1 / 1) {
  .room-photos, .tile, .exp { height: 0; }
  .room-photos { padding-top: 66.66%; }
  .tile { padding-top: 100%; position: relative; }
  .tile img, .exp img { position: absolute; top: 0; left: 0; }
  .exp { padding-top: 125%; }
}
