@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Jost:wght@400;500&display=swap');

:root {
  --green: #234B2E;
  --black: #000000;
  --white: #ffffff;
  --grey: rgba(146, 146, 146, 1.00);
  --light-grey: rgba(208, 207, 207, 1.00);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Jost', 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--grey);
}

img {
  max-width: 100%;
  height: auto;
}

a:hover, a:visited, a:link, a:active {
  text-decoration: none;
  color: dimgray;
}

hr {
  background-color: var(--light-grey);
  border: none;
  height: 1px;
}

/* ---------- Home / landing page ---------- */

.fullscreen-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  background: #111 center / cover no-repeat;
}

.fullscreen-bg__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.home-container {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6vh 5% 4vh;
}

.main-logo {
  max-width: 260px;
  width: 60vw;
  margin-bottom: 6vh;
}

.main-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1em;
}

.main-links img {
  width: 220px;
  max-width: 60vw;
  transition: opacity 0.2s ease;
}

.main-links img:hover {
  opacity: 0.7;
}

.home-footer {
  position: relative;
  text-align: center;
  color: var(--white);
  font-size: 0.8em;
  padding: 1.5em 0 1em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* ---------- Content pages (restaurant, menu, etc.) ---------- */

.page {
  margin: 0 auto;
  width: 92%;
  max-width: 1200px;
  padding-left: 2.275%;
  padding-right: 2.275%;
}

header.site-header {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 5% auto;
}

.vivario-logo img:hover {
  opacity: 1;
}

.restaurant-description h1 {
  font-family: 'Montserrat', sans-serif;
  color: var(--grey);
  font-size: 1.2em;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  word-spacing: 1rem;
}

.restaurant-description p {
  font-family: var(--font-body);
  color: var(--grey);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

.sectionTitle {
  font-family: 'Montserrat', sans-serif;
  color: var(--grey);
  font-weight: 700;
  font-size: 1.2em;
  text-align: center;
  word-spacing: 1rem;
}

.sectionTitleRule {
  display: inline-flex;
  inline-size: 100%;
}

.sectionTitleRule2 {
  display: none;
}

.section1Content {
  color: var(--green);
  font-family: var(--font-body);
}

.navbar {
  display: flex;
  width: auto;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.navbar__link a {
  display: flex;
  justify-content: space-around;
  padding: 5px;
  text-align: center;
}

.navbar__link img {
  width: 3.8em;
}

.button {
  margin: 0 auto;
  background-color: var(--black);
  border: none;
  color: var(--white);
  padding: 15px 25px;
  font-size: 16px;
  cursor: pointer;
  font-family: var(--font-body);
}

.button:hover {
  background-color: gray;
}

.social-row {
  width: 100%;
  margin: 10% 0 0 0;
  border-collapse: collapse;
}

.social-row img {
  width: 3em;
}

.site-footer {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 18px;
  color: rgba(104, 103, 103, 1.00);
  font-weight: 700;
  text-align: start;
  margin: 2em 0 1em 5.5%;
}

/* Tablets */
@media only screen and (min-width: 481px) and (max-width: 1024px) {
  header.site-header {
    float: left;
    width: fit-content;
    padding: 1.2em 1.2em 0 0;
  }

  .restaurant-description h1,
  .sectionTitle {
    text-align: start;
  }

  .sectionTitleRule {
    inline-size: 35%;
  }

  .sectionTitleRule2 {
    display: inline-flex;
    justify-items: end;
    inline-size: 63%;
  }

  .section1Content {
    margin-left: 36%;
  }

  .social-row {
    width: 10em;
  }
}

/* Desktop */
@media only screen and (min-width: 1025px) {
  header.site-header {
    float: left;
    width: fit-content;
    padding: 0 1.2em 0 0;
    margin: 0;
  }

  .restaurant-description {
    padding: 10% 0 0 0;
  }

  .restaurant-description h1 {
    text-align: start;
    margin-block: 1em;
  }

  .sectionTitle {
    text-align: start;
  }

  .sectionTitleRule {
    inline-size: 24%;
    margin: 0 3% 0 0;
  }

  .sectionTitleRule2 {
    display: inline-flex;
    justify-content: flex-end;
    inline-size: 70%;
  }

  .section1Content {
    margin-left: 30%;
  }

  .social-row {
    width: 10em;
    margin: 0;
  }
}

/* ---------- Page intro (concept / menu / wine hero blocks) ---------- */

.page-hero {
  text-align: center;
  padding-top: 2%;
}

.page-hero img {
  max-width: 220px;
  margin-bottom: 1.2em;
}

.page-hero h1 {
  font-family: var(--font-display);
  color: var(--grey);
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

/* ---------- Prose content pages (concept) ---------- */

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 2% 0 4%;
}

.prose h3 {
  font-family: var(--font-display);
  color: var(--green);
  font-weight: 600;
  font-size: 1.15em;
  letter-spacing: 0.03em;
  margin: 1.6em 0 0.4em;
}

.prose p {
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 1em;
}

.prose hr {
  margin: 0.4em 0 1em;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 1.5em 0;
  background: #111;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.banner-link {
  display: block;
  text-align: center;
  margin: 1.5em 0;
}

.banner-link img {
  max-width: 100%;
}

/* ---------- Menu hub ---------- */

.menu-hub {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 480px;
  margin: 2em auto;
}

.menu-hub a {
  display: block;
  border: 1px solid var(--light-grey);
  padding: 0.6em;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.menu-hub a:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.menu-hub img {
  display: block;
  width: 100%;
}

/* ---------- Dish / dessert / appetizer grid ---------- */

.dish-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5em;
  margin: 2em auto;
  max-width: 900px;
}

@media only screen and (min-width: 700px) {
  .dish-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dish-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8em;
}

.dish-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.dish-card h3 {
  font-family: var(--font-display);
  color: var(--grey);
  font-weight: 700;
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0;
}

.dish-card p {
  font-size: 13.5px;
  line-height: 1.75;
  margin: 0;
  max-width: 340px;
}

.dish-card .notice {
  font-size: 12.5px;
  color: var(--green);
  font-weight: 600;
  border-top: 1px solid var(--light-grey);
  padding-top: 0.6em;
  margin-top: 0.2em;
}

.category-divider {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-display);
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1em;
  margin: 1em 0 -0.5em;
  padding-top: 1em;
  border-top: 1px solid var(--light-grey);
}

.dish-grid > .category-divider:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* ---------- Wine list ---------- */

.wine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2em;
  margin: 1.5em auto 2em;
  max-width: 900px;
}

@media only screen and (min-width: 700px) {
  .wine-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.wine-card {
  display: flex;
  gap: 1em;
  align-items: flex-start;
  border-bottom: 1px solid var(--light-grey);
  padding-bottom: 1.5em;
}

.wine-card img {
  width: 90px;
  flex: none;
  border-radius: 2px;
}

.wine-card h3 {
  font-family: var(--font-display);
  color: var(--grey);
  font-weight: 700;
  font-size: 0.95em;
  margin: 0 0 0.4em;
}

.wine-card p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 0.6em;
}

.wine-card .wine-specs {
  font-size: 12px;
  line-height: 1.9;
  color: dimgray;
}

.wine-card .wine-specs strong {
  color: var(--grey);
}

.wine-category {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-display);
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.05em;
  margin: 0.5em 0 -0.6em;
}

/* ---------- Reservation-only dishes ---------- */

.reservation-dish-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5em;
  margin: 2em auto;
  max-width: 720px;
}

.reservation-dish-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8em;
}

.reservation-dish-card img {
  width: 220px;
  border-radius: 2px;
}

.reservation-dish-card h3 {
  font-family: var(--font-display);
  color: var(--grey);
  font-weight: 700;
  font-size: 1em;
  margin: 0;
}

.reservation-dish-card p {
  font-size: 13.5px;
  line-height: 1.8;
  margin: 0;
  white-space: pre-line;
}

.reservation-dish-card .notice {
  display: inline-block;
  font-size: 12.5px;
  color: var(--white);
  background: var(--green);
  font-weight: 600;
  padding: 0.5em 1em;
  margin-top: 0.2em;
}

/* ---------- Simple hero image pages (thank you) ---------- */

.simple-hero {
  text-align: center;
  padding: 8vh 5%;
}

.simple-hero img.hero-photo {
  max-width: 480px;
  width: 100%;
  margin-bottom: 2em;
}

.simple-hero p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 2em;
}

/* ---------- Reservation form ---------- */

.reservation-form {
  max-width: 620px;
  margin: 2em auto 4em;
  background: #fafafa;
  border: 1px solid var(--light-grey);
  padding: 2em 1.8em;
}

.reservation-form h1 {
  font-family: var(--font-display);
  color: var(--grey);
  font-size: 1.15em;
  font-weight: 700;
  text-align: center;
  margin-top: 0;
}

.reservation-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.3em;
}

.reservation-form label {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: dimgray;
  margin-bottom: 0.3em;
}

.reservation-form label.field-label {
  font-weight: 600;
  color: var(--grey);
  margin-top: 0.2em;
}

.reservation-form input[type="text"],
.reservation-form select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 0.2em;
  border: 1px solid var(--light-grey);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--grey);
}

.reservation-form .notice-box {
  font-size: 12px;
  line-height: 1.7;
  color: dimgray;
  background: var(--white);
  border-left: 3px solid var(--green);
  padding: 0.8em 1em;
  margin: 1em 0;
}

.reservation-form input[type="submit"] {
  width: 100%;
  background-color: var(--black);
  color: var(--white);
  border: none;
  padding: 15px 25px;
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: var(--font-body);
}

.reservation-form input[type="submit"]:hover {
  background-color: gray;
}

.calendar-embed {
  border: 1px solid var(--light-grey);
  margin-bottom: 1.3em;
}

.calendar-embed iframe {
  width: 100%;
  display: block;
}
