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

html, body {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #3e3e3e;
    line-height: 1.6;
    background-color: #fafaf8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: #2d5016;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #8b7355;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

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

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

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

a {
    color: #6b8e23;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8b7355;
}

button {
    background-color: #8b7355;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

button:hover {
    background-color: #6b5a44;
}

button:active {
    background-color: #5a4a38;
}

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

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d5016;
    letter-spacing: 0.5px;
}

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

nav a {
    color: #3e3e3e;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #2d5016;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.35rem;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #2d5016;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    nav.mobile-open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(45, 80, 22, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding-top: 80px;
        z-index: 99;
        overflow-y: auto;
    }

    nav.mobile-open a {
        color: white;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1.1rem;
        text-decoration: none;
    }

    nav.mobile-open a:hover {
        background-color: rgba(255,255,255,0.1);
    }
}

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

.hero h1 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #5a5a5a;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 2rem;
    max-height: 400px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Sections */
section {
    padding: 3rem 0;
    animation: slideUp 0.6s ease-out;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #8b7355;
    transition: all 0.3s ease;
}

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

.card h3 {
    color: #2d5016;
    margin-bottom: 1rem;
}

.card p {
    color: #3e3e3e;
    line-height: 1.7;
}

/* About Section */
.about {
    background-color: white;
}

.about p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #3e3e3e;
}

/* Storage Ideas Section */
.storage-ideas {
    background-color: #fafaf8;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #e8dcc8 0%, #f5f1e8 100%);
}

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

.contact-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 3px solid #8b7355;
}

.contact-box h3 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-box p {
    margin-bottom: 0.5rem;
    color: #3e3e3e;
    font-size: 0.95rem;
}

.contact-box a {
    color: #2d5016;
    font-weight: 600;
    word-break: break-word;
}

.contact-box a:hover {
    color: #8b7355;
}

/* Forms */
form {
    max-width: 500px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d5016;
    font-size: 0.95rem;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafaf8;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #8b7355;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

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

.form-group.privacy {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}

.form-group.privacy a {
    color: #2d5016;
    font-weight: 600;
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 600;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    display: block;
    border-left: 4px solid #4caf50;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    display: block;
    border-left: 4px solid #f44336;
}

/* Footer */
footer {
    background-color: #2d5016;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

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

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-column p {
    color: #d4d4d4;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-column a {
    color: #d4d4d4;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-column strong {
    color: white;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: #d4d4d4;
    font-size: 0.9rem;
}

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

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

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    max-width: 350px;
    z-index: 1000;
    display: none;
    border-top: 3px solid #8b7355;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease-out;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: #3e3e3e;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cookie-banner a {
    color: #2d5016;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.cookie-buttons button.reject {
    background-color: #999;
}

.cookie-buttons button.reject:hover {
    background-color: #777;
}

/* Content Pages Styles */
.page-title {
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeIn 0.8s ease-in;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #2d5016;
    font-weight: 600;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.content-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

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

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero {
        padding: 2rem 0;
    }

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

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

    section {
        padding: 2rem 0;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cookie-banner {
        max-width: calc(100vw - 40px);
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    nav.mobile-open {
        padding-top: 60px;
    }

    form {
        padding: 1.5rem;
    }
}

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

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .card {
        padding: 1.5rem;
    }

    .contact-box {
        padding: 1rem;
    }

    form {
        padding: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons button {
        padding: 0.6rem;
    }
}

/* 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; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

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

/* Print Styles */
@media print {
    header,
    footer,
    .cookie-banner,
    .burger-menu {
        display: none;
    }

    body {
        background-color: white;
    }

    section {
        page-break-inside: avoid;
    }

    a {
        color: #2d5016;
    }
}