/* 
   Theme: Solid Real Estate (Burgundy & Grey)
   Font: Playfair Display (Headings), Lato (Body)
*/

:root {
    --primary-color: #800020; /* Burgundy Red */
    --primary-dark: #5a0016;
    --secondary-color: #4a4a4a; /* Dark Grey */
    --text-color: #333333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.max-w-800 {
    max-width: 800px;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-white-50 { color: rgba(255,255,255,0.7) !important; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.mt-40 { margin-top: 40px; }

.bg-light { background-color: var(--light-bg); }
.bg-burgundy { background-color: var(--primary-color); }
.bg-dark { background-color: var(--secondary-color); }

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.about-text .section-title::after {
    margin: 10px 0 0;
}

.section-desc {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 2px; /* Sharp corners for solid look */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
}

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

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 2px;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 80px; /* Header height */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

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

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.highlight {
    color: #e0e0e0; /* Softer white for contrast */
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-weight: 700;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--primary-color);
}

.floating-card .icon {
    font-size: 2rem;
}

.floating-card .text {
    display: flex;
    flex-direction: column;
}

/* Services Section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

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

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* References Section */
.ref-card {
    background-color: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.ref-card:hover {
    background-color: rgba(255,255,255,0.2);
}

.ref-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.ref-card h4 {
    color: var(--white);
    font-size: 1.3rem;
}

.ref-card p {
    color: rgba(255,255,255,0.8);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--light-bg);
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 0;
}

.testimonial-item p {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 20px;
}

.stars {
    color: #f1c40f; /* Gold */
    margin-bottom: 15px;
}

.author {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

/* FAQ Accordion */
.accordion {
    margin-top: 40px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary-color);
    background-color: var(--light-bg);
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.accordion-content p {
    padding-bottom: 20px;
}

/* Contact Section */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-info {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #1a1a1a; /* Very dark grey */
    color: #ccc;
    padding: 60px 0 20px;
}

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

.footer-logo-img {
    height: 60px;
    margin-bottom: 20px;
    /* IMPORTANT: No filter invert here to keep original colors */
    background-color: var(--white); /* White background for logo visibility */
    padding: 10px;
    border-radius: 4px;
}

.footer h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links-inline {
    display: flex;
    gap: 20px;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 20px 0;
    z-index: 2000;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Page Content (Legal Pages) */
.page-content h1 {
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.page-content h3 {
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .grid-2, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.3s;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
