/* GROOT overrides on top of Tooplate Barista Cafe (tooplate-barista.css) */

:root {
  --primary-color:              #7B5A43;  /* roasted coffee */
  --secondary-color:            #C9A57A;  /* crema */
  --section-bg-color:           #5E4636;
  --custom-btn-bg-color:        #7B5A43;
  --custom-btn-bg-hover-color:  #C9A57A;
  --link-hover-color:           #C9A57A;
  --body-font-family:           'Plus Jakarta Sans', 'IBM Plex Sans Thai', sans-serif;
}

body,
h1, h2, h3, h4, h5, h6,
.btn, .form-control, .nav-link {
  font-family: var(--body-font-family);
}

/* Thai text sits better slightly taller */
.th {
  font-family: 'IBM Plex Sans Thai', 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
}

/* Wordmark that matches the GROOT sign: thin, wide, geometric */
.groot-wordmark {
  font-family: 'Josefin Sans', 'Plus Jakarta Sans', sans-serif;
  font-weight: 300;
  letter-spacing: 0.18em;
}

.navbar-brand.groot-wordmark {
  font-size: 30px;
  color: var(--white-color);
}

.hero-section h1.groot-wordmark {
  font-size: clamp(64px, 11vw, 132px);
  line-height: 1;
  margin-bottom: 12px;
}

.hero-section .small-text {
  color: var(--secondary-color);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.hero-section .hero-sub {
  color: var(--white-color);
  font-size: 22px;
  margin-bottom: 4px;
}

.hero-section .hero-sub-th {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}

/* Darken the slides a little more so white text stays readable on bright photos */
.hero-slides {
  z-index: 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(30, 22, 16, 0.7), rgba(30, 22, 16, 0.3));
  pointer-events: none;
}

/* the template's rotated dark diamond fights the wordmark; the gradient overlay does its job */
.hero-section::after {
  display: none;
}

/* Section backgrounds: GROOT's own photos */
.menu-section {
  background-image: url('../images/bg-menu.jpg');
  background-position: center;
}

.reviews-block-image-wrap {
  background-image: linear-gradient(rgba(30, 22, 16, 0.55), rgba(30, 22, 16, 0.55)), url('../images/bg-interior.jpg');
}

.contact-section {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(94, 70, 54, 1)), url('../images/bg-interior.jpg');
}

/* Reviewer initial instead of a stock portrait */
.reviews-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--section-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin-right: 15px;
  flex-shrink: 0;
}

.reviews-source {
  color: var(--white-color);
  opacity: 0.8;
  font-size: 14px;
}

/* Menu prices */
.menu-block strong {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.menu-block .th {
  display: block;
  font-size: 15px;
  opacity: 0.85;
}

/* Contact list */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.contact-list li {
  color: var(--white-color);
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 18px;
}

.contact-list li i {
  color: var(--secondary-color);
  font-size: 20px;
  line-height: 1.4;
}

.contact-list a {
  color: var(--white-color);
}

.contact-list a:hover {
  color: var(--secondary-color);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.google-map {
  filter: grayscale(40%);
}

/* Full-menu page */
.fullmenu-section {
  background: var(--section-bg-color);
  padding-top: 140px;
}

.fullmenu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fullmenu-grid a {
  display: block;
  border-radius: var(--border-radius-small);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.fullmenu-grid img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .fullmenu-grid {
    grid-template-columns: 1fr;
  }

  .hero-section .hero-sub {
    font-size: 18px;
  }
}

/* Template card/video gradients were orange; fade them into GROOT's coffee brown instead */
.about-video-info,
.team-block-info {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(70, 52, 40, 0.95));
}

/* Menu descriptions were too faint over the photo */
.menu-block-wrap {
  background: rgba(20, 15, 11, 0.74);
}

.menu-block small {
  color: rgba(255, 255, 255, 0.82);
}
