/* Base Styles */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffa726;
    --dark-color: #2d3436;
    --light-color: #f9f9f9;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --success-color: #66bb6a;
    --error-color: #f44336;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 6px;
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

a:hover {
    color: #e84545;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

.btn:hover {
    background-color: #e84545;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

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

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

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

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

.hero .container {
    max-width: 800px;
}

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

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

/* Intro Section */
.intro {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.intro h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.story-block {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.story-block:before {
    content: """;
    font-size: 6rem;
    position: absolute;
    top: -1rem;
    left: 1rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.view-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    font-style: italic;
    color: #666;
}

.view-counter svg {
    margin-right: 0.5rem;
}

/* Featured Posts Section */
.featured-posts {
    padding: 5rem 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.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 15px 30px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 220px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    color: #666;
    margin-bottom: 1.25rem;
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more:after {
    content: '→';
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.read-more:hover:after {
    transform: translateX(4px);
}

.cta-button {
    text-align: center;
}

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

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter button {
    background-color: var(--dark-color);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter button:hover {
    background-color: #1a1a1a;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 1rem;
}

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

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #ccc;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #ccc;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #ccc;
}

.footer-contact svg {
    margin-right: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: white;
    padding: 1rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}

.btn-accept {
    background-color: var(--success-color);
    color: white;
}

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

.btn-reject {
    background-color: transparent;
    color: white;
    border: 1px solid white !important;
}

.cookie-more {
    font-size: 0.9rem;
    color: #ccc;
}

.cookie-more a {
    color: white;
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.25rem;
    margin: 0;
}

/* Blog Posts Page */
.blog-posts {
    padding: 4rem 0;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.post-meta .date:before {
    content: '📅';
    margin-right: 0.25rem;
}

.post-meta .category:before {
    content: '🏷️';
    margin-right: 0.25rem;
}

/* About Page */
.about-intro {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.team-section {
    background-color: var(--light-color);
    padding: 4rem 0;
}

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

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.team-member h3 {
    margin: 1rem 0 0.25rem;
}

.team-member p {
    margin: 0 0 0.5rem;
    color: #666;
    padding: 0 1rem;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.values-section {
    padding: 4rem 0;
}

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

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

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
}

.testimonials {
    background-color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin: 2rem 0;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 2rem;
}

.testimonial-content p:before,
.testimonial-content p:after {
    content: '"';
    font-size: 3rem;
    position: absolute;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-content p:before {
    top: -1.5rem;
    left: 0;
}

.testimonial-content p:after {
    bottom: -2.5rem;
    right: 0;
}

.testimonial-author {
    margin-top: 1.5rem;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    margin-right: 1.5rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-content h3 {
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #666;
    margin-bottom: 0.25rem;
}

.social-section h3 {
    margin-bottom: 1rem;
}

.contact-form h2 {
    margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
}

.map-section {
    padding: 2rem 0 5rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thank You Modal */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-icon {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.close-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-top: 1.5rem;
}

/* Blog Post Content Page */
.post-content {
    padding: 4rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-header .post-meta {
    justify-content: center;
}

.post-meta .author:before {
    content: '👤';
    margin-right: 0.25rem;
}

.featured-image {
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 500px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-body h2 {
    margin-top: 2rem;
    margin-bottom: 1.25rem;
}

.post-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.post-body ul, 
.post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-body ul li, 
.post-body ol li {
    margin-bottom: 0.5rem;
}

.post-body ul {
    list-style-type: disc;
}

.post-body ol {
    list-style-type: decimal;
}

.image-with-caption {
    margin: 2rem 0;
}

.image-with-caption img {
    width: 100%;
    border-radius: var(--border-radius);
}

.caption {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

.tip-box, 
.technique-box, 
.chef-note {
    background-color: var(--light-color);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.tip-box h3, 
.technique-box h3, 
.chef-note h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.recipe {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.recipe h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

.recipe h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.recipe ul, 
.recipe ol {
    padding-left: 1.5rem;
}

.recipe-snapshot {
    background-color: var(--light-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
}

.recipe-snapshot h4 {
    margin-top: 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.post-tags span {
    margin-right: 1rem;
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    background-color: var(--light-color);
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

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

.author-box {
    display: flex;
    margin: 3rem 0;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 2rem;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio h3 {
    margin-top: 0;
    font-size: 1rem;
    color: #666;
}

.author-bio h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.share-post {
    margin-bottom: 3rem;
    text-align: center;
}

.share-post h3 {
    margin-bottom: 1.5rem;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-share a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 30px;
    transition: var(--transition);
    color: white;
}

.social-share a.facebook {
    background-color: #3b5998;
}

.social-share a.twitter {
    background-color: #1da1f2;
}

.social-share a.pinterest {
    background-color: #bd081c;
}

.social-share a.email {
    background-color: #666;
}

.social-share a svg {
    margin-right: 0.5rem;
}

.social-share a:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-posts .post-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* Specific styles for certain post content elements */
.satisfaction-factors,
.pasta-pairings,
.mushroom-techniques,
.cuisine-spotlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.factor, 
.pairing, 
.technique, 
.cuisine-spotlight {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.factor h3, 
.pairing h3, 
.technique h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.dessert-spotlight {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.dessert-spotlight h3 {
    color: var(--primary-color);
}

.sauce-breakdown {
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

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

.technique-tips {
    background-color: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.technique-tips h4 {
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 1rem 0.5rem;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .related-posts .post-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        height: 350px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-share {
        flex-wrap: wrap;
    }
}
