/* DreamNest Realty - Styles */
:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --secondary: #059669;
    --accent: #D4AF37;
    --bg-ghost: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --radius: 8px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-ghost);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 16px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    color: var(--accent);
    text-decoration: none;
}

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-gold {
    background-color: var(--accent);
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 16px;
}

.search-bar {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: flex-end;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    color: var(--text-main);
}

.search-input-group {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.search-input-group input, .search-input-group select {
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    width: 100%;
}

/* Transparency Section */
.transparency-section { padding: 160px 0 80px; background-color: var(--white); }

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    padding: 40px;
    background: var(--bg-ghost);
    border-radius: var(--radius);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary);
    box-shadow: var(--shadow);
}

.icon-box { font-size: 32px; color: var(--secondary); margin-bottom: 24px; }

/* Listings */
.listings-section { padding: 80px 0; }

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.listing-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.listing-image { position: relative; height: 240px; }

.listing-image img { width: 100%; height: 100%; object-fit: cover; }

.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--white);
}

.badge-gold { background-color: var(--accent); }
.badge-sage { background-color: var(--secondary); }

.transparency-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.listing-info { padding: 24px; }

.listing-info .price { color: var(--accent); font-weight: 700; font-size: 20px; }

.amenities {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #E2E8F0;
    padding-top: 16px;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 16px;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background-color: #F1F5F9;
    text-align: center;
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-style: italic;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; }

/* Toast */
.toast {
    position: fixed;
    bottom: -150px;
    right: 24px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: bottom 0.5s ease;
    border-left: 4px solid var(--accent);
}

.toast.active { bottom: 24px; }

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    color: var(--primary);
}
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    h1 { font-size: 40px; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .search-bar { flex-direction: column; bottom: -180px; }
    .transparency-grid, .listings-grid, .footer-grid { grid-template-columns: 1fr; }
    .transparency-section { padding-top: 220px; }
}