/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
    position: relative;
}

/* Hand-drawn style base */
.hand-drawn {
    filter: url(#hand-drawn);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #8B4513;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #000000;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #8B4513;
    color: white;
    border: 2px solid #8B4513;
}

.btn-primary:hover {
    background: #654321;
    border-color: #654321;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #D2691E;
    color: white;
    border: 2px solid #D2691E;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #8B4513;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4513;
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: #8B4513;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: #8B4513;
    color: white;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #8B4513;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F5F5DC 0%, #DEB887 100%);
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    color: #8B4513;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #654321;
}

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

.hero-image svg {
    width: 100%;
    height: auto;
    max-width: 400px;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #8B4513;
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: #F5F5DC;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* About Detail Page */
.about-detail {
    padding: 80px 0;
}

.about-detail .about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B4513;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Services Grid */
.services {
    background: #fff;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #8B4513;
}

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

.service-card h3 {
    margin-bottom: 1rem;
    color: #8B4513;
}

/* Blog Section */
.blog {
    background: #F5F5DC;
}

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

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

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

.blog-content {
    padding: 1.5rem;
}

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

.blog-content h3 a {
    text-decoration: none;
    color: #8B4513;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: #654321;
}

.blog-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
}

.blog-link {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #654321;
}

/* Testimonials */
.testimonials {
    background: white;
}

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

.testimonial-card {
    background: #F5F5DC;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 3px solid #8B4513;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #8B4513;
    font-family: serif;
}

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

blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
}

cite {
    font-weight: bold;
    color: #8B4513;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    color: white;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2,
.newsletter p {
    color: white;
}

.newsletter-form {
    margin-top: 2rem;
}

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

.form-group {
    text-align: left;
}

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group a {
    color: #FFD700;
}

/* Contact */
.contact {
    background: #F5F5DC;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-social h4 {
    margin-bottom: 1rem;
}

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

.social-link {
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

/* Team */
.team {
    background: white;
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background: #F5F5DC;
    border-radius: 15px;
    border: 3px solid #8B4513;
}

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

.team-role {
    color: #8B4513;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    color: white;
    text-align: center;
}

.contact-cta h2,
.contact-cta p {
    color: white;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0;
    text-align: center;
    background: #F5F5DC;
}

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

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-title {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.thank-you-details {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 3px solid #8B4513;
}

.thank-you-details ul {
    list-style: none;
    text-align: left;
}

.thank-you-details li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.thank-you-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

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

.auto-redirect {
    color: #888;
    font-style: italic;
}

/* Footer */
.footer {
    background: #8B4513;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer h4 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-bottom {
    border-top: 1px solid #654321;
    padding-top: 1rem;
    text-align: center;
    color: #DDD;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(139, 69, 19, 0.95);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    backdrop-filter: blur(10px);
    border-top: 3px solid #D2691E;
}

.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-shrink: 0;
}

.cookie-banner h3 {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

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

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

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    border: 3px solid #8B4513;
}

.cookie-option {
    margin: 1rem 0;
    padding: 1rem;
    background: #F5F5DC;
    border-radius: 8px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Article Pages */
.article-content {
    padding: 80px 0;
    background: #FAFAFA;
}

.article-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.article-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-text {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.article-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: #8B4513;
    border-left: 4px solid #D2691E;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    background: #FFF8DC;
    padding: 1.5rem;
    border-radius: 8px;
}

.article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.ingredients-list {
    background: #F5F5DC;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0 2rem;
    border-left: 4px solid #8B4513;
}

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

.ingredients-list li::before {
    content: '•';
    color: #8B4513;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tips-box {
    background: linear-gradient(135deg, #FFF8DC 0%, #F0E68C 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid #D2691E;
    position: relative;
}

.tips-box::before {
    content: '💡';
    position: absolute;
    top: -15px;
    left: 20px;
    background: #FFD700;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.2rem;
}

.tips-box h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.tips-box ul {
    margin-top: 1rem;
}

.tips-box li {
    margin-bottom: 0.8rem;
    color: #654321;
}

.article-footer {
    background: #8B4513;
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
}

.article-sidebar {
    position: sticky;
    top: 100px;
}

.related-articles, 
.newsletter-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid #8B4513;
}

.related-articles h3,
.newsletter-sidebar h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.related-articles ul {
    list-style: none;
}

.related-articles li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.related-articles li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #8B4513;
}

.related-articles a {
    color: #654321;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-articles a:hover {
    color: #8B4513;
}

.newsletter-sidebar {
    text-align: center;
}

.newsletter-sidebar p {
    margin-bottom: 1.5rem;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
    background: white;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-text h2 {
    margin: 2.5rem 0 1.5rem;
    color: #8B4513;
    border-bottom: 2px solid #D2691E;
    padding-bottom: 0.5rem;
}

.legal-text h3 {
    margin: 2rem 0 1rem;
    color: #654321;
}

.legal-text h4 {
    margin: 1.5rem 0 1rem;
    color: #8B4513;
    font-size: 1.1rem;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

.legal-text a {
    color: #8B4513;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: #654321;
}

.legal-text strong {
    color: #8B4513;
}

.cookie-table {
    background: #F5F5DC;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    border-left: 4px solid #8B4513;
}

.cookie-controls {
    text-align: center;
    margin: 2rem 0;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content,
    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .blog-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .nav {
        padding: 1rem;
    }
}
