/* Google Font Import */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Inter:wght@300;400;500&display=swap");

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

body {
  font-family: "Inter", sans-serif;
  background-color: #f4f4f4;
  background-image: radial-gradient(
    circle at 1px 1px,
    #eaeaea 1px,
    transparent 0
  );
  background-size: 40px 40px;
}

.container {
  width: 85%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
header {
  height: 110px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: absolute;
  left: 60px;
  top: 5px;
  height: 135px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

nav a:hover {
  color: #b48a5a;
}

/* HERO */
.hero {
  background: url("images/header.jpeg") center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeIn 1.2s ease-in-out;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* BUTTON */
.btn {
  padding: 14px 35px;
  background: #b48a5a;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.btn:hover {
  background: #9c7448;
  transform: translateY(-3px);
}

/* SECTIONS */
.section {
  padding: 100px 0;
  background: white;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 30px;
}

.section p {
  text-align: center;
  max-width: 750px;
  margin: auto;
  color: #555;
}

/* FEATURES */
.features {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-box {
  flex: 1;
  min-width: 250px;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}

.feature-box:hover {
  transform: translateY(-10px);
}

.feature-box h3 {
  font-family: "Playfair Display", serif;
}

.about-hero {
  background: url("images/Beach view.jpg") center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
}

.about-hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  top: 0;
  left: 0;
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
}

/* ABOUT CONTENT */
.about-content {
  padding: 100px 0;
  background: white;
}

.about-content .container {
  max-width: 800px;
  margin: auto;
  text-align: left;
}

.about-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 40px;
}

.about-content p {
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

/* CONTACT HERO */
.contact-hero {
  background: url("images/BoardWalk 7/WhatsApp Image 2026-03-12 at 22.19.26 (3).jpeg")
    center/cover no-repeat;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}

/* CONTACT GRID (BACK TO SIMPLE STACKED LAYOUT) */
.contact-grid {
  display: block; /* removes side-by-side layout */
}

/* CONTACT SECTIONS */
.contact-details,
.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 60px auto;
  text-align: center;
}

/* HEADINGS */
.contact-details h2,
.contact-form h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
}

/* TEXT */
.contact-details p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #555;
}

/* FORM RESTORE */
form {
  max-width: 600px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input,
textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #b48a5a;
}

/* BUTTON */
button {
  padding: 15px;
  border: none;
  background: #b48a5a;
  color: white;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background: #9c7448;
  transform: translateY(-2px);
}

/* SLIDESHOW */
.slideshow-container {
  max-width: 900px;
  width: 90%;
  margin: 40px auto;
  height: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PROPERTY SECTION */
.properties-section {
  padding: 80px 10%;
  text-align: center;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  justify-items: center;
}

.property-card {
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-6px);
}

.property-slider {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.property-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.property-slider img.active {
  display: block;
}

.property-content {
  padding: 20px;
}

.property-description {
  min-height: 70px;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 15px;
  background: #25d366;
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
}

/* MOBILE */
@media (max-width: 900px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 30px 0;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WHATSAPP FLOAT */
.floating-wa {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* SOCIAL */
.footer-social {
  margin-bottom: 15px;
}

.social-icon {
  width: 35px;
  height: 35px;
  transition: 0.3s;
}

.social-icon:hover {
  transform: scale(1.15);
}

/* TESTIMONIALS (FADE SLIDER) */
.testimonials {
  background: #f4f4f4;
  padding: 100px 0;
}

.testimonials .container {
  position: relative;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.testimonial-box {
  opacity: 0;
  position: absolute;
  width: 100%;
  transition: opacity 1s ease-in-out;
}

.testimonial-box.active {
  opacity: 1;
  position: relative;
}

.testimonial-box p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-box h4 {
  font-weight: 500;
  color: #b48a5a;
}

.property-slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

/* IMAGES */
.property-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.property-slider img.active {
  display: block;
}

.testimonials .container {
  position: relative;
  max-width: 700px;
  margin: auto;
  text-align: center;
  min-height: 180px;
}

/* NAV BUTTONS (FIXED VISIBILITY) */
.property-slider .prev,
.property-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s ease;
}

/* HOVER EFFECT */
.property-slider .prev:hover,
.property-slider .next:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-50%) scale(1.1);
}

/* POSITIONING */
.property-slider .prev {
  left: 10px;
}

.property-slider .next {
  right: 10px;
}

.properties-section h2::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: #b48a5a;
  margin: 12px auto 0;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.properties-section h2:hover::after {
  width: 60px;
}

.property-card h3 {
  margin-bottom: 8px;
}

.property-description {
  margin-top: 5px;
  line-height: 1.5;
}
