.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 34px;
  font-weight: 600;
  color: #2D2D2D;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 45px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2D2D2D;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #8AAF85;
}

.login-btn {
  background: #8AAF85;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-btn:hover {
  background: #7A9D75;
}

.fav-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  position: relative;
}

#favorites-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #8AAF85;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 24px;
    padding: 30px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }
}
 body {
            box-sizing: border-box;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html, body {
            height: 100%;
            width: 100%;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background: #FAF8F5;
            color: #2D2D2D;
            overflow-x: hidden;
        }
        
        .serif {
            font-family: 'Playfair Display', serif;
        }
        
        .cursive {
            font-family: 'Dancing Script', cursive;
        }
        
        .libre {
            font-family: 'Libre Baskerville', serif;
        }
        
        /* Animated Background */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }
        
        .animated-bg::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, #FAF8F5 0%, #F0EDE7 25%, #E8E3DC 50%, #F0EDE7 75%, #FAF8F5 100%);
            animation: gradientShift 20s ease infinite;
        }
        
        @keyframes gradientShift {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(-50%, -50%); }
        }
        
        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .shape {
            position: absolute;
            opacity: 0.03;
            animation: float 30s infinite ease-in-out;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-100px) rotate(180deg); }
        }
        
        /* Loading Screen */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #FAF8F5;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            transition: opacity 0.8s ease, visibility 0.8s ease;
        }
        
        .loading-screen.hidden {
            opacity: 0;
            visibility: hidden;
        }
        
        .house-outline {
            width: 140px;
            height: 140px;
        }
        
        .house-line {
            stroke: #8AAF85;
            stroke-width: 1.5;
            fill: none;
            stroke-dasharray: 1000;
            stroke-dashoffset: 1000;
            animation: drawLine 2.5s ease-in-out forwards;
        }
        
        @keyframes drawLine {
            to { stroke-dashoffset: 0; }
        }
        
        .loading-text {
            margin-top: 30px;
            font-family: 'Dancing Script', cursive;
            font-size: 26px;
            color: #2D2D2D;
            opacity: 0;
            animation: fadeInText 1s ease 1.5s forwards;
        }
        
        @keyframes fadeInText {
            to { opacity: 1; }
        }
        
        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(250, 248, 245, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 20px 0;
            transition: all 0.4s ease;
            border-bottom: 1px solid transparent;
        }
        
        .navbar.scrolled {
            padding: 12px 0;
            border-bottom: 1px solid #E8E3DC;
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
        }
        
        /* Page Container */
        .page {
            display: none;
            min-height: 100%;
            width: 100%;
        }
        
        .page.active {
            display: block;
        }
        
        /* Hero Sections */
        .hero {
            min-height: 100%;
            display: flex;
            align-items: center;
            position: relative;
            padding: 140px 0 100px;
        }
        
        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .hero-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.12;
            transform: scale(1);
            transition: transform 15s ease-out;
            animation: slowZoom 30s ease-in-out infinite alternate;
        }
        
        @keyframes slowZoom {
            from { transform: scale(1); }
            to { transform: scale(1.1); }
        }
        
        /* Buttons */
        .btn-primary {
            display: inline-block;
            padding: 18px 45px;
            background: #8AAF85;
            color: white;
            text-decoration: none;
            font-weight: 500;
            letter-spacing: 1px;
            transition: all 0.4s ease;
            border: none;
            cursor: pointer;
            font-size: 14px;
            text-transform: uppercase;
            position: relative;
            overflow: hidden;
        }
        
        .btn-primary::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .btn-primary:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .btn-primary:hover {
            background: #7A9D75;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(138, 175, 133, 0.35);
        }
        
        .btn-secondary {
            display: inline-block;
            padding: 18px 45px;
            background: transparent;
            color: #2D2D2D;
            text-decoration: none;
            font-weight: 500;
            letter-spacing: 1px;
            transition: all 0.4s ease;
            border: 2px solid #2D2D2D;
            cursor: pointer;
            font-size: 14px;
            text-transform: uppercase;
        }
        
        .btn-secondary:hover {
            background: #2D2D2D;
            color: white;
            transform: translateY(-2px);
        }
        
        /* Cards */
        .property-card {
            background: white;
            overflow: hidden;
            transition: all 0.5s ease;
            cursor: pointer;
            border: 1px solid #E8E3DC;
        }
        
        .property-card:hover {
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            transform: translateY(-8px);
            border-color: #8AAF85;
        }
        
        .property-image {
            width: 100%;
            height: 350px;
            overflow: hidden;
            position: relative;
        }
        
        .property-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        
        .property-card:hover .property-image img {
            transform: scale(1.08);
        }
        
        .property-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background: #8AAF85;
            color: white;
            padding: 8px 20px;
            font-size: 12px;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: 600;
        }
        
        /* Login/Signup Forms */
        .auth-container {
            max-width: 500px;
            margin: 0 auto;
            background: white;
            padding: 60px 50px;
            border: 1px solid #E8E3DC;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        }
        
        .form-input {
            width: 100%;
            padding: 16px 20px;
            border: 2px solid #E8E3DC;
            background: #FAF8F5;
            font-size: 15px;
            transition: all 0.3s;
            font-family: 'Poppins', sans-serif;
        }
        
        .form-input:focus {
            outline: none;
            border-color: #8AAF85;
            background: white;
            box-shadow: 0 0 0 3px rgba(138, 175, 133, 0.1);
        }
        
        /* Filter Section */
        .filter-bar {
            background: white;
            padding: 30px;
            border: 1px solid #E8E3DC;
            margin-bottom: 50px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.04);
        }
        
        .filter-select {
            padding: 12px 16px;
            border: 2px solid #E8E3DC;
            background: #FAF8F5;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Poppins', sans-serif;
        }
        
        .filter-select:focus {
            outline: none;
            border-color: #8AAF85;
        }
        
        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.75);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
            overflow-y: auto;
            padding: 40px 20px;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-content {
            background: white;
            max-width: 1200px;
            width: 100%;
            max-height: 90%;
            overflow-y: auto;
            position: relative;
            animation: modalSlide 0.5s ease;
        }
        
        @keyframes modalSlide {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .close-modal {
            position: absolute;
            top: 30px;
            right: 30px;
            font-size: 36px;
            color: #2D2D2D;
            cursor: pointer;
            width: 55px;
            height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #FAF8F5;
            transition: all 0.3s;
            z-index: 10;
        }
        
        .close-modal:hover {
            transform: rotate(90deg);
            background: #E8E3DC;
        }
        
        /* Fade In Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 1s ease, transform 1s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Toast */
        .toast {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #8AAF85;
            color: white;
            padding: 20px 35px;
            border-radius: 4px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            z-index: 3000;
            animation: toastSlide 0.4s ease;
            font-weight: 500;
        }
        
        @keyframes toastSlide {
            from {
                opacity: 0;
                transform: translateX(100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .hero {
                padding: 120px 0 80px;
            }
            
            .auth-container {
                padding: 40px 30px;
            }
        }
