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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2d3c2d;
    background-color: #fafaf7;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', Georgia, serif;
    color: #1a4d1a;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: #2d5a2d;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a4d1a;
    text-decoration: underline;
}

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

/* Header & Navigation */
header {
    background-color: #f5f3f0;
    border-bottom: 1px solid #e8e4df;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a4d1a;
    text-decoration: none;
}

.logo:hover {
    color: #2d5a2d;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.95rem;
    color: #2d3c2d;
    font-weight: 500;
}

nav a:hover {
    color: #1a4d1a;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a4d1a;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8f3e8 0%, #f0e8e0 100%);
    padding: 6rem 0;
    text-align: center;
    animation: fadeIn 0.8s ease-in;
}

.hero h1 {
    color: #1a4d1a;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #2d5a2d;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-subtitle-alt {
    font-size: 1.1rem;
    color: #3a3a3a;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #2d5a2d;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #1a4d1a;
    text-decoration: none;
}

/* Sections */
section {
    padding: 4rem 0;
    border-bottom: 1px solid #e8e4df;
}

section:last-of-type {
    border-bottom: none;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-top: 0;
}

.section-subtitle {
    color: #5a5a5a;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3a3a3a;
}

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

.card {
    background: white;
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid #e8e4df;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card h3 {
    color: #1a4d1a;
    margin-top: 0;
}

.card p {
    color: #5a5a5a;
    margin-bottom: 0;
}

/* Tools Section */
.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tool-item {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #2d5a2d;
}

.tool-item h3 {
    margin-top: 0;
}

.tool-item p {
    color: #5a5a5a;
    margin-bottom: 0;
}

/* Content Sections */
.content-section {
    background: white;
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid #e8e4df;
    margin-bottom: 2rem;
}

.content-section h3 {
    color: #1a4d1a;
    margin-top: 0;
}

.content-list {
    list-style: none;
    margin: 1.5rem 0;
}

.content-list li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #3a3a3a;
}

.content-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2d5a2d;
    font-weight: bold;
}

/* Contact Form */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a4d1a;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d0ccc7;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: #2d3c2d;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2d5a2d;
    box-shadow: 0 0 0 3px rgba(45, 90, 45, 0.1);
}

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

.form-submit {
    background-color: #2d5a2d;
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #1a4d1a;
}

.form-submit:active {
    transform: scale(0.98);
}

.privacy-notice {
    font-size: 0.9rem;
    color: #5a5a5a;
    margin-top: 1rem;
}

.privacy-notice a {
    color: #2d5a2d;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid #e8e4df;
    margin-top: 2rem;
    text-align: center;
}

.contact-info h3 {
    margin-top: 0;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-detail {
    font-weight: 600;
    color: #1a4d1a;
}

.contact-info a {
    color: #2d5a2d;
}

/* Footer */
footer {
    background-color: #2d3c2d;
    color: #e8e4df;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

footer h4 {
    font-family: 'Merriweather', Georgia, serif;
    color: #f5f3f0;
    font-size: 1rem;
    margin-bottom: 1rem;
}

footer p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

footer a {
    color: #d0ccc7;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: #f5f3f0;
}

.footer-bottom {
    border-top: 1px solid #4a4a4a;
    padding-top: 1.5rem;
    text-align: center;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #a0a0a0;
    display: inline;
    margin: 0 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

/* Mobile Navigation */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
}

.nav-overlay.active {
    display: block;
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80%;
    max-width: 300px;
    background: #f5f3f0;
    padding: 2rem 1.5rem;
    z-index: 160;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-menu a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e8e4df;
    color: #2d3c2d;
    font-weight: 500;
}

.nav-menu a:last-child {
    border-bottom: none;
}

.nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a4d1a;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.95rem;
    color: #5a5a5a;
    border-bottom: 1px solid #e8e4df;
}

.breadcrumb a {
    color: #2d5a2d;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border: 1px solid #e8e4df;
    border-radius: 6px;
    overflow: hidden;
}

thead {
    background-color: #f0e8e0;
    border-bottom: 2px solid #e8e4df;
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #1a4d1a;
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e8e4df;
    color: #3a3a3a;
}

tr:hover {
    background-color: #fafaf7;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.image-container {
    margin: 2rem 0;
    text-align: center;
}

.image-caption {
    font-size: 0.9rem;
    color: #5a5a5a;
    margin-top: 0.5rem;
    font-style: italic;
}

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

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    nav {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 2.5rem 0;
    }

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

    .tools-list {
        grid-template-columns: 1fr;
    }

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

    .contact-info {
        text-align: left;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 0.75rem 0.5rem;
    }
}

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

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

    h2 {
        font-size: 1.25rem;
    }

    .hero {
        padding: 2rem 0;
    }

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

    section {
        padding: 2rem 0;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .tool-item {
        padding: 1.25rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    input, textarea, select {
        padding: 0.65rem;
        font-size: 16px;
    }

    footer {
        padding: 2rem 0 1rem;
    }

    footer h4 {
        margin-bottom: 0.75rem;
    }

    footer p {
        margin-bottom: 0.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}