/* Design System */
:root {
  --primary-color: #ff6f61;
  --secondary-color: #ea6876;
  --light-color: #f8a29d;
  --background-color: #f8f8ff;
  --text-color: #272727;
  --heading-font: 'Trajan Pro', 'Garamond', serif;
  --body-font: 'Quasimoda', 'Georgia', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: bold;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline;
  background: linear-gradient(to bottom, transparent 60%, var(--light-color) 40%);
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: bold;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: ease 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  background-color: var(--background-color);
  position: fixed;
  width: 100vw;
  box-shadow: 6.7px 6.7px 5.3px rgba(0, 0, 0, 0.008),
              22.3px 22.3px 17.9px rgba(0, 0, 0, 0.012),
              100px 100px 80px rgba(0, 0, 0, 0.02);
  z-index: 1000;
  max-height: 100vh;
  overflow: auto;
}

header nav {
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.logo-div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.logo-div a {
  margin: 0;
}

.logo-div img.logo {
  width: 100%;
  max-width: 180px;
  max-height: 100px;
}

.menu-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: block;
  padding: 0;
}

.menu-button img {
  filter: invert(55%) sepia(30%) saturate(1696%) hue-rotate(320deg) brightness(103%) contrast(105%);
  width: 42px;
  height: 42px;
}

.nav-list {
  padding: 0;
  display: none;
  flex-direction: column;
  list-style: none;
  margin-top: 1rem;
}

.nav-list li {
  margin: 12px 0;
  height: fit-content;
}

.nav-list a {
  font-weight: bold;
}

.nav-list a.phone {
  border: 1px solid rgb(207, 207, 207);
  padding: 10px 12px;
  border-radius: 50px;
  display: inline-block;
  color: var(--text-color);
}

.nav-list a.phone:hover {
  border: 1px solid var(--text-color);
}

.nav-list a.booking {
  background-color: var(--primary-color);
  color: var(--background-color);
  border: 1px solid transparent;
  padding: 10px 12px;
  border-radius: 50px;
  display: inline-block;
  font-weight: bold;
}

.nav-list a.booking:hover {
  background-color: var(--background-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.contact-list {
  margin-bottom: -8px;
  padding: 0;
  display: none;
  flex-direction: column;
  list-style: none;
  margin-top: 1rem;
}

.contact-list li {
  margin: 12px 0;
  height: fit-content;
}

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

.spacer {
  background-color: var(--text-color);
  height: 1px;
  max-width: 280px;
  margin-left: 0;
}

.mobile-booking {
  font-weight: bold;
  background-color: var(--primary-color);
  color: var(--background-color);
  width: 100%;
  padding: 16px;
  margin: 0;
  text-align: center;
  display: block;
}

.mobile-booking:hover {
  opacity: 0.9;
}

@media only screen and (min-width: 1000px) {
  header nav {
    padding: 20px;
    flex-direction: row;
  }

  .menu-button {
    display: none !important;
  }

  .nav-list {
    display: flex !important;
    flex-direction: row;
    margin: 0;
  }

  .nav-list li {
    margin: auto 16px;
  }

  .nav-list li:last-of-type {
    display: block;
  }

  .contact-list {
    display: none !important;
  }

  .mobile-booking {
    display: none !important;
  }

  .logo-div img.logo {
    max-width: 250px;
  }
}

/* Main Content */
main {
  margin-top: 123px;
}

.container {
  max-width: 1072px;
  margin: 48px;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 1200px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
}

.page-hero {
  width: 100%;
}

.page-hero img {
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 464px;
  display: block;
}

.attribution {
  display: block;
  margin-top: 2rem;
  font-style: italic;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 70px;
  margin-top: 48px;
}

@media only screen and (min-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
}

@media only screen and (min-width: 1000px) {
  .card-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
  }
}

.card {
  height: 260px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0.5rem 1rem;
  border-radius: 7px;
  background-color: #491d18;
  overflow: hidden;
  text-decoration: none;
}

.card img {
  display: block;
  border-radius: 7px;
  position: absolute;
  opacity: 0.6;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card span {
  position: absolute;
  width: fit-content;
  height: fit-content;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  font-weight: bold;
  color: var(--background-color);
  font-size: 20px;
  font-family: var(--heading-font);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 1rem 2rem;
}

/* CTA Button */
.cta-button {
  font-weight: bold;
  background-color: var(--primary-color);
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  width: fit-content;
  border: 1px solid transparent;
  padding: 10px 12px;
  border-radius: 50px;
  color: var(--background-color);
  transition: ease 0.2s;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: var(--background-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--background-color);
  margin-top: 96px;
}

footer .container {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 70px;
}

@media only screen and (min-width: 1200px) {
  footer .container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

footer h3 {
  color: var(--background-color);
}

footer h4 {
  color: var(--background-color);
  margin-top: 1.5rem;
}

footer p {
  color: var(--background-color);
  margin-bottom: 0.75rem;
}

footer a {
  color: var(--background-color);
  text-decoration: underline;
}

footer a:hover {
  opacity: 0.8;
}

.map-container {
  height: 100%;
  width: 100%;
  min-height: 400px;
  border-radius: 7px;
  overflow: hidden;
}

.copyright {
  font-size: 12px;
  color: var(--background-color);
  margin-top: 2rem;
  display: block;
  grid-column: 1 / -1;
}

.copyright a {
  font-size: 12px;
}

/* Responsive adjustments */
@media only screen and (max-width: 600px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .container {
    margin: 24px;
  }

  .card-grid {
    gap: 40px;
  }

  header nav {
    padding: 15px 20px;
  }

  .logo-div img.logo {
    max-width: 150px;
  }
}
