/* ─── imoha — Global Styles ─── */

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

:root {
  --cream: #FDF8F0;
  --warm-white: #FAF6EF;
  --gold: #C8A97E;
  --gold-light: #E2CFA8;
  --gold-dark: #B8944A;
  --charcoal: #2D2D2D;
  --charcoal-light: #4A4A4A;
  --warm-gray: #7A7A7A;
  --border-light: #E8DDCF;
  --card-bg: #FFFFFF;
  --shadow-soft: 0 2px 12px rgba(45, 45, 45, 0.06);
  --shadow-hover: 0 8px 30px rgba(45, 45, 45, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header / Navigation ─── */
.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}

.brand span {
  color: var(--gold);
}

.brand-tagline {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.7rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-light);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold-dark);
}

.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);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero (Home) ─── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(160deg, var(--warm-white) 0%, #F5EDE0 40%, #EDE0CC 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(200, 169, 126, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(200, 169, 126, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.hero h1 .accent {
  color: var(--gold-dark);
  font-style: italic;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--warm-gray);
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 32px;
}

/* ─── Browse Section ─── */
.browse-section {
  padding: 72px 0 96px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--charcoal);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--warm-gray);
  font-size: 0.95rem;
}

/* ─── Business Grid ─── */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.business-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.business-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.business-card h3 {
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.business-card-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-dark);
  background: rgba(200, 169, 126, 0.12);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.status-badge.active {
  color: #2E7D32;
  background: rgba(46, 125, 50, 0.08);
}

.status-badge.active::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
}

.status-badge.coming-soon {
  color: var(--warm-gray);
  background: rgba(122, 122, 122, 0.08);
}

.business-card-description {
  font-size: 0.88rem;
  color: var(--warm-gray);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.business-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.business-card-meta span {
  font-size: 0.78rem;
  color: var(--charcoal-light);
  background: rgba(200, 169, 126, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
}

.business-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.business-card-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.business-card-link:hover {
  gap: 10px;
}

.business-card-link.coming-soon {
  color: var(--warm-gray);
  cursor: default;
}

.business-card-link .arrow {
  transition: transform 0.2s;
}

.business-card-link:not(.coming-soon):hover .arrow {
  transform: translateX(4px);
}

/* ─── Empty State ─── */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--warm-gray);
}

.empty-state p {
  font-size: 1rem;
}

/* ─── Back Link ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--warm-gray);
  margin-bottom: 32px;
  transition: color 0.2s, gap 0.2s;
}

.back-link:hover {
  color: var(--gold-dark);
  gap: 12px;
}

/* ─── Business Hero ─── */
.business-hero {
  padding: 64px 0 48px;
  text-align: center;
  background: linear-gradient(160deg, var(--warm-white) 0%, #F5EDE0 40%, #EDE0CC 100%);
  position: relative;
  overflow: hidden;
}

.business-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(200, 169, 126, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(200, 169, 126, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.business-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.business-type-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-dark);
  background: rgba(200, 169, 126, 0.15);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.business-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.business-hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--warm-gray);
  margin-bottom: 8px;
}

.business-hero .hero-divider {
  width: 50px;
  margin: 20px auto;
}

.business-hero-description {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 300;
}

/* ─── Business Info Bar ─── */
.info-bar {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 32px;
  margin: -24px auto 48px;
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-soft);
}

.info-item {
  text-align: center;
}

.info-item-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--warm-gray);
  margin-bottom: 4px;
}

.info-item-value {
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 500;
}

.info-item-value a {
  color: var(--gold-dark);
}

.info-item-value a:hover {
  text-decoration: underline;
}

/* ─── Menu Section ─── */
.menu-section {
  padding: 0 0 80px;
}

.menu-category {
  margin-bottom: 56px;
}

.menu-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.menu-category-header h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--charcoal);
  white-space: nowrap;
}

.menu-category-line {
  flex: 1;
  height: 1px;
  background: var(--gold-light);
}

.menu-category-icon {
  font-size: 1.3rem;
  color: var(--gold-dark);
}

.menu-items {
  display: grid;
  gap: 20px;
}

.menu-item {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.menu-item:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-soft);
}

.menu-item-info {
  flex: 1;
}

.menu-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.menu-item-description {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.5;
}

.menu-item-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
  padding-top: 2px;
}

/* ─── Business Details ─── */
.details-section {
  padding: 0 0 80px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.detail-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
}

.detail-card h3 {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-card h3 span {
  color: var(--gold-dark);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .day {
  color: var(--charcoal-light);
}

.hours-list .time {
  font-weight: 500;
  color: var(--charcoal);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--charcoal-light);
}

.contact-item .label {
  font-weight: 500;
  color: var(--charcoal);
  min-width: 70px;
}

.contact-item a {
  color: var(--gold-dark);
}

.contact-item a:hover {
  text-decoration: underline;
}

.location-placeholder {
  background: #F0EBE3;
  border-radius: var(--radius-sm);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  font-size: 0.85rem;
  margin-top: 12px;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}

.footer-brand span {
  color: var(--gold);
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ─── Dark Mode ─── */
body.dark {
  --cream: #1A1A1A;
  --warm-white: #1E1E1E;
  --charcoal: #E8E0D8;
  --charcoal-light: #B8B0A8;
  --warm-gray: #8A8A8A;
  --border-light: #2E2E2E;
  --card-bg: #242424;
}

body.dark .hero {
  background: linear-gradient(160deg, #1E1E1E 0%, #222020 40%, #2A2420 100%);
}

body.dark .business-hero {
  background: linear-gradient(160deg, #1E1E1E 0%, #222020 40%, #2A2420 100%);
}

body.dark .business-card:hover {
  border-color: var(--gold);
}

body.dark .menu-item:hover {
  border-color: var(--gold-dark);
}

body.dark .info-bar,
body.dark .detail-card,
body.dark .menu-item {
  background: #242424;
}

body.dark .location-placeholder {
  background: #2E2E2E;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--warm-white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .info-bar {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    margin: -24px 16px 32px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .business-hero {
    padding: 48px 0 32px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .menu-item {
    flex-direction: column;
    gap: 8px;
  }

  .menu-item-price {
    align-self: flex-end;
  }
}
