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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0%;
    left: 0;
    right: 0;
    z-index: 50;
    background: #1e1e1e6f;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-container {
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

.nav-logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-accent {
    font-size: 1.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
   border: 2px solid #f3f4f6;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.line {
    width: 1.5rem;
    height: 2px;
    background-color: #ffffff;
    margin: 2px 0;
    border-radius: 1px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

.mobile-menu-content {
    margin-top: 4rem;
    width: 100%;
    max-width: 500px;
    border-radius: 1rem;
    transform: translateY(-1rem);
    transition: all 0.3s ease;
    padding: 2rem 1rem;
}

.mobile-menu-overlay.open .mobile-menu-content {
    transform: translateY(0);
}

/* Navigation Links */
.nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay.open .nav-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.open .nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.open .nav-item:nth-child(2) { transition-delay: 0.2s; }

.mobile-menu-overlay .nav-link {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    padding: 1.5rem 3rem;
    border-radius: 1rem;
    min-width: 200px;
    max-width: 300px;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Hamburger Animation */
.hamburger.open .line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.open .line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Desktop specific adjustments */
@media (min-width: 768px) {
    .mobile-menu-content {
        max-width: 600px;
        padding: 3rem 2rem;
    }
    
    .nav-links {
        gap: 2.5rem;
    }
    
    .mobile-menu-overlay .nav-link {
        font-size: 1.25rem;
        padding: 1.25rem 2.5rem;
        min-width: 250px;
        max-width: 350px;
    }
}

@media (min-width: 1024px) {
    .mobile-menu-content {
        max-width: 700px;
        padding: 4rem 3rem;
    }
    
    .nav-links {
        gap: 3rem;
    }
    
    .mobile-menu-overlay .nav-link {
        font-size: 2.5rem;
        padding: 1.5rem 3rem;
        min-width: 280px;
        max-width: 400px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('https://images.unsplash.com/photo-1498837167922-ddd27525d352?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem 1rem;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: clamp(1.125rem, 4vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content .btn {
    margin: 0 0.5rem 0.5rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: #1e1e1e;
    color: white;
 
}

.btn-primary:hover {
    background-color: #252525;
}

.btn-secondary {
    background-color: transparent;
    color: #e5efff;
    border: 2px solid #e5efff;
    border-radius: 0.75rem;
}

.btn-secondary:hover {
    background-color: #1e1e1e;
    color: white;
    border: 2px solid #1e1e1e;

}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: #f9fafb;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

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

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.feature-text {
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

/* Focus States */
.btn:focus,
.nav-link:focus,
.hamburger:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Page-specific Hero Variations */
.hero-recipes {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('https://images.unsplash.com/photo-1495521821757-a1efb6729352?q=80&w=2080&auto=format&fit=crop');
    min-height: 50vh;
}

.hero-meal-plans {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?q=80&w=2080&auto=format&fit=crop');
    min-height: 50vh;
}

/* Search Section */
.search-section {
    padding: 2rem 0;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #6b7280;
    font-size: 1.125rem;
    z-index: 10;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    background-color: #f9fafb;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: white;
    box-shadow: 0 4px 12px 0 rgba(59, 130, 246, 0.1);
}

/* Recipes Section */
.recipes-section {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.recipe-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .recipe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .recipe-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.recipe-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

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

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

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

.recipe-content {
    padding: 1.5rem;
}

.recipe-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.recipe-time {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Meal Plans Section */
.meal-plans-section {
    padding: 4rem 0;
    background-color: white;
}

.meal-plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .meal-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .meal-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.meal-plan-card {
    background-color: #f9fafb;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.meal-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.meal-plan-image {
    position: relative;
    overflow: hidden;
}

.meal-plan-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.meal-plan-content {
    padding: 2rem;
    text-align: center;
}

.meal-plan-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.meal-plan-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin: -0.5rem 0 0 -0.5rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Recipe Page Styles */
.recipe-page {
    background-color: #f9fafb;
    min-height: 100vh;
}

.recipe-featured {
    margin-top: 0;
    margin-bottom: 3rem;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.recipe-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}



.recipe-header {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.recipe-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.recipe-page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin: 0;
}

.recipe-rating {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
    font-size: 1.25rem;
}

.recipe-description {
    margin-bottom: 2rem;
}

.recipe-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

.nutrition-macros {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .nutrition-macros {
        grid-template-columns: repeat(4, 1fr);
    }
}

.macro-item {
    background-color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.macro-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.macro-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.macro-calories {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
}

.macro-carb {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #3b82f6;
}

.macro-protein {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    border-color: #ef4444;
}

.macro-fat {
    background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
    border-color: #6366f1;
}

.recipe-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .recipe-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.ingredients-section,
.instructions-section {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.toggle-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.ingredients-list {
    transition: all 0.3s ease;
}

.ingredients-list.hidden {
    display: none;
}

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

.ingredient-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}

.ingredient-item:last-child {
    border-bottom: none;
}

.instructions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.instruction-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.instruction-step p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive adjustments for recipe pages */
@media (max-width: 640px) {
    
    .recipe-hero-image {
        height: 350px;
    }
    
    .recipe-title-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nutrition-macros {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ingredients-section,
    .instructions-section {
        padding: 1.5rem;
    }
    
    .recipe-content-grid {
        gap: 2rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .recipe-hero-image {
        height: 450px;
    }
}

/* Related Recipes Section */
.related-recipes {
    padding: 4rem 0;
    background-color: white;
    border-top: 1px solid #e5e7eb;
}

.related-recipes .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
    position: relative;
}

.related-recipes .section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

.related-recipes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .related-recipes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .related-recipes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.related-recipes .recipe-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.related-recipes .recipe-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
}

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

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

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

.related-recipes .recipe-content {
    padding: 1.5rem;
}

.related-recipes .recipe-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-recipes .recipe-time {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.related-recipes .btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    justify-content: center;
}

/* Related recipes responsive adjustments */
@media (max-width: 640px) {
    .related-recipes {
        padding: 3rem 0;
    }
    
    .related-recipes .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .related-recipes .recipe-img {
        height: 200px;
    }
    
    .related-recipes .recipe-content {
        padding: 1.25rem;
    }
}

/* Footer */
.footer {
    background: #1e1e1e;
    color: #e5e7eb;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 3rem;
    }
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo .logo-accent {
    color: rgba(255, 255, 255, 0.8);
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: #484848;
    border-radius: 1px;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #3b82f6;
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #9ca3af;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.footer-contact {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: #3b82f6;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #3b82f6;
}

/* Footer responsive adjustments */
@media (max-width: 640px) {
    .footer {
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
    }
    
    .footer-content {
        gap: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

/* Clean Eating Page Styles */
.hero-clean-eating {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../img/edgar-castrejon-1SPu0KT-Ejg-unsplash.jpg');
}

.clean-eating-page {
    background-color: #f9fafb;
    min-height: 100vh;
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 6rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.benefit-text {
    color: #6b7280;
    line-height: 1.6;
}

/* Principles Section */
.principles-section {
    margin-bottom: 6rem;
    background: white;
    border-radius: 2rem;
    padding: 4rem 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.principles-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .principles-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.principle-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.principle-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.principle-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.principle-item .fa-check-circle {
    color: #10b981;
}

.principle-item .fa-times-circle {
    color: #ef4444;
}

.principle-item .fa-tint {
    color: #3b82f6;
}

.principle-item .fa-balance-scale {
    color: #8b5cf6;
}

.principle-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.principle-item p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.principles-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
}

/* Meal Plans Section */
.meal-plans-section {
    margin-bottom: 6rem;
}

.meal-plan-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-button:hover,
.tab-button.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.day-plan {
    display: none;
}

.day-plan.active {
    display: block;
}

.meals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .meals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .meals-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.meal-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.meal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.meal-type {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.meal-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.meal-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.meal-calories {
    display: inline-block;
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Shopping Section */
.shopping-section {
    margin-bottom: 6rem;
}

.shopping-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .shopping-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .shopping-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.shopping-category {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.category-title i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.shopping-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shopping-list li {
    padding: 0.5rem 0;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 1.5rem;
}

.shopping-list li:last-child {
    border-bottom: none;
}

.shopping-list li::before {
    content: '•';
    color: #3b82f6;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Tips Section */
.tips-section {
    margin-bottom: 4rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .tips-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.tip-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2rem;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.tip-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1rem 0 0.75rem;
}

.tip-text {
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .clean-eating-page {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .principles-section {
        padding: 2rem 1rem;
    }
    
    .meal-plan-tabs {
        gap: 0.25rem;
    }
    
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}


