/* Cooking for the can't be @rsed - Real Kitchen, Real Life Theme */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;600;700&family=Inter:wght@400;500;600&display=swap');

/* Orange @ symbol styling */
.at-symbol {
    color: var(--mustard);
    font-weight: 700;
}

:root {
    /* Primary Colors */
    --cream: #F5F0E8;
    --deep-brown: #5C4033;
    --terracotta: #C67B5C;

    /* Heading Colors */
    --heading-color:  #1f2231;
    --secondary-color:  #4636da;
    
    /* Accent Colors */
    --sage: #8FA882;
    --mustard: #D4A54A;
    --soft-red: #C65C5C;
    --light-cream: #FAF7F2;
    --warm-gray: #8B7E74;

    /* Layout Backgrounds */
    --header-background: linear-gradient(135deg, var(--heading-color) 0%, var(--secondary-color) 100%);
    --footer-background: var(--heading-color);
    
    /* Typography */
    --font-heading: 'Fraunces', georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-handwritten: 'Fraunces', georgia, serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(92, 64, 51, 0.08);
    --shadow-md: 0 4px 12px rgba(92, 64, 51, 0.12);
    --shadow-lg: 0 8px 24px rgba(92, 64, 51, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--deep-brown);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--deep-brown);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--space-md);
    max-width: 65ch;
}

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

a:hover {
    color: var(--deep-brown);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--mustard);
    outline-offset: 4px;
}

/* Header & Navigation */
header {
    background: var(--header-background);
    color: white;
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity var(--transition-normal);
}

.logo a:hover {
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

nav ul li a:hover {
    color: white;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width var(--transition-normal);
}

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

/* CTA Button in Nav */
nav ul li .btn-nav {
    background: var(--terracotta);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

nav ul li .btn-nav:hover {
    background: var(--mustard);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

nav ul li .btn-nav::after {
    display: none;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

/* Hero Section */
.hero {
    padding: var(--space-2xl) 0;
    margin-bottom: var(--space-xl);
    position: relative;
}

.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: var(--space-2xl);
    align-items: center;
}

.hero-copy {
    text-align: left;
}

.hero-media {
    display: flex;
    justify-content: center;
}

.hero-media img {
    width: min(100%, 340px);
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotate(1.5deg);
}

.eyebrow {
    color: var(--terracotta);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta), var(--mustard));
    border-radius: var(--radius-sm);
}

.hero-split::before {
    display: none;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    color: var(--deep-brown);
    text-shadow: 2px 2px 4px rgba(92, 64, 51, 0.1);
}

.hero-summary {
    color: var(--warm-gray);
    font-size: 1.15rem;
    margin-bottom: var(--space-lg);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Trust Strip */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.trust-item {
    background: var(--light-cream);
    border: 1px solid rgba(92, 64, 51, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-md);
    text-align: center;
}

.trust-item strong {
    color: var(--deep-brown);
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.1;
}

.trust-item span {
    color: var(--warm-gray);
    display: block;
    font-size: 0.9rem;
    margin-top: var(--space-xs);
}

.tagline {
    font-family: var(--font-handwritten);
    font-size: 1.5rem;
    color: var(--terracotta);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    gap: var(--space-sm);
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--terracotta);
    border: 2px solid var(--terracotta);
}

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

.amazon-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--mustard);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.amazon-button:hover {
    background: var(--terracotta);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.amazon-button::after {
    content: '→';
    font-weight: 700;
}

.feature-grid,
.recipe-grid,
.review-grid {
    display: grid;
    gap: var(--space-lg);
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin: 0 auto;
    max-width: 900px;
}

.feature-grid .card h3 {
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
}

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

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

.reviews-page-grid {
    margin: var(--space-lg) 0 var(--space-xl);
}

/* Cards */
.card {
    background: var(--light-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(92, 64, 51, 0.08);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Recipe Card */
.recipe-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(92, 64, 51, 0.06);
}

.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.recipe-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--cream);
}

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

.recipe-header {
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--light-cream), var(--cream));
    border-bottom: 1px solid rgba(92, 64, 51, 0.06);
}

.effort-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
}

.effort-badge.effort-1, .effort-badge.effort-2 {
    background: rgba(143, 168, 130, 0.15);
    color: var(--sage);
}

.effort-badge.effort-3, .effort-badge.effort-4 {
    background: rgba(212, 165, 74, 0.15);
    color: var(--mustard);
}

.effort-badge.effort-5, .effort-badge.effort-6 {
    background: rgba(198, 92, 92, 0.15);
    color: var(--soft-red);
}

.recipe-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
    color: var(--deep-brown);
}

.recipe-intro {
    font-size: 0.95rem;
    color: var(--warm-gray);
    font-style: italic;
    line-height: 1.4;
}

.recipe-body {
    padding: var(--space-lg);
}

.recipe-teaser .recipe-image {
    height: 210px;
}

.recipe-section {
    margin-bottom: var(--space-md);
}

.recipe-section h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
}

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

.ingredient-list li, .method-list li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ingredient-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-weight: bold;
}

.method-list li {
    counter-increment: method-counter;
}

.method-list li::before {
    content: counter(method-counter) '.';
    position: absolute;
    left: 0;
    color: var(--mustard);
    font-weight: 600;
}

.method-list {
    counter-reset: method-counter;
}

/* Can't Be @rsed Tip Box */
.tip-box {
    background: var(--light-cream);
    border: 1px dashed var(--terracotta);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-top: var(--space-md);
    position: relative;
}

.tip-box::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: var(--space-md);
    background: var(--light-cream);
    padding: 0 var(--space-xs);
}

.tip-box p {
    font-family: var(--font-handwritten);
    font-size: 0.95rem;
    color: var(--deep-brown);
    margin-bottom: 0;
    font-style: italic;
}

/* Ultra-Lazy Version */
.ultra-lazy {
    background: rgba(212, 165, 74, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-top: var(--space-sm);
}

.ultra-lazy h5 {
    font-size: 0.85rem;
    color: var(--mustard);
    margin-bottom: var(--space-xs);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ultra-lazy p {
    font-size: 0.9rem;
    margin-bottom: 0;
    font-style: italic;
}

/* Nutrition Info */
.nutrition {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    list-style: none;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    padding-left: 0;
    border-top: 1px solid rgba(92, 64, 51, 0.08);
}

.nutrition-item {
    background: var(--light-cream);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--warm-gray);
}

/* Sections */
.section {
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(92, 64, 51, 0.08);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title h2 {
    margin-bottom: var(--space-sm);
}

.section-title p {
    margin: 0 auto;
    color: var(--warm-gray);
    font-size: 1.1rem;
}

.section-action {
    margin-top: var(--space-xl);
    text-align: center;
}

.section-note {
    color: var(--warm-gray);
    font-style: italic;
    margin: var(--space-lg) auto 0;
    text-align: center;
}

/* Effort Scale */
.effort-scale {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.inside-list {
    display: grid;
    gap: var(--space-md);
    margin: 0 auto;
    max-width: 760px;
}

.inside-card h3 {
    align-items: center;
    display: flex;
    gap: var(--space-sm);
}

.inside-card p {
    color: var(--warm-gray);
    margin-bottom: 0;
}

.chapter-badge {
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    text-transform: uppercase;
}

.badge-sage { background: var(--sage); }
.badge-mustard { background: var(--mustard); }
.badge-red { background: var(--soft-red); }
.badge-terracotta { background: var(--terracotta); }

.effort-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--light-cream);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.effort-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.effort-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.effort-number.effort-1, .effort-number.effort-2 {
    background: rgba(143, 168, 130, 0.2);
    color: var(--sage);
}

.effort-number.effort-3, .effort-number.effort-4 {
    background: rgba(212, 165, 74, 0.2);
    color: var(--mustard);
}

.effort-number.effort-5, .effort-number.effort-6 {
    background: rgba(198, 92, 92, 0.2);
    color: var(--soft-red);
}

.effort-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Reviews Section */
.review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(92, 64, 51, 0.06);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: var(--mustard);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.final-cta {
    background: linear-gradient(135deg, var(--light-cream), var(--cream));
    border-radius: var(--radius-lg);
    text-align: center;
}

.final-cta p {
    color: var(--warm-gray);
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    display: grid;
    gap: var(--space-md);
    margin: 0 auto;
    max-width: 820px;
}

.faq-list details {
    background: var(--light-cream);
    border: 1px solid rgba(92, 64, 51, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-md) var(--space-lg);
}

.faq-list summary {
    color: var(--deep-brown);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.faq-list p {
    color: var(--warm-gray);
    margin: var(--space-md) 0 0;
}

.review-author {
    font-weight: 600;
    color: var(--deep-brown);
    margin-bottom: var(--space-xs);
}

.review-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--terracotta);
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.review-date {
    font-size: 0.8rem;
    color: var(--warm-gray);
    margin-bottom: var(--space-sm);
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--deep-brown);
}

/* Footer */
footer {
    background: var(--footer-background);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-xl) var(--space-lg);
    margin-top: var(--space-2xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

.footer-tagline {
    font-style: italic;
    color: var(--terracotta);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-note {
    color: var(--terracotta);
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-style: italic;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--space-md);
    max-width: 40rem;
    opacity: 1;
    text-align: center;
}

.copyright-notice {
    font-size: 0.8rem;
    margin-top: var(--space-lg);
    opacity: 0.65;
    text-align: center;
}

.copyright-notice p {
    margin: 0 auto var(--space-xs);
}

/* Content Styling */
.content h1, .content h2, .content h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.content p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.content blockquote {
    border-left: 4px solid var(--terracotta);
    padding: var(--space-md) var(--space-lg);
    background: var(--light-cream);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: var(--space-lg) 0;
    font-style: italic;
}

.content ul, .content ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-xl);
}

.content li {
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
    }
    
    nav {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }
    
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recipe-grid {
        grid-template-columns: 1fr;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    main {
        padding: var(--space-lg) var(--space-md);
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .effort-scale {
        grid-template-columns: 1fr;
    }
    
    .nutrition {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .author-image-float {
        float: none;
        margin: 0 auto var(--space-lg);
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .recipe-card {
        margin-bottom: var(--space-md);
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .amazon-button {
        display: flex;
        width: 100%;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .hero-media img {
        width: min(100%, 280px);
    }
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }

.sr-only {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Author Image - Circular with transparent background */
.author-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--shadow-md);
}

.author-image-float {
    float: right;
    margin: 0 0 var(--space-md) var(--space-lg);
}
