/* Restaurant Gourmet Demo Styles */
:root {
  --rest-primary: #b63b25; /* Burnt tomato */
  --rest-accent: #e9a94b;  /* Saffron */
  --rest-dark: #1d1b19;    /* Charcoal espresso */
  --rest-mid: #3c342e;     /* Cocoa */
  --rest-light: #faf7f2;   /* Parchment */
  --rest-success: #2e7d32;
  --rest-radius: 18px;
  --rest-gradient: linear-gradient(135deg, #b63b25, #7c1e0d);
}

body.restaurant-demo {
  background: var(--rest-light);
  color: var(--rest-mid);
}

/* Hero */
.hero-restaurant {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #000;
}
.hero-restaurant .bg-media {
  position: absolute; inset:0; width:100%; height:100%; object-fit:cover; filter: brightness(0.7) saturate(1.2);
}

.hero-restaurant::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(101, 24, 24, 0.25);
  z-index: 1;
}
.hero-restaurant .hero-content { position: relative; z-index:2; max-width:900px; animation: fadeIn 1.2s ease; }
.hero-restaurant h1 { font-size: clamp(2.8rem,7vw,4.5rem); font-weight:700; letter-spacing:.5px; }
.hero-restaurant p.lead { font-size: clamp(1.15rem,2.2vw,1.45rem); margin:1.2rem auto 2.2rem; max-width:760px; }
.hero-restaurant .badges { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:1.8rem; }
.hero-restaurant .badge-pill { background: rgba(255,255,255,.12); backdrop-filter: blur(4px); border:1px solid rgba(255,255,255,.2); padding:8px 18px; border-radius:50px; font-size:.85rem; letter-spacing:.5px; text-transform:uppercase; }

/* Buttons */
.btn-rest-primary { background: var(--rest-gradient); color:#fff; border:none; padding:14px 32px; font-weight:600; letter-spacing:.5px; border-radius:50px; box-shadow:0 8px 28px -6px rgba(182,59,37,.55); transition:.4s; }
.btn-rest-primary:hover { transform: translateY(-4px); box-shadow:0 12px 36px -4px rgba(182,59,37,.65); color:#fff; }
.btn-outline-light-rest { padding:14px 30px; border-radius:50px; border:2px solid #fff; font-weight:600; color:#fff; background:transparent; backdrop-filter: blur(4px); transition:.4s; }
.btn-outline-light-rest:hover { background:#fff; color: var(--rest-dark); }

/* Menu Section */
#menu { scroll-margin-top: 90px; }
.menu-section { padding:90px 0; }
.category-tabs { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:2.2rem; }
.category-tabs button { border:none; background:#fff; padding:10px 20px; border-radius:50px; font-weight:600; box-shadow:0 4px 14px rgba(0,0,0,.08); cursor:pointer; transition:.35s; letter-spacing:.3px; }
.category-tabs button.active, .category-tabs button:hover { background: var(--rest-gradient); color:#fff; box-shadow:0 6px 18px rgba(182,59,37,.4); }

.menu-grid { display:grid; gap:34px; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); }
.dish-card { background:#fff; border-radius: var(--rest-radius); overflow:hidden; box-shadow:0 10px 30px -8px rgba(0,0,0,.15); display:flex; flex-direction:column; }
.dish-card figure { position:relative; height:190px; margin:0; overflow:hidden; }
.dish-card img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.dish-card:hover img { transform: scale(1.12); }
.dish-meta { padding:18px 20px 20px; display:flex; flex-direction:column; gap:12px; flex:1; }
.dish-header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.dish-header h3 { font-size:1.15rem; font-weight:600; margin:0; flex:1; }
.price { font-weight:700; color: var(--rest-primary); font-size:1.05rem; }
.dish-tags { display:flex; gap:6px; flex-wrap:wrap; }
.dish-tag { background: var(--rest-light); padding:4px 10px; font-size:.7rem; text-transform:uppercase; letter-spacing:.5px; border-radius:50px; font-weight:600; color: var(--rest-mid); }
.rating { color: var(--rest-accent); font-size:.9rem; }
.dish-actions { margin-top:auto; display:flex; gap:10px; }
.dish-actions button { flex:1; padding:10px 14px; border:none; border-radius:10px; font-weight:600; cursor:pointer; background: var(--rest-mid); color:#fff; transition:.35s; }
.dish-actions button.order { background: var(--rest-primary); }
.dish-actions button.order:hover { background:#901f0b; }
.dish-actions button.details:hover { background:#201a16; }

/* Specials / Chef */
.specials { background: var(--rest-dark); color:#fff; padding:100px 0; position:relative; }
.specials::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.08), transparent 70%); pointer-events:none; }
.specials h2 { font-weight:700; font-size: clamp(2rem,5vw,3rem); margin-bottom:2.4rem; }
.highlight-grid { display:grid; gap:50px; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); }
.highlight-card { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); padding:34px 32px 40px; border-radius:26px; backdrop-filter: blur(6px); position:relative; overflow:hidden; }
.highlight-card h3 { font-size:1.3rem; font-weight:600; margin-bottom:14px; }
.highlight-card .icon { font-size:2rem; background: var(--rest-gradient); -webkit-background-clip: text; background-clip: text; color:transparent; margin-bottom:16px; }
.highlight-card p { opacity:.9; line-height:1.55; }

/* Gallery */
.gallery { padding:90px 0; }
.masonry { columns:4 250px; column-gap:18px; }
.masonry figure { break-inside:avoid; margin:0 0 18px; position:relative; overflow:hidden; border-radius:22px; }
.masonry img { width:100%; height:auto; display:block; transition:.6s; filter: brightness(.92) saturate(1.05); }
.masonry figure:hover img { transform: scale(1.08); filter: brightness(1) saturate(1.15); }
.masonry figcaption { position:absolute; inset:0; display:flex; align-items:flex-end; padding:18px 18px 20px; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 55%); color:#fff; font-weight:500; opacity:0; transition:.45s; }
.masonry figure:hover figcaption { opacity:1; }

/* Reservations */
.reservations { background: linear-gradient(135deg,#faf7f2,#f3e6d6); padding:100px 0; }
.reservations h2 { font-weight:700; font-size: clamp(2rem,5vw,3rem); margin-bottom:1.8rem; }
.booking-card { background:#fff; padding:38px 42px 46px; border-radius:32px; box-shadow:0 18px 55px -18px rgba(0,0,0,.15); }
.booking-card form { display:grid; gap:22px; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); }
.booking-card label { font-size:.75rem; text-transform:uppercase; letter-spacing:1px; font-weight:700; color: var(--rest-mid); margin-bottom:6px; }
.booking-card input, .booking-card select, .booking-card textarea { width:100%; padding:14px 16px; border-radius:14px; border:2px solid #e3d8ca; background:#fff; font-size:.9rem; transition:.3s; }
.booking-card textarea { min-height:110px; grid-column:1/-1; resize:vertical; }
.booking-card input:focus, .booking-card select:focus, .booking-card textarea:focus { outline:none; border-color: var(--rest-primary); box-shadow:0 0 0 4px rgba(182,59,37,.12); }
.booking-card button[type=submit] { grid-column:1/-1; }
.form-hint { font-size:.7rem; color:#7a6d62; margin-top:4px; }

/* Reviews */
.reviews { padding:90px 0; background:#fff; }
.review-grid { display:grid; gap:34px; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); }
.review-card { background: var(--rest-light); padding:26px 26px 30px; border-radius:24px; position:relative; box-shadow:0 12px 32px -12px rgba(0,0,0,.15); }
.review-card .quote { font-style:italic; line-height:1.55; margin-bottom:16px; }
.review-card .author { display:flex; gap:14px; align-items:center; }
.review-card img { width:54px; height:54px; border-radius:50%; object-fit:cover; }

/* Events */
.events { background: var(--rest-dark); color:#fff; padding:90px 0; }
.events-list { display:grid; gap:34px; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); }
.event-card { background:#fff; color: var(--rest-mid); border-radius:24px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 16px 40px -16px rgba(0,0,0,.25); }
.event-card figure { height:180px; margin:0; overflow:hidden; }
.event-card img { width:100%; height:100%; object-fit:cover; transition:.6s; }
.event-card:hover img { transform: scale(1.08); }
.event-body { padding:24px 26px 30px; display:flex; flex-direction:column; gap:14px; flex:1; }
.event-body h3 { font-size:1.25rem; margin:0; font-weight:600; }
.event-meta { display:flex; gap:18px; font-size:.75rem; text-transform:uppercase; letter-spacing:1px; font-weight:700; color: var(--rest-primary); }
.event-body .desc { flex:1; line-height:1.55; }
.event-body .reserve { align-self:flex-start; }

/* Contact / Footer add-ons */
.contact { padding:90px 0; background: linear-gradient(135deg,#faf7f2,#f5ede3); }
.contact-grid { display:grid; gap:50px; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); }
.contact-card { background:#fff; padding:34px 36px 40px; border-radius:28px; box-shadow:0 20px 48px -20px rgba(0,0,0,.18); }
.contact-card h3 { font-weight:600; margin-bottom:14px; }
.contact-card p { margin:0 0 14px; line-height:1.55; }
.contact-card .info-line { display:flex; gap:12px; align-items:flex-start; margin-bottom:10px; font-size:.9rem; }
.map-embed { border:0; width:100%; min-height:340px; border-radius:24px; filter: grayscale(.2) contrast(1.05) saturate(1.05); box-shadow:0 14px 34px -12px rgba(0,0,0,.25); }

/* Utility */
.section-intro { max-width:760px; margin:0 auto 3rem; text-align:center; }
.section-intro h2 { font-weight:700; font-size: clamp(2rem,5vw,3rem); margin-bottom:1rem; }
.section-intro p { font-size:1.05rem; line-height:1.55; }
.divider { width:90px; height:5px; background: var(--rest-gradient); border-radius:10px; margin:20px auto 0; }
.badge-soft { background: var(--rest-light); color: var(--rest-primary); font-weight:600; padding:6px 14px; border-radius:50px; font-size:.7rem; letter-spacing:.5px; text-transform:uppercase; }

/* Scroll animation placeholders (progressive enhancement) */
html.js [data-animate] { opacity:0; transform: translateY(30px); transition: .9s cubic-bezier(.4,0,.2,1); }
html.js [data-animate].visible { opacity:1; transform:none; }

/* Active category tab enhancement */
.category-tabs button.active {
  position: relative;
  background: var(--rest-gradient)!important;
  color:#fff!important;
  box-shadow:0 4px 18px -2px rgba(182,59,37,.55);
}
.category-tabs button.active::after {
  content:""; position:absolute; inset:0; border-radius:50px; box-shadow:0 0 0 3px rgba(255,255,255,.25) inset,0 0 0 1px rgba(0,0,0,.08);
  pointer-events:none;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .hero-restaurant { min-height: 78vh; }
  .highlight-grid { gap:32px; }
  .booking-card { padding:30px 28px 34px; }
}
@media (max-width: 600px) {
  .hero-restaurant h1 { font-size: clamp(2.2rem,9.5vw,3rem); }
  .masonry { columns:2 160px; }
  .booking-card form { grid-template-columns: 1fr; }
}
