/* A single pizza photograph with enough contrast for the hero content. */
.juva-hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #29150b;
}

.juva-hero-background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
}

.hero-three.section::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .18)),
    linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 75%);
}

@media (max-width: 767.98px) {
  .juva-hero-background img {
    object-position: center 65%;
  }

  .hero-three.section::before {
    background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .15) 80%);
  }
}

/* The introduction uses one column without a placeholder photograph. */
.about-three__wrapper {
  grid-template-columns: minmax(0, 1fr);
}

.about-three__content {
  max-width: 100%;
  margin-left: 0;
}

/* Keep the Atlas logo proportional in desktop and mobile headers. */
.menu-logo-wrap .juva-logo {
  width: 170px;
  max-width: 100%;
  height: auto;
}

.hamburger_logo .juva-logo {
  width: 138px;
  height: auto;
}

.preloader-logo .juva-logo {
  width: 100px;
  max-width: none;
  height: auto;
}

/* Display the complete report without cropping or stretching it. */
.juva-oiva {
  align-self: flex-start;
  background: #fff;
}

.juva-oiva a {
  display: block;
}

.choose-us-three__thumb.juva-oiva img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.juva-oiva__caption {
  display: block;
  padding: 12px 16px;
  color: #8b1e1e;
  font-family: var(--ff-dm-sans);
  font-size: 14px;
  text-align: center;
}

.juva-oiva a:focus-visible {
  outline: 3px solid #b59859;
  outline-offset: 4px;
}

/* Keep the category grid aligned across multiple rows. */
.juva-categories.section {
  padding-bottom: 40px;
}

.juva-categories .popular-dishes-three__wrapper .popular-dishes-three__item:nth-child(n) {
  margin-top: 0;
}

.juva-categories .popular-dishes-three__item .item-thumb {
  height: auto;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.juva-categories .popular-dishes-three__item .item-thumb img {
  object-fit: contain;
}

.juva-categories .popular-dishes-three__item .item-content {
  margin-top: 16px;
}

/* Ordering and app downloads beneath the rotating food strip. */
.instagram-three.section {
  height: auto;
}

.instagram-three__wrapper {
  height: 480px;
}

.juva-app-cta {
  position: relative;
  z-index: 10;
  padding-top: 12px;
  padding-bottom: 72px;
  text-align: center;
  font-family: var(--ff-dm-sans);
}

.juva-app-cta h2 {
  margin: 0 0 14px;
  color: var(--primary-color);
  font-family: var(--ff-dm-sans);
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.2;
  font-weight: 700;
}

.juva-app-cta p {
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.6;
}

.juva-app-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.juva-app-cta__buttons button,
.juva-app-cta__buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
  min-width: 180px;
  padding: 10px 24px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  line-height: 1.2;
}

.juva-app-cta__buttons a:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 4px;
}

.juva-order-button {
  background: var(--primary-color);
  font-size: 19px;
  font-weight: 700;
}

.juva-store-button {
  background: #111;
  text-align: left;
}

.juva-store-button i {
  font-size: 30px;
}

.juva-store-button small,
.juva-store-button strong {
  display: block;
}

.juva-store-button small {
  margin-bottom: 3px;
  font-size: 12px;
}

.juva-store-button strong {
  font-size: 20px;
  font-weight: 600;
}

.juva-hero-intro {
  max-width: 580px;
  margin: 0 0 24px;
  color: #fff;
  font-family: var(--ff-dm-sans);
  font-size: 18px;
  line-height: 1.6;
}

.juva-hero-buttons {
  justify-content: flex-start;
  font-family: var(--ff-dm-sans);
}

.juva-hero-buttons .juva-order-button {
  background: #fff;
  color: var(--primary-color);
}

@media (max-width: 1399.98px) {
  .instagram-three__wrapper {
    height: 440px;
  }
}

@media (max-width: 575.98px) {
  .juva-hero-buttons {
    margin-inline: 0;
  }

  .juva-app-cta__buttons {
    max-width: 300px;
    margin-inline: auto;
  }

  .juva-app-cta__buttons button,
  .juva-app-cta__buttons a {
    width: 100%;
  }
}

/* Juva Kebab Pizzeria: footer with opening hours and contact details. */
.footer-three__main .main-wrapper {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

@media (max-width: 575.98px) {
  .footer-three__main .main-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Juva branding and balanced layout without an inspection report. */
.hero-three .hero-title { font-size: clamp(32px, 5.6vw, 84px); line-height: 1.3; }
.choose-us-three__wrapper { justify-content: center; gap: 20px; }
.menu-logo-wrap .juva-logo { width: 120px; height: 120px; object-fit: contain; }
.hamburger_logo .juva-logo { width: 120px; height: 120px; object-fit: contain; }
@media (max-width: 767.98px) { .menu-logo-wrap .juva-logo { width: 90px; height: 90px; } }
