/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: #8b6914;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b8860b;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-hero,
.btn-cookie {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background-color: #8b6914;
    color: white;
}

.btn-primary:hover {
    background-color: #b8860b;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #8b6914;
    border: 2px solid #8b6914;
}

.btn-secondary:hover {
    background-color: #8b6914;
    color: white;
}

.btn-hero {
    background-color: rgba(139, 105, 20, 0.9);
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-hero:hover {
    background-color: rgba(184, 134, 11, 0.9);
    color: white;
}

.btn-tertiary {
    background-color: #6c757d;
    color: white;
}

.btn-tertiary:hover {
    background-color: #5a6268;
}

/* Cookie Banner and Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
     color: white;
}


.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 20px;
}

.cookie-option label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.cookie-option input {
    margin-right: 8px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8b6914;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #8b6914;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-icon {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #8b6914;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.stat h4 {
    font-size: 2.5rem;
    color: #8b6914;
    margin-bottom: 10px;
}

.stat p {
    font-weight: 500;
    color: #666;
}

/* Services Section */
.services {
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #8b6914;
}

/* Properties Section */
.properties {
    background-color: white;
}

.properties-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.property-highlight {
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.property-highlight h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #8b6914;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.property-features span {
    background-color: #8b6914;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background-color: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author h4 {
    color: #8b6914;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #8b6914;
}

.read-more {
    color: #8b6914;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.read-more:hover {
    border-bottom: 1px solid #8b6914;
}

.blog-link {
    text-align: center;
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    color: #8b6914;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #8b6914;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.social-links a:hover {
    border-bottom: 1px solid #8b6914;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 30px;
    color: #8b6914;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #8b6914;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #8b6914;
    margin-bottom: 20px;
}

.footer-section p {
    color: white;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8b6914;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #bbb;
}

.footer-bottom p {
    color: white;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    background-color: white;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #8b6914;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}

.legal-content h2 {
    color: #8b6914;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 8px;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    background-color: white;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    height: 80px;
    width: auto;
    margin-bottom: 30px;
}

.thank-you-content h1 {
    color: #8b6914;
    margin-bottom: 20px;
}

.thank-you-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Blog Pages */
.blog-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.blog-articles {
    padding: 80px 0;
    background-color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.article-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.article-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.article-card.featured .article-image {
    height: 100%;
}

.article-content {
    padding: 30px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.article-category {
    color: #8b6914;
    font-weight: 500;
}

.article-content h2 {
    margin-bottom: 15px;
}

.article-content h2 a {
    color: #2c3e50;
    text-decoration: none;
}

.article-content h2 a:hover {
    color: #8b6914;
}

/* Newsletter Signup */
.newsletter-signup {
    padding: 60px 0;
    background-color: #8b6914;
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #34495e;
}

/* Article Page */
.article-page {
    padding: 120px 0 80px;
    background-color: white;
}

.article-header {
    text-align: center;
    margin-bottom: 60px;
}

.article-hero-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.read-time {
    color: #8b6914;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto 60px;
}

.article-content h2 {
    color: #8b6914;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content h3 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-cta {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.article-cta h3 {
    color: #8b6914;
    margin-bottom: 15px;
}

.article-navigation {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.nav-back,
.nav-next a {
    color: #8b6914;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-back:hover,
.nav-next a:hover {
    color: #b8860b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .properties-showcase {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .article-card.featured {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .contact-form {
        padding: 30px;
    }
    
    .modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

/* Animation and Transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.testimonial-card,
.blog-card,
.article-card {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 60px 0;
    }
    
    section {
        padding: 40px 0;
    }
}
