/* =========================================
   shared.css — HQ White Coffee
   Shared responsive styles for all pages
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #f5efe6;
  --dark: #0f0d0b;
  --card-bg: #1a1610;
  --text-muted: #a09080;
  --border: rgba(201,168,76,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

/* ── TOP BANNER ── */
.top-banner {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  position: relative;
  min-height: 60px;
}
.banner-img {
  width: clamp(200px, 50vw, 800px);
  height: auto;
}
.facebook-link {
  position: absolute; left: 16px; bottom: 10px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font-size: 13px;
}
.facebook-link img {
  width: 26px; height: 26px;
  filter: brightness(0) invert(1);
  transition: opacity .3s;
  flex-shrink: 0;
}
.facebook-link:hover img { opacity: .7; }
.fb-text { display: inline; }

/* ── HEADER ── */
header {
  background: #0a0806;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 40px);
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-links ul {
  list-style: none;
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  padding: 14px 0;
  flex-wrap: nowrap;
}
.nav-links ul li a {
  text-decoration: none;
  color: #ccc;
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links ul li a:hover,
.nav-links ul li a.active { color: var(--gold); }

.language {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.language button {
  background: transparent;
  border: 1px solid var(--border);
  color: #ccc;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
  transition: all .2s;
  border-radius: 4px;
}
.language button:hover { border-color: var(--gold); color: var(--gold); }
.language button.lang-active { border-color: var(--gold); color: var(--gold); }

/* ── GOLD RULE ── */
.gold-rule {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 22px auto;
  opacity: .7;
}

/* ── EYEBROW LABEL ── */
.eyebrow-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 400;
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 10%;
  opacity: .4;
}
.divider div { flex: 1; height: 1px; background: var(--gold); }
.divider span { color: var(--gold); font-size: 18px; }

/* ── FOOTER ── */
footer,
.footer {
  background: #000;
  border-top: 2px solid var(--gold);
  text-align: center;
  padding: 22px 20px;
  font-size: 13px;
  color: var(--text-muted);
  background-image: url('https://cdn5.vectorstock.com/i/1000x1000/21/09/art-deco-seamless-pattern-vector-25102109.jpg');
  background-size: auto;
}
.footer-container { max-width: 1200px; margin: 0 auto; }


/* =============================================
   INDEX PAGE SPECIFIC
   ============================================= */

/* Hero Slider */
.hero {
  position: relative;
  overflow: hidden;
  height: clamp(350px, 55vw, 720px);
}

.slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  height: 100%;
}

.slide {
  width: 400px;
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
}

.hero .prev,
.hero .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 14px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
  transition: background .2s;
  z-index: 10;
}
.hero .prev:hover,
.hero .next:hover { background: rgba(201,168,76,.2); }
.hero .prev { left: 12px; }
.hero .next { right: 12px; }

/* Center Section */
.center-section {
  text-align: center;
  padding: clamp(40px, 8vw, 80px) clamp(16px, 5vw, 60px);
  max-width: 860px;
  margin: 0 auto;
}
.center-section h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 8px;
}
.center-section h1 span { color: var(--gold); }
.center-section p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.8;
}

/* Hero Buttons */
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gold);
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  font-family: 'Montserrat', sans-serif;
  transition: background .25s, transform .2s;
}
.menu-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  border-radius: 30px;
  font-family: Georgia, serif;
  font-size: 14px;
  transition: all .25s;
}
.outline-btn:hover { background: rgba(201,168,76,.1); }

/* Menu Section */
#menu { padding: clamp(20px, 4vw, 60px) 0; }
.menu-hero {
  text-align: center;
  padding: clamp(20px, 4vw, 40px) 20px clamp(20px, 4vw, 36px);
}
.menu-hero h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
}
.section-desc {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 15px;
}
.menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  padding: 0 clamp(16px, 4vw, 60px);
  margin-bottom: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.menu-item {
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: transform .3s, border-color .3s;
    opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.menu-item.show {
  opacity: 1;
  transform: translateY(0);
}
.menu-item:hover { transform: translateY(-5px); border-color: rgba(201,168,76,.5); }
.menu-item img {
  width: 100%;
  height: clamp(160px, 25vw, 220px);
  object-fit: cover;
  transition: transform .4s ease;
}
.menu-item:hover img { transform: scale(1.04); }
.menu-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.9rem, 2vw, 1rem);
  font-weight: 500;
  color: var(--cream);
  padding: 14px 16px;
}
.menu-cta {
  text-align: center;
  padding: clamp(20px, 5vw, 50px) 20px;
}
.menu-cta h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--cream);
  font-weight: 300;
  margin-bottom: 20px;
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}
.about-1 { display: flex; justify-content: center; }
.about-logo {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
}
.about-2 h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 12px;
}
.about-2 p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
  text-align: left;
}
.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  border-radius: 30px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  transition: all .25s;
}
.about-btn:hover { background: rgba(201,168,76,.1); }

/* Contact Section */
.contact-section {
  padding: clamp(40px, 6vw, 60px) clamp(16px, 4vw, 40px);
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 12px;
}
.contact-desc {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.7;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-item .icon { font-size: 20px; flex-shrink: 0; }
.contact-item strong {
  display: block;
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item p { color: var(--text-muted); font-size: 14px; }
.contact-map iframe {
  width: 100%;
  height: clamp(250px, 35vw, 360px);
  border: 0;
  border-radius: 10px;
}


/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Tablet: 768px and below */
@media (max-width: 900px) {
  /* About container stacks */
  .about-container { grid-template-columns: 1fr; text-align: center; }
  .about-2 p { text-align: center; }
  .about-2 { display: flex; flex-direction: column; align-items: center; }
  .about-logo { max-width: 240px; }

  /* Contact stacks */
  .contact-container { grid-template-columns: 1fr; }
}

/* Small tablet / large phone: 700px and below */
@media (max-width: 700px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #0a0806;
    border-bottom: 2px solid var(--gold);
    z-index: 999;
    padding: 0;
  }
  .nav-links.open { display: block; }
  .nav-links ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .nav-links ul li a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  .nav-links ul li:last-child a { border-bottom: none; }

  /* Top banner */
  .top-banner { padding: 8px 16px; min-height: 56px; }
  .facebook-link { font-size: 0; bottom: 8px; left: 10px; }
  .facebook-link img { width: 26px; height: 26px; }
  .fb-text { display: none; }

  /* Hero slider smaller on phones */
  .hero { aspect-ratio: 16/9; }
  .hero .prev, .hero .next { padding: 8px 10px; font-size: 14px; }

  /* Menu grid single column fallback */
  .menu-container { grid-template-columns: 1fr; padding: 0 16px; }
  .menu-item img { height: 200px; }

  /* Contact */
  .contact-section { padding: 30px 16px; }

  /* Divider */
  .divider { padding: 0 5%; }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
  .hero { aspect-ratio: 4/3; min-height: 220px; }
  .center-section { padding: 32px 16px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns a { width: 100%; max-width: 280px; justify-content: center; }
  .menu-btn, .outline-btn, .about-btn { font-size: 13px; padding: 11px 20px; }
  .language button { padding: 4px 8px; font-size: 11px; }
}
