/* Global Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #3498db;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
  --white: #fff;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* Header Styles */
.site-header {
  background-color:  rgba(255, 255, 255, 0.1) /* Dark background to match hero */
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
   box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
}

.navigation li {
  margin-left: 30px;
}

.navigation a {
  font-weight: 600;
  position: relative;
}

.navigation a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.navigation a:hover::after {
  width: 100%;
}
.navigation a {
  color: #ff5e57; /* or pick any color from your site theme */
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navigation a:hover {
  color: #e64a45; /* darker shade for hover */
}

.header-contact .btn-contact {
  background-color: var(--secondary-color);
  color: var(--white);
}

.header-contact .btn-contact:hover {
  background-color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('../images/hero-bg.jpg') no-repeat center center/cover;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease;
}

.cta-btn {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 30px;
  font-size: 1.1rem;
  animation: fadeIn 1.5s ease;
}

.cta-btn:hover {
  background-color: var(--primary-color);
}
/* === About Section === */
.about-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.about-section p {
  max-width: 850px;
  margin: 10px auto;
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
}

/* Property Filter */
.property-filter {
  background-color: var(--white);
  padding: 20px 0;
  box-shadow: var(--box-shadow);
}

.property-filter .container {
  display: flex;
  align-items: center;
}

.property-filter label {
  margin-right: 15px;
  font-weight: 600;
}

.property-filter input {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 200px;
}

/* Property Listings */
.property-listings, .featured-properties {
  padding: 60px 0;
}

.property-listings h2, .featured-properties h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
}

.property-listings h2::after, .featured-properties h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--secondary-color);
}

.listing-grid, .property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
 
}
.listing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.listing-card, .property-card {
  background-color: var(--white);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.listing-card:hover, .property-card:hover {
  transform: translateY(-10px);
}

.listing-card img, .property-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.listing-info, .property-card h3 {
  padding: 20px;
}

.listing-info h3, .property-card h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  height: 100px; /* fixed height */
  overflow-y: auto;

}

.listing-info p, .property-card p {
  color: var(--text-light);
  margin-bottom: 15px;}
  /* === Property Gallery Styles === */
.property-gallery {
  padding: 60px 20px;
  text-align: center;
}

.property-gallery h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.property-gallery p {
  margin-bottom: 30px;
  color: #555;
}

/* Responsive Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Back button */
.property-gallery .btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.property-gallery .btn:hover {
  background: #ff6b6b; /* you can change to brand color */
}


/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3, .footer-column h4 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after, .footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-column p {
  margin-bottom: 15px;
  color: #bdc3c7;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #bdc3c7;
}

.footer-column ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-bottom: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.newsletter-form button {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 0 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.newsletter-form button:hover {
  background-color: var(--accent-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .navigation {
    display: none;
  }
  
  .header-contact {
    margin-left: auto;
    margin-right: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 80vh;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .property-filter .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .property-filter label {
    margin-bottom: 10px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .site-header .container {
    flex-direction: column;
    padding: 15px;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .header-contact {
    margin: 15px 0 0;
  }
  
  .hero {
    margin-top: 140px;
    height: auto;
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .listing-grid, .property-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }
}
