
:root {
  --primary-900: #1a365d;
  --primary-800: #2a4a73;
  --primary-700: #395d8a;
  --primary-600: #4871a0;
  --primary-500: #5885b7;
  --primary-400: #7299c5;
  --primary-300: #8baed2;
  --primary-200: #b0c7e0;
  --primary-100: #d5e2ed;
  
  --secondary-900: #2c4f7c;
  --secondary-500: #4299e1;
  --secondary-300: #90cdf4;
  --secondary-100: #ebf8ff;
  
  --accent-900: #a67c1f;
  --accent-500: #e6b33d;
  --accent-300: #f0cf83;
  --accent-100: #fbf3db;
  
  --success-500: #48bb78;
  --warning-500: #ecc94b;
  --error-500: #f56565;
  
  --gray-900: #1a202c;
  --gray-800: #2d3748;
  --gray-700: #4a5568;
  --gray-600: #718096;
  --gray-500: #a0aec0;
  --gray-400: #cbd5e0;
  --gray-300: #e2e8f0;
  --gray-200: #edf2f7;
  --gray-100: #f7fafc;
  
  --space-1: 0.25rem;
  --space-2: 0.5rem;  
  --space-3: 1rem;  
  --space-4: 1.5rem; 
  --space-5: 2rem;   
  --space-6: 3rem;   
  --space-7: 4rem;   
  
  --font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --line-height-body: 1.5;
  --line-height-heading: 1.2;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height-body);
  color: var(--gray-800);
  background-color: var(--gray-100);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-800);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--line-height-heading);
  margin-bottom: var(--space-3);
  color: var(--primary-900);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-3);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Header */
.header {
  background-color: var(--primary-900);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
}

.logo img {
  height: 2.5rem;
  margin-right: var(--space-2);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: var(--space-4);
}

.nav-links a {
  color: white;
  font-weight: 500;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-500);
}

.nav-links a.active {
  color: var(--accent-500);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-500);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/106399/pexels-photo-106399.jpeg');
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: var(--space-3);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--space-3);
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

.btn {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-500);
  color: var(--gray-900);
}

.btn-primary:hover {
  background-color: var(--accent-900);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary-900);
}

/* Listings Section */
.listings {
  padding: var(--space-6) 0;
  background-color: var(--gray-100);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-5);
}

.section-title h2 {
  color: var(--primary-900);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--accent-500);
  bottom: -10px;
  left: 25%;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.listing-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.listing-img {
  height: 200px;
  position: relative;
}

.listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-price {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--accent-500);
  color: var(--gray-900);
  padding: var(--space-1) var(--space-2);
  font-weight: 700;
}

.listing-content {
  padding: var(--space-3);
}

.listing-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--primary-900);
}

.listing-location {
  color: var(--gray-600);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
}

.listing-details {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--gray-200);
}

.listing-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.listing-detail span:first-child {
  font-weight: 700;
  color: var(--primary-800);
}

.listing-detail span:last-child {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Features Section */
.features {
  background-color: white;
  padding: var(--space-6) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
}

.feature-card {
  text-align: center;
  padding: var(--space-3);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-500);
  margin-bottom: var(--space-2);
}

.feature-title {
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--primary-900);
}

/* About Section */
.about {
  padding: var(--space-6) 0;
  background-color: var(--gray-100);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  margin-bottom: var(--space-3);
}

.about-text p {
  margin-bottom: var(--space-3);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.team-member {
  text-align: center;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-img {
  height: 280px;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: var(--space-3);
}

.team-name {
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--primary-900);
}

.team-role {
  color: var(--primary-500);
  margin-bottom: var(--space-2);
}

/* Contact Section */
.contact {
  padding: var(--space-6) 0;
  background-color: white;
}

.contact-content {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  color: var(--primary-700);
  position: relative;
  padding-bottom: var(--space-2);
}

.contact-info h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-500);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-3);
  background-color: var(--gray-50);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-500);
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  margin-bottom: var(--space-2);
}

.contact-text h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-1);
  color: var(--gray-800);
}

.contact-text p {
  color: var(--gray-600);
  line-height: 1.6;
}

.contact-map {
  height: 400px;
  background-color: var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  margin-top: var(--space-4);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    padding: 0 var(--space-3);
  }
  
  .contact-details {
    grid-template-columns: 1fr;
  }
  
  .contact-info h2 {
    font-size: 2rem;
  }
  
  .contact-map {
    height: 300px;
  }
}

.footer {
  background-color: var(--primary-900);
  color: white;
  padding: var(--space-5) 0 var(--space-2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.footer-col h4 {
  color: white;
  margin-bottom: var(--space-3);
  position: relative;
  padding-bottom: var(--space-2);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-500);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-500);
  padding-left: var(--space-1);
}

.footer-social {
  display: flex;
  margin-top: var(--space-2);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: var(--space-2);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-500);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    height: 60vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .navbar {
    position: relative;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-900);
    flex-direction: column;
    padding: var(--space-3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    opacity: 0;
  }
  
  .nav-links.active {
    transform: scaleY(1);
    opacity: 1;
  }
  
  .nav-links li {
    margin: var(--space-2) 0;
    margin-left: 0;
  }
  
  .listings-grid,
  .features-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }