* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: linear-gradient(to right, #e4c9b6, #d7a49a);
  color: #000;
  line-height: 1.5;
}

header {
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8b8a5;
  flex-wrap: wrap;
  gap: 1rem;
  background: linear-gradient(to right, #d7a49a, #e4c9b6);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

.logo-area img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

nav a {
  margin: 0 0.8rem;
  text-decoration: none;
  color: #000;
  font-size: 0.9rem;
}

nav a.active {
  border-bottom: 2px solid #000;
  font-weight: 600;
}

.reviews-container {
  padding: 3rem 3rem;
  min-height: calc(100vh - 140px);
  text-align: center;
}

.reviews-container h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  justify-items: center;
}

.review-card1 {
  display: inline-block;
  border: 1px solid #000;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  max-width: 80%;
}
.review-card1 {
  display: inline-block;
  border: 1px solid #000;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0;
  overflow: hidden;
  width: 80%;
  height: 80%;
  max-width: 80%;
}
.review-card2 {
  display: inline-block;
  border: 1px solid #000;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0;
  overflow: hidden;
  width: 80%;
  height: 80%;
  max-width: 500%;
}
.review-card3 {
  display: inline-block;
  border: 1px solid #000;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 70%;
  max-width: 500%;
  margin-top: -10;
}
.review-card4 {
  display: inline-block;
  border: 1px solid #000;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: auto;
  max-width: 500%;
  margin-left: auto;
  margin-top: -10%;
}
.review-img1 {
  display: block;
  width: auto;
  height: auto;
  max-width: 130%;
  max-height: none;
  object-fit: contain;
  border: none;
}
.review-img2 {
  display: block;
  width: auto;
  height: auto;
  max-width: 130%;
  max-height: none;
}
.review-img3 {
  display: block;
  width: auto;
  height: auto;
  max-width: 130%;
  max-height: none;
  object-fit: contain;
  border: none;
}
.review-img4 {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  border: none;
}

.btn-group {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-black {
  background: #000;
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid #000;
  white-space: nowrap;
}

footer {
  padding: 1rem 3rem;
  border-top: 1px solid #e8b8a5;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: linear-gradient(to right, #d7a49a, #e1dad3, #d7a49a);
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.2rem;
  }

  nav a {
    font-size: 0.7rem;
    margin: 0 0.3rem;
    white-space: nowrap;
  }

  .reviews-container h1 {
    font-size: 1.4rem;
  }

  .reviews-container {
    padding: 2rem 1rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .review-card1,
  .review-card2,
  .review-card3,
  .review-card4 {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .review-img1,
  .review-img2,
  .review-img3,
  .review-img4 {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }

  .btn-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-black {
    width: 100%;
    text-align: center;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem;
  }
}
