html::before {
  content: 'CodePen ♥ The Web';
  position: fixed;
  inset: 0;
  z-index: -1;
  margin: auto;
  width: fit-content;
  height: fit-content;
  font-family: monospace;
  opacity: 0.6;
  background: rebeccapurple;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:wght@600;700;800&display=swap');
:root {
  --navy: #082b3a;
  --blue: #0e6176;
  --cream: #fffaf0;
  --orange: #f49a45;
  --text: #14232b;
  --muted: #68787e;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--text);
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
  background: rgba(8, 43, 58, .94);
  backdrop-filter: blur(12px);
  color: white;
}
.logo {
  font-family: "Playfair Display", serif;
  font-size: 21px;
  font-weight: 800;
}
.logo span {
  color: var(--orange);
}
nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-size: 14px;
  transition: .25s;
}
nav a:hover {
  color: var(--orange);
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 8% 80px;
  color: white;
  background:
    linear-gradient(
      120deg,
      rgba(8,43,58,.96),
      rgba(8,43,58,.62)
    ),
    url("https://images.unsplash.com/photo-1547592180-85f173990554?auto=format&fit=crop&w=1800&q=85");
  background-size: cover;
  background-position: center;
}
.hero-content {
  max-width: 760px;
}
.eyebrow {
  color: #ffb36c;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
}
.blue {
  color: var(--blue);
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(55px, 8vw, 95px);
  line-height: .95;
  margin: 20px 0;
}
.hero p {
  font-size: 19px;
  line-height: 1.7;
  max-width: 650px;
  color: #e5eff1;
}
.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  display: inline-block;
  padding: 15px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: .25s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--orange);
  color: white;
}
.secondary {
  border: 1px solid rgba(255,255,255,.55);
  color: white;
}
section {
  padding: 90px 7%;
}
.section-title {
  max-width: 720px;
  margin-bottom: 45px;
}
.section-title h2 {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  margin: 10px 0;
}
.section-title p {
  color: var(--muted);
  line-height: 1.7;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: white;
  padding: 32px;
  border-radius: 22px;
  box-shadow:
    0 15px 40px rgba(0,0,0,.07);
  transition: .3s;
}
.feature:hover {
  transform: translateY(-6px);
}
.icon {
  font-size: 35px;
  margin-bottom: 15px;
}
.feature h3 {
  margin-bottom: 10px;
}
.feature p {
  color: var(--muted);
  line-height: 1.6;
}
.menu {
  background: var(--navy);
  color: white;
}
.menu .section-title p {
  color: #b7cbd1;
}
.menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 50px;
}
.menu-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.menu-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 700;
  font-size: 18px;
}
.price {
  color: var(--orange);
  white-space: nowrap;
}
.menu-item p {
  margin-top: 8px;
  color: #a9c0c7;
  line-height: 1.5;
}
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 12px;
}
.photo {
  border-radius: 20px;
  background-size: cover;
  background-position: center;
}
.photo1 {
  grid-row: span 2;
  background-image:
    url("https://images.unsplash.com/photo-1579208030886-b937da0925b4?auto=format&fit=crop&w=1000&q=85");
}
.photo2 {
  background-image:
    url("https://images.unsplash.com/photo-1580217593608-61931cefc821?auto=format&fit=crop&w=700&q=85");
}
.photo3 {
  background-image:
    url("https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&w=700&q=85");
}
.photo4 {
  background-image:
    url("https://images.unsplash.com/photo-1565299507177-b0ac66763828?auto=format&fit=crop&w=700&q=85");
}
.photo5 {
  background-image:
    url("https://images.unsplash.com/photo-1565958011703-44f9829ba187?auto=format&fit=crop&w=700&q=85");
}
.contact {
  background: #f4ead7;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.contact-card {
  background: white;
  padding: 30px;
  border-radius: 22px;
}
.contact-card h3 {
  margin-bottom: 20px;
}
.contact-card p {
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}
.contact-card a:not(.button) {
  color: var(--blue);
}
.map {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 18px;
}
footer {
  background: #061f2a;
  color: #b8cbd1;
  padding: 35px 7%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer strong {
  color: white;
}
@media (max-width: 750px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding-left: 7%;
    padding-right: 7%;
  }
  .hero h1 {
    font-size: 58px;
  }
  .features,
  .menu-items,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .photo1 {
    grid-column: span 2;
    grid-row: span 1;
  }
  .photo5 {
    display: none;
  }
  section {
    padding: 70px 6%;
  }
  .section-title h2 {
    font-size: 40px;
  }
}