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

body {
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: #f5f0df;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7)),
    url("../media/bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

header {
  padding: 52px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 18px;
  color: #f5f0df;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: #f5f0df;
  text-decoration: none;
  font-size: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

nav a:hover,
nav a.active {
  border-bottom: 1px solid #f5f0df;
}

.hero {
  max-width: 950px;
  margin: 80px auto 0;
  padding: 0 24px;
  text-align: center;
}

h1 {
  font-size: 46px;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 1);
}

h2 {
  margin-top: 4px;
  margin-bottom: 68px;
  font-size: 30px;
  color: #f5f0df;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 1);
}

.image-grid {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
}

.image-card {
  height: 365px;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.image-card:hover {
  transform: scale(1.03);
  filter: brightness(1.08);
}

.image-one {
  background-image: url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=900&q=80");
}

.image-two {
  background-image: url("https://images.unsplash.com/photo-1517604931442-7e0c8ed2963c?auto=format&fit=crop&w=900&q=80");
}

.intro {
  max-width: 650px;
  margin: 65px auto 0;
  padding: 26px 32px;
  font-size: 18px;
  line-height: 1.7;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(245, 240, 223, 0.22);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
}

footer {
  margin-top: 100px;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(245, 240, 223, 0.8);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  header {
    flex-direction: column;
    gap: 26px;
    padding: 35px 20px;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    margin-top: 50px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
    margin-bottom: 45px;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-card {
    height: 300px;
  }

  .intro {
    font-size: 16px;
    padding: 22px;
  }
}