@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


::-webkit-scrollbar {
    width: 8px; 
    height: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: #9fae8b;
}

/* Thumb */
::-webkit-scrollbar-thumb {
    background-color: #6b8e23;
}

/* Thumb hover effect */
::-webkit-scrollbar-thumb:hover {
    background-color: #5e7a43;
}



body {
    font-family: Arial, sans-serif;
    background-color: #A48C6A;
    font-size: 100%;
}

.content{
    margin: 1vw;
    background-color: beige;
}

.landings{
    position: relative;
    aspect-ratio: 2.35 / 1; 
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-style: normal;
}

.slideshow-container {
  position: absolute;
  width: 100%;
  max-width: 100%; /* Adjusted to match aspect ratio 15:9 */
  margin: auto;
  overflow: hidden;
  aspect-ratio: 2.35 / 1; 
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slideEffect 15s infinite;
}

.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3); 
  pointer-events: none; /* Allows clicking through the overlay */
}

@keyframes slideEffect {
  0% {
    left: 0;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  33.33% {
    left: 0;
    opacity: 1;
  }
  38.33% {
    left: -100%;
    opacity: 0;
  }
  100% {
    left: -100%;
    opacity: 0;
  }
}

.fade:nth-child(1) {
  animation-delay: 0s;
}

.fade:nth-child(2) {
  animation-delay: 5s;
}

.fade:nth-child(3) {
  animation-delay: 10s;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the images cover the area, maintaining aspect ratio */
}


.navbar {
    display: flex;
    justify-content: space-between; /* Distribute space between items */
    align-items: center; /* Vertically center items */
    padding: 10px 20px; /* Add some padding */
    background-color: none;
    position: absolute;
    z-index: 5;
    width: 100%;
}

/* Left section (optional) */
.nav-left {
    flex: 1; /* Take up available space */
}

/* Center section */
.nav-center {
    flex: 1;
    text-align: center;
}

/* Brand name */
.brand-name {
    font-size: clamp(1rem, 0.6429rem + 1.9048vw, 2.5rem);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

/* Right section */
.nav-right {

    flex: 1; /* Take up available space */
    display: flex;
    justify-content: flex-end; /* Align items to the right */
    gap: 20px; /* Add space between links */
}

/* Navbar links */
.nav-right a {
    text-decoration: none;
    color: #fff;
    font-size: clamp(0.8rem, 0.5321rem + 1.4286vw, 1.2rem);
}

.nav-right a:hover {
    color: #007bff; /* Change color on hover */
}

.center-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    font-size: clamp(1.5rem, 1.375rem + 0.6667vw, 2.2rem);
    font-style: normal;
}

.smaller-text {
    font-size: clamp(1rem, 0.8571rem + 0.7619vw, 1.8rem);
    display: block;
}

/* About Me Section */
.about-me-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 8rem;
}

/* Photo Section */
.about-me-photo img {
    width: 30vw;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-me-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* About Me Text Section */
.about {
    max-width: 600px;
}

.about h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom:  1rem;
    position: relative;
}

.about h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom:  1.5em;
    position: relative;
}

.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #3498db;
    margin-top: 10px;
    border-radius: 2px;
}

.about p {
    font-size: 1.1em;
    font-weight: 400;
    color: #555;
    line-height: 1.8;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 20px 0px;
}

.contact-info a {
    display: flex-start;
    align-items: center;
    text-decoration: none;
    color: #3498db;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #2c3e50;
}

.contact-info i {
    margin-right: 10px;
    font-size: 1.2rem;
}


  /* Property Listing Container */
.property-listing {
    max-width: 70%;
    margin: 80px auto;
    background-color: rgba(0, 0, 0, 0.07);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.listing-title{
    font-size: clamp(2rem, 1.9107rem + 0.4762vw, 2.5rem);
    font-weight: 700;
    color: #34495E;
    margin: 1em auto;
    max-width: 80%;
}

.property-listing:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}


/* Property Details */
.property-details {
    margin: 3em auto;
    max-width: 80%;
}

.property-details h2 {
    font-size: clamp(1.5rem, 1.4107rem + 0.4762vw, 2rem);
    font-weight: 700;
    color: #34495E;
    margin-bottom: 1.0em;
}

.property-details p {
    font-size: clamp(1rem, 0.9821rem + 0.0952vw, 1.1rem);
    font-weight: 400;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.0em;
}

.property-details .price {
    font-size: clamp(1rem, 0.9107rem + 0.4762vw, 1.5rem);
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1.0em;
}

/* Key Features */
.key-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1.0em;
}

.key-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #555;
}

.key-features i {
    color: #3498db;
    font-size: 1.2rem;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3498db;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    margin-bottom: 3rem ;
}

.cta-button:hover {
    background-color: #2c3e50;
}

/* Responsive Design */


.listing-image-carousel {
    position: relative;
    max-width: 80%;
    margin: 3rem auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Prevents image overflow */
}

/* Image Container */
.property-image {
    display: flex;
    transition: transform 0.5s ease-in-out;
    aspect-ratio: 16 / 12;
    object-fit: cover;

}



.property-image img {
    min-width: 100%;
    flex-shrink: 0;
    height: auto;
    display: block;
    object-fit: cover;
    overflow-clip-margin: unset;
}

/* Next Button */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);        
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 0.5em;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 20%;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.next-button {
    right: 10px;
}

.prev-button {
    left: 10px;
}

.next-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

html {
    scroll-behavior: smooth;
}




.map{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5em;
    max-width: 100%;
}



/* Footer */
.footer {
    background-color: rgba(195, 166, 139, 0.5); 
    padding: 40px 20px;
    text-align: center;
    color: #4B2E2A;
}

.footer-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}

.footer-description {
    font-size: 1.1rem;
    font-weight: 400;
    color: #4B2E2A;
    line-height: 1.4;
    margin-bottom: 5px;
}


@media (max-width: 1024px) {
    .footer-content {
        gap: 15px;
    }

    .footer-description {
        font-size: 1rem;
    }

    .contact-info {
        font-size: 0.9rem;
    }

    .content{
        margin: 1.8vw;
    }

    .about-me-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .about-me-photo img {
        width: 80vw;
        margin-bottom:  1.5em;
        max-width: 400px;
    }

    .about h2::after {
        margin: 10px auto;
    }

    .contact-info {
        align-items: center;
    }

    .property-details {
        margin: 1rem auto;
        max-width: 90%;
    }


    .key-features {
        flex-direction: column;
    }

    .slideshow-container {
        aspect-ratio: 1 / 1; 
    }

    .landings{
        aspect-ratio: 1 / 1; 
    }

    .nav-left {
        display: none;
    }

    .nav-center {
        text-align:left;    
    }

    .property-listing {
        max-width: 90%;
        margin: 4vw auto;
    }

    .footer-content {
        width: 90%;
    }

    .about-me-section {
        margin-bottom: 2.2rem;
    }
}


@media (max-width: 768px) {
    .footer-content {
        gap: 15px;
    }

    .footer-description {
        font-size: 1rem;
    }

    .contact-info {
        font-size: 0.9rem;
    }

    .about-me-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .about-me-photo img {
        width: 80vw;
        margin-bottom:  1.5em;
    }

    .about h2::after {
        margin: 10px auto;
    }

    .contact-info {
        align-items: center;
    }

    .key-features {
        flex-direction: column;
    }

    .slideshow-container {
        aspect-ratio: 3 / 4; 
    }

    .landings{
        aspect-ratio: 3 / 4; 
    }

    .carousel-button {
        padding: 0.1em;
    }
}


