/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #555;
    background-color: #fdfdfd; /* Very light cream */
}

h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    color: #333;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
    color: #5a3e36; /* Muted brown */
}

h2 {
    font-size: 2rem;
    color: #7a5c53; /* Slightly lighter brown */
}

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: #a0522d; /* Sienna */
    transition: color 0.3s ease;
}

a:hover {
    color: #8b4513; /* SaddleBrown */
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
header {
    background-color: #fffaf7; /* Very pale orange */
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #5a3e36;
    display: inline-block;
    margin-bottom: 0.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

nav ul li a {
    font-weight: 500;
    padding: 0.5rem 0;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: #555;
    padding: 12px 16px;
    display: block;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

footer {
    background-color: #5a3e36;
    color: #fff;
    text-align: center;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

footer a {
    color: #f0e6d2; /* Wheat */
}

footer a:hover {
    color: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0e6d2 0%, #e6ccb2 100%); /* Soft wheat to tan gradient */
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: 2.8rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #a0522d;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #8b4513;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

/* Features Section */
.features {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Content Sections */
.content-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.content-section h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Blog Posts */
.blog-post {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.blog-post:last-child {
    border-bottom: none;
}

.post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: #c00;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #a0522d;
}

.contact-form button {
    background-color: #a0522d;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #8b4513;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: #333;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: #a0522d;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #a0522d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 1rem;
    transition: background-color 0.3s ease;
}

.cookie-banner button:hover {
    background-color: #8b4513;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    main {
        padding: 1rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-banner button {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    nav ul {
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* css/style.css */
/* ... (предыдущие стили) ... */

/* Cookie Banner - Обновленные/уточненные стили */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: #333;
    padding: 1rem 2rem;
    display: flex; /* Изначально flex */
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    /* Инициализируем скрытое состояние */
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
    /* Инициально скрыт, будет показан JS */
    display: none;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: #a0522d;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #a0522d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 1rem; /* Для десктопа */
    transition: background-color 0.3s ease;
    flex-shrink: 0; /* Предотвращает сжатие кнопки */
}

.cookie-banner button:hover {
    background-color: #8b4513;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #777;
}

.breadcrumbs a {
    color: #a0522d;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 0.5rem;
    color: #ccc;
}

/* ... (остальные стили) ... */

/* Responsive Design - Cookie Banner */
@media (max-width: 768px) {
    /* ... (другие стили адаптации) ... */
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }

    .cookie-banner p {
        margin-bottom: 0.5rem;
    }

    .cookie-banner button {
        margin-left: 0; /* Убираем отступ слева на мобильных */
        margin-top: 0.5rem; /* Добавляем отступ сверху */
        width: auto; /* Ширина по содержимому или заданная */
    }
}
/* ... (остальные медиа-запросы) ... */


/* Image Gallery */
.image-gallery {
    padding: 3rem 1rem;
    text-align: center;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.gallery-grid img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.faq-section {
    padding: 3rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}
.faq-section details {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 1rem;
    background-color: #f9f9f9;
    cursor: pointer;
}
.faq-section summary {
    font-weight: bold;
    cursor: pointer;
}
.faq-section summary:hover {
    color: #b07c5e;
}

/* Seasonal Color Cards */
.seasonal-colors {
    padding: 3rem 1rem;
    background-color: #fff;
    text-align: center;
}
.season-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.season-card {
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.season-card:hover {
    transform: translateY(-5px);
}
