/* ============================================================
   Siddhi Sweets & Restaurant — Shared base styles
   Used by every page (Home, Services, Feedback, Menu)
   ============================================================ */

@import url('../fonts/fonts.css');

:root {
  --maroon-dark: #4a0e12;
  --maroon: #5c1216;
  --maroon-light: #7a1c22;
  --gold: #e0a83e;
  --gold-light: #f2c164;
  --cream: #fdf6ea;
  --cream-dark: #f4e9d4;
  --ink: #2c1810;
  --text-muted: #6b5a4d;
  --white: #ffffff;
  --green-whatsapp: #25d366;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(74, 14, 18, 0.08);
  --shadow-md: 0 8px 30px rgba(74, 14, 18, 0.14);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  width: 100%;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; }

/* ---------- Section heading pattern ---------- */
.section-tag {
  display: inline-block;
  color: var(--maroon);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--maroon-dark);
  margin-bottom: 14px;
}
.section-divider {
  width: 70px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin: 0 auto 10px;
  position: relative;
}
.section-head { text-align: center; margin-bottom: 46px; }
.section-head.left { text-align: left; }
.section-head.left .section-divider { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-gold { background: var(--gold); color: var(--maroon-dark); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-light); }

.btn-whatsapp { background: var(--green-whatsapp); color: #fff; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { background: #1fbd59; }

.btn-maroon { background: var(--maroon); color: #fff; box-shadow: var(--shadow-sm); }
.btn-maroon:hover { background: var(--maroon-dark); }

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border: 2px solid var(--maroon);
}
.btn-outline:hover { background: var(--maroon); color: #fff; }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--maroon-dark);
  color: #f0e2c8;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; color: #f0e2c8; }
.topbar a:hover { color: var(--gold-light); }
.topbar svg { width: 14px; height: 14px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  align-items: center; justify-content: center;
}
.topbar-social a:hover { background: var(--gold); color: var(--maroon-dark); }

/* ---------- Top bar + header stick together when scrolling ---------- */
.site-topfix {
  position: sticky;
  top: 0;
  z-index: 500;
}

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.logo { width: 56px; height: 56px; }
.brand-text .name {
  font-family: var(--font-head);
  color: var(--maroon-dark);
  font-size: 1.3rem;
  line-height: 1.1;
}
.brand-text .tag {
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--maroon); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 5px; right: 5px;
  height: 3px;
  background: var(--maroon-dark);
  border-radius: 3px;
  transition: 0.25s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -9px; }
.nav-toggle span::after { top: 9px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); background: var(--maroon-dark); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); background: var(--maroon-dark); }

/* ---------- Page hero banner (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: 119px 0;
  color: #fff;
  text-align: center;
  background-size: cover;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74,14,18,0.82), rgba(30,6,8,0.88));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.page-hero .crumbs { color: var(--gold-light); font-weight: 500; letter-spacing: 1px; }
.page-hero .crumbs a { color: #f0e2c8; }
.page-hero .crumbs a:hover { color: var(--gold-light); }

/* ---------- Info strip (used on home + reused style) ---------- */
.info-strip {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1100px;
  position: relative;
  z-index: 5;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
  border-right: 1px solid var(--cream-dark);
}
.info-item:last-child { border-right: none; }
.info-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--maroon-dark);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.info-icon.alt { background: var(--green-whatsapp); color: #fff; }
.info-icon svg { width: 20px; height: 20px; }
.info-item h4 { font-size: 0.95rem; color: var(--maroon-dark); margin-bottom: 2px; }
.info-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Trust badges strip ---------- */
.trust-strip {
  background: var(--cream-dark);
  padding: 26px 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--maroon-dark);
}
.trust-item svg { width: 26px; height: 26px; color: var(--gold); flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-dark); color: #e6d5bc; padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-text .name { color: var(--gold-light); }
.footer-brand p { font-size: 0.88rem; margin: 14px 0 18px; color: #cbb694; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--gold); color: var(--maroon-dark); }
.footer-social svg { width: 16px; height: 16px; }
.site-footer h5 {
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { font-size: 0.9rem; color: #e6d5bc; }
.site-footer ul a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 3px; color: var(--gold); flex: none; }
.footer-hours .hour-block { margin-bottom: 14px; }
.footer-hours .hour-label { display: flex; align-items: center; gap: 8px; color: var(--gold-light); font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; }
.footer-hours svg { width: 14px; height: 14px; }
.footer-services li { display: flex; align-items: center; gap: 10px; }
.footer-services li svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.footer-qr { text-align: center; }
.footer-qr img { width: 110px; margin: 0 auto 10px; border-radius: 6px; background: #fff; padding: 6px; }
.footer-qr p { font-size: 0.78rem; color: #cbb694; }
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: #cbb694;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .heart { color: #e05a5a; }

/* ---------- Floating action buttons ---------- */
.fab-stack {
  position: fixed;
  right: 22px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 900;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
  position: relative;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; }
.fab-whatsapp { background: var(--green-whatsapp); }
.fab-call { background: var(--maroon); }
.fab-location { background: var(--gold); color: var(--maroon-dark); }
.fab-top {
  background: #fff;
  color: var(--maroon-dark);
  border: 2px solid var(--maroon);
  display: none;
}
.fab-top.show { display: flex; }
.fab-label {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--maroon-dark);
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.fab:hover .fab-label { opacity: 1; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hidden-mobile { display: block; }

@media (max-width: 992px) {
  .main-nav { position: fixed; top: 0; right: -320px; height: 100vh; width: min(300px, 85vw);
    background: var(--white); flex-direction: column; justify-content: flex-start;
    align-items: flex-start; padding: 100px 30px; gap: 22px; transition: right 0.3s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15); overflow-y: auto; z-index: 950; }
  .main-nav.open { right: 0; }
  .nav-toggle { display: block; }
  .header-actions .btn-gold { display: none; }
  .info-strip { grid-template-columns: repeat(2, 1fr); }
  .info-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .topbar-left .hidden-mobile, .topbar-right .hidden-mobile, .topbar .center { display: none; }
  .info-strip { grid-template-columns: 1fr; }
  .info-item { border-right: none; border-bottom: 1px solid var(--cream-dark); }
  .info-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-strip .container { justify-content: center; text-align: center; }

  /* Smaller floating buttons so they cover less content on small screens */
  .fab-stack { right: 14px; bottom: 16px; gap: 10px; }
  .fab { width: 44px; height: 44px; }
  .fab svg { width: 20px; height: 20px; }
  .fab-label { display: none; }
}

/* Nav overlay for mobile menu */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 480; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }
