/* PERCUP — coffee brown & green theme */

:root {
  /* Coffee brown & green leaves theme */
  --bg: #f5f2ec;
  --bg-page: #ffffff;
  --header-footer-bg: #f5f2ec;
  --text: #3d2e24;
  --text-muted: #5c4a3a;
  --coffee: #5c4033;
  --coffee-light: #7a5c4a;
  --green: #2d5a27;
  --green-light: #4a7c43;
  --green-leaves: #3d6b35;
  --accent: var(--coffee);
  --accent-green: var(--green);
  --accent-soft: rgba(92, 64, 51, 0.12);
  --green-soft: rgba(45, 90, 39, 0.14);
  --border: #ddd5c9;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  background: var(--bg-page);
}

/* Header */
.header {
  width: 100%;
  background: var(--header-footer-bg);
  border-bottom: 1px solid var(--border);
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-link {
  display: block;
  line-height: 0;
  background: var(--header-footer-bg);
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  background: var(--header-footer-bg);
}

.nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* Hero */
.hero {
  padding: 6rem 2rem 8rem;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0 0 1.5rem;
  color: var(--coffee);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--coffee);
  text-decoration: none;
  border-radius: 2rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cta:hover {
  background: var(--green);
  transform: translateY(-1px);
}

/* Divider */
.divider {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.7;
}

/* Sections */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--coffee);
  margin: 0 0 2.5rem;
}

/* Drinks cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.card {
  padding: 0;
  background: var(--bg);
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.card-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: card-zoom 6s ease-in-out infinite;
}

@keyframes card-zoom {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.card-img-wrap--coffee::after {
  background: linear-gradient(180deg, transparent 30%, rgba(92, 64, 51, 0.35) 100%);
}

.card-img-wrap--tea::after {
  background: linear-gradient(180deg, transparent 30%, rgba(45, 90, 39, 0.35) 100%);
}

.card-img-wrap + .card-label {
  padding: 1.25rem 1.5rem 0;
}

.card-label {
  display: block;
  padding: 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--green-leaves);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.card p {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Visit */
.visit-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.outlet-image-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  aspect-ratio: 16 / 9;
  min-height: 200px;
}

.outlet-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.visit-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.visit-label {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.visit-address,
.visit-hours {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
}

.visit-address {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--coffee);
}

.visit-content .visit-hours:last-child {
  margin-bottom: 0;
}

.contact-outlet {
  max-width: 480px;
  margin: 0 auto 2rem;
}

.contact-hero-image-wrap {
  max-width: 560px;
  margin: 0 auto 2rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  min-height: 200px;
}

.contact-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 2rem 3rem;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.page-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-block {
  text-align: center;
}

.contact-block .section-title {
  margin-bottom: 1rem;
}

.link {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover {
  color: var(--coffee);
}

/* Menu page */
.menu-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.menu-list:last-of-type {
  margin-bottom: 0;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.menu-item {
  font-weight: 500;
  color: var(--text);
}

.menu-price {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQs */
.faq-list {
  margin: 0;
  padding: 0;
  max-width: 640px;
}

.faq-item {
  margin-bottom: 2rem;
}

.faq-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.faq-a {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Content block (e.g. Catering) */
.content-block {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.content-block p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.content-block p:last-of-type {
  margin-bottom: 0;
}

.content-block .cta {
  margin-top: 1rem;
}

/* Footer — reference multi-column layout */
.footer {
  margin-top: 4rem;
  background: var(--header-footer-bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
}

.footer-col {
  text-align: left;
}

.footer-col--logo .footer-logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 1rem;
  background: var(--header-footer-bg);
}

.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  background: var(--header-footer-bg);
}

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--coffee);
}

.footer-contact-line .footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-line .footer-link:hover {
  color: var(--green);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.2s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.2s ease;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-col--social .footer-social {
  margin-top: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: var(--green);
}

.footer-social-link[aria-label] {
  cursor: default;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  border-top: 1px solid var(--border);
  position: relative;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.scroll-top {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.scroll-top:hover {
  background: var(--green);
  color: var(--bg-page);
}

/* Contact page */
.contact-page {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-chat-block,
.contact-reach-block,
.contact-form-block,
.contact-info-block,
.contact-social-block {
  margin-bottom: 2.5rem;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--coffee);
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

.contact-text {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-reach-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.contact-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-link-item:hover {
  color: var(--coffee);
}

.contact-icon {
  display: inline-flex;
  color: var(--coffee);
}

.contact-icon svg {
  flex-shrink: 0;
}

.contact-form {
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit {
  margin-top: 0.5rem;
}

.contact-info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.contact-info-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--coffee);
  margin: 0 0 0.35rem;
}

.contact-info-block p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-muted);
  background: var(--green-soft);
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  color: var(--green);
  background: var(--green-soft);
  opacity: 0.9;
}

.social-link[aria-label] {
  cursor: default;
}

/* Responsive */
@media (max-width: 700px) {
  .hero {
    padding: 4rem 1.5rem 6rem;
  }

  .hero-title {
    letter-spacing: 0.08em;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .visit-with-image {
    grid-template-columns: 1fr;
  }

  .header {
    padding: 1.25rem 1.5rem;
  }

  .nav {
    gap: 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 3rem 1.5rem 2rem;
  }

  .contact-info-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-reach-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col--logo .footer-contact-line {
    justify-content: center;
  }

  .footer-newsletter {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    padding: 1rem 1.5rem;
    padding-bottom: 4rem;
  }

  .scroll-top {
    right: 1rem;
  }
}
