/* ========================================
   Diona Caffe — Custom Styles
   ======================================== */

:root {
  /* Forest-emerald palette — inspired by the velvet walls inside Diona Caffe */
  --espresso: #2D4A3D;          /* deep emerald (primary) */
  --espresso-dark: #1B302A;     /* darker emerald */
  --espresso-darker: #122019;   /* near-black emerald */
  --charcoal: #1A1F1C;          /* warm-tinted charcoal */
  --cream: #F2E8DA;             /* warm parchment */
  --cream-soft: #FAF5EB;
  --copper: #C9A66B;            /* champagne gold accent */
  --copper-dark: #A8854A;
  --gold: #C9A66B;
  --gold-dark: #A8854A;
  --bean: #D4A483;              /* soft peach accent */
  --soft-white: #FBF8F2;
  --muted: #5C6E64;             /* muted green-grey for body copy */
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--soft-white);
}

.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-accent  { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; }

.text-espresso { color: var(--espresso); }
.text-gold     { color: var(--gold); }
.text-cream    { color: var(--cream); }
.text-muted-warm { color: var(--muted); }

.bg-espresso { background-color: var(--espresso); }
.bg-espresso-dark { background-color: var(--espresso-dark); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-cream    { background-color: var(--cream); }
.bg-cream-soft { background-color: var(--cream-soft); }
.bg-gold     { background-color: var(--gold); }
.bg-soft-white { background-color: var(--soft-white); }

.border-gold { border-color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold {
  background: var(--copper);
  color: #fff;
}
.btn-gold:hover {
  background: var(--copper-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(168,115,84,0.3);
}
.btn-outline-gold {
  background: transparent;
  color: var(--copper-dark);
  border-color: var(--copper);
}
.btn-outline-gold:hover {
  background: var(--copper);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--espresso);
}

/* Navigation link underline animation */
.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--espresso); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Section heading kicker */
.kicker {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--copper);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* Ornamental divider — coffee-bean motif */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0.4rem auto 1.25rem;
  color: var(--copper);
}
.ornament::before,
.ornament::after {
  content: '';
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper));
}
.ornament::after {
  background: linear-gradient(90deg, var(--copper), transparent);
}
.ornament svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* Inline coffee-bean glyph for inline ornaments */
.bean-glyph {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin: 0 0.4rem;
  color: var(--copper);
}

/* Hero */
.hero-wrapper {
  position: relative;
  min-height: 92vh;
  background:
    linear-gradient(180deg, rgba(18,32,25,0.55) 0%, rgba(18,32,25,0.82) 100%),
    url('../images/web/diona-caffe-14.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}

/* Page header (interior pages) */
.page-header {
  position: relative;
  padding: 9rem 0 5rem;
  background:
    linear-gradient(180deg, rgba(45,74,61,0.78) 0%, rgba(18,32,25,0.90) 100%),
    url('../images/web/diona-caffe-5.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
}

/* Cards */
.menu-category-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #1A1A1A;
  aspect-ratio: 4/5;
  cursor: pointer;
}
.menu-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0.7;
}
.menu-category-card:hover img { transform: scale(1.06); opacity: 0.55; }
.menu-category-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #fff;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
}

/* Menu item */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px dotted rgba(45,74,61,0.22);
}
.menu-item:last-child { border-bottom: none; }
.menu-item .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  color: var(--espresso);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.menu-item .desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.45;
}
.menu-item .price {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--copper-dark);
  font-size: 1.1rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.menu-item .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(45,74,61,0.3);
  margin: 0 0.75rem 0.4rem;
  align-self: end;
}

.tag-recommend {
  display: inline-block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--copper);
  color: #fff;
  padding: 0.18rem 0.6rem;
  border-radius: 2px;
  margin-left: 0.5rem;
  vertical-align: middle;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 2px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45,74,61,0);
  transition: background 0.3s ease;
}
.gallery-item:hover::after { background: rgba(45,74,61,0.25); }

/* Form */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #fff;
  border: 1px solid rgba(45,74,61,0.2);
  color: var(--charcoal);
  font-size: 0.95rem;
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,166,107,0.22);
}
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 0.5rem;
}

/* Top bar ticker */
.top-bar {
  background: var(--espresso-darker);
  color: #d8e0db;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  letter-spacing: 0.02em;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--gold); }

/* Sticky header shadow on scroll */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s, padding 0.3s;
  border-bottom: 1px solid rgba(45,74,61,0.06);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(26,26,26,0.06); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--espresso);
  color: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.mobile-nav a:hover { color: var(--gold); }

/* Reveal animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: fadeUp 0.8s ease forwards;
}

/* Catering dark section */
.catering-strip {
  position: relative;
  background:
    linear-gradient(135deg, rgba(27,48,42,0.93), rgba(18,32,25,0.92)),
    url('../images/web/diona-caffe-32.jpg') center/cover;
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--espresso-dark);
  color: #cfc7bb;
}
.site-footer a:hover { color: var(--gold); }

/* Scroll-trigger compatible */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Horizontal scroll for desserts */
.h-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.h-scroll::-webkit-scrollbar { height: 6px; }
.h-scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
.h-scroll > * {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* Map iframe */
.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}
