
/* ------------------------- */
/* 1. CONFIG & TOKENS        */
/* ------------------------- */
:root {
  /* Brand palette */
  --clr-bg: #faf6f0;
  --clr-bg-soft: #f5efe8;
  --clr-surface: #ffffff;
  --clr-text: #2f2a25;
  --clr-muted: #6f635a;
  --clr-accent: #a05a2c;     /* warm coffee-brown */
  --clr-accent-2: #cf8b4c;   /* lighter accent */
  --clr-success: #25d366;    /* WhatsApp green */

  /* Utility */
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.12);

  --container-w: 1100px;

  /* Typography */
  --font-sans: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;

  /* Spacing scale */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
}

body.dark {
  --clr-bg: #1e1712;
  --clr-bg-soft: #261d17;
  --clr-surface: #2d231c;
  --clr-text: #f5efe8;
  --clr-muted: #cbb8a7;
  --clr-accent: #cf8b4c;
}

/* ------------------------- */
/* 2. RESET & BASE           */
/* ------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--clr-accent);
  text-decoration: none;
}

a:hover {
  color: var(--clr-accent-2);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 3px;
}

img[loading="lazy"] {
  background: linear-gradient(100deg, #eee 40%, #f5f5f5 50%, #eee 60%);
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--clr-surface);
  color: var(--clr-text);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.skip-link:focus {
  left: var(--space-6);
  top: var(--space-6);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ------------------------- */
/* 3. HEADER & NAVIGATION    */
/* ------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.8);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e8dfd5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 700;
}
.brand-badge {
  font-family: var(--font-serif);
  letter-spacing: 1px;
  color: var(--clr-accent);
}
.brand-100 {
  color: var(--clr-accent-2);
}

.primary-nav .nav-list {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #e1d6cb;
  background: var(--clr-surface);
  color: var(--clr-text);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-link:hover {
  background: var(--clr-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.nav-link:focus-visible {
  outline: 3px solid #d9c4b0;
}

/* ------------------------- */
/* 4. HERO SECTION           */
/* ------------------------- */
.hero {
  padding: var(--space-20) 0 var(--space-16);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-12);
  align-items: stretch;
}

/* Left Column (Image & Copy) */
.hero-left {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: 32px;
  min-height: 650px; 
  overflow: hidden;
}

.hero-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0,0,0,0.35), rgba(0,0,0,0.6));
  z-index: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; 
  transform: scale(1.12);
  transition: transform 6s ease;
}

.hero:hover .hero-image {
  transform: scale(1.18);
}

.hero-copy {
  position: absolute;
  z-index: 1;
  bottom: var(--space-10);
  left: var(--space-10);
  right: var(--space-10);
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 0 18px rgba(0,0,0,0.35);
  max-width: 580px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 var(--space-3);
}

.hero-subtitle {
  margin: 0 0 var(--space-4);
  color: #f5f2ef;
  font-size: 16px;
  opacity: 0.9;
}

.hero-dots {
  font-family: monospace;
  opacity: 0.8;
}

.hero-ingredients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  color: #f5f2ef;
}

.hero-ingredients li {
  font-size: 16px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
  margin-top: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  line-height: 1.6;
}

.hero-ingredients li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--clr-accent-2);
}

.hero-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--clr-accent);
  color: #fff;
  font-weight: 600;
}
.hero-cta:hover {
  background: var(--clr-accent-2);
}

.hero-cta.alt {
  background: transparent;
  border: 2px solid #cf8b4c;
  color: #cf8b4c;
}
.hero-cta.alt:hover {
  background: #cf8b4c;
  color: #1f1a16;
}

/* Right Column (Badge & Info) */
.hero-right {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.natural-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-10);
  background: rgba(255,255,255,0.9);
  color: var(--clr-accent);
  border-radius: 999px;
  border: 2px solid var(--clr-accent);
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}
.natural-text {
  font-family: var(--font-serif);
}

.hero-info {
  background: #1f1a16;
  color: #f5efe8;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 380px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: #cf8b4c;
  margin-bottom: 12px;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.hero-stats li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 12px;
  font-size: 16px;
}
.hero-stats li:last-child {
  border-bottom: none;
}

/* ------------------------- */
/* 5. SECTIONS GLOBAL        */
/* ------------------------- */
.section {
  padding: var(--space-16) 0;
}
.section.alt {
  background: var(--clr-bg-soft);
}
.section.breath {
  animation: section-breath 1.6s ease-out;
}

.section-header {
  margin-bottom: var(--space-10);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 36px);
  margin: 0 0 var(--space-3);
  color: var(--clr-text);
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  background: var(--clr-accent);
  border-radius: 999px;
}

.section-desc {
  margin: 0;
  color: var(--clr-muted);
  max-width: 520px;
}

.section::before {
  content: "☕";
  position: absolute;
  opacity: 0.04;
  font-size: 120px;
  right: 5%;
  top: 20%;
  pointer-events: none;
}

/* Coffee Wave Divider */
.coffee-wave {
  height: 64px;
  background: linear-gradient(to right, #d8c1ab, #ead8c7, #d8c1ab);
  border-top: 1px solid rgba(160,90,44,0.35);
  border-bottom: 1px solid rgba(160,90,44,0.35);
}

/* ------------------------- */
/* 6. MENU GRID              */
/* ------------------------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.menu-card {
  position: relative;
  overflow: hidden;
  padding: var(--space-6);
  background: var(--clr-surface);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  min-height: 160px;
  display: grid;
  place-items: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

.menu-card:focus-within {
  outline: 3px solid #e8dfd5;
}

/* Menu Hover Gradient Overlay */
.menu-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(160,90,44,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; 
}
.menu-card:hover::after {
  opacity: 1;
}

/* Price Ribbon */
.price-ribbon {
  position: absolute;
  top: 18px;
  right: -10px;
  background: linear-gradient(135deg, #cf8b4c, #a05a2c);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 14px 14px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 3;
  pointer-events: none;
}
.menu-card:hover .price-ribbon {
  transform: translateX(-6px);
  transition: transform 0.3s ease;
}

.menu-card-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Menu Images */
.menu-img-wrap {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #ffffff, #f1e4d6);
  border-radius: 20px;
  box-shadow: inset 0 -6px 12px rgba(0,0,0,0.06);
  margin-bottom: var(--space-4);
}

.menu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.4s ease;
  max-width: 85%;
  max-height: 85%;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.18));
}
.menu-card:hover .menu-img {
  transform: scale(1.06);
}

/* Menu Text */
.menu-item-title {
  margin: 0 0 var(--space-2);
  font-weight: 700;
  font-size: 18px;
}
.menu-item-desc {
  margin: 0 0 var(--space-5);
  color: var(--clr-muted);
  font-size: 16px;
}

.menu-item-cta {
  margin-top: auto;
  transition: all 0.2s ease;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
}
.menu-item-cta:hover {
  background: var(--clr-accent);
  color: #fff;
  transform: translateY(-1px);
}

/* Menu Dialog */
.menu-dialog {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 0;
  width: min(560px, 90vw);
}
.menu-dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
}
.dialog-content {
  padding: var(--space-8);
  background: var(--clr-surface);
}
.dialog-title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-serif);
}
.dialog-body {
  margin: 0 0 var(--space-6);
  color: var(--clr-muted);
}
.dialog-price {
  font-weight: 700;
  color: var(--clr-accent);
}
.dialog-close {
  position: absolute;
  right: var(--space-6);
  top: var(--space-6);
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: var(--clr-muted);
}

/* ------------------------- */
/* 7. VALUE PROPOSITION      */
/* ------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.value-card {
  background: var(--clr-surface);
  padding: var(--space-8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.value-card:hover {
  transform: translateY(-6px);
}

/* ------------------------- */
/* 8. REVIEWS               */
/* ------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.review-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.review-avatar {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #e7d7c7;
  background: linear-gradient(135deg, #f1e4d6, #ead9c9);
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-stars {
  color: #f5a623; 
  font-size: 18px;
}
.review-quote {
  margin: 0;
  font-style: italic;
}
.review-author {
  margin-top: var(--space-3);
  font-weight: 700;
  color: var(--clr-text);
}

/* ------------------------- */
/* 9. ABOUT & LOCATIONS     */
/* ------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-12);
}

.about-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-8);
}

.about-facts {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.about-facts li {
  font-size: 15px;
  color: var(--clr-muted);
}

/* Open Status */
.open-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 600;
}
.status-dot {
  width: 10px;
  height: 10px;
  background: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.25);
  animation: pulse 1.6s infinite;
}
.status-hours {
  color: var(--clr-muted);
  font-weight: 500;
}

/* Map */
.map-title {
  margin: 0 0 var(--space-4);
  font-weight: 700;
}
.map-frame {
  background: linear-gradient(135deg, #f3e8dc, #ffffff);
  padding: 12px;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-5);
}
.map-embed iframe {
  filter: saturate(0.9) contrast(1.05);
}
.address-line {
  color: var(--clr-muted);
}

/* Social */
.social-row {
  display: flex;
  gap: var(--space-8);
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
}
.social-row a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eadfda;
}
.social-row a:hover {
  background: var(--clr-accent);
  color: #fff;
}

/* ------------------------- */
/* 10. CTA SECTION           */
/* ------------------------- */
.cta-box {
  background: linear-gradient(135deg, #cf8b4c, #a05a2c);
  color: #fff;
  padding: 64px;
  border-radius: 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-box p {
  opacity: 0.9;
  margin-bottom: 24px;
}

/* ------------------------- */
/* 11. FOOTER                */
/* ------------------------- */
.site-footer {
  padding: var(--space-12) 0;
  text-align: center;
  color: var(--clr-muted);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--clr-muted);
  font-size: 14px;
}

/* ------------------------- */
/* 12. FLOATING ELEMENTS     */
/* ------------------------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.35);
}

/* ------------------------- */
/* 13. ANIMATIONS            */
/* ------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes section-breath {
  0% { box-shadow: inset 0 0 0 rgba(0,0,0,0); }
  50% { box-shadow: inset 0 0 80px rgba(160,90,44,0.08); }
  100% { box-shadow: inset 0 0 0 rgba(0,0,0,0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,204,113,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

/* ------------------------- */
/* 14. MEDIA QUERIES         */
/* ------------------------- */

/* Desktop/Large overrides */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet/Medium overrides */
@media (max-width: 768px) {
  .hero {
    padding-top: 48px;
  }
  .hero-right {
    display: none;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-copy {
    left: 16px;
    right: 16px;
    bottom: 20px;
    max-width: 100%;
  }
  
  .primary-nav .nav-list {
    gap: 10px;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
  }
  .location-pair {
    grid-template-columns: 1fr;
  }
  
  .map-frame {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .location-image img {
    height: 260px;
  }
  
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
  .menu-card {
    padding: 20px;
  }
  .menu-item-cta {
    font-size: 16px;
    padding: 12px 20px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .nav-link {
    padding: 8px 10px;
  }
}

/* Mobile overrides */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
    word-break: break-word;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    padding: 14px;
    right: 16px;
    bottom: 16px;
  }
  .wa-text {
    display: none;
  }
}

/* Touch devices */
@media (hover: none) {
  .menu-card:hover,
  .nav-link:hover,
  .whatsapp-float:hover {
    transform: none;
    box-shadow: inherit;
  }
}


