/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=DM+Serif+Text:ital@0;1&display=swap');

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

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

body {
    font-family: 'Manrope', sans-serif;
    color: #243119;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Text', serif;
    font-style: italic;
    color: #629460;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

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

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 400;
}

/* Links */
a {
    color: #629460;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #96BE8C;
    outline: 2px solid #96BE8C;
    outline-offset: 2px;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

/* Header and Navigation */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(36, 49, 25, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'DM Serif Text', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #629460;
    font-weight: 400;
}

.logo img {
    width: 50px;
    height: 50px;
    vertical-align: middle;
}

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

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    background-color: #96BE8C;
    color: #ffffff;
}

.nav-link.active {
    background-color: #629460;
    color: #ffffff;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #629460;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(98, 148, 96, 0.1) 0%, rgba(150, 190, 140, 0.1) 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #243119;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #629460;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover,
.btn:focus {
    background-color: #96BE8C;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(98, 148, 96, 0.3);
    outline: none;
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #629460;
    color: #ffffff;
}

/* Content Sections */
.content {
    max-width: 800px;
    margin: 0 auto;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Quote Blocks */
.quote-block {
    background-color: #f8faf7;
    border-left: 4px solid #96BE8C;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.quote-block blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #243119;
}

.quote-author {
    font-weight: 600;
    color: #629460;
    font-size: 0.9rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(36, 49, 25, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(36, 49, 25, 0.1);
    border-color: #96BE8C;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background-color: #f8faf7;
    padding: 2rem;
    border-radius: 10px;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #243119;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #96BE8C;
    box-shadow: 0 0 0 3px rgba(150, 190, 140, 0.1);
}

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

/* Footer */
.footer {
    background-color: #243119;
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-content img {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 0.5rem;
}

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

.footer p,
.footer a {
    color: #ffffff;
    font-size: 0.9rem;
}

.footer a:hover,
.footer a:focus {
    color: #96BE8C;
}

.footer-bottom {
    border-top: 1px solid #629460;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #96BE8C;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(36, 49, 25, 0.1);
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Accessibility Features */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus indicators for keyboard navigation */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid #96BE8C;
    outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}