/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: #fafafa;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Modern Floating Header */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    position: relative;
}

.logo {
    color: #FF6B35;
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1001;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1001;
    margin-left: auto;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation */
nav {
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav li {
    position: relative;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    display: block;
    border-radius: 4px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    border-radius: 2px;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #FF6B35;
}

nav ul li a:hover::after {
    width: 100%;
}

nav a:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* Hero Section with Overlay */
.hero {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DB 50%, #FFF5F0 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(247, 147, 30, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: #1a1a1a;
    letter-spacing: -1.5px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.hero .subtitle {
    font-size: 1.3rem;
    max-width: 750px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    color: #4a4a4a;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.hero .description {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    color: #4a4a4a;
    position: relative;
    z-index: 1;
}

.search-box {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Categories Section */
.categories {
    background-color: #fafafa;
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.category-card {
    background: linear-gradient(135deg, #fff 0%, #FFFBF8 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.2);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    color: #FF6B35;
}

.category-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.category-card .recipe-count {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.category-card a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.category-card a:hover {
    color: #F7931E;
    gap: 12px;
}

.category-card a::after {
    content: '→';
    transition: transform 0.3s ease;
}

.category-card:hover a::after {
    transform: translateX(5px);
}

/* Featured Recipes Section */
.featured-recipes {
    padding: 70px 0;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DB 100%);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-bottom: 3rem;
}

.recipe-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.recipe-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(255, 107, 53, 0.2);
}

.recipe-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: bold;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    padding: 20px;
    background-size: cover;
    background-position: center;
}

.recipe-image::before {
    content: '📸';
    font-size: 2rem;
    margin-right: 0.5rem;
}

.recipe-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recipe-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #888;
    padding-top: 1.2rem;
    border-top: 2px solid #FFF5F0;
    margin-top: auto;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.recipe-meta .time::before {
    content: '⏱️';
}

.recipe-meta .serves::before {
    content: '👥';
}

/* Additional styles for the recipe cards from JavaScript */
.fade-in {
    opacity: 1;
}

.recipe-card[itemscope] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recipe-card[itemscope]:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(255, 107, 53, 0.2);
}

/* About Section */
.about-section {
    background-color: #fafafa;
    padding: 70px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about-text p {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.15rem;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.25);
}

.about-image::before {
    content: '👨‍🍳';
    font-size: 4rem;
    margin-right: 1rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.newsletter p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form button {
    padding: 18px 35px;
    background-color: white;
    color: #FF6B35;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* Modern Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: #FF6B35;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #FF6B35;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 28px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #FF6B35;
    transform: translateY(-3px);
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
}

/* Category Icons */
.breakfast::before { content: '🥞'; }
.lunch::before { content: '🥗'; }
.dinner::before { content: '🍽️'; }
.appetizers::before { content: '🥨'; }
.desserts::before { content: '🍰'; }
.beverages::before { content: '☕'; }
.oxtail::before { content: '🥩'; }
.comfort::before { content: '🍲'; }
.healthy::before { content: '🥬'; }

/* Privacy & Contact Page Styles */
.privacy-header,
.contact-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    color: #1a1a1a;
}

.privacy-content,
.contact-content {
    background: white;
    margin: 3rem auto;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.12);
    max-width: 900px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

h1 {
    color: #1a1a1a;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 4px solid #FF6B35;
    padding-bottom: 1.5rem;
    font-weight: 800;
}

h2 {
    color: #FF6B35;
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 700;
}

p {
    margin-bottom: 1.2rem;
    color: #4a4a4a;
    line-height: 1.8;
}

ul, ol {
    margin: 1rem 0 1rem 2rem;
}

li {
    margin-bottom: 0.8rem;
    color: #4a4a4a;
    line-height: 1.7;
}

.last-updated {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DB 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border-left: 5px solid #FF6B35;
    font-style: italic;
    color: #FF6B35;
    font-weight: 600;
}

.contact-info {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 35px;
    border-radius: 18px;
    margin: 2.5rem 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

.highlight-box {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DB 100%);
    border: 2px solid #FFD4B8;
    padding: 25px;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 5px solid #FF6B35;
}

.intro-text {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DB 100%);
    border: 2px solid #FFD4B8;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    text-align: center;
    border-left: 5px solid #FF6B35;
}

.contact-item {
    margin: 1.5rem 0;
    padding: 20px;
    background: linear-gradient(135deg, #FFFBF8 0%, #FFF5F0 100%);
    border-radius: 12px;
    border-left: 5px solid #FF6B35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
}

.contact-item strong {
    color: #FF6B35;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.faq-item:hover {
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.faq-question {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 22px 28px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: linear-gradient(135deg, #F7931E 0%, #FF6B35 100%);
}

.faq-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: white;
}

.faq-answer {
    padding: 0;
    background: #FFFBF8;
    line-height: 1.8;
    color: #4a4a4a;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 22px 28px;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* Terms Section */
.terms-section {
    padding: 80px 0;
    background: #fafafa;
    min-height: calc(100vh - 200px);
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.terms-content h1 {
    font-size: 2.8rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 800;
    position: relative;
}

.terms-content h1:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    border-radius: 3px;
}

.terms-intro {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DB 100%);
    border-radius: 18px;
    border-left: 5px solid #FF6B35;
}

.terms-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.terms-articles {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.terms-item {
    padding: 30px;
    background: linear-gradient(135deg, #FFFBF8 0%, #FFF5F0 100%);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.08);
}

.terms-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.terms-item h2 {
    font-size: 1.5rem;
    color: #FF6B35;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.terms-item h2:before {
    content: '';
    width: 5px;
    height: 24px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    margin-right: 15px;
    border-radius: 3px;
}

.terms-item p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin: 0;
}

/* Recipe Grid Section */
.recipe-section,
.recipe-section13 {
    padding: 60px 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.recipe-grid13 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.recipe-card13 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.recipe-card13:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.2);
}

.recipe-image13 {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px 20px 0 0;
    display: block;
}

.recipe-content13 {
    padding: 25px;
}

.recipe-title13 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 15px;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-meta13 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid #FFF5F0;
}

.recipe-time,
.recipe-time13 {
    color: #FF6B35;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.recipe-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.star {
    color: #FF6B35;
    font-size: 16px;
}

.rating-number,
.rating-number13 {
    color: #FF6B35;
    font-size: 14px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: right 0.3s ease;
        box-shadow: -2px 0 30px rgba(255, 107, 53, 0.15);
        z-index: 999;
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    }
    
    nav a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 0;
        width: 100%;
        text-align: left;
        color: #333;
    }
    
    nav a::after {
        display: none;
    }
    
    nav a:hover {
        background-color: #FFF5F0;
        color: #FF6B35;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 60px 0 50px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero .description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        padding: 30px 25px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box input {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .search-box button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .categories,
    .featured-recipes,
    .about-section {
        padding: 50px 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .privacy-content,
    .contact-content {
        margin: 2rem 20px;
        padding: 35px 25px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .recipe-grid13 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .recipe-section13 {
        padding: 20px 12px;
    }

    .recipe-card13 {
        border-radius: 12px;
    }

    .recipe-image13 {
        height: 160px;
        border-radius: 12px 12px 0 0;
    }

    .recipe-content13 {
        padding: 14px;
    }

    .recipe-title13 {
        font-size: 15px;
        min-height: 40px;
        line-height: 1.3;
    }

    .recipe-meta13 {
        margin-top: 10px;
        padding-top: 10px;
    }

    .recipe-time13 {
        font-size: 13px;
    }

    .rating-number13 {
        font-size: 13px;
    }

    .star {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 50px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero .description {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .categories,
    .featured-recipes,
    .about-section {
        padding: 40px 0;
    }
    
    .category-card {
        padding: 25px 20px;
    }
    
    .category-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .category-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .recipe-card .recipe-content {
        padding: 20px;
    }
    
    .recipe-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .newsletter h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .newsletter p {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
    }
    
    /* Better touch targets for mobile */
    nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .search-box button,
    .newsletter-form button {
        min-height: 48px;
        font-size: 1rem;
    }
    
    .menu-toggle {
        min-width: 48px;
        min-height: 48px;
        justify-content: center;
        align-items: center;
    }
    
    .privacy-content,
    .contact-content {
        margin: 1.5rem 15px;
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 1.9rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .terms-content {
        margin: 0 15px;
        padding: 40px 25px;
    }
    
    .terms-content h1 {
        font-size: 2rem;
    }
    
    .recipe-section,
    .recipe-section13 {
        padding: 16px 8px;
    }
    
    .recipe-grid13 {
        gap: 12px;
    }
    
    .recipe-card13 {
        border-radius: 15px;
    }
    
    .recipe-image13 {
        height: 140px;
        border-radius: 15px 15px 0 0;
    }
    
    .recipe-content13 {
        padding: 12px;
    }
    
    .recipe-title13 {
        font-size: 14px;
        min-height: 36px;
    }
    
    .recipe-time13 {
        font-size: 12px;
    }
    
    .rating-number13 {
        font-size: 12px;
    }
    
    .star {
        font-size: 13px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .recipe-image,
    .about-image {
        background-size: cover;
        background-position: center;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .search-box input {
        background-color: #2c2c2c;
        color: white;
        border: 1px solid #444;
    }
    
    .newsletter-form input {
        background-color: rgba(255, 255, 255, 0.95);
        color: #333;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #FF6B35;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card,
.recipe-card,
.about-content,
.newsletter {
    animation: fadeInUp 0.6s ease-out;
}

/* Performance Optimizations */
* {
    -webkit-tap-highlight-color: transparent;
}

img {
    image-rendering: -webkit-optimize-contrast;
}

.category-card,
.recipe-card,
.faq-item,
.terms-item {
    will-change: transform;
}

/* Accessibility Enhancements */
.search-box button:focus,
.newsletter-form button:focus,
.faq-question:focus,
button:focus {
    outline: 3px solid #FF6B35;
    outline-offset: 3px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .category-card,
    .recipe-card,
    .terms-item {
        border-width: 2px;
    }
}