:root {
    --primary-color: #B39755;
    --primary-dark: #212529;
    --secondary-color: #ff7f00;
    --accent-color: #2e8b57;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}
/* Modern Navbar System */
.navbar {
  --gold-primary: #c5a338;
  --gold-hover: rgba(197, 163, 56, 0.12);
  --gold-active: rgba(197, 163, 56, 0.18);
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 12px 5%;
  transition: 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    background 0.4s ease;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.86);
}

.navbar-brand {
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.navbar-brand:hover {
  color: var(--gold-primary);
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-nav {
  gap: 4px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 18px;
  transition: 
    color 0.25s ease,
    background 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.2s ease;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-primary);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-nav .nav-link:hover {
  color: var(--text-primary);
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--gold-primary) !important;
  font-weight: 700;
  background: var(--gold-active);
  box-shadow: inset 0 0 0 1px rgba(197, 163, 56, 0.25);
}

.navbar-nav .nav-link.active::before {
  transform: scaleY(0.05);
}

/* Dynamic scroll effects */
.navbar.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 8px 5%;
  background-color: rgba(255, 255, 255, 0.96);
}
/* Dropdown menu styling */
.navbar .dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 240px;
  transition: all 0.3s ease-in-out;
}

.navbar .dropdown-menu .dropdown-item {
  padding: 10px 20px;
  color: rgb(255, 157, 0);
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: rgb(255, 243, 220);
  color: #000;
  font-weight: 600;
  border-left: 4px solid rgb(255, 157, 0);
}

/* Dropdown arrow */
.navbar .nav-link.dropdown-toggle::after {
  border-top-color: rgb(255, 157, 0);
  margin-left: 6px;
}

/* Scrolled navbar dropdown behavior */
#navbar.scrolled .dropdown-menu .dropdown-item {
  color: #000;
}

#navbar.scrolled .dropdown-menu .dropdown-item:hover {
  background-color: rgb(255, 236, 202);
  color: rgb(255, 157, 0);
}

/* Fade-in dropdown animation */
.dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.show > .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile specific tweaks */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff;
    border-radius: 0 0 12px 12px;
    padding: 1rem;
  }

  .navbar .nav-link,
  .navbar .dropdown-menu .dropdown-item {
    color: #000 !important;
  }

  .navbar .dropdown-menu {
    box-shadow: none;
    border-radius: 0;
    padding-left: 1rem;
  }

  .navbar .dropdown-menu .dropdown-item {
    padding: 8px 0;
    border-left: 3px solid transparent;
  }

  .navbar .dropdown-menu .dropdown-item:hover {
    background-color: transparent;
    color: rgb(255, 157, 0);
    border-left-color: rgb(255, 157, 0);
  }
}
/* Mobile enhancements */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 7%;
    backdrop-filter: none;
    background-color: #fff;
  }
  
  .navbar-nav {
    gap: 2px;
    padding: 8px 0;
  }
  
  .navbar-nav .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 4px 0;
  }
  
  .navbar.scrolled {
    padding: 8px 7%;
  }
}
.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-dark);
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.city-card {
    transition: var(--transition);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    background: white;
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.city-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.city-card .p-4 {
    padding: 25px !important;
}

.property-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    background: white;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.property-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.feature-badge {
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
}

.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.search-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.search-form .form-control,
.search-form .form-select {
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
}

.city-overview {
    padding: 90px 0;
    background: white;
}

.property-listings {
    padding: 90px 0;
    background-color: var(--light-bg);
}
/* Property Image Carousel */
.property-image-carousel {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

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

.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
}

.property-card:hover .carousel-control-prev,
.property-card:hover .carousel-control-next {
    opacity: 1;
}

.carousel-indicators {
    bottom: 15px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Property Details */
.property-details {
    padding: 25px;
}

.property-details h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.property-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* City Navigation */
.city-nav {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.city-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    transition: var(--transition);
    margin: 0 5px;
}

.city-nav .nav-link:hover,
.city-nav .nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-section h1 {
        font-size: 2.6rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .city-nav .nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .search-form .row > div {
        margin-bottom: 15px;
    }
    
    .price-tag {
        font-size: 1rem;
        padding: 6px 15px;
    }
}
.footer-dark {
    background-color: var(--dark); /* fixed dark color for footer */
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark, #d1a845));
}

/* ========== Social Icons ========== */
.social-icon {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary, #e7c873);
    color: var(--secondary, #1e1e2f);
    transform: translateY(-5px);
}

/* ========== Highlighted Text ========== */
.highlight {
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(231, 200, 115, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

/* ========== Scroll Animations ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Custom Utility Classes ========== */
.bg-custom-light {
    background-color: var(--light, #f8f9fa) !important;
}

.bg-deep-blue {
    background-color: var(--secondary, #1e1e2f);
}

.ptb-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-6 {
    margin-bottom: 5rem !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* ========== Navbar ========== */
.navbar-nav {
    align-items: center;
}

/* ========== Responsive Fixes ========== */
@media (max-width: 768px) {
    .display-title {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .stats-number {
        font-size: 2.8rem;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .stats-item {
        padding: 20px 15px;
    }
}

