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

:root {
    --burgundy: #722F37;
    --burgundy-dark: #5A252C;
    --burgundy-light: #8B3A42;
    --blush: #F4E4E1;
    --blush-light: #FAF5F4;
    --blush-dark: #E8D4CF;
    --cream: #FDFCFA;
    --charcoal: #2C2C2C;
    --gray: #6B6B6B;
    --gray-light: #9A9A9A;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--burgundy);
    color: var(--white);
    border: 1.5px solid var(--burgundy);
}

.btn-primary:hover {
    background-color: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(114, 47, 55, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--burgundy);
    border: 1.5px solid var(--burgundy);
}

.btn-outline:hover {
    background-color: var(--burgundy);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.nav.scrolled {
    background-color: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(114, 47, 55, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
    transition: var(--transition);
}

.nav.scrolled .nav-logo {
    color: var(--charcoal);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--blush);
}

.nav.scrolled .logo-icon {
    color: var(--burgundy);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

.nav.scrolled .nav-link {
    color: var(--charcoal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--burgundy);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--white);
}

.nav.scrolled .nav-link:hover {
    color: var(--burgundy);
}

.nav-cta {
    padding: 0.625rem 1.5rem;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

.nav.scrolled .nav-cta {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.nav-cta:hover {
    background-color: var(--white);
    color: var(--burgundy) !important;
    border-color: var(--white);
}

.nav.scrolled .nav-cta:hover {
    background-color: var(--burgundy);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background-color: var(--white);
    transition: var(--transition);
}

.nav.scrolled .nav-toggle span {
    background-color: var(--charcoal);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--burgundy) 0%, 
        var(--burgundy-light) 35%, 
        var(--blush) 65%, 
        var(--blush-light) 100%);
    z-index: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, 
        rgba(114, 47, 55, 0.3) 0%, 
        transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-greeting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.greeting-line {
    width: 40px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.greeting-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.headline-accent {
    font-style: italic;
    font-weight: 300;
    display: block;
    font-size: 0.85em;
    margin-top: 0.5rem;
}

.hero-subtext {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* Section Spacing */
.section {
    padding: 7rem 0;
}

/* About Section */
.about {
    background-color: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--blush-dark);
    border-radius: 4px;
    z-index: -1;
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--blush-dark);
}

.stat {
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray);
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    background-color: var(--blush-dark);
    align-self: stretch;
}

/* Services Section */
.services {
    background-color: var(--blush-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid var(--blush);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(114, 47, 55, 0.08);
    border-color: var(--burgundy);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--blush-dark);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    color: var(--burgundy);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.service-text {
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Listings Section */
.listings {
    background-color: var(--cream);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.listing-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--blush);
    transition: var(--transition);
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(114, 47, 55, 0.1);
}

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

.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: 1rem;
    left: 1rem;
    padding: 0.375rem 0.875rem;
    background-color: var(--burgundy);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.listing-info {
    padding: 1.5rem;
}

.listing-address {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.listing-details {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.listing-price {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--burgundy);
    margin-bottom: 1.25rem;
}

.listings-cta {
    text-align: center;
    padding: 3rem;
    background-color: var(--blush-light);
    border-radius: 4px;
}

.listings-cta p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--blush-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--blush);
}

.testimonial-quote {
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--charcoal);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background-color: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-text {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--blush-dark);
    border-radius: 4px;
    color: var(--burgundy);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    color: var(--charcoal);
}

.contact-value:hover {
    color: var(--burgundy);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid var(--blush);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background-color: var(--cream);
    border: 1px solid var(--blush-dark);
    border-radius: 4px;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--burgundy);
    background-color: var(--white);
}

.form-input::placeholder {
    color: var(--gray-light);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--burgundy);
    border-radius: 50%;
    color: var(--burgundy);
}

.form-success h3 {
    font-size: 1.75rem;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--gray);
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
    color: var(--white);
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        gap: 3rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--charcoal);
        font-size: 1.1rem;
    }
    
    .nav-menu .nav-link:hover {
        color: var(--burgundy);
    }
    
    .nav-menu .nav-cta {
        border-color: var(--burgundy);
        color: var(--burgundy);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 6rem 1.5rem 4rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-stats {
        flex-wrap: wrap;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .section {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}
