/* General Styles */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.6;
  background-color: #f4fefc;
  color: #1e3a5f;
}

/* Header */
.header {
  background: #16a085;
  color: #1e3a5f;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3a5f;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #1e3a5f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #1abc9c;
}

.btn-primary {
  background: #1abc9c;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #16a085;
}

/* Hero Section */
.hero {
  background: url(backg-8da6ce6263eab25a11216225e513e271e605abfc554046de4087b9987102395b.jpg) no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 50, 70, 0.35);
  z-index: 0;
}

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

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #e0ffff;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #e6ffff;
}

/* Sections */
.properties, .services, .contact {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #f4fefc;
  color: #1e3a5f;
}

.properties h2, .services h2, .contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Property Cards */
.property-cards {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.card {
  background: linear-gradient(135deg, #1abc9c 0%, #3498db 100%);
  color: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: 30%;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

/* Services Section */
.fancy-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: linear-gradient(135deg, #1abc9c 0%, #3498db 100%);
  color: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  margin-top: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.service-card p {
  margin-top: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.service-icon {
  font-size: 2.5rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 50%;
  display: inline-block;
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.owner-info {
  background: linear-gradient(135deg, #1abc9c 0%, #3498db 100%);
  color: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
  max-width: 400px;
  width: 100%;
}

.owner-info:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.owner-info h3 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.contact-details {
  margin-top: 1rem;
}

.contact-details p {
  margin: 0.8rem 0;
  font-size: 1.1rem;
}

.contact-details a {
  color: #fff;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.fas {
  margin-right: 10px;
  color: #fff;
  width: 20px;
}

/* Social Links */
.social-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  color: #1abc9c;
  background: #e3f9f6;
  padding: 0.6rem;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.social-links a:hover {
  background: #1abc9c;
  color: #fff;
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: #e3f9f6;
  color: #1e3a5f;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  border-top: 1px solid #cceee9;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 1 !important;
  transform: translateY(0) !important;
}
