:root {
    --bois-fonce: #654321;
    --bois-clair: #D4B59C;
    --ecorce: #8B4513;
    --blanc-creme: #FEFBF6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--blanc-creme);
    color: var(--ecorce);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--bois-fonce);
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
}

.logo .by {
    font-weight: 300;
    font-size: 1.5rem;
}

.logo .arno {
    font-weight: 700;
    font-size: 2rem;
}

nav a {
    color: var(--bois-fonce);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--ecorce);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(to bottom, white, var(--blanc-creme));
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* About Section */
.about {
    padding: 4rem 0;
    background-color: white;
    text-align: center;
}

.about h2 {
    margin-bottom: 3rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 2rem;
}

.feature h3 {
    margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--blanc-creme);
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto;
}

.newsletter-form input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--bois-clair);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--bois-fonce);
}

.newsletter-form button {
    width: 100%;
    padding: 1rem;
    background-color: var(--bois-fonce);
    color: var(--blanc-creme);
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--ecorce);
}

.newsletter-form button:disabled {
    background-color: var(--bois-clair);
    cursor: not-allowed;
}

/* Messages */
.success-message,
.error-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    text-align: center;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    text-align: center;
    background-color: white;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact p {
    margin-bottom: 2rem;
}

.contact-email {
    color: var(--bois-fonce);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--ecorce);
}

/* Footer */
.footer {
    background-color: var(--bois-fonce);
    color: var(--blanc-creme);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: var(--blanc-creme);
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--bois-clair);
    text-decoration: none;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--blanc-creme);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--bois-clair);
    color: var(--bois-clair);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }

    nav {
        margin-top: 1rem;
    }

    nav a {
        margin: 0 1rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

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