* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fff;
    font-size: 16px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Elegant forest green */
.site-header {
    background: #2D5016;
    padding: 0;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: normal;
}

nav ul li a:hover {
    color: #f0f0f0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
}

/* Recipe Header - Fresh sage gradient */
.recipe-header {
    background: linear-gradient(135deg, #F7F9F3 0%, #E8F5E8 100%);
    color: #2D5016;
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.recipe-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.recipe-intro {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb-container {
    background: #f8f6f3;
    padding: 15px 0;
    border-bottom: 1px solid #e8e6e3;
}

.breadcrumb {
    font-size: 14px;
    color: #999;
    text-align: left;
}

.breadcrumb a {
    color: #999;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #2D5016;
}

/* Action Buttons - Fresh green theme */
.action-buttons {
    background: #f8f6f3;
    padding: 30px 0;
    border-bottom: 1px solid #e8e6e3;
}

.button-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.buttons-left,
.buttons-right {
    display: flex;
    gap: 15px;
}

.action-btn {
    background: #fff;
    border: 2px solid #2D5016;
    color: #2D5016;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: #2D5016;
    color: #fff;
    border-color: #2D5016;
}

.jump-btn {
    background: #2D5016;
    color: #fff;
    border-color: #2D5016;
}

.jump-btn:hover {
    background: #4A7C59;
    border-color: #4A7C59;
}

/* Main Content */
.main-content {
    padding: 50px 0;
    min-height: 100vh;
}

/* Author Bio Section - Green accent */
.author-bio-section {
    margin: 60px 0;
    padding: 0;
}

.author-card {
    display: flex;
    gap: 30px;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f0ede8;
}

.author-image-container {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #2D5016;
    object-fit: cover;
}

.chef-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: linear-gradient(135deg, #4A7C59 0%, #2D5016 100%);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 60px;
    min-height: 30px;
}

.author-content {
    flex: 1;
}

.author-header {
    margin-bottom: 20px;
}

.author-name {
    color: #2D5016;
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.author-credentials {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9rem;
}

.recipe-story {
    background: #f8f6f3;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #2D5016;
}

.recipe-story h3 {
    color: #2D5016;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-background p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-link {
    color: #2D5016;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.author-link:hover {
    color: #4A7C59;
}

/* Image Containers */
.recipe-image-container {
    position: relative;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recipe-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.pinterest-pin-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #E60023;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.pinterest-pin-btn:hover {
    background: #c5001a;
}

/* Content Sections - Green accents */
.content-section {
    margin: 60px 0;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    color: #2D5016;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #2D5016;
    border-radius: 2px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.tip-box {
    background: linear-gradient(135deg, #f8f6f3 0%, #f0ede8 100%);
    border-left: 4px solid #2D5016;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.tip-box h3 {
    color: #2D5016;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ingredient-tips {
    background: #fafafa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.ingredient-tips h3 {
    color: #2D5016;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.ingredient-tips ul {
    list-style: none;
    padding: 0;
}

.ingredient-tips li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.ingredient-tips li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #2D5016;
    font-weight: bold;
}

.technique-highlight {
    background: linear-gradient(135deg, #F7F9F3 0%, #E8F5E8 100%);
    border: 1px solid #C8E6C9;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}

.technique-highlight h3 {
    color: #2D5016;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    margin: 60px 0;
}

.faq-section h2 {
    color: #2D5016;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.faq-question {
    width: 100%;
    background: #f8f8f8;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question .icon {
    font-size: 16px;
    color: #666;
    font-weight: bold;
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fff;
}

.faq-answer.active {
    max-height: 300px;
    padding: 16px 20px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Troubleshooting Section */
.troubleshooting-section {
    margin: 60px 0;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.troubleshooting-section h2 {
    color: #2D5016;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.troubleshooting-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2D5016;
    border-radius: 2px;
}

.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.troubleshoot-item {
    background: #fafafa;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #2D5016;
}

.problem-icon {
    background: #2D5016;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.troubleshoot-item h3 {
    color: #2D5016;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.solution p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #444;
}

.solution p strong {
    color: #2D5016;
}

/* Recipe Card - Green theme */
.recipe-card {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    margin: 80px 0;
    overflow: hidden;
    position: relative;
    border: 2px solid #f0ede8;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.recipe-card-header {
    padding: 50px;
    text-align: center;
    background: #fff;
}

.recipe-card h2 {
    color: #2D5016;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.recipe-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.meta-item {
    text-align: center;
    padding: 20px;
    background: #f8f6f3;
    border-radius: 15px;
}

.meta-item:hover {
    background: #f0ede8;
}

.meta-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.meta-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2D5016;
}

.recipe-content {
    padding: 0 50px 50px;
}

.recipe-section {
    margin-bottom: 50px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.recipe-section h3 {
    color: #2D5016;
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.ingredient-category {
    color: #2D5016;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0ede8;
}

.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredient-item {
    padding: 20px 25px;
    margin-bottom: 12px;
    background: #fafafa;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.ingredient-item:hover {
    background: #f0ede8;
    border-color: #e8dcc0;
}

.ingredient-text {
    font-size: 1.2rem;
    color: #333;
    position: relative;
    display: block;
    font-weight: 500;
    line-height: 1.4;
}

.ingredient-item.completed .ingredient-text {
    color: #999;
    position: relative;
}

.ingredient-item.completed .ingredient-text::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #2D5016;
}

.ingredient-detail {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
    opacity: 0;
    max-height: 0;
}

.ingredient-item:hover .ingredient-detail {
    opacity: 1;
    max-height: 50px;
}

.instructions-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.instruction-step {
    counter-increment: step-counter;
    margin-bottom: 30px;
    display: flex;
    gap: 25px;
    padding: 30px;
    background: #fafafa;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.instruction-step::before {
    content: counter(step-counter);
    background: linear-gradient(135deg, #4A7C59 0%, #2D5016 100%);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2D5016;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.step-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

.notes-content {
    display: grid;
    gap: 25px;
}

.note-item {
    padding: 25px;
    background: #f8f6f3;
    border-radius: 15px;
    border-left: 4px solid #2D5016;
}

.note-item h4 {
    color: #2D5016;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.note-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.recipe-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    min-width: 180px;
    justify-content: center;
}

.primary-btn {
    background: linear-gradient(135deg, #2D5016 0%, #4A7C59 100%);
    color: #fff;
}

.secondary-btn {
    background: #fff;
    color: #2D5016;
    border: 2px solid #2D5016;
}

.secondary-btn:hover {
    background: #2D5016;
    color: #fff;
    border-color: #2D5016;
}

/* Footer - Elegant green theme */
footer {
    background: #2c2c2c;
    color: #e0e0e0;
    padding: 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #4A7C59;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #4A7C59;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-links a {
    color: #e0e0e0;
    font-size: 24px;
}

.social-links a:hover {
    color: #4A7C59;
}

.footer-bottom p {
    color: #cccccc;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2D5016;
        z-index: 1000;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
    }

    nav ul li {
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .container {
        padding: 0 15px;
    }

    .recipe-title {
        font-size: 2rem;
    }

    .recipe-intro {
        font-size: 1rem;
    }

    .recipe-image {
        height: 280px;
    }

    .pinterest-pin-btn {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .button-row {
        flex-direction: column;
        gap: 15px;
    }

    .buttons-left,
    .buttons-right {
        width: 100%;
        justify-content: center;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .author-credentials {
        justify-content: center;
    }

    .content-section {
        padding: 25px;
    }

    .recipe-content {
        padding: 0 25px 25px;
    }

    .recipe-card {
        margin: 20px 10px;
        border-radius: 15px;
    }

    .recipe-card-header {
        padding: 25px 20px;
    }

    .recipe-card h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .recipe-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }

    .meta-item {
        padding: 15px 12px;
    }

    .recipe-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }

    .troubleshooting-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .recipe-card {
        margin: 15px 5px;
        border-radius: 12px;
    }

    .recipe-card-header {
        padding: 20px 15px;
    }

    .recipe-card h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .recipe-meta {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .meta-item {
        padding: 12px 10px;
    }

    .recipe-content {
        padding: 15px 12px;
    }

    .recipe-section {
        padding: 15px 12px;
        margin-bottom: 20px;
    }

    .author-card {
        padding: 20px;
    }

    .author-name {
        font-size: 1.5rem;
    }

    .credential-item {
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .action-buttons,
    .breadcrumb-container,
    .pinterest-pin-btn,
    .social-links,
    footer {
        display: none;
    }

    .recipe-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    body {
        font-size: 12px;
    }

    .recipe-title {
        font-size: 24px;
        color: #000;
    }
}