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

:root {
    --primary-color: #E8A5A5;
    --primary-dark: #D68888;
    --secondary-color: #B8D4D4;
    --accent-color: #F5E6D3;
    --accent-warm: #F4D8C9;
    --dark-color: #4A4A4A;
    --medium-color: #8B8B8B;
    --light-color: #FAF7F5;
    --cream: #FFF9F5;
    --text-color: #3D3D3D;
    --border-color: #EDE0D8;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.12);
    --soft-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lora:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--cream);
    font-weight: 400;
}

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

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--light-color) 100%);
    box-shadow: var(--soft-shadow);
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header.scrolled .header-content {
    padding: 1rem 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(232, 165, 165, 0.2);
    border: 2px solid var(--primary-color);
}

.site-header.scrolled .logo-image {
    width: 45px;
    height: 45px;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

.site-header.scrolled .site-title {
    font-size: 1.75rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    width: 40px;
    height: 40px;
    position: relative;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 9px;
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Desktop Navigation */
.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover {
    color: var(--primary-dark);
}

.main-nav a:hover::after {
    width: 80%;
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem 0;
}

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem 2rem;
    border-bottom: 2px solid var(--border-color);
}

.menu-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0;
}

.menu-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--dark-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.menu-close:hover {
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.mobile-menu-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.mobile-menu-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0;
}

.menu-section {
    border-bottom: 1px solid var(--border-color);
}

.menu-section-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: left;
    transition: all 0.3s ease;
}

.menu-section-toggle:hover {
    background-color: var(--light-color);
    color: var(--primary-dark);
}

.menu-section-toggle .arrow {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.menu-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem 0.5rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.menu-section-title:hover {
    color: var(--primary-dark);
}

.menu-section-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.menu-section.active .menu-section-icon {
    transform: rotate(180deg);
}

.menu-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-section.active .menu-section-content {
    max-height: 500px;
}

.menu-section-content a {
    display: block;
    padding: 0.75rem 2rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-section-content a:hover {
    background-color: var(--light-color);
    color: var(--primary-dark);
    border-left-color: var(--primary-color);
    padding-left: 2.5rem;
}

/* Newsletter Section in Menu */
.newsletter-section {
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--accent-color) 100%);
    margin: 1rem;
    border-radius: 15px;
    text-align: center;
}

.newsletter-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.newsletter-section p {
    font-size: 0.9rem;
    color: var(--medium-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 165, 165, 0.1);
}

.newsletter-btn {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 165, 165, 0.4);
}

/* Ad Containers */
.ad-container {
    margin: 2rem auto;
    text-align: center;
    background: linear-gradient(135deg, var(--light-color) 0%, #FFFFFF 100%);
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
}

.ad-header {
    margin: 1rem 0;
    border-radius: 0;
}

.ad-sidebar {
    margin-top: 2rem;
    min-height: 600px;
}

.ad-in-content {
    margin: 3rem 0;
}

.ad-footer {
    margin: 2rem auto;
}

/* Main Content Layout */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 300px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

/* Sidebar */
.sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 120px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--light-color) 50%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.sidebar h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
}

.recipe-list {
    list-style: none;
}

.recipe-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.recipe-list li:hover {
    padding-left: 0.5rem;
    background-color: rgba(232, 165, 165, 0.05);
}

.recipe-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.recipe-list a:hover {
    color: var(--primary-dark);
    font-weight: 500;
}

/* Main Article Area */
.main-article {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.hero-section {
    text-align: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.lead {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    color: var(--medium-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-style: italic;
}

/* Recipe Grid */
.featured-recipes {
    margin: 3rem 0;
}

.featured-recipes h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    font-weight: 700;
    text-align: center;
}

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

.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
}

.recipe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 165, 165, 0.1) 0%, rgba(184, 212, 212, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    z-index: 1;
}

.recipe-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.recipe-card:hover::before {
    opacity: 1;
}

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

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

.recipe-card h3 {
    padding: 1.5rem 1.5rem 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.recipe-card h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recipe-card h3 a:hover {
    color: var(--primary-dark);
}

.recipe-card p {
    padding: 0 1.5rem;
    color: var(--medium-color);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.recipe-time {
    display: block;
    padding: 1rem 1.5rem 1.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Recipe Detail Page Styles */
.recipe-header {
    text-align: center;
    margin-bottom: 3rem;
}

.recipe-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.recipe-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    border: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    font-size: 0.8rem;
    color: var(--medium-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.meta-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.recipe-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 3rem auto;
    display: block;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    border: 3px solid white;
    outline: 1px solid var(--border-color);
}

.recipe-description {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: var(--medium-color);
    line-height: 1.9;
    margin: 2rem 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    border: 1px solid var(--border-color);
}

.social-share h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 600;
}

/* Ingredients and Instructions */
.recipe-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin: 3rem 0;
}

.ingredients-section, .instructions-section {
    background-color: white;
}

.ingredients-section h2, .instructions-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    font-weight: 700;
}

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

.ingredients-list li {
    padding: 1rem 1.2rem;
    margin: 0.75rem 0;
    background: linear-gradient(135deg, var(--light-color) 0%, #FFFFFF 100%);
    border-left: 4px solid var(--secondary-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--soft-shadow);
    line-height: 1.6;
}

.ingredients-list li:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-color) 100%);
    transform: translateX(5px);
    border-left-color: var(--primary-color);
}

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

.instructions-list li {
    counter-increment: step-counter;
    padding: 1.75rem;
    margin: 1.25rem 0;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--light-color) 100%);
    border-radius: 15px;
    position: relative;
    padding-left: 5rem;
    box-shadow: var(--soft-shadow);
    line-height: 1.7;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.instructions-list li:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.instructions-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1.5rem;
    top: 1.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(232, 165, 165, 0.3);
    font-family: 'Playfair Display', serif;
}

/* Rating Systems */
.rating-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-color) 0%, #FFFFFF 100%);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--soft-shadow);
}

.star-rating, .vote-system {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.stars {
    display: flex;
    gap: 0.5rem;
}

.star {
    font-size: 2rem;
    color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.star:hover,
.star.active {
    color: #FFB800;
    transform: scale(1.1);
}

.star.filled {
    color: #FFB800;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--medium-color);
    margin-top: 0.5rem;
}

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

.vote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.vote-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.vote-btn.upvote:hover,
.vote-btn.upvote.active {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(184, 212, 212, 0.1) 0%, white 100%);
}

.vote-btn.downvote:hover,
.vote-btn.downvote.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(232, 165, 165, 0.1) 0%, white 100%);
}

.vote-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.vote-btn.upvote .vote-icon {
    color: var(--secondary-color);
}

.vote-btn.downvote .vote-icon {
    color: var(--primary-color);
}

.vote-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Comments Section */
.comments-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.comments-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Related Recipes Section */
.related-recipes {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.related-recipes h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

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

.related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--soft-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

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

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

.related-card:hover img {
    transform: scale(1.08);
}

.related-card-content {
    padding: 1.5rem;
}

.related-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.related-card:hover h3 {
    color: var(--primary-dark);
}

.related-card p {
    color: var(--medium-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--medium-color);
}

.related-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.related-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #FFB800;
    font-weight: 600;
}

/* Decorative Elements */
h1, h2, h3 {
    position: relative;
}

.recipe-card h3 a,
.recipe-list a,
.main-nav a {
    position: relative;
}

/* Add subtle hover glow to links */
.recipe-card h3 a:hover {
    text-shadow: 0 0 20px rgba(232, 165, 165, 0.3);
}

/* Beautiful focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: var(--primary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #3d3d3d 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    text-align: center;
    border-top: 3px solid var(--primary-color);
}

.site-footer p {
    margin: 0.75rem 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* About Section */
.about-section {
    margin: 3rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    font-weight: 700;
    text-align: center;
}

.about-section p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dark-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sidebar {
        order: 2;
    }

    .main-article {
        order: 1;
    }

    .sidebar-sticky {
        position: static;
    }

    .recipe-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

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

    .site-header.scrolled .site-title {
        font-size: 1.5rem;
    }

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

    .site-header.scrolled .logo-image {
        width: 40px;
        height: 40px;
    }

    .main-nav {
        gap: 1.5rem;
    }

    .main-nav a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .recipe-header h1 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }

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

    .recipe-meta {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .social-share {
        flex-direction: column;
    }

    .main-article {
        padding: 2rem;
    }

    .about-section {
        padding: 2rem;
    }

    .rating-section {
        flex-direction: column;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .site-title {
        font-size: 1.75rem;
    }

    .site-header.scrolled .site-title {
        font-size: 1.35rem;
    }

    .logo-image {
        width: 45px;
        height: 45px;
    }

    .site-header.scrolled .logo-image {
        width: 35px;
        height: 35px;
    }

    .site-logo {
        gap: 0.75rem;
    }

    .main-article {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

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

    .featured-recipes h2,
    .about-section h2 {
        font-size: 2rem;
    }

    .ingredients-section h2,
    .instructions-section h2 {
        font-size: 1.6rem;
    }

    .instructions-list li {
        padding-left: 4rem;
        padding-right: 1rem;
    }

    .instructions-list li::before {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        left: 1rem;
    }

    .recipe-meta {
        gap: 1rem;
        padding: 1.25rem;
    }

    .meta-value {
        font-size: 1.3rem;
    }

    .about-section {
        padding: 1.5rem;
    }

    .sidebar-sticky {
        padding: 1.5rem;
        border-radius: 15px;
    }
}
