/* ============================================
   EstatePro - Premium Real Estate Website
   Design Philosophy: Elegant, Professional, Accessible
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #1a2332;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 0.8rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.8rem;
    color: #34495e;
}

p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: #d4af37;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

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

.nav-links a {
    color: #ecf0f1;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #d4af37;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d4af37;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #1a2332 100%);
    color: #ecf0f1;
    padding: 6rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h1 {
    color: #ecf0f1;
    margin-bottom: 1rem;
    font-size: 2.8rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #bdc3c7;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #d4af37;
    color: #1a2332;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: #f5d76e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    color: #1a2332;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Article Section */
.article-section {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #ecf0f1;
}

.article-header h1 {
    color: #1a2332;
    margin-bottom: 1rem;
}

.article-meta {
    color: #7f8c8d;
    font-size: 1.1rem;
    font-style: italic;
}

.article-content {
    line-height: 1.9;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.article-content h3 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #34495e;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #d4af37 0%, #f5d76e 100%);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.cta-section h2 {
    color: #1a2332;
    border: none;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-section .cta-button {
    background-color: #1a2332;
    color: #d4af37;
}

.cta-section .cta-button:hover {
    background-color: #2c3e50;
    color: #f5d76e;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: #ecf0f1;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 0.8rem;
}

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

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    color: #95a5a6;
}

/* Page Styles for About, Contact, Privacy */
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: #ecf0f1;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #bdc3c7;
    font-size: 1.1rem;
}

.page-content {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.page-content h2 {
    margin-top: 2rem;
}

.page-content h3 {
    margin-top: 1.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a2332;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.form-group button {
    background-color: #d4af37;
    color: #1a2332;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group button:hover {
    background-color: #f5d76e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .article-section,
    .page-content {
        padding: 2rem;
    }

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

    .container {
        padding: 0 1rem;
    }

    .page-header {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .article-section,
    .page-content {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    p {
        text-align: left;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .cta-section,
    .footer {
        display: none;
    }

    body {
        background-color: white;
    }

    .article-section,
    .page-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
