/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #fefce8;
    --cream-100: #fef9c3;
    --cream-200: #fef08a;
    --cream-300: #fde047;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--stone-800);
    background-color: var(--cream-50);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    color: var(--stone-900);
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-primary {
    background-color: var(--emerald-700);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--stone-800);
    border: 2px solid var(--stone-300);
}

.btn-secondary:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-700);
}

.btn-outline {
    background-color: transparent;
    color: var(--emerald-700);
    border: 2px solid var(--emerald-700);
}

.btn-outline:hover {
    background-color: var(--emerald-700);
    color: #fff;
}

.btn-full {
    width: 100%;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--cream-200);
    color: var(--emerald-800);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 252, 232, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--stone-200);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--emerald-800);
}

.logo svg {
    color: var(--emerald-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--stone-700);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--emerald-700);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--stone-800);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream-50);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--stone-200);
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-weight: 500;
    color: var(--stone-800);
    padding: 12px 0;
    border-bottom: 1px solid var(--stone-200);
}

/* Hero */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    color: var(--stone-900);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--stone-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-700);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--stone-600);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--stone-300);
}

.hero-visual {
    position: relative;
}

.hero-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    color: var(--stone-800);
}

.hero-card svg {
    color: var(--emerald-600);
}

.card-1 {
    bottom: 40px;
    left: -30px;
}

.card-2 {
    top: 40px;
    right: -20px;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--stone-600);
    font-size: 1.05rem;
}

/* Services */
.services {
    padding: 100px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    padding: 40px 32px;
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100, #d1fae5);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--stone-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--emerald-700);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.link-arrow:hover {
    gap: 10px;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--cream-50);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    background: var(--emerald-700);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    gap: 4px;
}

.about-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 24px;
}

.about-content p {
    color: var(--stone-600);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--stone-800);
}

.feature svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* Listings */
.listings {
    padding: 100px 0;
    background: #fff;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.listing-card {
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.listing-image {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
}

.listing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--emerald-700);
    color: #fff;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
}

.listing-info {
    padding: 24px;
}

.listing-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.listing-address {
    color: var(--stone-600);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.listing-details {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--stone-700);
}

.listings-cta {
    text-align: center;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--emerald-900);
    color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact .badge {
    background: rgba(255,255,255,0.15);
    color: var(--cream-200);
}

.contact-info h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 20px;
}

.contact-info > p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-item svg {
    color: var(--emerald-400, #34d399);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
}

.contact-item p {
    color: rgba(255,255,255,0.75);
    margin: 0;
}

.contact-item a {
    color: rgba(255,255,255,0.75);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #fff;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--stone-800);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--stone-200);
    border-radius: var(--radius-md);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: var(--stone-800);
    transition: border-color 0.3s ease;
    background: var(--stone-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-600);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-300);
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--cream-100, #fef9c3);
    border-radius: var(--radius-md);
    color: var(--emerald-800);
    font-weight: 500;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--stone-900);
    color: rgba(255,255,255,0.7);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual {
        max-width: 500px;
    }
    
    .services-grid,
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .card-1, .card-2 {
        display: none;
    }
    
    .services-grid,
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper img {
        height: 400px;
    }
    
    .about-badge {
        bottom: -10px;
        right: 10px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Scroll animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: ensure content is visible even without JS */
.reveal {
    opacity: 1;
    transform: none;
}
