/* ============================================================
   Alaya Beach Bar & Restaurant — Boho theme
   ============================================================ */
:root{
  --gold:#a68750;
  --gold-dark:#8a6f3f;
  --gold-soft:#c2a877;
  --sand:#f3ead9;
  --cream:#fbf6ec;
  --cream-2:#f7efe0;
  --ink:#3f372b;
  --muted:#7a6f5c;
  --line:rgba(166,135,80,.45);
  --shadow:0 24px 60px -28px rgba(63,55,43,.45);
  --serif:"Noto Serif Display", "Playfair Display", Georgia, serif;
  --sans:"Inter", "Helvetica Neue", Arial, sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  font-family:var(--sans);
  font-weight:400;
  font-size:.74rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  padding:.85em 2em;
  border-radius:2px;
  cursor:pointer;
  transition:all .35s ease;
  border:1px solid transparent;
}
.btn-solid{background:var(--gold);color:#fff;border-color:var(--gold)}
.btn-solid:hover{background:var(--gold-dark);border-color:var(--gold-dark)}
.btn-outline{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.7);
  color:#fff;
  backdrop-filter:blur(2px);
}
.btn-outline:hover{background:#fff;color:var(--ink);border-color:#fff}
.btn-ghost{
  background:transparent;
  border-color:var(--line);
  color:var(--gold-dark);
  padding:.8em 2.2em;
}
.btn-ghost:hover{background:var(--gold);color:#fff;border-color:var(--gold)}

/* ---------- Header: see assets/css/header.css (shared with menu page) ---------- */

/* ---------- Hero ---------- */
.hero{
  position:relative;
  height:88vh;min-height:560px;
  overflow:hidden;
  display:flex;align-items:flex-end;
}
.hero-slides{position:absolute;inset:0}
.hero-slide{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  opacity:0;
  transition:opacity 1.6s ease;
  transform:scale(1.02);
}
.hero-slide.is-active{
  opacity:1;
  animation:kenburns 8s ease-out forwards;
}
@keyframes kenburns{
  from{transform:scale(1.02)}
  to{transform:scale(1.16)}
}
.hero-veil{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(40,33,22,.62) 0%,rgba(40,33,22,.15) 45%,rgba(40,33,22,.25) 100%);
}
.hero-content{
  position:relative;z-index:2;
  max-width:1280px;width:100%;margin:0 auto;
  padding:0 2rem 5.5rem;
  color:#fff;
}
.hero-eyebrow{
  font-size:.78rem;letter-spacing:.34em;text-transform:uppercase;
  color:#f4e7c9;margin-bottom:1rem;
  text-shadow:0 1px 14px rgba(40,28,10,.55);
}
.hero-title{
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(3.2rem,7vw,5.8rem);
  line-height:1;
  letter-spacing:.01em;
  text-shadow:0 2px 30px rgba(0,0,0,.3);
}
.hero-sub{
  font-weight:300;
  font-size:clamp(1rem,1.6vw,1.3rem);
  max-width:34ch;
  margin:1.2rem 0 2rem;
  color:rgba(255,255,255,.92);
}
.hero-dots{
  position:absolute;z-index:3;
  bottom:2rem;left:50%;transform:translateX(-50%);
  display:flex;gap:.6rem;
}
.hero-dots button{
  width:9px;height:9px;border-radius:50%;
  border:1px solid rgba(255,255,255,.8);
  background:transparent;cursor:pointer;padding:0;
  transition:.3s;
}
.hero-dots button.is-active{background:#fff;transform:scale(1.15)}

/* hero backgrounds — WebP with JPG fallback (line 1 = fallback for old browsers) */
.hero-slide.hs-1{background-image:url('../img/hero-1.jpg');background-image:image-set(url('../img/hero-1.webp') type('image/webp'),url('../img/hero-1.jpg') type('image/jpeg'))}
.hero-slide.hs-2{background-image:url('../img/hero-2.jpg');background-image:image-set(url('../img/hero-2.webp') type('image/webp'),url('../img/hero-2.jpg') type('image/jpeg'))}
.hero-slide.hs-3{background-image:url('../img/hero-3.jpg');background-image:image-set(url('../img/hero-3.webp') type('image/webp'),url('../img/hero-3.jpg') type('image/jpeg'))}
@media (max-width:768px){
  .hero-slide.hs-1{background-image:url('../img/hero-1-sm.jpg');background-image:image-set(url('../img/hero-1-sm.webp') type('image/webp'),url('../img/hero-1-sm.jpg') type('image/jpeg'))}
  .hero-slide.hs-2{background-image:url('../img/hero-2-sm.jpg');background-image:image-set(url('../img/hero-2-sm.webp') type('image/webp'),url('../img/hero-2-sm.jpg') type('image/jpeg'))}
  .hero-slide.hs-3{background-image:url('../img/hero-3-sm.jpg');background-image:image-set(url('../img/hero-3-sm.webp') type('image/webp'),url('../img/hero-3-sm.jpg') type('image/jpeg'))}
}

/* ---------- Categories ---------- */
.categories{
  background:
    radial-gradient(1200px 600px at 70% -10%, var(--cream) 0%, var(--sand) 60%);
  padding:clamp(3rem,7vw,7rem) 0;
}
.cat-row{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;
  align-items:center;
  gap:clamp(2rem,5vw,5rem);
  padding:clamp(2rem,5vw,4rem) 2rem;
}
.cat-row.reverse .cat-text{order:2}
.cat-row.reverse .cat-media{order:1}

.ornament{display:flex;align-items:center;gap:1rem;margin-bottom:1.4rem}
.ornament-line{flex:1;height:1px;background:var(--line)}
.ornament-horse{height:42px;width:auto;opacity:.95}

.cat-title{
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(2.2rem,4vw,3.2rem);
  color:var(--ink);
  margin-bottom:1rem;
  line-height:1.05;
}
.cat-body{
  color:var(--muted);
  font-weight:300;
  font-size:1.02rem;
  max-width:42ch;
  margin-bottom:2rem;
}
.cat-media{
  display:block;
  border-radius:3px;
  overflow:hidden;
  box-shadow:var(--shadow);
  aspect-ratio:4/3;
}
.cat-media img{
  width:100%;height:100%;object-fit:cover;
  transition:transform 1.2s ease;
}
.cat-media:hover img{transform:scale(1.06)}

/* ---------- Instagram ---------- */
.instagram{
  background:var(--cream);
  padding:clamp(3rem,6vw,5.5rem) 2rem clamp(3.5rem,7vw,6rem);
  text-align:center;
}
.ig-head{max-width:560px;margin:0 auto clamp(2rem,4vw,3rem)}
.ornament--center{justify-content:center;max-width:300px;margin-left:auto;margin-right:auto}
.ig-handle{
  display:inline-block;margin-top:.4rem;
  font-size:.82rem;letter-spacing:.16em;text-transform:lowercase;
  color:var(--gold-dark);
  transition:color .3s ease;
}
.ig-handle:hover{color:var(--ink)}
.ig-grid{
  max-width:1100px;margin:0 auto;
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:clamp(.5rem,1.4vw,1rem);
}
.ig-item{
  position:relative;display:block;
  aspect-ratio:1/1;overflow:hidden;border-radius:3px;
}
.ig-item img{width:100%;height:100%;object-fit:cover;transition:transform 1s ease}
.ig-overlay{
  position:absolute;inset:0;
  background:rgba(63,55,43,.45);
  opacity:0;transition:opacity .4s ease;
  display:flex;align-items:center;justify-content:center;
}
.ig-overlay::after{
  content:"";width:30px;height:30px;
  border:2px solid #fff;border-radius:9px;
  box-shadow:0 0 0 6px transparent;
  background:
    radial-gradient(circle at 50% 50%, transparent 6px, #fff 6px, #fff 8px, transparent 8px),
    radial-gradient(circle at 78% 22%, #fff 2.2px, transparent 2.4px);
  transform:scale(.85);transition:transform .4s ease;
}
.ig-item:hover .ig-overlay{opacity:1}
.ig-item:hover .ig-overlay::after{transform:scale(1)}
.ig-item:hover img{transform:scale(1.07)}

/* ---------- FAQ ---------- */
.faq{
  background:var(--cream);
  padding:clamp(3rem,6vw,5.5rem) 1.5rem clamp(3.5rem,7vw,6rem);
}
.faq-head{text-align:center;max-width:560px;margin:0 auto clamp(2rem,4vw,3rem)}
.faq-head .ornament{justify-content:center;max-width:300px;margin:0 auto 1.4rem}
.faq-list{max-width:820px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{
  cursor:pointer;list-style:none;
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  padding:1.25rem 0;
  font-family:var(--serif);font-weight:500;font-size:clamp(1.1rem,1.6vw,1.35rem);
  color:var(--ink);
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";flex:0 0 auto;
  color:var(--gold);font-size:1.5rem;line-height:1;font-family:var(--sans);
  transition:transform .3s ease;
}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{
  margin:0;padding:0 0 1.4rem;max-width:68ch;
  color:var(--muted);font-weight:300;line-height:1.75;font-size:1rem;
}

/* ---------- Footer: see assets/css/footer.css (shared with menu page) ---------- */

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .9s ease,transform .9s ease}
.reveal.in{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media (max-width:860px){
  .hero{height:78vh}
  .hero-content{padding-bottom:4rem}

  .cat-row,.cat-row.reverse{
    grid-template-columns:1fr;
    gap:1.8rem;
  }
  .cat-row.reverse .cat-text{order:2}
  .cat-row.reverse .cat-media{order:1}
  .cat-row .cat-media{order:1}
  .cat-row .cat-text{order:2}
  .ornament{margin-left:auto;margin-right:auto}
  .cat-text{text-align:center}
  .cat-body{margin-left:auto;margin-right:auto}

  .ig-grid{grid-template-columns:repeat(2,1fr)}
}
