* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f7f1eb;
  color: #2c2c2c;
  line-height: 1.6;
}

:root {
  --goodman-dark: #1d1b18;
  --goodman-brown: #7b4b2a;
  --goodman-brown-dark: #5f3d24;
  --goodman-cream: #f7f1eb;
  --goodman-tan: #d7b98c;
  --goodman-border: #eadfd2;
  --goodman-radius: 10px;
  --goodman-shadow: 0 10px 24px rgba(0,0,0,0.07);
}

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

button,
input,
select {
  font: inherit;
}

.bg-soft {
  background: #f7f1eb;
}

.text-coffee {
  color: #7b4b2a !important;
}

.bg-coffee {
  background: #7b4b2a !important;
}

.navbar {
  background: linear-gradient(135deg, #1d1b18 0%, #31261f 100%);
  padding: 18px 24px;
}

.navbar .nav-link {
  color: rgba(255,255,255,0.92);
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #f0d6b3;
}

.logo {
  color: #d7b98c;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  color: white;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: #d7b98c;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px;
}

.hero {
  min-height: 70vh;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url(https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1400&q=80)
      center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  border-radius: 24px;
}

.hero-content {
  max-width: 760px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin: 0 0 16px;
}

.hero-content p {
  font-size: 1.15rem;
  margin: 0 0 24px;
}

.button,
.btn-brown {
  background: #7b4b2a;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible,
.btn-brown:hover,
.btn-brown:focus-visible {
  background: #5f3d24;
  color: white;
  transform: translateY(-1px);
}

.btn-outline-brown {
  color: #7b4b2a;
  border: 1px solid #7b4b2a;
  background: transparent;
  border-radius: 8px;
  padding: 10px 18px;
  transition: all 0.2s ease;
}

.btn-sm.btn-brown,
.btn-sm.btn-outline-brown {
  padding: 6px 10px;
}

.btn-outline-brown:hover,
.btn-outline-brown:focus-visible {
  background: #7b4b2a;
  color: white;
}

.section {
  padding: 48px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.07);
}

.card h3 {
  margin-top: 0;
}

.cards > .card:not(.product-card) {
  padding: 24px;
}

.card p,
.card li {
  margin: 0;
}

.hours-infographic {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.day-card {
  background: linear-gradient(135deg, #7b4b2a 0%, #5f3d24 100%);
  color: white;
  padding: 28px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.day-card.closed {
  background: linear-gradient(135deg, #d4a574 0%, #c89968 100%);
  color: #2c2c2c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 3px solid #7b4b2a;
}

.day-card.weekend {
  background: linear-gradient(135deg, #8b5a2b 0%, #a8734c 100%);
  color: white;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  border: 3px dashed rgba(215, 185, 140, 0.9);
  font-weight: 700;
  transform: translateY(-2px);
}

.day-card.weekend::before {
  content: "Weekend";
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f0e8df;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.day-card.weekend .day-name {
  color: #f0e8df;
  font-size: 1.2rem;
  font-weight: 800;
}

.day-card.closed {
  background: linear-gradient(135deg, #c9a276 0%, #b48b60 100%);
  color: #2c2c2c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  border: 3px solid #7b4b2a;
}

.day-card.closed .day-name {
  color: #7b4b2a;
  font-size: 1.2rem;
}

.day-card.weekend .hours-time {
  color: #f0e8df;
  font-weight: 700;
}

.day-card.closed .hours-time {
  color: #2c2c2c;
  font-weight: 700;
}

.day-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #d7b98c;
}

.hours-time {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f0e8df;
}

.hours-section h1 {
  text-align: center;
  margin-bottom: 10px;
}

@media (max-width: 1200px) {
  .hours-infographic {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 768px) {
  .hours-infographic {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 14px;
  }

  .day-card {
    padding: 20px 16px;
  }
}

.product-card {
  padding: 0;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card .card-content {
  padding: 24px;
}

.product-card h3 {
  margin: 0 0 10px;
}

.price-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #5a3a24;
  font-weight: 600;
}

.price-list span {
  background: #f6ede3;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.95rem;
}

.price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #7b4b2a;
  margin: 0;
}

.menu-header {
  margin-bottom: 24px;
  text-align: center;
}

.menu-header p {
  max-width: 720px;
  color: #5a5a5a;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}

.icon {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 14px;
}

.footer {
  background: #1d1b18;
  color: white;
  padding: 20px 24px;
  text-align: center;
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #201b17 0%, #3b2a20 100%);
}

.login-card {
  width: min(100%, 420px);
  background: white;
  padding: 36px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  position: relative;
}

.login-card .button {
  display: block;
  width: 100%;
  margin-bottom: 24px;
}

.login-card h1 {
  text-align: center;
  color: #7b4b2a;
  margin-bottom: 10px;
}

.link-secondary {
  background: #d7b98c;
  color: #1d1b18;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}

.link-secondary:hover,
.link-secondary:focus-visible {
  background: #c9a874;
  transform: translateY(-2px);
}

.login-card p {
  text-align: center;
  margin: 0 0 24px;
  color: #5a5a5a;
}

.input,
.form-control,
.form-select,
textarea,
select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #3a3a3a;
}

.sidebar {
  background: linear-gradient(135deg, #1d1b18 0%, #31261f 100%);
  color: white;
}

.sidebar .nav-link {
  color: #f4e7d7;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
  background: rgba(215, 185, 140, 0.2);
  color: #f0d6b3;
}

.table-responsive {
  overflow-x: auto;
  background: white;
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #e8e5e0;
  text-align: left;
  vertical-align: middle;
}

th {
  color: #5a5a5a;
  font-size: 0.95rem;
}

tbody tr:hover {
  background: #f8f2e7;
}

.form-card {
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  gap: 18px;
}

.stat-card {
  border: 1px solid #eadfd2;
  border-radius: 10px;
  min-height: 124px;
  padding: 18px;
  background: #fff;
}

.stat-card h3 {
  color: #6f6a64;
  font-size: 0.78rem;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.stat-card p {
  color: #7b4b2a;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.stat-card.stat-primary {
  background: #7b4b2a;
  border-color: #7b4b2a;
}

.stat-card.stat-primary h3,
.stat-card.stat-primary p {
  color: white;
}

.notification-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.order-total {
  align-items: center;
  background: #f7f1eb;
  border: 1px solid #eadfd2;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.order-total span {
  color: #7b4b2a;
  font-size: 1.25rem;
  font-weight: 800;
}

.order-items-cell {
  min-width: 220px;
}

.status-badge {
  border-radius: 999px;
  padding: 7px 10px;
}

.status-badge.pending,
.status-badge.preparing {
  background: #fff3cd;
  color: #7a5a00;
}

.status-badge.ready,
.status-badge.available {
  background: #d1e7dd;
  color: #0f5132;
}

.status-badge.completed {
  background: #cfe2ff;
  color: #084298;
}

.status-badge.cancelled,
.status-badge.out-of-stock {
  background: #f8d7da;
  color: #842029;
}

.status-badge.low-stock {
  background: #fff3cd;
  color: #7a5a00;
}

@media (max-width: 900px) {
  .navbar {
    align-items: flex-start;
    gap: 14px;
  }

  .page {
    padding: 24px 16px;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 16px;
  }

  .nav-links {
    gap: 10px;
  }

  .hero {
    min-height: 55vh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }

  th,
  td {
    padding: 10px;
  }
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus,
.navbar .navbar-brand.logo,
.navbar .navbar-brand.logo:hover,
.navbar .navbar-brand.logo:focus {
  color: var(--goodman-tan);
  letter-spacing: 0;
}

.sidebar .text-coffee {
  color: #f0d6b3 !important;
}

.public-navbar {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.public-navbar .btn {
  white-space: nowrap;
}

.home-hero {
  border-radius: 0;
  min-height: min(72vh, 680px);
  padding: 96px 24px;
}

.eyebrow {
  color: var(--goodman-brown);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0d6b3;
}

.btn {
  border-radius: 8px;
  font-weight: 700;
}

.card,
.day-card,
.login-card,
.stat-card,
.order-total,
.table-responsive,
.rounded-4 {
  border-radius: var(--goodman-radius) !important;
}

.card {
  border: 1px solid var(--goodman-border);
  box-shadow: var(--goodman-shadow);
  overflow: hidden;
}

.section-heading {
  margin: 0 auto 28px;
  max-width: 720px;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  color: #2c2c2c;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-heading p:last-child {
  color: #6f6a64;
  margin-bottom: 0;
}

.info-card {
  padding: 24px;
}

.info-card h2,
.info-card h3 {
  font-weight: 800;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.feature-grid .icon {
  align-items: center;
  background: #f6ede3;
  border-radius: 999px;
  color: var(--goodman-brown);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding: 8px 12px;
}

.promo-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.promo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-amount {
  align-self: flex-start;
  background: #f6ede3;
  border: 1px solid var(--goodman-border);
  border-radius: 999px;
  color: var(--goodman-brown);
  font-weight: 800;
  padding: 8px 12px;
}

.promo-dates {
  color: #6f6a64;
  font-size: 0.92rem;
  margin-top: auto;
}

.empty-state {
  border-style: dashed;
  color: #6f6a64;
  text-align: center;
}

.hours-list {
  display: grid;
  gap: 12px;
}

.hours-list div {
  align-items: center;
  border-bottom: 1px solid var(--goodman-border);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 12px;
}

.hours-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours-list span,
.quality-strip span,
.contact-list span {
  color: #6f6a64;
}

.status-pill {
  align-items: center;
  background: #f6ede3;
  border: 1px solid var(--goodman-border);
  border-radius: 999px;
  color: var(--goodman-brown);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 800;
  gap: 8px;
  padding: 8px 12px;
  white-space: nowrap;
}

.status-pill::before {
  background: #6aa84f;
  border-radius: 50%;
  content: "";
  height: 10px;
  width: 10px;
}

.status-pill.closed::before {
  background: #b94a48;
}

.quality-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.quality-strip div {
  background: var(--goodman-cream);
  border: 1px solid var(--goodman-border);
  border-radius: var(--goodman-radius);
  padding: 14px;
}

.quality-strip strong,
.quality-strip span {
  display: block;
}

.cta-card {
  align-items: center;
  background: linear-gradient(135deg, #1d1b18 0%, #31261f 100%);
  color: white;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px;
}

.cta-card .eyebrow {
  color: #f0d6b3;
}

.cta-card p {
  color: #f4e7d7;
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.contact-list strong,
.contact-list span {
  display: block;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--goodman-tan);
  box-shadow: 0 0 0 0.2rem rgba(123, 75, 42, 0.15);
}

.form-check-input:checked {
  background-color: var(--goodman-brown);
  border-color: var(--goodman-brown);
}

.table-responsive {
  border: 1px solid var(--goodman-border);
}

th {
  font-weight: 800;
  white-space: nowrap;
}

.alert,
.modal-content {
  border-radius: var(--goodman-radius);
}

.modal-content {
  border: 1px solid var(--goodman-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}

.nav-tabs {
  border-color: var(--goodman-border);
}

.nav-tabs .nav-link {
  border-radius: 8px 8px 0 0;
  color: var(--goodman-brown);
  font-weight: 700;
}

.nav-tabs .nav-link.active {
  color: #2c2c2c;
}

@media (max-width: 640px) {
  .home-hero {
    padding: 72px 18px;
  }

  .quality-strip {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .hours-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-navbar .btn {
    margin-top: 8px;
    width: 100%;
  }
}


