/* ============================================
   ED'S BBQ - Main Stylesheet
   Brand Colors:
   - Flame Yellow: #F5B800
   - Clean White: #FFFFFF
   - Smoke Grey: #5A5A5A
   - BBQ Black: #1F1F1F
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #F5B800;
    --color-white: #FFFFFF;
    --color-text: #E8E8E8;
    --color-text-light: #CCCCCC;
    --color-text-muted: #888888;
    --color-bg: #1F1F1F;
    --color-bg-dark: #1A1A1A;
    --color-bg-light: #252525;
    --color-border: #333333;
    --color-smoke: #5A5A5A;
}

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1F1F1F;
    color: #E8E8E8;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: #F5B800;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFFFFF;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Arial Black', sans-serif;
    color: #F5B800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

.text-muted {
    color: #CCCCCC;
}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section:nth-child(odd) {
    background-color: #1F1F1F;
}

.section:nth-child(even) {
    background-color: #252525;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background-color: #1A1A1A;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #2A2A2A;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo img {
    max-height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-menu a {
    color: #CCCCCC;
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: #FFFFFF;
}

.nav-menu a.active {
    color: #FFFFFF;
    border-bottom: 2px solid #F5B800;
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.header-search input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px 0 0 4px;
    padding: 0.5rem 0.75rem;
    color: #FFFFFF;
    font-size: 0.875rem;
    width: 160px;
    transition: all 0.3s ease;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.header-search input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #F5B800;
    width: 200px;
}

.header-search button {
    background: #F5B800;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.header-search button:hover {
    background: #d9a400;
}

.header-search button svg {
    color: #1F1F1F;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(rgba(31, 31, 31, 0.4), rgba(31, 31, 31, 0.6)),
                url('/assets/images/hero-bg.jpg') center center / cover no-repeat;
    min-height: 500px;
    padding: 150px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(245, 184, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(245, 184, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    color: #CCCCCC;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page-Specific Hero Backgrounds */
.hero.about-hero {
    background: linear-gradient(rgba(31, 31, 31, 0.3), rgba(31, 31, 31, 0.5)),
                url('/assets/images/about-hero.jpg') center center / cover no-repeat;
}

.hero.recipes-hero {
    background: linear-gradient(rgba(31, 31, 31, 0.4), rgba(31, 31, 31, 0.6)),
                url('/assets/images/recipes-hero.jpg') center center / cover no-repeat;
}

.hero.kit-hero {
    background: linear-gradient(rgba(31, 31, 31, 0.4), rgba(31, 31, 31, 0.6)),
                url('/assets/images/kit-hero.jpg') center center / cover no-repeat;
}

.hero.temp-guide-hero {
    background: linear-gradient(rgba(31, 31, 31, 0.4), rgba(31, 31, 31, 0.6)),
                url('/assets/images/temp-guide-hero.jpg') center center / cover no-repeat;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #F5B800;
    color: #1F1F1F;
    box-shadow: 0 4px 15px rgba(245, 184, 0, 0.3);
}

.btn-primary:hover {
    background-color: #FFD54F;
    color: #1F1F1F;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(245, 184, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #F5B800;
    border: 2px solid #F5B800;
}

.btn-secondary:hover {
    background-color: #F5B800;
    color: #1F1F1F;
    transform: translateY(-2px) scale(1.02);
}

/* ============================================
   LATEST RECIPES SECTION
   ============================================ */
.latest-recipes {
    background-color: #1A1A1A;
    padding: 80px 0;
    border-top: 4px solid #3A3A3A;
}

.latest-recipes h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

/* Recipe Card */
.recipe-card {
    background-color: #252525;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3A3A3A;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.recipe-card-content {
    padding: 20px;
}

.recipe-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.recipe-card p {
    color: #CCCCCC;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.recipe-meta {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 0.85rem;
}

/* Empty State / Coming Soon */
.empty-state,
.coming-soon {
    text-align: center;
    padding: 80px 20px;
}

.empty-state .flame-icon,
.coming-soon .coming-soon-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    display: block;
}

.empty-state h3,
.coming-soon p {
    color: #F5B800;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.empty-state p,
.coming-soon .coming-soon-sub {
    color: #888;
    font-size: 1.1rem;
}

/* ============================================
   ABOUT SECTION (Homepage)
   ============================================ */
.about-preview {
    background-color: #252525;
    padding: 80px 0;
}

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview h2 {
    margin-bottom: 20px;
}

.about-preview p {
    color: #CCCCCC;
    margin-bottom: 25px;
}

/* About Section Button Fix */
.about-preview .btn,
.about-section .btn {
    width: auto;
    display: inline-block;
}

/* About Preview Image */
.about-preview-image {
    text-align: center;
}

.about-preview-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #F5B800;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   NEWSLETTER/EMAIL SIGNUP SECTION
   ============================================ */
.newsletter-section {
    background-color: #252525;
    padding: 60px 0;
    text-align: center;
}

.newsletter-section h2 {
    margin-bottom: 10px;
}

.newsletter-section p {
    color: #CCCCCC;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    background-color: #1F1F1F;
    border: 1px solid #3A3A3A;
    border-radius: 4px;
    color: #E8E8E8;
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #F5B800;
}

.newsletter-form button,
.newsletter-form input[type="submit"] {
    padding: 15px 30px;
    background-color: #F5B800;
    color: #1F1F1F;
    border: none;
    border-radius: 4px;
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover,
.newsletter-form input[type="submit"]:hover {
    background-color: #FFD54F;
}

/* ============================================
   TEMP GUIDE PAGE
   ============================================ */
.temp-guide-section {
    padding: 60px 0;
}

.temp-guide-section h1 {
    text-align: center;
    margin-bottom: 20px;
}

.temp-guide-section > .container > p {
    text-align: center;
    color: #CCCCCC;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.temp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #252525;
    border-radius: 8px;
    overflow: hidden;
}

.temp-table th,
.temp-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #3A3A3A;
}

.temp-table th {
    background-color: #2A2A2A;
    color: #F5B800;
    font-family: 'Oswald', 'Arial Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.temp-table tr:nth-child(even) {
    background-color: #1F1F1F;
}

.temp-table tr:nth-child(odd) {
    background-color: #252525;
}

.temp-table tr:hover {
    background-color: #2A2A2A;
}

.temp-table td {
    color: #E8E8E8;
}

.category-header {
    background-color: #1A1A1A !important;
    border-left: 4px solid #F5B800;
}

.category-header td {
    color: #F5B800;
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   KIT I USE PAGE
   ============================================ */
.kit-section {
    padding: 60px 0;
}

.kit-section h1 {
    text-align: center;
    margin-bottom: 40px;
}

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

.kit-card {
    background-color: #252525;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border: 1px solid #3A3A3A;
    transition: all 0.3s ease;
}

.kit-card:hover {
    border-color: #F5B800;
    transform: translateY(-3px);
}

.kit-card img {
    max-height: 150px;
    margin-bottom: 20px;
}

.kit-card h3 {
    margin-bottom: 10px;
}

.kit-card p {
    color: #CCCCCC;
    margin-bottom: 20px;
}

/* ============================================
   RECIPES PAGE
   ============================================ */
.recipes-section {
    padding: 60px 0;
}

.recipes-section h1 {
    text-align: center;
    margin-bottom: 20px;
}

.recipes-section > .container > p {
    text-align: center;
    color: #CCCCCC;
    margin-bottom: 40px;
}

.recipe-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: #252525;
    color: #CCCCCC;
    border: 1px solid #3A3A3A;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', 'Arial Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #F5B800;
    color: #1F1F1F;
    border-color: #F5B800;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
    padding: 60px 0;
}

.about-section h1 {
    text-align: center;
    margin-bottom: 40px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: #CCCCCC;
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 60px 0;
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-section > .container > p {
    text-align: center;
    color: #CCCCCC;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #252525;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #3A3A3A;
}

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

.form-group label {
    display: block;
    color: #F5B800;
    font-family: 'Oswald', 'Arial Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #1F1F1F;
    border: 1px solid #3A3A3A;
    border-radius: 4px;
    color: #E8E8E8;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F5B800;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #1A1A1A;
    padding: 60px 0 30px;
    border-top: 1px solid #3A3A3A;
}

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

.footer-col h3,
.footer-col h4 {
    color: #F5B800;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #CCCCCC;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #CCCCCC;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #F5B800;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #252525;
    border-radius: 50%;
    color: #CCCCCC;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #F5B800;
    color: #1F1F1F;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2A2A2A;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.footer-bottom .tagline {
    color: #F5B800;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.py-1 { padding-top: 10px; padding-bottom: 10px; }
.py-2 { padding-top: 20px; padding-bottom: 20px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }
.py-4 { padding-top: 40px; padding-bottom: 40px; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .about-preview .container,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1A1A1A;
        flex-direction: column;
        padding: 20px;
        display: none;
        border-top: 1px solid #2A2A2A;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid #2A2A2A;
    }

    /* Mobile Search */
    .header-search {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 15px 20px;
        background-color: #1A1A1A;
        border-top: 1px solid #2A2A2A;
        margin-left: 0;
        display: none;
    }

    .nav-menu.active + .header-search,
    .header-search.active {
        display: flex;
    }

    .header-search input {
        flex: 1;
        width: auto;
    }

    .header-search input:focus {
        width: auto;
    }

    /* Hero adjustments */
    .hero {
        min-height: 400px;
        padding: 100px 0;
        background-attachment: scroll; /* Important - 'fixed' doesn't work on mobile */
    }

    .hero.about-hero,
    .hero.recipes-hero,
    .hero.kit-hero,
    .hero.temp-guide-hero {
        min-height: 350px;
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Section padding */
    .section,
    .latest-recipes,
    .about-preview {
        padding: 60px 0;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-email form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .temp-table th,
    .temp-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 25px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Staggered animations for recipe cards */
.recipe-card:nth-child(1) { animation-delay: 0.1s; }
.recipe-card:nth-child(2) { animation-delay: 0.2s; }
.recipe-card:nth-child(3) { animation-delay: 0.3s; }
.recipe-card:nth-child(4) { animation-delay: 0.4s; }
.recipe-card:nth-child(5) { animation-delay: 0.5s; }
.recipe-card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   RECIPE LISTING PAGE
   ============================================ */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.recipe-card {
    background-color: #252525;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid #3A3A3A;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #F5B800;
}

.recipe-card-featured {
    border-color: #F5B800;
}

.recipe-card-image {
    display: block;
    position: relative;
    overflow: hidden;
}

.recipe-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.recipe-badge {
    position: absolute;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.recipe-badge-featured {
    top: 10px;
    left: 10px;
    background: #F5B800;
    color: #1F1F1F;
}

.recipe-badge-difficulty {
    top: 10px;
    right: 10px;
    background: rgba(31, 31, 31, 0.9);
    color: #E8E8E8;
}

.recipe-badge-difficulty.difficulty-easy { color: #8f8; }
.recipe-badge-difficulty.difficulty-medium { color: #ff8; }
.recipe-badge-difficulty.difficulty-hard { color: #f88; }

.recipe-card-content {
    padding: 20px;
}

.recipe-card-category {
    display: inline-block;
    background: #F5B800;
    color: #1F1F1F;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

.recipe-card-category:hover {
    background: #FFD54F;
    color: #1F1F1F;
}

.recipe-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.recipe-card-title a {
    color: #F5B800;
    text-decoration: none;
}

.recipe-card-title a:hover {
    color: #FFFFFF;
}

.recipe-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: #888;
}

.recipe-card-meta span::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #555;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.recipe-card-meta span:first-child::before {
    display: none;
}

.recipe-card-price {
    margin-top: 10px;
    color: #F5B800;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Secondary filters (difficulty, equipment, supermarket) */
.secondary-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label {
    color: #888;
    font-size: 0.85rem;
    min-width: 70px;
}

.filter-pill {
    padding: 5px 12px;
    font-size: 0.8rem;
    background: #252525;
    border: 1px solid #3A3A3A;
    border-radius: 20px;
    color: #CCCCCC;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    background: #333;
    color: #FFFFFF;
    border-color: #555;
}

.filter-pill.active {
    background: #F5B800;
    color: #1F1F1F;
    border-color: #F5B800;
}

.filter-pill.filter-easy.active { background: #2d5a2d; border-color: #8f8; color: #8f8; }
.filter-pill.filter-medium.active { background: #5a5a2d; border-color: #ff8; color: #ff8; }
.filter-pill.filter-hard.active { background: #5a2d2d; border-color: #f88; color: #f88; }

@media (max-width: 768px) {
    .secondary-filters {
        padding: 1rem;
    }
    .filter-group {
        justify-content: flex-start;
    }
    .filter-label {
        width: 100%;
        margin-bottom: 0.25rem;
    }
}

/* Legacy difficulty filter buttons (can remove if not used) */
.difficulty-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.difficulty-btn {
    padding: 6px 15px;
    font-size: 0.85rem;
    background: #252525;
    border: 1px solid #3A3A3A;
    border-radius: 20px;
    color: #CCCCCC;
    text-decoration: none;
    transition: all 0.3s ease;
}

.difficulty-btn:hover,
.difficulty-btn.active {
    background: #3A3A3A;
    color: #FFFFFF;
    border-color: #555;
}

.difficulty-btn.difficulty-easy.active { border-color: #8f8; color: #8f8; }
.difficulty-btn.difficulty-medium.active { border-color: #ff8; color: #ff8; }
.difficulty-btn.difficulty-hard.active { border-color: #f88; color: #f88; }

/* ============================================
   SINGLE RECIPE PAGE
   ============================================ */

/* Recipe Hero */
.recipe-hero {
    background-size: cover;
    background-position: center;
    padding: 80px 0 60px;
    position: relative;
}

.recipe-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.recipe-breadcrumb a {
    color: #CCCCCC;
}

.recipe-breadcrumb a:hover {
    color: #F5B800;
}

.recipe-breadcrumb span {
    color: #666;
    margin: 0 0.5rem;
}

.recipe-category-badge {
    display: inline-block;
    background: #F5B800;
    color: #1F1F1F;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.recipe-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.recipe-hero-desc {
    font-size: 1.1rem;
    color: #CCCCCC;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

/* Stats Bar */
.recipe-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(37, 37, 37, 0.9);
    padding: 20px 25px;
    border-radius: 8px;
    border-left: 4px solid #F5B800;
    margin-top: 1.5rem;
}

.recipe-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.recipe-stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recipe-stat-value {
    font-size: 1rem;
    color: #FFFFFF;
    font-weight: 600;
}

.recipe-stat-value.difficulty-easy { color: #8f8; }
.recipe-stat-value.difficulty-medium { color: #ff8; }
.recipe-stat-value.difficulty-hard { color: #f88; }

/* Recipe Main Layout */
.recipe-main {
    padding: 40px 0;
}

.recipe-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Left Column - Main Content */
.recipe-content-main {
    min-width: 0;
}

.recipe-video-section {
    margin-bottom: 40px;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #1A1A1A;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.recipe-section {
    margin-bottom: 40px;
}

.recipe-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3A3A3A;
}

.ingredient-section-title {
    font-size: 1rem;
    color: #F5B800;
    margin: 20px 0 10px;
    text-transform: none;
}

.ingredient-list {
    list-style: none;
    padding: 0;
}

.ingredient-list li {
    padding: 10px 0;
    border-bottom: 1px solid #2A2A2A;
    padding-left: 25px;
    position: relative;
}

.ingredient-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #F5B800;
    border-radius: 2px;
}

.method-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.method-list li {
    padding: 15px 0 15px 50px;
    border-bottom: 1px solid #2A2A2A;
    position: relative;
    counter-increment: step-counter;
}

.method-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 15px;
    width: 32px;
    height: 32px;
    background: #F5B800;
    color: #1F1F1F;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tips-list {
    list-style: none;
    padding: 0;
    background: rgba(245, 184, 0, 0.1);
    border-radius: 8px;
    padding: 20px 25px;
    border-left: 4px solid #F5B800;
}

.tips-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.tips-list li::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 8px;
}

.recipe-note {
    color: #888;
    font-style: italic;
}

/* Right Column - Sidebar */
.recipe-sidebar {
    position: sticky;
    top: 100px;
}

.recipe-info-card,
.related-recipes-card,
.share-card {
    background: #252525;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #3A3A3A;
}

.recipe-info-card h3,
.related-recipes-card h3,
.share-card h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3A3A3A;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #2A2A2A;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #888;
    font-size: 0.9rem;
}

.info-value {
    color: #FFFFFF;
    font-weight: 500;
    text-align: right;
}

.info-row.info-total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #F5B800;
}

.info-row.info-total .info-value {
    color: #F5B800;
    font-weight: 700;
}

/* Related Recipes */
.related-recipes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-recipe-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: #1F1F1F;
    border-radius: 6px;
    transition: background 0.3s ease;
    text-decoration: none;
}

.related-recipe-item:hover {
    background: #2A2A2A;
}

.related-recipe-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 55px;
    border-radius: 4px;
    overflow: hidden;
}

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

.related-recipe-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.related-recipe-title {
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-recipe-category {
    color: #F5B800;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-facebook { background: #1877f2; color: #fff; }
.share-twitter { background: #000; color: #fff; }
.share-pinterest { background: #e60023; color: #fff; }
.share-whatsapp { background: #25d366; color: #fff; }

/* Responsive Recipe Page */
@media (max-width: 992px) {
    .recipe-layout {
        grid-template-columns: 1fr;
    }

    .recipe-sidebar {
        position: static;
    }

    .recipe-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .recipe-hero {
        padding: 60px 0 40px;
    }

    .recipe-stats-bar {
        gap: 15px;
    }

    .recipe-stat {
        min-width: 80px;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .share-btn {
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    .recipe-hero h1 {
        font-size: 1.75rem;
    }

    .recipe-stats-bar {
        padding: 15px;
    }

    .method-list li {
        padding-left: 40px;
    }

    .method-list li::before {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
}


.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; z-index: -1; }
@media (max-width: 768px) {
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #1F1F1F; padding: 20px; z-index: 1000; }
    .nav-menu.active { display: flex; }
    .nav-toggle { display: block; }
    .header-search { width: 100%; margin: 10px 0; }
    .header-search input { width: 100%; }
    .filters { flex-direction: column; gap: 10px; }
    .filter-group { width: 100%; }
    .filter-group select { width: 100%; }
    .category-filters { flex-wrap: wrap; justify-content: center; }
    .category-filters a { margin: 3px; font-size: 14px; padding: 6px 12px; }
    .recipe-layout { flex-direction: column; }
    .recipe-main, .recipe-sidebar { width: 100%; }
    .recipe-sidebar { margin-top: 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input[type="email"] { width: 100%; margin-bottom: 10px; }
    .newsletter-form button { width: 100%; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    button, .btn, .category-filters a { min-height: 44px; }
}
@media (max-width: 640px) { .recipe-grid { grid-template-columns: 1fr; } }

/* =============================================
   ACCESSIBILITY & UX IMPROVEMENTS
   Added: December 2025
   ============================================= */

/* ----- Screen Reader Only ----- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ----- Focus Styles ----- */
*:focus { outline: none; }
*:focus-visible { outline: 3px solid #F5B800; outline-offset: 2px; }
.btn:focus-visible, button:focus-visible, input[type="submit"]:focus-visible {
    outline: 3px solid #F5B800; outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(245, 184, 0, 0.25);
}
a:focus-visible { outline: 2px solid #F5B800; outline-offset: 2px; border-radius: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #F5B800; border-color: #F5B800;
    box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.2);
}
.nav-toggle:focus-visible { outline: 3px solid #F5B800; outline-offset: 4px; }

/* ----- Active Filter States ----- */
.filter-btn.active, .category-btn.active, .difficulty-btn.active {
    background-color: #F5B800; color: #1F1F1F; font-weight: 700;
    border: 2px solid #F5B800; position: relative;
}
.filter-btn.active::before, .category-btn.active::before, .difficulty-btn.active::before {
    content: "\\2713  "; font-weight: bold;
}

/* ----- Colour Contrast Fixes ----- */
.accent-text, .highlight-text { color: #FFD54F; }
.critical-info, .important-notice { color: #FFFFFF; font-weight: 600; }
.recipe-meta { color: #CCCCCC; }

/* ----- Video Container ----- */
.video-container {
    position: relative; width: 100%; padding-bottom: 56.25%; height: 0;
    overflow: hidden; margin: 20px 0; background-color: #1F1F1F; border-radius: 8px;
}
.video-container iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: none; border-radius: 8px;
}

/* ----- YouTube Button ----- */
.btn-youtube {
    display: inline-flex; align-items: center; gap: 8px;
    background-color: #FF0000; color: #FFFFFF;
    padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 1rem;
    text-decoration: none; transition: background-color 0.2s ease, transform 0.1s ease;
    border: none; cursor: pointer;
}
.btn-youtube:hover { background-color: #CC0000; color: #FFFFFF; text-decoration: none; }
.btn-youtube:active { transform: scale(0.98); }
.btn-youtube:focus-visible {
    outline: 3px solid #FF0000; outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(255, 0, 0, 0.25);
}
.btn-youtube .youtube-icon { flex-shrink: 0; }
.recipe-actions { display: flex; gap: 15px; margin: 20px 0; flex-wrap: wrap; }

/* ----- Affiliate Disclosure ----- */
.affiliate-disclosure-box {
    display: flex; gap: 15px; align-items: flex-start;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-left: 4px solid #F5B800; padding: 20px; margin: 0 0 30px 0; border-radius: 0 8px 8px 0;
}
.affiliate-disclosure-box .disclosure-icon { font-size: 1.5rem; flex-shrink: 0; }
.affiliate-disclosure-box .disclosure-content { flex: 1; }
.affiliate-disclosure-box strong { display: block; color: #F5B800; margin-bottom: 5px; font-size: 1.1rem; }
.affiliate-disclosure-box p { margin: 0; color: #CCCCCC; font-size: 0.95rem; line-height: 1.5; }
.affiliate-disclosure-box a { color: #F5B800; text-decoration: none; font-weight: 500; }
.affiliate-disclosure-box a:hover { text-decoration: underline; }
.affiliate-badge { display: inline-block; font-size: 0.75rem; color: #999; margin-left: 5px; }

/* ----- Form Help Text ----- */
.form-help { display: block; margin-top: 5px; font-size: 0.85rem; color: #999; }

/* ----- Temperature Guide Callout ----- */
.temp-guide-callout {
    display: flex; align-items: flex-start; gap: 12px;
    background-color: rgba(245, 184, 0, 0.1);
    border: 1px solid rgba(245, 184, 0, 0.3);
    border-radius: 8px; padding: 15px 20px; margin: 20px 0;
}
.temp-guide-callout .callout-icon { font-size: 1.3rem; flex-shrink: 0; }
.temp-guide-callout .callout-content { color: #CCCCCC; font-size: 0.95rem; line-height: 1.5; }
.temp-guide-callout .callout-content p { margin: 5px 0 10px; }
.temp-guide-callout strong { color: #F5B800; }
.temp-guide-callout a { color: #F5B800; text-decoration: underline; font-weight: 500; }
.temp-guide-callout a:hover { color: #FFD54F; }

/* ----- Video Actions ----- */
.video-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.youtube-link svg {
    fill: currentColor;
}

/* ----- Small Button Variant ----- */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ============================================
   FULL-WIDTH RELATED RECIPES SECTION
   ============================================ */
.related-recipes-section {
    background: #1A1A1A;
    padding: 50px 0;
    margin-top: 40px;
    border-top: 1px solid #2A2A2A;
}

.related-recipes-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.75rem;
}

.related-recipes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.related-recipe-card {
    background: #252525;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #3A3A3A;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: #F5B800;
}

.related-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-card-image {
    position: relative;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.related-card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #F5B800;
    color: #1F1F1F;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.related-card-content {
    padding: 15px;
}

.related-card-title {
    font-size: 1rem;
    color: #F5B800;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #888;
}

.related-card-meta .meta-difficulty.difficulty-easy { color: #8f8; }
.related-card-meta .meta-difficulty.difficulty-medium { color: #ff8; }
.related-card-meta .meta-difficulty.difficulty-hard { color: #f88; }

/* Responsive Related Recipes Grid */
@media (max-width: 992px) {
    .related-recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .related-recipes-grid {
        grid-template-columns: 1fr;
    }

    .related-recipes-section {
        padding: 40px 0;
    }

    .related-card-image img {
        height: 180px;
    }
}

/* ============================================
   ENHANCED SEARCH PAGE
   ============================================ */

/* Search Hero */
.search-hero {
    background: linear-gradient(rgba(31, 31, 31, 0.8), rgba(31, 31, 31, 0.9)),
                url('/assets/images/hero-bg.jpg') center center / cover no-repeat;
    padding: 80px 0;
    text-align: center;
}

.search-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #F5B800;
    margin-bottom: 1.5rem;
}

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #F5B800;
    border-radius: 4px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #E8E8E8;
}

.search-form input::placeholder {
    color: #888;
}

.search-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

/* Search Results */
.search-results {
    padding: 3rem 0;
}

.results-count {
    margin-bottom: 2rem;
    color: #888;
    font-size: 1rem;
}

.results-count strong {
    color: #F5B800;
}

/* Search Result Cards - Horizontal Layout */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-card {
    background: #252525;
    border-radius: 8px;
    border: 1px solid #3A3A3A;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-result-card:hover {
    border-color: #F5B800;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.search-result-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.search-result-thumb {
    flex-shrink: 0;
    width: 280px;
    overflow: hidden;
}

.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 160px;
    transition: transform 0.3s ease;
}

.search-result-card:hover .search-result-thumb img {
    transform: scale(1.05);
}

.search-result-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-result-title {
    font-size: 1.25rem;
    color: #F5B800;
    margin: 0;
    line-height: 1.3;
}

.search-result-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.badge-category {
    background: #F5B800;
    color: #1F1F1F;
}

.badge-difficulty {
    background: rgba(255, 255, 255, 0.1);
}

.badge-difficulty.difficulty-easy { color: #8f8; border: 1px solid #8f8; }
.badge-difficulty.difficulty-medium { color: #ff8; border: 1px solid #ff8; }
.badge-difficulty.difficulty-hard { color: #f88; border: 1px solid #f88; }

.search-result-snippet {
    color: #CCCCCC;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.search-result-meta {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 10px;
}

.search-result-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 0.85rem;
}

.search-result-meta svg {
    opacity: 0.7;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 3rem 0;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-results p {
    color: #CCCCCC;
    margin-bottom: 0.5rem;
}

.no-results .no-results-tips {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Search Prompt (Empty State) */
.search-prompt {
    text-align: center;
    padding: 3rem 0;
}

.search-prompt-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.search-prompt p {
    color: #CCCCCC;
    margin-bottom: 0.5rem;
}

.search-prompt .search-prompt-hint {
    color: #888;
    font-size: 0.9rem;
}

/* Popular Searches */
.popular-searches {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #2A2A2A;
}

.popular-searches h3 {
    font-size: 1.25rem;
    color: #F5B800;
    margin-bottom: 1.25rem;
}

.popular-searches-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.popular-search-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #252525;
    border: 1px solid #3A3A3A;
    border-radius: 20px;
    color: #CCCCCC;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.popular-search-tag:hover {
    background: #F5B800;
    border-color: #F5B800;
    color: #1F1F1F;
}

/* Search Responsive */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
    }

    .search-hero h1 {
        font-size: 2rem;
    }

    .search-result-link {
        flex-direction: column;
    }

    .search-result-thumb {
        width: 100%;
        height: 200px;
    }

    .search-result-thumb img {
        height: 200px;
    }

    .search-result-content {
        padding: 15px;
    }

    .search-result-title {
        font-size: 1.1rem;
    }
}

/* ============================================
   Print Recipe Button
   ============================================ */

.recipe-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.print-recipe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-recipe-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

.print-recipe-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .recipe-actions {
        justify-content: center;
    }

    .print-recipe-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Homepage Enhancements
   ============================================ */

/* Hero Section */
.home-hero {
    min-height: 550px;
    display: flex;
    align-items: center;
}

.home-hero .hero-content {
    max-width: 700px;
}

.home-hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 20px rgba(245, 184, 0, 0.5);
}

.hero-tagline {
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-size: 1.3rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 550px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-buttons .btn-secondary svg {
    fill: var(--color-primary);
    transition: fill 0.3s ease;
}

.hero-buttons .btn-secondary:hover svg {
    fill: #1F1F1F;
}

/* Section Spacing */
.section {
    padding: 70px 0;
}

.section-latest,
.section-popular {
    background-color: #1A1A1A;
}

.section-categories {
    background-color: #1F1F1F;
}

.section-about {
    background-color: #1A1A1A;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.25rem;
}

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

/* Recipe Grid - 4 Column Layout */
.recipe-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1100px) {
    .recipe-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .recipe-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, #2a2a2a 0%, #222222 100%);
    border: 2px solid #444;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #F5B800;
    background: linear-gradient(135deg, #333333 0%, #2a2a2a 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 184, 0, 0.2);
}

.category-name {
    display: block;
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-size: 1.2rem;
    color: #F5B800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    line-height: 1.2;
}

.category-count {
    display: block;
    font-size: 0.85rem;
    color: #999;
    line-height: 1.3;
}

/* Category Grid Responsive */
@media (max-width: 1100px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 20px 12px;
    }

    .category-name {
        font-size: 1rem;
    }
}

/* About Preview Section */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview-content {
    max-width: 550px;
}

.about-preview-content .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.about-preview-content p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-preview-image {
    display: flex;
    justify-content: center;
}

.about-preview-image img {
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    max-width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .about-preview {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-preview-content {
        max-width: 100%;
        text-align: center;
    }

    .about-preview-content .section-title {
        text-align: center;
    }

    .about-preview-image {
        order: -1;
    }
}

/* Homepage Hero Responsive */
@media (max-width: 768px) {
    .home-hero {
        min-height: 450px;
        padding: 80px 0;
    }

    .home-hero h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .hero-buttons .btn {
        text-align: center;
        justify-content: center;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
}

/* ============================================
   CHRISTMAS SEASONAL SECTION
   Remove after December 2025
   ============================================ */

.section-christmas {
    background: linear-gradient(135deg, #1a1a1a 0%, #1f1f1f 50%, #1a1a1a 100%);
    border-top: 3px solid #c41e3a;
    border-bottom: 3px solid #c41e3a;
    position: relative;
}

.section-christmas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(196, 30, 58, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 100, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.christmas-header {
    text-align: center;
    margin-bottom: 40px;
}

.christmas-title {
    position: relative;
    display: inline-block;
}

.christmas-title::before {
    content: "🎄";
    margin-right: 12px;
}

.christmas-title::after {
    content: "🎄";
    margin-left: 12px;
}

.christmas-subtitle {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 15px auto 0;
}

.btn-christmas {
    background-color: #c41e3a;
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-christmas:hover {
    background-color: #a01830;
    color: white;
}

@media (max-width: 768px) {
    .christmas-title::before,
    .christmas-title::after {
        display: block;
        margin: 10px auto;
    }

    .christmas-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* END CHRISTMAS SEASONAL STYLES */

/* ============================================
   Supermarket Landing Pages
   ============================================ */

/* Shop by Supermarket links on recipes page */
.supermarket-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #252525 0%, #1f1f1f 100%);
    border-radius: 8px;
    border: 1px solid #333;
}

.supermarket-links-label {
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 10px;
}

.supermarket-link {
    display: inline-block;
    padding: 8px 16px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.supermarket-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #1f1f1f;
}

/* Supermarket page navigation */
.supermarket-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.supermarket-nav-label {
    font-size: 0.9rem;
    color: #888;
}

.supermarket-nav-link {
    padding: 6px 14px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #ccc;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.supermarket-nav-link:hover {
    background: #333;
    color: #fff;
    border-color: #555;
}

.supermarket-nav-all {
    margin-left: auto;
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.supermarket-nav-all:hover {
    background: var(--color-primary);
    color: #1f1f1f;
}

/* Supermarket hero styling */
.supermarket-hero {
    min-height: 300px;
}

.supermarket-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .supermarket-links {
        padding: 15px;
    }

    .supermarket-links-label {
        width: 100%;
        margin-bottom: 5px;
    }

    .supermarket-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .supermarket-nav {
        justify-content: center;
    }

    .supermarket-nav-all {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .supermarket-hero {
        min-height: auto;
        padding: 60px 0;
    }

    .supermarket-hero p {
        font-size: 1rem;
    }
}
