/* Base Styles */
:root {
    --primary-color: #8D3F2D;
    --secondary-color: #AD6B56;
    --accent-color: #FFA36C;
    --light-accent: #FFE0C2;
    --dark-color: #23231A;
    --light-color: #F9F7F2;
    --gray-color: #707070;
    --light-gray: #E5E5E5;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    --border-radius: 6px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', Arial, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

section {
    padding: 60px 0;
}

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

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

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: #333;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Editor's Word Section */
.editors-word {
    background-color: white;
}

.editor-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.editor-content img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.editor-text {
    flex: 1;
}

.editor-signature {
    font-style: italic;
    margin-top: 20px;
    text-align: right;
    font-weight: 600;
}

/* Featured Posts Section */
.featured-posts {
    background-color: var(--light-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.post-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 10px;
}

.center {
    text-align: center;
    margin-top: 40px;
}

/* Blog Page */
.page-header {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    color: white;
}

.blog-content {
    padding: 60px 0;
}

.full-width {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.post-date {
    display: block;
    color: var(--gray-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Blog Post Page */
.blog-post {
    padding: 60px 0;
}

.post-header {
    margin-bottom: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.post-tags a {
    background-color: var(--light-accent);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--accent-color);
    color: white;
}

.share-post {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-post .icon {
    width: 24px;
    height: 24px;
    fill: var(--gray-color);
    transition: var(--transition);
}

.share-post a:hover .icon {
    fill: var(--primary-color);
}

.post-navigation {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--light-gray);
    padding-top: 20px;
}

.recipe-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin: 30px 0;
}

.recipe-details {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.recipe-info {
    flex: 1;
}

.recipe-ingredients {
    flex: 2;
}

.recipe-instructions h4 {
    margin-bottom: 15px;
}

.recipe-instructions ol {
    padding-left: 20px;
}

.recipe-instructions li {
    margin-bottom: 10px;
}

.related-posts {
    background-color: var(--light-color);
}

/* Comparison Table */
.comparison-table {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.comparison-column {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.comparison-column h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.comparison-column ul {
    padding-left: 20px;
}

.comparison-column li {
    margin-bottom: 8px;
}

/* Info Box */
.info-box {
    background-color: var(--light-accent);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-box ul {
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 8px;
}

/* Herbs Grid */
.herbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.herb-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.herb-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.herb-card p {
    margin-bottom: 8px;
}

/* About Page */
.about-intro {
    margin-bottom: 60px;
}

.about-values {
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
}

.value-icon svg {
    fill: var(--primary-color);
}

.team-section {
    margin-top: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 20px 5px;
}

.team-member p {
    margin: 0 20px 20px;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links .icon {
    width: 20px;
    height: 20px;
    fill: var(--gray-color);
}

.social-links a:hover .icon {
    fill: var(--primary-color);
}

/* Contact Page */
.contact-info-form {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h2, .contact-form h2 {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.info-item h3 {
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.social-contact {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons .icon {
    width: 24px;
    height: 24px;
    fill: var(--gray-color);
    transition: var(--transition);
}

.social-icons a:hover .icon {
    fill: var(--primary-color);
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Spell Check Section */
.spell-check {
    background-color: var(--light-accent);
    text-align: center;
}

.spell-check-form {
    max-width: 800px;
    margin: 30px auto;
}

.spell-check-form textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    margin-bottom: 20px;
}

#spell-check-results {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    display: none;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--light-gray);
}

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

.footer-column address p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-column address i {
    margin-right: 10px;
}

.registration {
    font-style: italic;
    color: var(--light-gray);
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-color);
}

.modal-body {
    padding: 40px;
    text-align: center;
}

.success-icon {
    margin: 0 auto 20px;
    display: block;
}

.close-btn {
    margin-top: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.cookie-more {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .editor-content {
        flex-direction: column;
        text-align: center;
    }
    
    .editor-signature {
        text-align: center;
    }
    
    .recipe-details {
        flex-direction: column;
    }
    
    .comparison-table {
        flex-direction: column;
    }
    
    .contact-info-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-columns {
        flex-direction: column;
    }
    
    .footer-column {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .values-grid, .team-grid, .herbs-grid {
        grid-template-columns: 1fr;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
}
