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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #ede3d6;
  color: #2f2118;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.section-padding {
  padding: 8rem 6%;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}

p {
  line-height: 1.7;
}

.brown-btn {
  background: #7d4b2f;
  color: white;
  padding: 1.2rem 2.4rem;
  border-radius: 50px;
  transition: 0.3s;
}

.brown-btn:hover {
  background: #5e3621;
}

/* TOP BAR */

.top-bar {
  background: #2b120c;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  font-size: 1.3rem;
}

.top-bar button {
  background: white;
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 1.2rem;
}

/* HEADER */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6%;
  position: sticky;
  top: 0;
  background: #ede3d6;
  z-index: 999;
}

.hamburger {
  display: none;
  font-size: 2.4rem;
  cursor: pointer;
}

.logo h1 {
  font-size: 2rem;
  letter-spacing: 0.5rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 1.4rem;
}

.header-btns {
  display: flex;
  gap: 1rem;
}

/* HERO */

.hero {
  position: relative;
  height: 90vh;
  background: url("https://images.unsplash.com/photo-1560066984-138dadb4c035?q=80&w=1600&auto=format&fit=crop")
    center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-logo {
  width: 12rem;
  height: 12rem;
  border: 2px solid white;
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 6rem;
  font-family: "Cormorant Garamond", serif;
}

.hero h2 {
  font-size: 6rem;
}

.hero p {
  margin: 1rem 0 3rem;
  font-size: 1.8rem;
}

.hero button,
.testimonial button {
  background: white;
  color: #2f2118;
  padding: 1.3rem 2.6rem;
  border-radius: 50px;
}

/* SERVICES */

.services .center-btn {
  margin-top: 3rem;
}

.section-heading {
  text-align: center;
  max-width: 70rem;
  margin: auto;
}

.section-heading h2 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.section-heading p {
  font-size: 1.6rem;
}

.services-grid {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card img {
  height: 35rem;
  object-fit: cover;
}

.service-text {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 1.8rem;
}

/* ABOUT */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.small-title {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  margin-bottom: 1rem;
}

.about h2,
.team h2,
.location h2 {
  font-size: 5rem;
  margin-bottom: 2rem;
}

.about p {
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

.about-image img {
  height: 55rem;
  object-fit: cover;
}

/* TESTIMONIAL */

.testimonial {
  position: relative;
  height: 60vh;
  background: url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?q=80&w=1600&auto=format&fit=crop")
    center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.testimonial-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 70rem;
  padding: 2rem;
}

.testimonial h2 {
  font-size: 5rem;
  margin-bottom: 2rem;
}

.testimonial p {
  font-size: 1.8rem;
}

.stars {
  margin: 2rem 0;
}

/* TEAM */

.team {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 5rem;
}

.team p {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card img {
  height: 45rem;
  object-fit: cover;
}

.team-card h3 {
  margin-top: 1rem;
  font-size: 2rem;
}

/* INSTAGRAM */

.insta-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.insta-top h2 {
  font-size: 4rem;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.insta-grid img {
  height: 20rem;
  object-fit: cover;
}

/* LOCATION */

.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.location-image img {
  height: 50rem;
  object-fit: cover;
}

.location-content p {
  margin: 2rem 0;
  font-size: 1.6rem;
}

.location-info {
  display: flex;
  gap: 5rem;
  margin-top: 4rem;
}

.location-info h3 {
  font-size: 2.4rem;
}

/* FOOTER */

footer {
  background: #5a0000;
  color: white;
  padding: 8rem 6% 4rem;
}

.footer-top h2 {
  font-size: 5rem;
}

.newsletter {
  margin: 6rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newsletter h3 {
  font-size: 3rem;
}

.newsletter form {
  display: flex;
}

.newsletter input {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: white;
  border-radius: 50px 0 0 50px;
}

.newsletter button {
  padding: 1.4rem 2rem;
  background: white;
  border-radius: 0 50px 50px 0;
}

.footer p {
  font-size: 1.6rem;
}

.footer-top p {
  font-size: 1.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}

.footer-grid h4 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.footer-grid li,
.footer-grid p {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.socials {
  display: flex;
  gap: 1.5rem;
  font-size: 2rem;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  header {
    flex-direction: column;
    gap: 2rem;
  }

  .services-grid,
  .team-grid,
  .insta-grid,
  .footer-grid,
  .location,
  .about,
  .team {
    grid-template-columns: 1fr;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-info {
    flex-direction: column;
    gap: 2rem;
  }

  .hero h2,
  .section-heading h2,
  .about h2,
  .team h2,
  .testimonial h2,
  .location h2,
  .footer-top h2 {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-btns {
    flex-direction: column;
  }

  .hero {
    height: 70vh;
  }

  .service-card img,
  .team-card img,
  .about-image img,
  .location-image img {
    height: auto;
  }

  header {
    flex-direction: row;
    justify-content: space-between;
  }

  .hamburger {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f5ece2;
    display: none;
  }

  nav.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    gap: 2rem;
    display: flex;
  }

  nav ul li:last-child,
  .header-btns,
  .newsletter,
  .footer-grid > div:not(:last-child) {
    display: none;
  }

  footer,
  .about,
  .team,
  .location,
  .services,
  .instagram {
    text-align: center;
  }

  .footer-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
  }

  .footer-grid > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }
}

/* LANDSCAPE FIX */
@media (max-height: 500px) and (orientation: landscape) {
  nav {
    display: none;
  }

  nav.active {
    display: block;
  }

  .hero {
    height: 100vh;
  }
}
