@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Original tammylynninn.com Wix palette */
  --bg: #fafafa;
  --bg-alt: #f5f5f5;
  --bg-card: #ffffff;
  --text: #000000;
  --text-muted: #646464;
  --accent: #b8162e;
  --accent-hover: #9a1226;
  --link: #007bff;
  --link-hover: #0056b3;
  --border: rgba(0, 0, 0, 0.1);
  --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--link-hover);
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* ── Top bar ── */
.top-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar a {
  color: var(--text);
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar-phone {
  font-weight: 600;
  color: var(--text) !important;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  filter: contrast(1.04);
  transform: scale(1.03);
  transform-origin: 55% center;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.45) 42%,
      rgba(255, 255, 255, 0.08) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.8);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-style: italic;
  color: var(--text);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Sections ── */
section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--text);
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ── Info cards (hours, location) ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

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

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

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

.hours-list .day {
  font-weight: 600;
  color: var(--text);
}

.hours-list .time {
  color: var(--text-muted);
}

.hours-list .closed {
  color: var(--accent);
}

/* ── Contact strip ── */
.contact-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.contact-item > div:not(.contact-icon) {
  min-width: 0;
  flex: 1;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-value {
  font-weight: 600;
  font-size: 1rem;
}

.contact-value a {
  color: var(--link);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact-value a:hover {
  color: var(--link-hover);
}

/* Phone stays black like the original */
.contact-item:first-child .contact-value a {
  color: var(--text);
}

.contact-item:first-child .contact-value a:hover {
  color: var(--accent);
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  font: inherit;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  outline: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg-alt);
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  border: none;
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: 96vw;
  height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lightbox-dialog > * {
  pointer-events: auto;
}

.lightbox-figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap {
  flex: 1 1 auto;
  width: 100%;
  height: calc(92vh - 2.5rem);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  flex: 0 0 auto;
  margin-top: 0.75rem;
  color: #ffffff;
  font-size: 0.9rem;
  text-align: center;
  max-width: 90%;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.lightbox-close {
  top: -0.25rem;
  right: 0;
  width: 40px;
  height: 40px;
  font-size: 1.75rem;
  border-radius: 50%;
  transform: translateY(-100%);
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 2rem;
  border-radius: 50%;
}

.lightbox-prev {
  left: -3.5rem;
}

.lightbox-next {
  right: -3.5rem;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 0.25rem;
  }

  .lightbox-next {
    right: 0.25rem;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    transform: none;
  }
}

/* ── About teaser ── */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-block img {
  border: 1px solid var(--border);
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  filter: contrast(1.02);
}

.about-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-block .pull-quote {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

/* ── Menu page ── */
.menu-category {
  margin-bottom: 3rem;
}

.menu-category h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.menu-deal {
  font-weight: 600;
  color: var(--accent);
  margin: -0.5rem 0 1.25rem;
}

.menu-items {
  display: grid;
  gap: 1rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.menu-item-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.menu-item-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.menu-item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.menu-note {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1.5rem;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
}

/* ── Events ── */
.events-calendar-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.event-calendar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 1.25rem;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.calendar-month {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  flex: 1;
}

.calendar-nav {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 0;
  transition: border-color 0.15s, color 0.15s;
}

.calendar-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.calendar-cell {
  aspect-ratio: 1;
  min-height: 2.75rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: default;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.calendar-cell.empty {
  pointer-events: none;
}

.calendar-cell.day {
  cursor: pointer;
}

.calendar-cell.day:hover {
  border-color: var(--border);
  background: var(--bg-alt);
}

.calendar-cell.today .day-num {
  font-weight: 700;
}

.calendar-cell.has-event .day-num {
  font-weight: 700;
}

.calendar-cell.selected {
  border-color: var(--accent);
  background: rgba(184, 22, 46, 0.08);
}

.event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 2px;
}

.calendar-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  min-height: 280px;
}

.calendar-detail-empty {
  color: var(--text-muted);
  margin: 0;
}

.calendar-detail-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.calendar-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-detail-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: start;
}

.calendar-detail-item img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.calendar-detail-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.25rem 0 0.35rem;
}

.calendar-detail-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.event-time {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.event-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

@media (max-width: 768px) {
  .events-calendar-wrap {
    grid-template-columns: 1fr;
  }

  .calendar-detail-item {
    grid-template-columns: 72px 1fr;
  }

  .calendar-detail-item img {
    width: 72px;
    height: 72px;
  }
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-card-body {
  padding: 1.5rem;
}

.event-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.event-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Page header ── */
.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/profile-hero.jpg') center / cover no-repeat;
  filter: contrast(1.04);
  transform: scale(1.03);
  z-index: 0;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(250, 250, 250, 0.75) 100%
  );
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
}

.page-header p {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-size: 1.1rem;
}

/* ── Map embed ── */
.map-wrap {
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 400px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  background: var(--bg-card);
  transition: all 0.2s;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #ffffff;
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 4vw;
  }

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

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-header .container {
    position: relative;
  }

  .about-block {
    grid-template-columns: 1fr;
  }

  .gallery-item.featured {
    grid-column: span 1;
    grid-row: span 1;
  }

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

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

  .hero {
    min-height: 65vh;
  }
}
