/* ============================================================
   LOTUS CAFE — style.css
   ============================================================ */

:root {
  --cream:    #f5f0e8;
  --green:    #2d4a3e;
  --green-lt: #3d6354;
  --gold:     #c9a84c;
  --charcoal: #1a1a1a;
  --white:    #ffffff;
  --gray:     #7a7a7a;
  --border:   rgba(201,168,76,0.25);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;
  --transition: 0.35s ease;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.centered { text-align: center; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.dark-bg { background: var(--green); color: var(--cream); }
.dark-bg .section-label { color: var(--gold); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 14px;
}
h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 18px;
}
.dark-bg h3 { color: #d4b96a; }
p { font-size: 0.97rem; color: var(--gray); margin-bottom: 16px; }
.dark-bg p { color: rgba(245,240,232,0.72); }
.section-intro { max-width: 600px; margin: 0 auto 24px; }

/* ── Buttons ── */
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 13px 36px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  border: 2px solid var(--gold);
  margin-top: 8px;
}
.btn-primary:hover { background: transparent; color: var(--gold); }
.dark-bg .btn-primary { color: var(--charcoal); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  margin-top: 8px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Layouts ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.three-col {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  text-align: center;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(26,26,26,0.72);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal {
  background: var(--cream);
  max-width: 520px; width: 90%;
  padding: 50px 44px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s ease;
  border-top: 4px solid var(--gold);
}
.modal-overlay.show .modal { transform: translateY(0); }
.modal h2 { font-size: 1.9rem; margin-bottom: 8px; }
.modal h3 { font-size: 1.1rem; margin-bottom: 16px; }
.modal p { color: var(--gray); font-size: 0.94rem; }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  font-size: 1.8rem; cursor: pointer; color: var(--gray); line-height: 1;
}
.modal-close:hover { color: var(--charcoal); }

/* ── HEADER / NAV ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(245,240,232,0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12); }
.nav-container {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 28px; }
.nav-links a {
  font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--charcoal);
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px; background: var(--gold);
  transition: right var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--gold); }
.nav-social { display: flex; gap: 16px; }
.nav-social a { font-size: 0.9rem; color: var(--gray); transition: color var(--transition); }
.nav-social a:hover { color: var(--gold); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); transition: all var(--transition); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; margin-top: 72px; overflow: hidden;
}
.hero-video-wrap { position: absolute; inset: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,0.55), rgba(26,26,26,0.45));
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 760px; padding: 0 24px; }
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 300; line-height: 1.2;
  margin-bottom: 16px; color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300; font-style: italic;
  color: var(--gold); margin-bottom: 12px;
}
.hero-content p { font-size: 0.92rem; color: rgba(255,255,255,0.82); margin-bottom: 8px; }
.hero-insta a { color: var(--gold); }
.hero-insta a:hover { text-decoration: underline; }

/* ── ABOUT ── */
.about-img img { border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.about-text h2 { color: var(--charcoal); }

/* ── SLIDESHOW ── */
.slideshow { position: relative; overflow: hidden; margin-top: 60px; height: 520px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,26,26,0.75));
  padding: 40px 48px; color: var(--white);
}
.slide-caption h3 { color: var(--white); font-style: normal; font-size: 2rem; margin-bottom: 14px; }
.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(201,168,76,0.85); border: none;
  color: var(--white); font-size: 1.4rem;
  width: 48px; height: 48px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); z-index: 5;
}
.slide-btn:hover { background: var(--gold); }
.slide-btn.prev { left: 16px; }
.slide-btn.next { right: 16px; }
.slide-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.slide-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background var(--transition); }
.slide-dots .dot.active { background: var(--gold); }

/* ── GALLERY — 4 top row, 3 centered bottom row ── */
.gallery h2 { color: var(--charcoal); }
.gallery-header { text-align: center; margin-bottom: 40px; }
.gallery-header .section-label { display: block; }
.gallery-header h2 { color: var(--charcoal); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

/* Row 1: 4 equal items, each spans 3 of 12 columns */
.gallery-item:nth-child(1),
.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(4) {
  grid-column: span 3;
}

/* Row 2: 3 centered items, each spans 4 of 12 columns */
.gallery-item:nth-child(5) { grid-column: 1 / span 4; }
.gallery-item:nth-child(6) { grid-column: 5 / span 4; }
.gallery-item:nth-child(7) { grid-column: 9 / span 4; }

.gallery-item--empty { display: none; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: #e8e2d8;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item span {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,26,26,0.72));
  color: var(--white); padding: 24px 14px 14px;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover span { opacity: 1; }

/* ── JOBS ── */
.jobs { background: var(--cream); }
.jobs h2 { color: var(--charcoal); }

/* ── REVIEWS ── */
.reviews-carousel { position: relative; min-height: 200px; margin-top: 40px; }
.review { display: none; animation: fadeIn 0.5s ease; }
.review.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.review .stars { color: var(--gold); font-size: 1.3rem; margin-bottom: 18px; }
.review blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--cream); max-width: 680px;
  margin: 0 auto 20px; line-height: 1.7;
}
.review cite { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.review-dots { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.review-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(245,240,232,0.3); cursor: pointer; transition: background var(--transition); }
.review-dots .dot.active { background: var(--gold); }

/* ── LOCATION ── */
.loc-block h3 { font-family: var(--font-display); font-size: 1.4rem; font-style: normal; color: var(--charcoal); margin-bottom: 10px; }
.loc-block p { color: var(--gray); }
.footer-social { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-social a { display: inline-flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--gray); transition: color var(--transition); }
.footer-social a:hover { color: var(--gold); }
.map-container { margin-top: 50px; border-radius: var(--radius); overflow: hidden; }
.map-container iframe { display: block; }

/* ── CONTACT ── */
.contact h2 { color: var(--cream); }
.contact-links { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.contact-links a {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 1rem; color: var(--cream);
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
  transition: color var(--transition);
}
.contact-links a:hover { color: var(--gold); }

/* ── FOOTER ── */
.footer { background: var(--charcoal); padding: 40px 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-logo { height: 44px; width: auto; opacity: 0.75; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

.small-note { font-size: 0.83rem; font-style: italic; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6),
  .gallery-item:nth-child(7) { grid-column: span 1; }
}

@media (max-width: 700px) {
  /* ── NAV ── */
  .nav-links, .nav-social { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    padding: 28px 24px;
    border-top: 1px solid var(--border);
    z-index: 999; gap: 0;
    overflow-y: auto;
  }
  .nav-links.open li { border-bottom: 1px solid var(--border); }
  .nav-links.open li a {
    display: block;
    padding: 16px 0;
    font-size: 0.88rem;
    letter-spacing: 0.14em;
  }
  .hamburger { display: flex; }
  /* Animate hamburger to X when open */
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── LAYOUT ── */
  .section-pad { padding: 50px 0; }
  .three-col { grid-template-columns: 1fr; }
  .contact-links { flex-direction: column; gap: 20px; }

  /* ── HERO ── */
  .hero { margin-top: 72px; }
  .hero-content h1 { font-size: 2rem; }

  /* ── GALLERY ── */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  /* ── SLIDESHOW ── */
  .slideshow { height: 280px; }
  .slide-caption { padding: 20px 20px 14px; }
  .slide-caption h3 { font-size: 1.4rem; margin-bottom: 8px; }

  /* ── FOOTER ── */
  .footer-links { gap: 16px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .nav-logo img { height: 36px; }
  h2 { font-size: 1.8rem; }
}
