:root {
  --butter: #F4D35E;
  --oxblood: #722F37;
  --powder-blue: #A8C3D6;
  --off-white: #F5F5F0;
  --ink: #2B2B2B;
}

.home-hero {
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.home-hero__text {
  min-width: 0;
}

.home-hero__title {
  font-size: clamp(48px, 5vw, 56px);
  line-height: 1.15;
  color: var(--oxblood);
  margin-bottom: 24px;
}

.home-hero__intro {
  font-size: 18px;
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 32px;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.home-hero__media {
  min-width: 0;
}

.home-hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.home-hero__checkerboard {
  height: 48px;
  margin-top: 48px;
  background-image: conic-gradient(var(--butter) 0 25%, var(--off-white) 0 50%, var(--butter) 0 75%, var(--off-white) 0);
  background-size: 32px 32px;
}

.home-menu {
  background-color: var(--off-white);
}

.home-menu__header {
  text-align: center;
  margin-bottom: 40px;
}

.home-menu__overview {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}

.home-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.home-menu-card {
  background-color: var(--off-white);
  border: 1px solid var(--powder-blue);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.home-menu-card:hover {
  background-color: var(--powder-blue);
  color: var(--oxblood);
}

.home-menu-card__icon {
  color: var(--oxblood);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--butter);
}

.home-menu-card__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: inherit;
}

.home-menu-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: inherit;
}

.home-menu__cta {
  display: flex;
  justify-content: center;
}

.home-favourites {
  background-color: var(--off-white);
}

.home-favourites__header {
  text-align: center;
  margin-bottom: 40px;
}

.home-favourites__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.home-dish-card {
  background-color: var(--off-white);
  border: 1px solid var(--powder-blue);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.2s ease-in-out;
}

.home-dish-card:nth-child(2) {
  transform: translateY(16px);
}

.home-dish-card:hover {
  transform: translateY(0);
}

.home-dish-card__media {
  position: relative;
  overflow: hidden;
}

.home-dish-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.home-dish-card:hover .home-dish-card__image {
  transform: scale(1.03);
  filter: sepia(0.2) saturate(1.1);
}

.home-dish-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-dish-card__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: var(--oxblood);
}

.home-dish-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.home-interior {
  background-color: var(--off-white);
}

.home-interior__intro {
  max-width: 600px;
  margin-bottom: 40px;
}

.home-interior__description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 60ch;
}

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

.home-interior__item {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.home-interior__item--wide {
  grid-column: span 1;
}

.home-interior__item--tall {
  grid-column: span 1;
}

.home-interior__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.home-interior__item--wide .home-interior__image {
  aspect-ratio: 4 / 3;
}

.home-interior__item--tall .home-interior__image {
  aspect-ratio: 3 / 4;
}

.home-interior__item:hover .home-interior__image {
  transform: scale(1.04);
  filter: sepia(0.2) saturate(1.1);
}

.home-casino {
  background-color: var(--off-white);
  position: relative;
}

.home-casino::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background-image: conic-gradient(var(--butter) 0 25%, var(--off-white) 0 50%, var(--butter) 0 75%, var(--off-white) 0);
  background-size: 32px 32px;
  opacity: 0.6;
}

.home-casino .container {
  position: relative;
  z-index: 1;
}

.home-casino__header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 24px;
}

.home-casino__overview {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}

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

.home-casino-card {
  background-color: var(--off-white);
  border: 1px solid var(--powder-blue);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.home-casino-card:hover {
  background-color: var(--butter);
  color: var(--oxblood);
}

.home-casino-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-casino-card__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: inherit;
}

.home-casino-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: inherit;
}

.home-poker {
  background-color: var(--off-white);
}

.home-poker__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.home-poker__text {
  min-width: 0;
}

.home-poker__description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 24px;
}

.home-poker__list {
  margin-bottom: 0;
}

.home-poker__media {
  min-width: 0;
}

.home-poker__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease-in-out;
}

.home-poker__media:hover .home-poker__image {
  transform: scale(1.03);
}

.home-roulette {
  background-color: var(--off-white);
}

.home-roulette__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 48px;
  align-items: center;
}

.home-roulette__media {
  min-width: 0;
}

.home-roulette__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease-in-out;
}

.home-roulette__media:hover .home-roulette__image {
  transform: scale(1.03);
}

.home-roulette__text {
  min-width: 0;
}

.home-roulette__description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 24px;
}

.home-roulette__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-roulette__details p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.home-dinner {
  background-color: var(--off-white);
}

.home-dinner__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-dinner__media {
  width: 100%;
  min-width: 0;
}

.home-dinner__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease-in-out;
}

.home-dinner__media:hover .home-dinner__image {
  transform: scale(1.02);
}

.home-dinner__text {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.home-dinner__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.home-dinner__highlights {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.home-events {
  background-color: var(--off-white);
}

.home-events__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.home-events__text {
  min-width: 0;
}

.home-events__description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 24px;
}

.home-events__list {
  margin-bottom: 0;
}

.home-events__form {
  min-width: 0;
}

.home-events__form-inner {
  background-color: var(--off-white);
  border: 1px solid var(--powder-blue);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-events__form-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: var(--oxblood);
}

.home-events__form-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.home-reserve {
  background-color: var(--off-white);
  position: relative;
}

.home-reserve::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background-image: conic-gradient(var(--butter) 0 25%, var(--off-white) 0 50%, var(--butter) 0 75%, var(--off-white) 0);
  background-size: 32px 32px;
  opacity: 0.6;
}

.home-reserve .container {
  position: relative;
  z-index: 1;
}

.home-reserve__inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  padding-top: 24px;
}

.home-reserve__support {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.home-reserve__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 1024px) {
  .home-hero__inner,
  .home-poker__inner,
  .home-roulette__inner,
  .home-events__inner {
    gap: 32px;
  }

  .home-menu__grid,
  .home-favourites__grid,
  .home-casino__grid {
    gap: 16px;
  }

  .home-interior__gallery {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .home-menu__grid,
  .home-favourites__grid,
  .home-casino__grid {
    grid-template-columns: 1fr;
  }

  .home-dish-card:nth-child(2) {
    transform: none;
  }

  .home-dish-card:hover {
    transform: none;
  }

  .home-hero__inner,
  .home-poker__inner,
  .home-roulette__inner,
  .home-events__inner {
    grid-template-columns: 1fr;
  }

  .home-hero__media {
    order: 2;
  }

  .home-hero__text {
    order: 1;
  }

  .home-poker__media,
  .home-roulette__media {
    order: 2;
  }

  .home-poker__text,
  .home-roulette__text {
    order: 1;
  }

  .home-roulette__inner {
    grid-template-columns: 1fr;
  }

  .home-roulette__media {
    order: 1;
  }

  .home-roulette__text {
    order: 2;
  }

  .home-interior__gallery {
    grid-template-columns: 1fr;
  }

  .home-interior__item--wide,
  .home-interior__item--tall {
    grid-column: auto;
  }

  .home-interior__item--wide .home-interior__image,
  .home-interior__item--tall .home-interior__image {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .home-hero__title {
    font-size: clamp(36px, 4.5vw, 48px);
  }

  .home-hero__intro {
    font-size: 16px;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__actions .btn {
    width: 100%;
  }

  .home-hero__checkerboard {
    height: 32px;
    margin-top: 32px;
  }

  .home-menu__overview,
  .home-casino__overview {
    font-size: 16px;
  }

  .home-menu-card,
  .home-casino-card {
    padding: 20px;
  }

  .home-dish-card__body {
    padding: 20px;
  }

  .home-interior__description,
  .home-poker__description,
  .home-roulette__description,
  .home-events__description,
  .home-dinner__description,
  .home-reserve__support {
    font-size: 16px;
  }

  .home-reserve__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-reserve__actions .btn {
    width: 100%;
  }

  .home-events__form-inner {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .home-hero__title {
    font-size: clamp(32px, 4vw, 40px);
  }

  .home-hero__checkerboard {
    height: 24px;
    margin-top: 24px;
  }

  .home-menu-card,
  .home-casino-card {
    padding: 16px;
  }

  .home-dish-card__body {
    padding: 16px;
  }

  .home-events__form-inner {
    padding: 16px;
  }
}
