@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Work+Sans:wght@400;500;700&display=swap');

:root {
  --bg: #fff9f1;
  --surface: #ffffff;
  --text: #2f2520;
  --muted: #66564d;
  --accent: #b23a2a;
  --accent-soft: #f8dfd4;
  --border: #ead8cc;
  --shadow: 0 12px 30px rgba(58, 33, 20, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 207, 150, 0.35), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(178, 58, 42, 0.12), transparent 30%),
    var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-accueil {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 207, 150, 0.35), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(178, 58, 42, 0.12), transparent 30%),
    var(--bg);
}

.page-a-propos {
  background:
    radial-gradient(circle at 12% 14%, rgba(227, 194, 139, 0.28), transparent 36%),
    radial-gradient(circle at 86% 18%, rgba(138, 88, 53, 0.14), transparent 32%),
    #fffaf4;
}

.page-menu {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 221, 189, 0.28), transparent 35%),
    radial-gradient(circle at 88% 18%, rgba(196, 102, 73, 0.12), transparent 30%),
    #fff8f1;
}

.page-contact {
  background:
    radial-gradient(circle at 10% 12%, rgba(130, 190, 184, 0.28), transparent 36%),
    radial-gradient(circle at 90% 18%, rgba(46, 117, 115, 0.15), transparent 32%),
    #f4fcfa;
}

header {
  background: linear-gradient(120deg, #7e251a, #b23a2a);
  color: #fff;
}

nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

nav h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

nav a:hover,
nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

main {
  width: min(1080px, 100% - 32px);
  margin: 30px auto 40px;
  flex: 1;
}

.hero {
  text-align: center;
  padding: 82px 24px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(126, 37, 26, 0.86), rgba(178, 58, 42, 0.82)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 8px,
      transparent 8px,
      transparent 20px
    );
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  text-align: left;
  gap: 24px;
  padding: 28px;
}

.hero-content p {
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-visual {
  border-radius: 14px;
  overflow: hidden;
  min-height: 290px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  display: block;
}

.eyebrow {
  margin: 0 0 8px;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffe7db;
}

h2,
h3 {
  font-family: 'Playfair Display', serif;
}

.hero h2 {
  margin-top: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.hero p {
  color: #fff8f5;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.about,
.contact,
.menu {
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
}

.quick-highlights {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metrics .highlight-card {
  text-align: center;
}

.metrics .highlight-card h3 {
  font-size: 1.55rem;
}

.highlight-card {
  text-align: left;
}

.highlight-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.highlight-card p {
  margin: 0;
}

.about p,
.contact p,
.menu li {
  color: var(--muted);
}

.menu-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.order-section {
  margin-top: 22px;
  text-align: left;
}

.order-section h3 {
  margin-top: 0;
}

.order-section > p {
  color: var(--muted);
}

.order-form {
  width: 100%;
  margin-top: 8px;
}

select {
  width: 100%;
  font: inherit;
  padding: 11px 12px;
  border: 1px solid #d7c3b5;
  border-radius: 10px;
  background: #fff;
}

select:focus {
  outline: 2px solid #efba9d;
  border-color: var(--accent);
}

.order-feedback {
  min-height: 1.2rem;
  margin-top: 10px;
  font-weight: 600;
}

.order-price-info,
.order-total {
  margin: 2px 0 0;
  color: #6a4e42;
  font-weight: 600;
}

.order-total {
  color: #7f2a1f;
}

.order-feedback.success {
  color: #196f3d;
}

.order-feedback.error {
  color: #9f2e21;
}

.feature-panel {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.feature-panel h3 {
  margin-top: 0;
}

.feature-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  text-align: left;
}

.about-story h2 {
  margin-top: 0;
}

.about-image-panel {
  padding: 0;
  overflow: hidden;
}

.about-image-panel img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.about-image-content {
  padding: 16px;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.btn-soft {
  background: #2f7f7b;
}

.btn-soft:hover {
  box-shadow: 0 6px 16px rgba(47, 127, 123, 0.25);
}

.menu-item {
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.menu-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.menu-item-content {
  padding: 16px;
}

.menu-item-content h3 {
  margin-top: 2px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.price {
  color: #8d2f24;
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
}

.menu-item-content p {
  margin: 0;
  color: var(--muted);
}

.menu-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f6e2d6;
  color: #7a362c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.25px;
}

form {
  width: min(640px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
  text-align: left;
}

input,
textarea {
  width: 100%;
  font: inherit;
  padding: 11px 12px;
  border: 1px solid #d7c3b5;
  border-radius: 10px;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid #efba9d;
  border-color: var(--accent);
}

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  background: linear-gradient(120deg, #d46440, var(--accent));
  color: #fff;
  padding: 11px 20px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(178, 58, 42, 0.25);
}

.infos {
  margin-top: 24px;
  padding: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
}

.whatsapp-link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
}

.whatsapp-link:hover {
  background: #1fb856;
}

.location-visual {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location-visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.delivery-board {
  border-color: #b8dfda;
  background: linear-gradient(180deg, #ffffff, #f5fbfa);
}

.delivery-board h3 {
  margin: 0;
}

.delivery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.delivery-board > p {
  color: #4b6664;
  margin-bottom: 12px;
}

.delivery-table-wrap {
  overflow-x: auto;
}

.delivery-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.delivery-table th,
.delivery-table td {
  border-bottom: 1px solid #d4ece8;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.delivery-table th {
  color: #215e59;
  font-size: 0.9rem;
}

.status-badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: #dff2ef;
  color: #1f6661;
  font-weight: 700;
  font-size: 0.82rem;
}

.mark-delivered {
  border: 1px solid #99ccc5;
  background: #ffffff;
  color: #1d6a65;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font-weight: 600;
}

.mark-delivered:hover {
  background: #ecf8f6;
}

.orders-empty {
  margin-top: 10px;
  color: #436d69;
}

@media (max-width: 740px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    gap: 8px;
  }

  .hero {
    padding: 60px 18px;
  }

  .hero-split,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 220px;
  }

  .card {
    padding: 18px;
  }

  .quick-highlights,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .delivery-head {
    flex-direction: column;
    align-items: flex-start;
  }
}