:root {
    --navy: #1a2332;
    --charcoal: #2d3748;
    --gold: #d4a574;
    --warm-gold: #c9934a;
    --cream: #f8f6f3;
    --white: #ffffff;
    --light-gray: #e5e5e5;
    --text-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 35, 50, 0.4), rgba(26, 35, 50, 0.6)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%232d3748" width="1200" height="800"/><path fill="%231a2332" opacity="0.3" d="M0 400l50-33.3 50-33.4 50 0 50 16.7 50 50 50 16.6 50-16.6 50-50 50-16.7 50 0 50 33.4 50 33.3 50 0 50-33.3 50-33.4 50 0 50 16.7 50 50 50 16.6 50-16.6 50-50 50-16.7 50 0 50 33.4L1200 400v400H0z"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.25rem;
    color: var(--cream);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--warm-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.secondary-button {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    margin-left: 1rem;
}

.secondary-button:hover {
    background: var(--gold);
    color: var(--navy);
}

/* About Section */
.about-section {
    background: var(--cream);
    padding: 8rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.about-image {
    position: relative;
    animation: fadeInLeft 1s ease-out;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 20px 20px 0 var(--gold);
}

.about-content {
    animation: fadeInRight 1s ease-out;
}

.section-label {
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content h2 {
    font-size: 3.5rem;
    color: var(--navy);
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    background: var(--white);
    padding: 8rem 2rem;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.services-intro h2 {
    font-size: 4rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.services-intro .subtitle {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-style: italic;
}

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

.service-card {
    background: var(--cream);
    padding: 3rem 2.5rem;
    border-radius: 2px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--charcoal);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Home Valuation Tool Section */
.valuation-section {
    background: var(--navy);
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.valuation-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.valuation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.valuation-content h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.valuation-content p {
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.valuation-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 2px;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

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

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    color: var(--white);
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Contact Section */
.contact-section {
    background: var(--cream);
    padding: 8rem 2rem;
}

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

.contact-info h2 {
    font-size: 3.5rem;
    color: var(--navy);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2.5rem;
}

.contact-item h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
    font-size: 1.1rem;
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* Contact form inputs: dark text on light background (opposite of valuation form) */
.contact-form .form-group input,
.contact-form .form-group textarea {
    color: var(--text-dark);
    background: var(--white);
    border-color: rgba(212, 165, 116, 0.4);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    background: var(--white);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--cream);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--cream);
    line-height: 1.8;
}

.footer-links h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(248, 246, 243, 0.6);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        box-shadow: 10px 10px 0 var(--gold);
    }
}
