/* =============================================
   Lake Street Lounge — Main Stylesheet
   ============================================= */

:root {
  --bg:         #0e0e0e;
  --surface:    #181818;
  --surface-2:  #222222;
  --gold:       #C9A84C;
  --gold-light: #DFC06A;
  --gold-dim:   #5a4820;
  --cream:      #F0EAD6;
  --cream-dim:  #9a9280;
  --serif:      'Georgia', 'Times New Roman', serif;
  --sans:       'Helvetica Neue', Arial, sans-serif;
  --nav-h:      72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  transition: background .35s, box-shadow .35s;
}
#navbar.scrolled {
  background: rgba(14,14,14,.96);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
}
.nav-logo img {
  height: 52px;
  width: auto;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: .92;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201,168,76,.08) 0%, transparent 65%),
    linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}
.hero-logo {
  width: min(260px, 55vw);
  margin-bottom: 2.5rem;
  animation: fadeUp .9s ease both;
  filter: invert(1);
  mix-blend-mode: screen;
}
#hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--cream);
  animation: fadeUp .9s .15s ease both;
  line-height: 1.2;
}
.hero-tagline {
  font-size: clamp(.95rem, 2.2vw, 1.15rem);
  color: var(--gold);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeUp .9s .3s ease both;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .9s .45s ease both;
}
.btn-outline {
  display: inline-block;
  padding: .7rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .25s, color .25s;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
}
.btn-solid {
  display: inline-block;
  padding: .7rem 2rem;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  font-weight: 600;
  transition: background .25s;
}
.btn-solid:hover { background: var(--gold-light); }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: var(--cream-dim);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: fadeIn 1.5s 1s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s infinite;
}

/* ── Section base ── */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: block;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* ── About / History ── */
#about {
  background: var(--surface);
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p { color: var(--cream-dim); margin-bottom: 1.2rem; font-size: 1.02rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--cream); }
.about-image-wrap {
  position: relative;
}
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  pointer-events: none;
}
.about-image-wrap img {
  width: 100%;
  border-radius: 2px;
  filter: sepia(.15) brightness(.85);
}
.about-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  font-size: .85rem;
  letter-spacing: .1em;
  border: 1px dashed var(--gold-dim);
  gap: .5rem;
}
.about-placeholder svg { opacity: .3; }

/* ── Gallery ── */
#gallery { background: var(--bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 2rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--surface-2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s;
  filter: brightness(.8) sepia(.1);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(.95) sepia(0);
}
.gallery-item.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  font-size: .8rem;
  letter-spacing: .1em;
  border: 1px dashed var(--gold-dim);
  gap: .4rem;
}
.gallery-item.placeholder svg { opacity: .25; }
.gallery-note {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--cream-dim);
  font-style: italic;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 2px; }
#lightbox-close {
  position: fixed;
  top: 1.25rem; right: 1.5rem;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: .7;
  transition: opacity .2s;
}
#lightbox-close:hover { opacity: 1; }

/* ── Events / Calendar ── */
#events { background: var(--surface); border-top: 1px solid var(--gold-dim); }
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.cal-nav {
  background: none;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background .2s, color .2s;
  display: flex; align-items:center; justify-content:center;
}
.cal-nav:hover { background: var(--gold); color: var(--bg); }
#cal-month-label {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
  letter-spacing: .08em;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day-name {
  text-align: center;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .5rem 0;
}
.cal-cell {
  background: var(--surface-2);
  border-radius: 4px;
  min-height: 72px;
  padding: .35rem .45rem;
  position: relative;
  border: 1px solid transparent;
  transition: border-color .2s;
}
.cal-cell.empty { background: transparent; border-color: transparent; }
.cal-cell.today { border-color: var(--gold-dim); }
.cal-cell .day-num {
  font-size: .78rem;
  color: var(--cream-dim);
  font-weight: 600;
}
.cal-cell.today .day-num { color: var(--gold); }
.cal-event {
  background: rgba(201,168,76,.18);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  font-size: .68rem;
  color: var(--cream);
  padding: .15rem .35rem;
  margin-top: .25rem;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .2s;
}
.cal-event:hover { background: rgba(201,168,76,.32); }
.cal-event.stay {
  background: rgba(120,120,140,.25);
  border-left-color: #6b6b8a;
  color: var(--cream-dim);
  cursor: default;
}
.cal-event.stay:hover { background: rgba(120,120,140,.35); }

.upcoming-events { margin-top: 3rem; }
.upcoming-events h3 { font-family: var(--serif); color: var(--gold); margin-bottom: 1.25rem; font-size: 1.2rem; }
.event-row {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--gold-dim);
  padding: 1rem 0;
  align-items: flex-start;
}
.event-date-block {
  text-align: center;
  min-width: 56px;
}
.event-date-block .eday {
  font-size: 1.8rem;
  font-family: var(--serif);
  color: var(--gold);
  line-height: 1;
}
.event-date-block .emon {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.event-info h4 { font-family: var(--serif); font-size: 1.05rem; color: var(--cream); margin-bottom: .2rem; }
.event-info .etime { font-size: .82rem; color: var(--gold); }
.event-info .edesc { font-size: .88rem; color: var(--cream-dim); margin-top: .25rem; }
.no-events-msg { color: var(--cream-dim); font-style: italic; padding: 1rem 0; }

/* Event detail modal */
#event-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 1500;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
#event-modal.open { display: flex; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
}
.modal-box h3 { font-family: var(--serif); color: var(--gold); margin-bottom: .5rem; font-size: 1.3rem; }
.modal-box .m-date { font-size: .85rem; color: var(--cream-dim); margin-bottom: 1rem; }
.modal-box .m-desc { font-size: .95rem; color: var(--cream); }
.modal-close {
  display: block;
  margin-top: 1.5rem;
  background: none;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  padding: .5rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: .85rem;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--gold); color: var(--bg); }

/* ── Stay / Booking ── */
#stay { background: var(--bg); border-top: 1px solid var(--gold-dim); }
.stay-intro {
  max-width: 600px;
  color: var(--cream-dim);
  font-size: 1.02rem;
  margin-bottom: 2.5rem;
}
.booking-form-wrap {
  background: var(--surface);
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  padding: 2rem;
  max-width: 720px;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.bform-group { display: flex; flex-direction: column; gap: .35rem; }
.bform-full  { grid-column: 1 / -1; }
.bform-group label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.bform-group .optional { font-size: .72rem; text-transform: none; letter-spacing: 0; opacity: .6; }
.bform-group input,
.bform-group textarea {
  background: var(--bg);
  border: 1px solid var(--gold-dim);
  color: var(--cream);
  border-radius: 4px;
  padding: .6rem .85rem;
  font-size: .95rem;
  font-family: var(--sans);
  transition: border-color .2s;
}
.bform-group input:focus,
.bform-group textarea:focus { outline: none; border-color: var(--gold); }
.bform-group textarea { resize: vertical; }
.bform-error {
  background: rgba(180,40,40,.15);
  border: 1px solid #8b2020;
  border-radius: 4px;
  color: #e07070;
  padding: .65rem .9rem;
  font-size: .88rem;
  margin-bottom: 1rem;
}
.booking-submit { margin-top: .25rem; }
.bform-success {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--cream);
}
.bform-success svg { color: #4caf6e; margin: 0 auto 1rem; }
.bform-success h3 { font-family: var(--serif); color: var(--gold); font-size: 1.4rem; margin-bottom: .5rem; }
.bform-success p  { color: var(--cream-dim); }

@media (max-width: 600px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-form-wrap { padding: 1.25rem; }
}

/* ── Footer ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--gold-dim);
  text-align: center;
  padding: 3rem 2rem;
}
footer img {
  height: 70px;
  margin: 0 auto 1.25rem;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: .45;
}
footer p { font-size: .82rem; color: var(--cream-dim); }
footer a { color: var(--gold); text-decoration: none; }
footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 1.25rem;
}
footer .footer-links a { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; }
  50%       { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-wrap { order: -1; max-width: 420px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  section { padding: 4rem 1.25rem; }
  #navbar { padding: 0 1.25rem; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(14,14,14,.97);
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--gold-dim);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 0; font-size: .9rem; }
  .nav-toggle { display: flex; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cal-cell { min-height: 52px; }
  .cal-event { display: none; }
  .cal-cell.has-event { border-bottom: 2px solid var(--gold); }
}
