/* style.css */

:root {
    --primary-color: #8B4513; /* SaddleBrown */
    --secondary-color: #F5DEB3; /* Wheat */
    --accent-color: #556B2F; /* DarkOliveGreen */
    --text-color: #333;
    --bg-color: #FDF5E6; /* OldLace */
    --section-bg: #fff;
    --font-main: 'Georgia', serif;
    --font-headers: 'Garamond', serif;
}

[data-theme="dark"] {
    --primary-color: #5D2E0C;
    --secondary-color: #D2B48C;
    --accent-color: #6B8E23;
    --text-color: #E0E0E0;
    --bg-color: #1A1A1A;
    --section-bg: #2D2D2D;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}

header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, color 0.3s;
}

header h1 {
    font-family: var(--font-headers);
    font-size: 3em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background-color: var(--section-bg);
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

section h2 {
    font-family: var(--font-headers);
    font-size: 2em;
    color: var(--accent-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-weight: bold;
    color: var(--accent-color);
}

.form-group input, 
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-main);
    background-color: var(--section-bg);
    color: var(--text-color);
}

.submit-button {
    padding: 1rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    font-family: var(--font-headers);
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: var(--primary-color);
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    margin-top: 2rem;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2.5em;
    }

    section h2 {
        font-size: 1.8em;
    }
}
