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

:root {
    --primary-dark: #1A2E44;
    --accent-gold: #E0B34C;
    --neutral-gray: #A9A9A9;
    --accent-green: #B8D4BB;
    --text-dark: #1A2E44;
    --text-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --bg-light: #F9F9F9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', 'Open Sans', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif', 'Georgia', serif;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-balance: true;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-pretty: true;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
}

p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    max-width: 750px;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

li {
    margin-bottom: 0.75rem;
}

/* Header and Navigation */
.header {
    background-color: var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar {
    background-color: var(--primary-dark);
    padding: 1.5rem 2rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Noto Serif', serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-gold);
    text-decoration: none;
}

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

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

/* Main Content */
main {
    max-width: 1440px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 2rem;
    background-color: var(--bg-light);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--neutral-gray);
    max-width: none;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* Sections */
.section {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-content {
    display: flex;
    flex-direction: column;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: scale(1.02);
}

.section h2 {
    margin-top: 0;
}

.section h3 {
    color: var(--accent-gold);
    margin-top: 1.5rem;
}

.section-cta {
    text-align: center;
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
}

.section-cta .section-content {
    align-items: center;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border: 2px solid var(--accent-gold);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224,179,76,0.3);
}

/* Forms */
.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 4px;
    margin-top: 2rem;
    border-left: 4px solid var(--accent-gold);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--neutral-gray);
    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: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(224,179,76,0.1);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

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

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.blog-card h3 a {
    color: var(--primary-dark);
}

.blog-card h3 a:hover {
    color: var(--accent-gold);
}

.blog-card p {
    flex-grow: 1;
}

.blog-link {
    color: var(--accent-gold);
    font-weight: 600;
    margin-top: 1rem;
}

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

/* Limitations Section */
.limitations-section {
    background-color: #F0EAE0;
    border-left: 4px solid var(--accent-gold);
}

.limitations-section h2 {
    color: var(--primary-dark);
}

.limitations-section p {
    color: var(--text-dark);
}

.limitations-section ul {
    margin-left: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: none;
}

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

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

.footer-section a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
    text-decoration: none;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-gray);
    text-align: center;
    color: var(--neutral-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero,
    .section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

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

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

    .section-cta {
        text-align: center;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    .navbar {
        padding: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero,
    .section {
        padding: 1.5rem 1rem;
    }

    p {
        font-size: 0.95rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .blog-card-image {
        height: 200px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-button,
    .nav-menu {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    a {
        color: black;
    }
}
