@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #ea580c;
    --primary-hover: #c2410c;
    --primary-light: #ffedd5;
    --secondary: #16a34a;
    --secondary-hover: #15803d;
    --secondary-light: #dcfce7;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.06), 0 10px 10px -5px rgba(0,0,0,0.04);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

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

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

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

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

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.btn-outline {
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-header p {
    color: var(--text-muted);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-orange {
    background-color: var(--primary-light);
    color: var(--primary);
}

.badge-green {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.5rem;
    height: 1.1rem;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 10px;
    transition: var(--transition);
}

/* Mobile Nav Menu */
.mobile-nav {
    position: fixed;
    top: 4.5rem;
    left: -100%;
    width: 100%;
    height: calc(100vh - 4.5rem);
    background-color: var(--bg-white);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.mobile-nav a.active,
.mobile-nav a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: radial-gradient(circle at 90% 10%, rgba(255, 237, 213, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    max-width: 500px;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-box button {
    background-color: var(--primary);
    color: var(--bg-white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 480px;
    object-fit: cover;
    transform: rotate(1deg);
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-img {
    transform: rotate(0) scale(1.02);
}

.hero-floating-card {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background-color: var(--bg-white);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
}

.hero-floating-card img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.floating-card-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.floating-card-info p {
    font-size: 0.75rem;
    color: var(--text-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Popular Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    background-color: var(--bg-light);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    background-color: var(--bg-white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.category-icon {
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--bg-white);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: scale(1.1);
}

.category-icon svg {
    width: 2.25rem;
    height: 2.25rem;
    stroke-width: 1.5px;
}

.category-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Recipe Grid & Cards */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.recipe-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.recipe-img-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.recipe-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.recipe-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
}

.recipe-wishlist {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 1;
    color: var(--text-muted);
    transition: var(--transition);
}

.recipe-wishlist:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    transform: scale(1.1);
}

.recipe-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recipe-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.recipe-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.recipe-card-title:hover {
    color: var(--primary);
}

.recipe-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.meta-item svg {
    width: 1rem;
    height: 1rem;
}

.recipe-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.recipe-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.recipe-rating svg {
    width: 1rem;
    height: 1rem;
    fill: #f59e0b;
    color: #f59e0b;
}

.view-recipe-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.view-recipe-btn:hover {
    color: var(--primary-hover);
}

.view-recipe-btn svg {
    width: 1.1rem;
    height: 1.1rem;
    transition: var(--transition);
}

.view-recipe-btn:hover svg {
    transform: translateX(3px);
}

/* Why Choose Us Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    background-color: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

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

.why-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin: 0 auto 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card:nth-child(1) .why-icon { background-color: var(--primary-light); color: var(--primary); }
.why-card:nth-child(2) .why-icon { background-color: var(--secondary-light); color: var(--secondary); }
.why-card:nth-child(3) .why-icon { background-color: #e0f2fe; color: #0284c7; }

.why-icon svg {
    width: 2rem;
    height: 2rem;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Newsletter Section */
.newsletter-bg {
    background-color: var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 4.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.newsletter-bg::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(234, 88, 12, 0.05);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.newsletter-content p {
    color: var(--text-muted);
    margin-bottom: 2.25rem;
}

.newsletter-form {
    display: flex;
    background-color: var(--bg-white);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1.5rem;
}

.newsletter-form button {
    padding: 0.75rem 2rem;
}

/* Footer Section */
footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
    padding-bottom: 2rem;
}

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

.footer-about .logo {
    margin-bottom: 1.25rem;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.footer-links h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-contact li svg {
    width: 1.15rem;
    height: 1.15rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Recipes Page Specific Styles */
.recipes-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background-color: var(--bg-light);
    text-align: center;
}

.recipes-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.recipes-hero p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.recipes-controls {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.recipes-search {
    flex: 1;
    max-width: 450px;
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.recipes-search input {
    flex: 1;
    padding: 0.65rem 1rem;
}

.recipes-search svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-light);
    margin-left: 1rem;
}

.category-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.65rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    background-color: var(--bg-white);
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.no-results svg {
    width: 4rem;
    height: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-muted);
}

/* About Page Specific Styles */
.about-hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-hero-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.about-hero-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.mission-vision {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.mission-card.mission::before { background-color: var(--primary); }
.mission-card.vision::before { background-color: var(--secondary); }

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mission-card h3 svg {
    width: 1.75rem;
    height: 1.75rem;
}

.mission-card.mission h3 svg { color: var(--primary); }
.mission-card.vision h3 svg { color: var(--secondary); }

.mission-card p {
    color: var(--text-muted);
}

/* Contact Page Specific Styles */
.contact-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-panel {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.contact-info-panel h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info-panel > p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-panel {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-panel h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
}

/* Legal Pages Styling */
.legal-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style: disc;
    color: var(--text-muted);
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Recipe Detail Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

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

.recipe-modal {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 850px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: translateY(30px);
    transition: var(--transition);
}

.modal-overlay.open .recipe-modal {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-modal-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.close-modal-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.modal-hero-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

.modal-content-container {
    padding: 2.5rem;
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background-color: var(--bg-light);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.modal-meta-item {
    text-align: center;
}

.modal-meta-item label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.modal-meta-item span {
    font-weight: 700;
    color: var(--text-dark);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.ingredients-section h3,
.instructions-section h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.ingredients-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ingredients-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ingredients-list li svg {
    width: 1.15rem;
    height: 1.15rem;
    color: var(--secondary);
    flex-shrink: 0;
}

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

.instruction-step {
    display: flex;
    gap: 1.25rem;
}

.step-num {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.step-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Toast Notification styling */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 3000;
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .search-box {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-img {
        height: 380px;
    }
    
    .hero-floating-card {
        left: 1rem;
        bottom: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .about-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .nav-links, .nav-actions .btn {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .recipes-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .recipes-search {
        max-width: 100%;
    }
    
    .category-filters {
        justify-content: flex-start;
    }
    
    .modal-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .modal-content-container {
        padding: 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        background-color: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        gap: 0.75rem;
    }
    
    .newsletter-form input {
        background-color: var(--bg-white);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-full);
        box-shadow: var(--shadow-sm);
    }
    
    .newsletter-form button {
        border-radius: var(--radius-full);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-form-panel, .contact-info-panel {
        padding: 2rem 1.5rem;
    }
}
