:root {
  --background-color: #f0f0f0;
  --border-radius: 0.5em;

  --navbar-height: 100px;
  --navbar-height-scrolled: 80px;

  --box-shadow-1: rgba(0, 0, 0, 0.2) 0px 1px 3px, 
                  rgba(0, 0, 0, 0.2) 0px 1px 2px;
  --box-shadow-2: rgba(0, 0, 0, 0.24) 0px 1px 3px,
                  rgba(0, 0, 0, 0.24) 0px 1px 2px;
  --box-shadow-3: rgba(0, 0, 0, 0.2) 0px 2px 4px,
                  rgba(0, 0, 0, 0.2) 0px 1px 2px;
  --box-shadow-4: rgba(0, 0, 0, 0.22) 0px 2px 4px,
                  rgba(0, 0, 0, 0.18) 0px 1px 2px;

  --large-screen: 1280px;
  --medium-screen: 768px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background-color);
  color: #333;
  margin: 0;
  font-family: Arial, sans-serif;
  margin: 0;
	padding: 0;
}

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

button, .button {
  cursor: pointer;
  background-color: white;
  color: var(--primary-color);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: calc(3 * var(--border-radius));
  border: 1px solid var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease-out;
}

button:hover, .button:hover {
  scale: 1.02;
}

button:active, .button:active {
  scale: 0.98;
}

button.secondary, .button.secondary {
  background-color: var(--primary-color);
  color: white;
}

.property-landingPage-card {
  text-decoration: none;
  color: black;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-2);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.property-landingPage-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.property-landingPage-card > img {
	height: 280px;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.property-landingPage-card .content {
	padding: 1em;
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.property-landingPage-card h3 {
	font-size: 1.1em;
	font-weight: 600;
	color: #333;
}

.property-landingPage-card .address {
  display: flex;
  gap: 0.5em;
  font-size: 0.8em;
  opacity: 0.7;
  line-height: 1.4;
}

.property-landingPage-card .address span {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
}

.property-landingPage-card .highlights {
	display: flex;
  flex-wrap: wrap;
  font-size: 0.95em;
	opacity: 0.8;
  gap: 0.5em;
	line-height: 1.4;
}

.property-landingPage-card .highlights span:not(:last-child) {
	border-right: 1px solid #ccc;
  padding-right: 0.5em;
}

.fade-in {
  opacity: 0;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 1em;
  z-index: 10;
  transition: all 0.5s cubic-bezier(0.15, 0.85, 0.35, 1);
}

.navbar .agency-logo {
  cursor: pointer;
  height: 100%;
  filter: drop-shadow(0 2px 2px black);
}

.navbar.window-is-scrolled {
  height: var(--navbar-height-scrolled);
  backdrop-filter: blur(10px) brightness(0.80) contrast(0.80);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.header {
  position: relative;
  width: 100%;
  height: 90dvh;
}

.header img.background {
  filter: brightness(0.7);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.header .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  max-width: var(--medium-screen);
  margin: 0 auto;
  padding: 0 1em;
  padding-top: 4em;
  gap: 2em;
  color: #fff;
}

.header .hero .badge {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.8em;
  padding: 0.25em 0.5em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
}

.header .hero .title {
  font-size: 2.5em;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin: 0;
  line-height: 1.2;
  text-wrap: balance;
}

.header .hero .price {
  font-size: 1em;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin: 0;
  line-height: 1.2;
  text-wrap: balance;
}

.header .hero .location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-weight: bold;
}

.header .hero .icon {
  filter: invert(1);
}

.header .hero .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

.overview {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background-color: var(--primary-color);
  color: white;
  padding: 1.5em 0;
  border-radius: calc(var(--border-radius) * 3);
  box-shadow: var(--box-shadow);
}

.overview>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overview>div p {
  margin: 0;
  margin-bottom: 0.25em;
  opacity: 0.7;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
}

.overview>div strong {
  font-weight: bold;
  font-size: 2.5em;
}

section.description {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 0 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

section.description .overview-container {
  width: 100%;
  margin-top: -3.5rem;
  box-sizing: border-box;
}

section.description .description-photo {
  max-width: var(--large-screen);
  display: flex;
  gap: 2em;
  padding: 1em 0em;
}

section.description .description-photo .text {
  font-size: 1.2em;
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 1em;
  white-space: pre-line;
  text-wrap: balance;
}

section.description .description-photo img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--border-radius);
}

section.secondary-description {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 0 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

section.secondary-description .description-photo {
  max-width: var(--large-screen);
  display: flex;
  gap: 2em;
  padding: 1em 0em;
}

section.secondary-description .description-photo .text {
  font-size: 1.2em;
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 1em;
  white-space: pre-line;
  text-wrap: balance;
}

section.secondary-description .description-photo img {
  width: 100%;
  max-width: 600px;
  max-height: 100%;
  object-fit: cover;
  height: auto;
  border-radius: var(--border-radius);
}

section.features {
  border-top: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  padding: 2em;
}

section.features > h2 {
  color: var(--primary-color);
  text-wrap: balance;
}

section.features .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

section.features .grid .feature {
  display: flex;
  padding: 1em;
  gap: 0.5em;
  border-radius: var(--border-radius);
  background-color: #ddd;
  text-wrap: balance;
  justify-content: center;
  align-items: center;
}

section.features .grid .feature .check-icon {
  background-color: var(--primary-color);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25em;
}

section.features .grid .feature .check-icon img {
  filter: invert(1);
}

section.features .grid .feature p {
  font-weight: bold;
}

section.photos {
  border-top: 1px solid #ccc;
  display: flex;
  flex-direction: column;
}

section.photos > h2 {
  color: var(--primary-color);
  text-wrap: balance;
  padding: 1em;
  padding-left: 1.36em;
}

section.floor-plan-pictures {
  border-top: 1px solid #ccc;
  display: flex;
  flex-direction: column;
}

section.floor-plan-pictures > h2 {
  color: var(--primary-color);
  text-wrap: balance;
  padding: 1em;
  padding-left: 1.36em;
}

section.floor-plan-pictures .grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1em;
  padding: 1em;
}

section.floor-plan-pictures .grid-container img {
  background-color: #ccc;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-2);
  aspect-ratio: 4/3;
  object-fit: cover;
}

section.videos {
  display: flex;
  flex-direction: column;
  padding: 2em;
  gap: 2em;
}

section.videos h2 {
  color: var(--primary-color);
}

section.videos .container {
  background-color: black;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.videos .container iframe {
  width: 100%;
  height: 480px;
}

section.contact {
  background-color: var(--primary-color);
  color: white;
  padding: 4em 2em;
  display: flex;
  flex-direction: column;
  gap: 3em;
}

section.contact form {
  display: flex;
  gap: 1em;
  align-items: end;
}

section.contact form .inputs-container {
  width: 100%;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}

section.contact form .inputs-container sl-input {
  flex: 1;
}

section.contact form button {
  font-weight: bold;
  box-shadow: var(--box-shadow-2);
  min-width: 220px;
  height: 42px;
  line-height: 0;
  border-radius: var(--border-radius);
}

section.pdf-download {
  padding: 6em 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
  border-bottom: 1px solid #ccc;
}

section.pdf-download h2 {
  text-align: center;
  max-width: var(--medium-screen);
  text-wrap: balance;
  font-size: 2em;
  color: var(--primary-color);
}

section.location {
  display: flex;
  flex-direction: column;
  padding: 2em;
  gap: 2em;
}

section.location h2 {
  color: var(--primary-color);
}

section.location iframe {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-3);
}

section.similar-landingPages {
  border-top: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  padding: 2em;
  gap: 1em;
}

section.similar-landingPages > h2 {
  color: var(--primary-color);
  text-wrap: balance;
}

section.similar-landingPages .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 450px));
  gap: 1.5rem;
  padding: 1.5rem 0;
}

footer {
  --footer-gap: 2rem;

  background-color: rgb(28 25 23);
  color: white;
  padding: 3em 1em;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--footer-gap);
  justify-content: center;
  align-items: center;
}

footer .brand {
  display: flex;
  flex-direction: column;
  gap: 1em;
  justify-content: center;
  align-items: center;
}

footer .brand .logo {
  display: block;
  max-width: 140px;
}

footer .brand .name {
  font-size: 1em;
  font-weight: bold;
  text-align: center;
}

footer .info p,
footer .contact p {
  margin: 0.5rem 0;
  line-height: 1.4;
}

footer a {
  font-weight: bold;
  color: #66D9EF;
  text-decoration: none;
  transition: color 0.2s, text-decoration-color 0.2s;
}

footer a:hover,
footer a:focus {
  color: #4EA8DE;
  text-decoration: underline;
}

footer .social-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2em;
}

footer .social-links .social-link {
  font-size: 1.25em;
  display: inline-block;
  transition: opacity 0.2s;
}

footer .social-links .social-link .icon {
  filter: invert(1);
  width: 1em;
  height: auto;
}

footer .social-links .social-link:hover,
footer .social-links .social-link:focus {
  opacity: 0.7;
}

footer .copyright {
  grid-column: 1/-1;
  text-align: center;
  margin-top: 2em;
  font-size: 0.875em;
  color: rgba(255, 255, 255, 0.7);
}

footer .container > div {
  align-items: center;
}

@media screen and (max-width: 768px) {
  .overview {
    flex-direction: column;
    gap: 3em;
  }

  section.description-section .overview-container {
    margin-top: 1.5rem;
  }

  .description-photo {
    flex-direction: column;
    gap: 1em;
  }

  .description-photo img {
    max-width: none;
  }

  section.contact form {
    flex-direction: column;
    align-items: stretch;
  }

  section.features .grid .feature {
    width: 100%;
    justify-content: start;
  }

  footer {
    padding: 2em 1em;
  }

  footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .social-links {
    flex-direction: column;
  }
}