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

:root {
  --primary-color: #4891ff;
  --light-color: #f4f4f6;
  --dark-color: #111;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
    overflow-x: hidden;
}
	
a {
  text-decoration: none;
  color: #333;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}


/* -navbar */

.navbar {
    background: #fff;
    padding: 20px;
}

.navbar img {
  height: 100px;
  width: auto;
}

.navbar .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .main-menu > ul{
    display: flex;
}

.dropdown-menu{
    display: none;
}

.dropdown:hover .dropdown-menu{
    display: block;
    position: absolute;
}

.navbar ul li a {
  padding: 10px 20px;
  display: block;
  font-weight: 600;
  transition: 0.5s;
}

.navbar ul li a:hover {
  color: var(--primary-color);
  cursor: pointer;
}

.navbar ul li a i {
  margin-right: 10px;
}


/* Apartment Selection */

.apartment-selection {
    margin-top: 100px;
}

.apartment-selection .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.apartment-preview {
    width: 45%;  /* Each section takes up 45% of the container width */
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.apartment-preview img {
    height: 70%;
    width: 100%;
    object-fit: cover;
}

.apartment-preview p {
    line-height: normal;
    text-align: center;
    margin: 0;
}


.apartment-preview:hover {
    transform: scale(1.05);
}

/* Contact */

.contact {
  margin-top: 100px;
}

.contact .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact {
  font-size: large;
}

.contact .fa-envelope {
  color: red;
}

.contact .fa-phone {
  color: green;
}








footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Utilities */

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}


/* Text Classes */

.text-xxl {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 40px 0 20px;
}

.text-xl {
  font-size: 2.2rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 40px 0 20px;
}

.text-lg {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 30px 0 20px;
}

.text-md {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 20px 0 10px;
}

.text-sm {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 10px 0 5px;
}

.text-center {
  text-align: center;
}

.multiline {
    white-space: pre-line;
}

/* Hamburger Button */

.hamburger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger-button .hamburger-line {
  width: 30px;
  height: 3px;
  background: #333;
  margin: 6px 0;
}

/* Mobile Menu */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  z-index: 100;
  background: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  margin-top: 100px;
  padding-right: 10px;
}

.mobile-menu ul li {
  margin: 10px 0;
}

.mobile-menu ul li a {
  font-size: 20px;
  transition: 0.3s;
}

/* Media Queries */

@media (max-width: 670px) {
  .navbar .main-menu {
    display: none;
  }
  .navbar .hamburger-button {
    display: block;
  }

  .apartment-selection .container {
    flex-direction: column;
  }
  .apartment-preview {
    margin-bottom: 100px;
    width: 100%;
  }
}