@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap");

body {
  font-family: "Playfair Display", serif;
  background-color: #d0ccc4; /* Light Gray */
  color: #8d6d26;
  margin: 0;
  padding: 0;
}

header {
  background-color: #ffffff; /* White */
  padding: 20px;
  text-align: center;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-large {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #dcdbdb;
}
.header-small h4 {
  opacity: 0;
}

.header-small {
  height: 90px;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #dcdbdb;
  border-bottom: 2px solid #baae92;
}

.logo img {
  max-width: 100%;
  height: auto;
  transition: max-width 0.3s ease, height 0.3s ease;
}

.header-small .logo img {
  max-width: 200px;
  height: auto;
  padding-top: 60px;
}

.navbar {
  display: none;
  background-color: #dcdbdb; /* White */
  padding: 10px 20px;
  text-align: center;
}

.header-small .navbar {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
}

.navbar a {
  color: #8d6d26;
  margin: 0 15px;
  text-decoration: none;
  font-size: 18px;
}

.navbar a:hover {
  text-decoration: underline;
}

.sticky {
  display: flex;
}

.welcome-title {
  margin-top: -100px;
}

.footer {
  text-align: center;
  background-color: #dcdbdb;
  padding: 20px;
  color: #8d6d26;
}

h1 {
  color: #8d6d26;
  padding-left: 20px;
}
.catchphrase {
  font-size: 24px;
  font-weight: bold;
  color: #8d6d26; /* Gold color */
  text-align: center;
  margin: 20px 0;
}

.footer a {
  color: #8d6d26;
  text-decoration: none;
  margin: 0 10px;
  font-size: 24px; /* Increase icon size */
}

.footer a:hover {
  font-size: 28px; /* Increase icon size on hover */
}

.footer .phone {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.footer .phone i {
  margin-right: 10px;
  font-size: 24px;
}

.footer .phone p {
  font-size: 14px;
  margin: 0;
}

.footer p {
  font-size: 16px;
  margin-top: 10px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  color: #8d6d26; /* Gold color */
  text-align: center;
  margin-top: 20px;
}

.catchphrase {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 400;
  color: #8d6d26; /* Gold color */
  text-align: center;
  margin: 20px 0;
}

.about-section {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 400;
  color: #8d6d26; /* Gold color */
  text-align: center;
  margin: 20px 20px 20px 20px;
}

.carousel {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 70vh; /* Ensure images do not exceed the viewport height */
  object-fit: cover;
}

.apartment-card {
  display: flex;
  flex-direction: row;
  margin: 20px 0;
  border: 1px solid #baae92;
  border-radius: 10px;
  overflow: hidden;
}

.apartment-image {
  flex: 1;
  max-width: 50%;
  position: relative;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.apartment-img {
  width: 100%;
  height: auto;
  max-height: 70vh; /* Ensure images do not exceed the viewport height */
  object-fit: cover;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  padding: 10px;
  margin-top: -20px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 50%;
  background-color: rgba(204, 204, 188, 0.5);
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background-color: rgba(204, 204, 188, 0.9);
}

.image-counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
}

.apartment-info {
  flex: 1;
  padding: 20px;
}

.apartment-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: #8d6d26; /* Gold color */
  margin-bottom: 10px;
}

.apartment-info p {
  font-size: 16px;
  margin-bottom: 20px;
}

.apartment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apartment-icons i {
  font-size: 18px;
  color: #8d6d26; /* Gold color */
  margin-right: 5px;
}

.apartment-location {
  margin-top: 20px;
}

.apartment-location a {
  font-size: 16px;
  color: #8d6d26; /* Gold color */
  text-decoration: none;
}

.apartment-location a:hover {
  text-decoration: underline;
}

.apartment-airbnb {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: #8d6d26; /* Gold color */
  text-decoration: none;
}

.apartment-airbnb:hover {
  text-decoration: underline;
}

.subtitle {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: #8d6d26; /* Gold color */
  text-align: center;
  margin-top: 20px;
  text-decoration: none;
}

.subtitle:hover {
  text-decoration: underline;
}

.header-small .subtitle {
  opacity: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}


@media (max-width: 600px) and (orientation: portrait) {
  .header-large .logo img {
    max-width: 100%; /* Reduce logo size for mobile */
    max-height: 90%;
    height: auto;
  }
  .header-large .subtitle {
    font-size: 18px; /* Adjust subtitle font size */
    margin-bottom: 20px; /* Add spacing at the bottom */
    color: #8d6d26;
    text-align: center;
  }
  .header-small {
    height: auto;
    padding: 10px;
  }

  .logo img {
    max-width: 150px;
    height: auto;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar a {
    margin: 10px 0;
  }

  .apartment-card {
    flex-direction: column;
  }

  .apartment-image {
    max-width: 100%;
  }

  .apartment-info {
    padding: 10px;
  }
  .content {
    margin-top: calc(
      10px + 50px
    ); /* Dynamically adjust based on header-small height */
    padding: 40px;
  }
}

