/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Traditional Polish colors with hand-drawn feel */
    --primary-color: #d2691e;
    --secondary-color: #8b4513;
    --accent-color: #ff6b35;
    --background-color: #faf8f1;
    --text-color: #2c1810;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #e0d0c0;
    --shadow-color: rgba(139, 69, 19, 0.1);
    --success-color: #4caf50;
    --error-color: #f44336;
    
    /* Hand-drawn style variables */
    --hand-drawn-border: 2px solid var(--primary-color);
    --hand-drawn-shadow: 0 4px 8px var(--shadow-color);
    --hand-drawn-radius: 8px;
}

body {
    font-family: 'Kalam', cursive;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Caveat', cursive;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

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

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

/* Button styles with hand-drawn feel */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--hand-drawn-radius);
    font-family: 'Kalam', cursive;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--hand-drawn-shadow);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: var(--hand-drawn-border);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: var(--light-gray);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-tertiary:hover {
    background-color: var(--border-color);
    transform: translateY(-1px);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--background-color) 0%, #f0e9d8 100%);
    padding: 150px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.9;
}

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

.hero-image {
    animation: fadeInRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
}

/* Section styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* About section */
.about-section {
    background-color: var(--white);
}

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

.about-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
    text-align: center;
    transition: transform 0.3s ease;
    border: var(--hand-drawn-border);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.card-icon {
    margin-bottom: 1rem;
}

.card-icon img {
    width: 80px;
    height: 80px;
}

/* Services section */
.services {
    background-color: var(--background-color);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-icon img {
    width: 100px;
    height: 100px;
}

/* Recipes section */
.recipes {
    background-color: var(--white);
}

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

.recipe-card {
    background-color: var(--background-color);
    border-radius: var(--hand-drawn-radius);
    overflow: hidden;
    box-shadow: var(--hand-drawn-shadow);
    transition: transform 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.recipe-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.recipe-content {
    padding: 1.5rem;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Blog section */
.blog-section {
    background-color: var(--background-color);
}

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

.blog-card {
    background-color: var(--white);
    border-radius: var(--hand-drawn-radius);
    overflow: hidden;
    box-shadow: var(--hand-drawn-shadow);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-date,
.blog-category {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.blog-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    opacity: 1;
}

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

.blog-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Testimonials section */
.testimonials {
    background-color: var(--white);
}

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

.testimonial-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
    text-align: center;
    border: var(--hand-drawn-border);
}

.testimonial-icon {
    margin-bottom: 1rem;
}

.testimonial-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-color);
    opacity: 0.7;
}

/* Newsletter section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

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

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input {
    padding: 12px;
    border: none;
    border-radius: var(--hand-drawn-radius);
    font-family: 'Kalam', cursive;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--text-color);
    box-shadow: var(--hand-drawn-shadow);
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

/* Contact section */
.contact {
    background-color: var(--background-color);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 40px 0 20px;
}

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

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-color);
    color: var(--white);
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

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

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: var(--hand-drawn-radius);
    font-family: 'Kalam', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Article pages */
.article-page {
    padding: 120px 0 80px;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-date,
.article-category,
.article-read-time {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.article-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    opacity: 1;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.article-image {
    margin-bottom: 2rem;
}

.article-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
}

.article-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.article-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.article-text blockquote {
    background-color: var(--background-color);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: var(--hand-drawn-radius);
}

.article-text ul,
.article-text ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.article-text li {
    margin-bottom: 0.5rem;
}

.article-sidebar {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.author-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    margin: 0;
}

.article-share {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-share h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn.facebook {
    background-color: #1877f2;
}

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

.share-btn.linkedin {
    background-color: #0a66c2;
}

.share-btn:hover {
    transform: scale(1.1);
}

.related-articles h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.related-item:hover {
    color: var(--primary-color);
}

.related-item img {
    width: 60px;
    height: 60px;
    border-radius: var(--hand-drawn-radius);
    object-fit: cover;
}

.related-item span {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* About page specific */
.about-hero {
    background: linear-gradient(135deg, var(--background-color) 0%, #f0e9d8 100%);
    padding: 150px 0 80px;
    text-align: center;
}

.about-hero-content {
    margin-bottom: 3rem;
}

.about-hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
}

.company-story {
    background-color: var(--white);
    padding: 80px 0;
}

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

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
}

.mission-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

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

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

.mission-icon {
    margin-bottom: 1rem;
}

.mission-icon img {
    width: 80px;
    height: 80px;
}

.team-section {
    background-color: var(--white);
    padding: 80px 0;
}

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

.team-member {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
    text-align: center;
}

.member-image {
    margin-bottom: 1rem;
}

.member-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.values-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

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

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

.value-icon {
    margin-bottom: 1rem;
}

.value-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.contact-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

/* Thank you page */
.thank-you-section {
    background: linear-gradient(135deg, var(--background-color) 0%, #f0e9d8 100%);
    padding: 150px 0 80px;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    opacity: 0.9;
}

.thank-you-details {
    margin-bottom: 3rem;
}

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

.step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
    text-align: center;
}

.step-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.bonus-section {
    background-color: var(--white);
    padding: 80px 0;
}

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

.bonus-item {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
    text-align: center;
}

.bonus-icon {
    margin-bottom: 1rem;
}

.bonus-icon img {
    width: 80px;
    height: 80px;
}

/* Blog page */
.blog-hero {
    background: linear-gradient(135deg, var(--background-color) 0%, #f0e9d8 100%);
    padding: 150px 0 80px;
    text-align: center;
}

.blog-posts {
    background-color: var(--white);
    padding: 80px 0;
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.blog-card.featured .blog-image {
    height: 300px;
}

.blog-card.featured h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.blog-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Legal pages */
.legal-page {
    padding: 120px 0 80px;
    background-color: var(--white);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.legal-content ul,
.legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Cookie table */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--background-color);
    border-radius: var(--hand-drawn-radius);
    overflow: hidden;
    box-shadow: var(--hand-drawn-shadow);
}

.cookies-table th,
.cookies-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookies-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.cookies-table tr:hover {
    background-color: var(--white);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 0;
    border-radius: var(--hand-drawn-radius);
    box-shadow: var(--hand-drawn-shadow);
    width: 90%;
    max-width: 600px;
    animation: slideIn 0.3s ease;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--hand-drawn-radius) var(--hand-drawn-radius) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--white);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category h3 {
    margin: 0;
    color: var(--primary-color);
}

.cookie-category p {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: var(--success-color);
    cursor: not-allowed;
}

.modal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.cookie-settings-btn {
    background: none;
    border: none;
    color: var(--white);
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.cookie-settings-btn:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid,
    .services-grid,
    .recipes-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .article-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-sidebar {
        position: static;
        order: -1;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-image {
        order: -1;
    }

    .blog-card.featured {
        grid-column: 1;
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-footer {
        flex-direction: column;
    }

    .cookie-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .switch {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary,
    .btn-tertiary {
        width: 100%;
        max-width: 300px;
    }

    .newsletter-form {
        width: 100%;
    }

    .next-steps {
        grid-template-columns: 1fr;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

    .blog-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .cookie-banner,
    .footer,
    .modal,
    .hamburger,
    .hero-buttons,
    .newsletter,
    .contact-cta,
    .share-buttons {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }

    .hero {
        padding: 2rem 0;
    }

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

    section {
        padding: 2rem 0;
    }

    .article-content {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        display: none;
    }

    .legal-content {
        font-size: 11pt;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #333;
        --text-color: #000;
        --background-color: #fff;
        --border-color: #000;
    }

    .btn-primary {
        background-color: #000;
        color: #fff;
        border: 2px solid #000;
    }

    .btn-secondary {
        background-color: #fff;
        color: #000;
        border: 2px solid #000;
    }
}

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