@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Montserrat:wght@300;400;600&display=swap');

/* ------------------ Theme ------------------ */
:root {
  --bg: #ffffff;
  --ink: #0e0e0e;
  --muted: #555555;
  --accent: #c5a572;        
  --accent-2: #d4ba84;       
  --border: #e5e5e5;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
  --radius: 14px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.7;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  letter-spacing: .5px;
  margin: 0 0 .6rem;
}
p { margin: 0 0 1rem; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; border: 0; }

/* ------------------ Layout ------------------ */
.container { width: min(1100px, 92%); margin: 0 auto; }

/* ------------------ Header ------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,.05);
}
.brand { text-align: center; padding: 1rem 0 .75rem; }
.brand h1 { text-transform: uppercase; font-weight: 700; }
.tagline { color: rgba(255,255,255,.9); font-size: .9rem; }

/* ------------------ Gridded Nav ------------------ */
.nav-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
  max-width: 700px;
}
.nav-grid a {
  display: block;
  text-align: center;
  padding: .6rem .8rem;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  font-weight: 600;
  transition: background .25s ease, border-color .25s ease, transform .15s ease;
}
.nav-grid a:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  transform: translateY(-1px);
}

.hero { text-align: center; padding: 2.5rem 1.2rem 2rem; }
.hero h2 { font-size: 1.9rem; font-weight: 700; }

/* ------------------ Spotlight Section ------------------ */
.spotlight { text-align: center; margin: 3rem auto 4rem; }
.spotlight h3 {
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: .5rem;
  letter-spacing: .5px;
}
.spotlight h4 { font-size: 1.4rem; margin-bottom: .35rem; }
.spotlight-desc {
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 1.5rem;
  font-size: .95rem;
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
  background: #000; 
}
.carousel-track {
  display: flex;
  transition: transform .6s ease;
}
.carousel-track img {
  min-width: 100%;
  height: 400px;
  object-fit: cover;
  display: none;
}
.carousel-track img.active { display: block; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 .55rem;
  border-radius: 6px;
  transition: background .25s ease;
}
.carousel-btn:hover { background: rgba(0,0,0,.7); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* ------------------ Buttons (generic) ------------------ */
.btn {
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  padding: .55rem .9rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: #f5f5f5; }

/* ------------------ Gridded Sections ------------------ */
.cards-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 2rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.card img { height: 240px; object-fit: cover; }
.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1rem 0;
}
.pill {
  background: var(--accent);
  color: #fff;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .2px;
}
.desc { padding: 0 1rem; }
.badge {
  display: inline-block;
  margin: .55rem 1rem 1rem;
  background: #f7f7f7;
  color: var(--muted);
  border-radius: 999px;
  font-size: .75rem;
  padding: .25rem .6rem;
}

/* ------------------ Lightbox ------------------ */
.lightbox {
  border: none;
  padding: 0;
  width: min(92vw, 980px);
  background: transparent;
}
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox figure { margin: 0; background: #000; border-radius: 12px; overflow: hidden; }
.lightbox img { width: 100%; display: block; }
.lightbox figcaption { color: #fff; padding: .6rem 1rem; font-size: .95rem; }
.lightbox-close {
  position: fixed;
  top: 14px; right: 14px;
  border: 1px solid #fff;
  background: rgba(0,0,0,.6);
  color: #fff;
  border-radius: 999px;
  width: 38px; height: 38px;
  font-size: 22px;
  cursor: pointer;
}

/* ------------------ Footer ------------------ */
footer {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin: 3rem 0 2rem;
}

/* ------------------ Responsive Tweaks ------------------ */
@media (max-width: 700px) {
  .nav-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-track img { height: 320px; }
}

/* ---------- Rate your visit (viewer rating) ---------- */
.rate-cta { margin-top: .5rem; }

.rate-result {
  margin-top: .6rem;
  font-size: .95rem;
  color: var(--muted);
}

.rate-dialog {
  border: none;
  padding: 0;
  width: min(92vw, 520px);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.rate-dialog::backdrop { background: rgba(0,0,0,.55); }

#rateForm { padding: 1rem 1.1rem 1.2rem; }
#rateForm h5 {
  margin: .2rem 0 .25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
}
.rate-hint { margin: 0 0 .75rem; color: var(--muted); }

.rate-stars {
  display: inline-flex;
  flex-direction: row-reverse; /* enables hover/checked cascade */
  gap: .25rem;
  user-select: none;
}
.rate-stars input { display: none; }
.rate-stars label {
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  color: #cfcfcf;              /* unselected stars */
  transition: color .2s ease, transform .1s ease;
}
.rate-stars label:hover,
.rate-stars label:hover ~ label { color: var(--accent); }
.rate-stars input:checked ~ label { color: var(--accent); }
.rate-stars label:active { transform: scale(0.97); }

.rate-actions {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  margin-top: .9rem;
}

.btn-primary {
  border-color: var(--accent);
}
.btn-primary:hover {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
}

/* Header: clean gradient bar, subtle shrink on scroll */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: padding .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
  padding: .75rem 0 .5rem;
}
.site-header .brand { padding: 0; }
.site-header .brand h1 { font-size: 1.4rem; letter-spacing: .5px; }
.site-header .tagline { color: rgba(255,255,255,.9); font-size: .9rem; }

.site-header.is-scrolled {
  padding: .4rem 0 .35rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  backdrop-filter: blur(4px);
}

.nav-grid {
  margin: .6rem auto .7rem;
  gap: .5rem;
}
.nav-grid a {
  padding: .45rem .8rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
}
.nav-grid a:hover { background: rgba(255,255,255,.15); border-color:#fff; }

.simple-footer {
  text-align: center;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.simple-footer h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin: 0 0 .2rem;
}
.simple-footer .tagline {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  margin: 0 0 .8rem;
}
.simple-footer .socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: .8rem;
}
.simple-footer .socials a {
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  padding: .3rem .7rem;
  font-size: .9rem;
  transition: background .2s ease, transform .15s ease;
}
.simple-footer .socials a:hover { background: rgba(255,255,255,.15); transform: translateY(-1px); }
.simple-footer .copyright { font-size: .85rem; color: rgba(255,255,255,.85); }

@media (max-width: 700px) {
  .site-header .brand h1 { font-size: 1.2rem; }
  .nav-grid { grid-template-columns: repeat(2, 1fr); }
}
