/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #222 !important;
  color: #222;
}

main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 1rem;
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgb(185, 140, 81);
  color: #fefefe;
}

.name {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar-nav li {
  font-size: 0.95rem;
}

/* ========== SECTIONS ========== */
section {
  margin-bottom: 1rem;
}

.forest-section {
  background-image: url(./assets/360_F_246303918_pvDNj3S6LyLvx4CYcpn5p5uupdWk8qUo.jpg);
}

.portrait {
  width: 250px !important; /* or a percentage like 50% */
  height: auto !important;
  object-fit: cover; /* keeps it looking nice if it's cropped */
  display: block;
  margin: 0 auto; /* centers the image inside the container */
}

.forest-section,
.cloud-section {
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  color: #fefefe;
}

.forest-section,
.hospitality-section {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.cloud-section {
  background-image: url(./assets/couds.jpeg);
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.cloud-section .container {
  border: 1px solid black;
  background-color: #fefefe;
  color: #222;
  opacity: 70%;
  font-size: larger;
  margin-left: 10%;
  margin-right: 10%;
}

.hospitality-section {
  background-color: rgb(185, 140, 81);
  color: #fefefe;
}

.hospitality-section .container p {
  font-size: 2rem !important;
}

.img-container {
  flex: 1;
}

.img-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.container {
  flex: 2;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/* ========== TEXT CONTENT ========== */
h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ========== THERAPY TYPES LIST ========== */
.types ul {
  columns: 2;
  column-gap: 1rem;
  padding-left: 1rem;
  list-style: none;
}

.types li {
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .navbar-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .forest-section,
  .hospitality {
    flex-direction: column;
    text-align: center;
  }

  .forest-section .img-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
  }

  .types ul {
    columns: 1;
  }

  .hospitality-section {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  main {
    padding: 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .container {
    padding: 0.5rem;
  }

  .forest-section .img-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    margin-top: 2rem;
  }

  .hospitality-section {
    display: flex;
    flex-direction: column;
  }

  .hospitality-section .container p {
    font-size: 1rem !important;
  }
}
