/* --------- VARIABLES & GLOBALS --------- */

:root {
  --bg-light: #f8f1e4;
  --stripe-light: #fdf7ed;
  --stripe-dark: #f1dfc5;
  --ink: #3b3229;
  --ink-soft: #5b4b3a;
  --accent: #b58b63;
  --accent-soft: #d6b997;

  --radius-card: 18px;
  --font-heading: "Playfair Display", "Times New Roman", serif;
  --font-body: "Lora", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    repeating-linear-gradient(
      to right,
      var(--stripe-light) 0,
      var(--stripe-light) 28px,
      var(--stripe-dark) 28px,
      var(--stripe-dark) 56px
    );
}

/* --------- PAGE FRAME --------- */

.page-background {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 24px 12px;
}

.page-frame {
  position: relative;
  max-width: 980px;
  width: 100%;
  background: rgba(248, 241, 228, 0.96);
  border: 2px solid var(--accent-soft);
  padding: 20px 24px 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}
/* COFFEE BEANS BACKGROUND ------------------------------------ */

.beans-flow {
  position: absolute;
  top: 120px;       /* start a bit under the header */
  left: 0;
  right: 0;
  bottom: 40px;
  pointer-events: none;

  background-image: url("images/beans.png");
  background-size: 220px auto;
  background-repeat: repeat-y;
  background-position: center top;
  opacity: 0.09;               /* subtle */
  mix-blend-mode: multiply;

  animation: beansDrift 18s linear infinite alternate;
}

/* keep real content above the beans */
.site-header,
.home-main,
.site-footer {
  position: relative;
  z-index: 1;
}

@keyframes beansDrift {
  from {
    background-position-y: 0;
  }
  to {
    background-position-y: 260px;
  }
}

/* simple ornamental corners */
.page-frame::before,
.page-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(181, 139, 99, 0.75);
  pointer-events: none;
}

/* --------- HEADER & NAV --------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 12px 4px 18px;
  border-bottom: 1px solid rgba(181, 139, 99, 0.45);
  margin-bottom: 22px;

  opacity: 0;
  transform: translateY(-10px);
  animation: headerFadeIn 0.7s ease-out forwards;
  animation-delay: 0.1s;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 4px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--ink);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}


.brand {
  display: flex;
  align-items: center;
  gap: 18px;                  /* space between logo and text */
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;   /* show the whole logo nicely */
  display: block;
}


.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.8rem;          /* a bit smaller */
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--ink);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}


/* HOME HERO -------------------------------------------------- */

.hero {
  margin-top: 90px;
  margin-bottom: 90px;
  text-align: center;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px; /* spacing between lines */
}

.hero-welcome {
  font-size: 1rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 4vw + 1.2rem, 4rem);
  letter-spacing: 0.28em;  /* very spaced out */
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0;
}

/* bio text directly under the heading */

.hero-bio {
  max-width: 680px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 10px 0 0;
}

/* buttons stacked, larger, more spaced */

.hero-buttons {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero .btn {
  min-width: 280px;
  padding: 13px 32px;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
}

/* --------- BUTTONS --------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink-soft);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.btn.primary {
  background: var(--ink);
  color: var(--bg-light);
  border-color: var(--ink);
}

.btn.ghost {
  background: transparent;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn.primary:hover {
  background: var(--ink-soft);
}

/* --------- GENERIC SECTIONS --------- */

.section {
  border-top: 1px solid rgba(181, 139, 99, 0.35);
  padding: 26px 12px 22px;
  margin-bottom: 12px;
}
/* subtle card for blocks that are "grouped" (menu, order, columns) */
.section:not(.hero):not(.section-order) {
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(181, 139, 99, 0.35);
}

.section-title {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22%;
  height: 1px;
  background: rgba(181, 139, 99, 0.6);
}

.section-title::before {
  left: 0;
}

.section-title::after {
  right: 0;
}


.section-subtitle {
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 18px 0 6px;
  font-weight: 700;                     /* bold */
  text-decoration: underline;           /* underline text */
  text-underline-offset: 4px;           /* pretty little gap under text */
}


.section p {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

/* Columns (used on home & contact) */
.section-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-columns .column {
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-card);
  border: 1px solid rgba(181, 139, 99, 0.4);
  padding: 14px 16px 16px;
}

/* On contact page we use only 2 columns, grid adapts */

.highlight {
  font-weight: 600;
}

/* --------- MENU LAYOUT --------- */

.menu-grid {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;                 /* was smaller – more vertical space */
}

.menu-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: 8px;
  font-size: 0.98rem;
  line-height: 1.8;          /* more line height inside each row */
}

/* descriptions under each dish */
.menu-description {
  margin: 2px 0 10px 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  font-style: italic;      /* descriptions in italics */
}

}

/* Make dish names clearly bold */
.menu-item .menu-name {
  font-weight: 700;
}


.menu-dots {
  border-bottom: 1px dotted rgba(91, 75, 58, 0.5);
  transform: translateY(-2px);
}

.menu-price {
  font-weight: 500;
}

.menu-description {
  margin: 0 0 8px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.menu-note {
  margin-top: 10px;
  font-size: 0.85rem;
  font-style: italic;
}

/* --------- SOCIAL LINKS --------- */

.social-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.social-link {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 3px;
}

.social-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.25s ease;
}

.social-link:hover::after {
  width: 100%;
}

/* --------- CONTACT PAGE --------- */

/* CONTACT PAGE ------------------------------------------------ */

.contact-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
  margin-bottom: 48px;
}

.contact-section {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(181, 139, 99, 0.40);
  padding: 32px 40px;
  width: 100%;
  max-width: none;
  margin: 0 0 30px 0;
  text-align: center;
  box-sizing: border-box;

  opacity: 0;
  transform: translateY(10px);
  animation: contactFadeIn 0.6s ease forwards;
}



.contact-section .section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Opening hours */

.hours-line {
  margin: 6px 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* Location */

.location-text {
  margin: 4px 0 10px;
  font-size: 1rem;
  line-height: 1.7;
}

.location-link a {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Map */

.map-wrapper {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(181, 139, 99, 0.35);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* Contact info */

.contact-info p {
  margin-bottom: 12px;
}

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

.contact-list li {
  font-size: 0.98rem;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

}

/* --------- FOOTER --------- */

.site-footer {
  border-top: 1px solid rgba(181, 139, 99, 0.5);
  margin-top: 26px;
  padding-top: 10px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --------- FADE-IN ANIMATIONS --------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------- RESPONSIVE --------- */

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

.section-order .order-form {
  margin-top: 10px;
  max-width: 320px;
}
.order-form label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.order-form select {
  width: 100%;
  padding: 7px 9px;
  border-radius: 7px;
  border: 1px solid rgba(91, 75, 58, 0.4);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  margin-bottom: 10px;
}

.order-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(181, 139, 99, 0.3);
}

.small-note {
  margin-top: 6px;
  font-size: 0.8rem;
  font-style: italic;
}/* --------- FADE-IN ANIMATIONS --------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
.section-order {
  background: rgba(248, 241, 228, 0.85);
  border-radius: var(--radius-card);
  border: 1px solid rgba(181, 139, 99, 0.55);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.section-order .section-title::before,
.section-order .section-title::after {
  width: 15%;
}
@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* HOME GALLERY ------------------------------------------------ */

.home-gallery {
  position: relative;
  max-width: 780px;
  margin: 10px auto 70px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
  background: #000;
}

.gallery-track {
  position: relative;
  width: 100%;
  height: 320px;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-slide.is-active {
  opacity: 1;
}

/* arrows */

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(248, 241, 228, 0.9);
  background: rgba(0, 0, 0, 0.55);
  color: #f8f1e4;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  z-index: 2;
}

.gallery-arrow-left {
  left: 14px;
}

.gallery-arrow-right {
  right: 14px;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.05);
}

/* small tweak for phones */
@media (max-width: 900px) {
  .home-gallery {
    margin-bottom: 50px;
  }

  .gallery-track {
    height: 260px;
  }
}
/* Force dish names to be bold */
.menu-item span:first-child {
  font-weight: 700 !important;
}
@keyframes contactFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-section:nth-of-type(1) { animation-delay: 0.05s; }
.contact-section:nth-of-type(2) { animation-delay: 0.15s; }
.contact-section:nth-of-type(3) { animation-delay: 0.25s; }
.contact-section:nth-of-type(4) { animation-delay: 0.35s; }
/* MOBILE TWEAKS -------------------------------------------------- */
@media (max-width: 700px) {

  .page-frame {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* HOME HERO */
  .hero {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .hero-title {
    font-size: 2.4rem;
    letter-spacing: 0.16em;
    line-height: 1.3;
  }

  .hero-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 4px;
  }

  .hero-buttons {
    margin-top: 24px;
    gap: 12px;
  }

  .hero .btn {
    width: 100%;
    max-width: 260px;
  }

  /* MENU SECTION TITLES (BREAKFAST MENU, etc.) */
  .section-title {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
  }

  .section-title::before,
  .section-title::after {
    width: 32px;
  }

  /* If lines STILL hit the text, use this instead: */
  /*
  .section-title::before,
  .section-title::after {
    display: none;
  }
  */

  .section-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    margin-top: 14px;
  }

  .menu-item {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .menu-description {
    font-size: 0.88rem;
  }
}
