* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #b8a58a;
  color: #1b1b1b;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageFade 2.4s ease forwards;
}

/* NAVIGATION */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 58px;
  height: auto;
}

.logo-container h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: #1b1b1b;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.book-btn {
  background: #2f4638;
  color: #f4efe7;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: 0.25s ease;
  display: inline-block;
}

.book-btn:hover {
  background: #3e5a49;
}

/* HEADER */

.page-header {
  min-height: 70vh;
  padding: 40px 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background:
    linear-gradient(rgba(184,165,138,0.82), rgba(184,165,138,0.9)),
    url('team-bg.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-title {
  max-width: 760px;
  margin-top: 120px;
  animation: softRise 2s ease forwards;
}

.page-title h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(72px, 10vw, 130px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.page-title p {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.8;
}

/* TEAM */

.team-page {
  background: #c2b59b;
  padding: 120px 8%;
}

.team-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}

.team-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  animation: softRise 2s ease forwards;
}

.team-info {
  animation: softRise 2s ease forwards;
}

.team-info span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 28px;
}

.team-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 500;
  margin-bottom: 28px;
}

.team-info p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 24px;
}

/* FOOTER */

.footer {
  padding: 40px 8%;
  border-top: 1px solid rgba(27,27,27,0.12);
  font-size: 14px;
  animation: softRise 2s ease forwards;
}

/* MOBILE */

@media (max-width: 768px) {

  .page-header {
    padding: 30px 24px;
    min-height: 70vh;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 1px;
  }

  .page-title {
    margin-top: 60px;
    padding-bottom: 40px;
  }

  .page-title h1 {
    font-size: 64px;
    line-height: 0.95;
  }

  .page-title p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 320px;
  }

  .team-page {
    padding: 80px 24px;
  }

  .team-card {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .team-image img {
    height: 420px;
  }

  .team-info h2 {
    font-size: 48px;
  }

  .team-info p {
    font-size: 16px;
    line-height: 1.8;
  }

  .footer {
    padding: 32px 24px;
  }

}

/* PAGE TRANSITIONS */

@keyframes pageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}