/* ==========================================================================
   Epicure — shared styles
   Loaded on every page. Page-specific styles (hero, menu cards, cart,
   table options, reservation form) stay in each page's own <style> block.
   ========================================================================== */

:root {
  --primary-color: #222;
  --accent-color: #c19a6b;
  --accent-color-hover: #a5825d;
  --light-color: #f8f5f0;
  --dark-color: #1a1a1a;
}

body {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  color: var(--primary-color);
  background-color: #f9f9f9;
}

h1, h2, h3, h4, h5 {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
  border-radius: 4px;
  padding: 6px 10px !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
  background-color: rgba(193, 154, 107, 0.1);
}

.navbar-toggler {
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(193, 154, 107, 0.35);
}

/* Section titles + page header banner */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 15px auto;
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./images/page-header-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: white;
  text-align: center;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent-color);
  border: none;
  padding: 12px 30px;
  border-radius: 2px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent-color-hover);
  transform: translateY(-2px);
}

/* Footer (identical on every page) */
.footer {
  background-color: var(--dark-color);
  color: #d8d5d5;
  padding: 60px 0 30px;
  margin-top: 100px;
}

.footer h3 {
  color: white;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: white;
  font-size: 20px;
  margin: 0 10px 0 0;
  transition: color 0.3s;
  display: inline-block;
}

.social-icons a:hover {
  color: var(--accent-color);
}

/* Visually-hidden helper for accessible labels */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .page-header {
    padding: 60px 0;
  }
}
