/* ============================================
   POTATO WEBSITE - MAIN STYLESHEET
   Color Scheme: Brown, Orange, Yellow, White
   Font: Poppins (Google Fonts)
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-brown: #8B4513;
    --secondary-brown: #A0522D;
    --dark-brown: #5D2E0C;
    --light-brown: #D2B48C;
    --cream: #F5E6D3;
    --orange: #E67E22;
    --orange-light: #F39C12;
    --yellow: #F1C40F;
    --yellow-light: #FEF9E7;
    --white: #FFFFFF;
    --off-white: #FAF8F5;
    --text-dark: #2C1810;
    --text-medium: #5D4E37;
    --text-light: #8B7355;
    --shadow: rgba(139, 69, 19, 0.15);
    --shadow-hover: rgba(139, 69, 19, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
    --max-width: 1200px;
}

[data-theme="dark"] {
    --primary-brown: #D4A574;
    --secondary-brown: #C4956A;
    --dark-brown: #E8C9A0;
    --light-brown: #8B6914;
    --cream: #2C1810;
    --orange: #F39C12;
    --orange-light: #E67E22;
    --yellow: #F1C40F;
    --yellow-light: #3D2B1F;
    --white: #1A0F0A;
    --off-white: #2C1810;
    --text-dark: #F5E6D3;
    --text-medium: #D2B48C;
    --text-light: #A08060;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }

.section-title {
    font-size: 2.5rem; font-weight: 700; text-align: center;
    margin-bottom: 15px; color: var(--primary-brown); position: relative;
}
.section-title::after {
    content: ''; display: block; width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--yellow));
    margin: 15px auto 0; border-radius: 2px;
}
.section-subtitle {
    text-align: center; color: var(--text-light); font-size: 1.1rem;
    margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-size: 1rem; cursor: pointer; border: none;
    transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white); box-shadow: 0 4px 15px rgba(230,126,34,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230,126,34,0.4); }
.btn-secondary {
    background: var(--white); color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
}
.btn-secondary:hover { background: var(--primary-brown); color: var(--white); transform: translateY(-2px); }
.btn-small { padding: 8px 20px; font-size: 0.85rem; }

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: transparent; transition: var(--transition); padding: 15px 0;
}
.header.scrolled {
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow); padding: 10px 0;
}
[data-theme="dark"] .header.scrolled { background: rgba(26,15,10,0.95); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
}

.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.5rem; font-weight: 700; color: var(--white); transition: var(--transition);
}
.header.scrolled .logo { color: var(--primary-brown); }
.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}

.nav-menu { display: flex; align-items: center; gap: 5px; }
.nav-link {
    padding: 8px 16px; border-radius: 25px; font-weight: 500; font-size: 0.95rem;
    color: var(--white); position: relative; transition: var(--transition);
}
.header.scrolled .nav-link { color: var(--text-dark); }
.nav-link:hover, .nav-link.active {
    background: rgba(230,126,34,0.15); color: var(--orange);
}
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active {
    background: rgba(230,126,34,0.1);
}

.nav-actions { display: flex; align-items: center; gap: 15px; }
.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3); background: transparent;
    color: var(--white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: var(--transition);
}
.header.scrolled .theme-toggle { border-color: var(--primary-brown); color: var(--primary-brown); }
.theme-toggle:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 5px; background: none; border: none;
}
.hamburger span { display: block; width: 25px; height: 3px; background: var(--white); border-radius: 3px; transition: var(--transition); }
.header.scrolled .hamburger span { background: var(--primary-brown); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(139,69,19,0.85), rgba(160,82,45,0.9)),
                url('https://images.unsplash.com/photo-1518977676601-b53f82ber40d?w=1920') center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; animation: fadeInUp 1s ease-out; }
.hero-badge {
    display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
    padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 500;
    margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.2);
}
.hero-title { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.2); }
.hero-title span { color: var(--yellow); }
.hero-tagline { font-size: 1.3rem; font-weight: 300; margin-bottom: 40px; opacity: 0.95; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.hero-search { max-width: 500px; margin: 0 auto; position: relative; }
.hero-search input {
    width: 100%; padding: 16px 55px 16px 25px; border-radius: 50px; border: none;
    font-size: 1rem; font-family: 'Poppins', sans-serif;
    background: rgba(255,255,255,0.95); color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); transition: var(--transition);
}
.hero-search input:focus { outline: none; box-shadow: 0 4px 30px rgba(230,126,34,0.3); }
.hero-search button {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    width: 45px; height: 45px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border: none; color: var(--white); cursor: pointer; font-size: 1.1rem; transition: var(--transition);
}
.hero-search button:hover { transform: translateY(-50%) scale(1.1); }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.hero-scroll a { color: var(--white); font-size: 1.5rem; opacity: 0.7; }

/* ===== STATS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    padding: 60px 0; color: var(--white);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-icon { font-size: 2.5rem; margin-bottom: 15px; opacity: 0.9; }
.stat-number { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 10px; color: var(--yellow); }
.stat-label { font-size: 0.95rem; opacity: 0.9; font-weight: 300; }

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow); transition: var(--transition); position: relative;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px var(--shadow-hover); }
.card-image { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.card:hover .card-image { transform: scale(1.05); }
.card-image-wrapper { overflow: hidden; position: relative; }
.card-badge {
    position: absolute; top: 15px; left: 15px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white); padding: 5px 15px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; z-index: 2;
}
.card-content { padding: 25px; }
.card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.card-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; margin-bottom: 15px; }
.card-meta { display: flex; align-items: center; gap: 15px; font-size: 0.85rem; color: var(--text-light); }
.card-meta span { display: flex; align-items: center; gap: 5px; }

/* ===== FILTER BUTTONS ===== */
.filter-buttons { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
    padding: 10px 24px; border-radius: 50px; border: 2px solid var(--light-brown);
    background: var(--white); color: var(--text-medium);
    font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.9rem;
    cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-color: var(--orange); color: var(--white);
    box-shadow: 0 4px 15px rgba(230,126,34,0.3);
}

/* ===== SEARCH BAR ===== */
.search-bar { max-width: 500px; margin: 0 auto 40px; position: relative; }
.search-bar input {
    width: 100%; padding: 14px 50px 14px 20px; border-radius: 50px;
    border: 2px solid var(--light-brown); background: var(--white);
    font-family: 'Poppins', sans-serif; font-size: 1rem; color: var(--text-dark); transition: var(--transition);
}
.search-bar input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(230,126,34,0.1); }
.search-bar button {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%; background: var(--orange);
    border: none; color: var(--white); cursor: pointer; transition: var(--transition);
}
.search-bar button:hover { background: var(--orange-light); }

/* ===== ACCORDION ===== */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
    background: var(--white); border-radius: var(--radius); margin-bottom: 15px;
    box-shadow: 0 2px 10px var(--shadow); overflow: hidden; transition: var(--transition);
}
.accordion-item:hover { box-shadow: 0 4px 20px var(--shadow-hover); }
.accordion-header {
    padding: 20px 25px; display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--text-dark);
    transition: var(--transition); border: none; background: none; width: 100%; text-align: left;
    font-family: 'Poppins', sans-serif;
}
.accordion-header:hover { background: rgba(230,126,34,0.05); }
.accordion-icon { font-size: 1.2rem; color: var(--orange); transition: var(--transition); min-width: 24px; text-align: center; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease; }
.accordion-item.active .accordion-body { max-height: 500px; padding: 0 25px 20px; }
.accordion-body p { color: var(--text-medium); line-height: 1.7; }

/* ===== NUTRITION CHARTS ===== */
.nutrition-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-bottom: 60px; }
.chart-container { background: var(--white); padding: 30px; border-radius: var(--radius-lg); box-shadow: 0 4px 20px var(--shadow); text-align: center; }
.chart-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 25px; color: var(--primary-brown); }

.pie-chart {
    width: 200px; height: 200px; border-radius: 50%; margin: 0 auto 25px;
    position: relative;
    background: conic-gradient(var(--orange) 0% 77%, var(--yellow) 77% 85%, var(--secondary-brown) 85% 92%, var(--light-brown) 92% 100%);
    box-shadow: 0 4px 15px var(--shadow);
}
.pie-chart::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 120px; height: 120px; background: var(--white); border-radius: 50%;
}
.pie-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.legend-color { width: 16px; height: 16px; border-radius: 4px; }

.bar-chart { display: flex; align-items: flex-end; justify-content: center; gap: 20px; height: 200px; padding: 20px 0; }
.bar-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bar {
    width: 50px; border-radius: 8px 8px 0 0; transition: height 1s ease-out;
    position: relative; background: linear-gradient(to top, var(--orange), var(--orange-light));
}
.bar-label { font-size: 0.8rem; font-weight: 600; color: var(--text-medium); }
.bar-value { font-size: 0.75rem; font-weight: 700; color: var(--primary-brown); }

/* ===== NUTRITION TABLE ===== */
.nutrition-table {
    width: 100%; border-collapse: collapse; background: var(--white);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow); margin-bottom: 40px;
}
.nutrition-table th, .nutrition-table td { padding: 16px 20px; text-align: left; }
.nutrition-table th {
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    color: var(--white); font-weight: 600; font-size: 0.95rem;
}
.nutrition-table tr:nth-child(even) { background: rgba(245,230,211,0.3); }
.nutrition-table tr:hover { background: rgba(230,126,34,0.05); }
.nutrition-table td { color: var(--text-medium); border-bottom: 1px solid rgba(139,69,19,0.1); }

/* ===== BENEFITS ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.benefit-card {
    background: var(--white); padding: 30px; border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow); text-align: center; transition: var(--transition);
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px var(--shadow-hover); }
.benefit-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto 20px; color: var(--white);
}
.benefit-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.benefit-text { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info { padding: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.contact-info-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--white); flex-shrink: 0;
}
.contact-info-text h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--text-dark); }
.contact-info-text p { color: var(--text-light); font-size: 0.95rem; }

.contact-form-wrapper { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: 0 4px 20px var(--shadow); }
.form-group { margin-bottom: 25px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-dark); font-size: 0.95rem; }
.form-input, .form-textarea {
    width: 100%; padding: 14px 18px; border: 2px solid #E8DDD0; border-radius: var(--radius);
    font-family: 'Poppins', sans-serif; font-size: 1rem; color: var(--text-dark); background: var(--white); transition: var(--transition);
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(230,126,34,0.1); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-error { color: #E74C3C; font-size: 0.85rem; margin-top: 5px; display: none; }
.form-error.show { display: block; }
.form-input.error { border-color: #E74C3C; }
.form-success {
    background: linear-gradient(135deg, #27AE60, #2ECC71); color: var(--white);
    padding: 15px 20px; border-radius: var(--radius); margin-bottom: 20px;
    display: none; font-weight: 500;
}
.form-success.show { display: block; animation: slideDown 0.3s ease; }

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--dark-brown), #3D1F0A);
    color: var(--white); padding: 60px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: var(--white); margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; color: var(--yellow); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.95rem; transition: var(--transition); display: inline-block; }
.footer-links a:hover { color: var(--orange); transform: translateX(5px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ===== ABOUT PAGE ===== */
.about-hero {
    min-height: 50vh;
    background: linear-gradient(135deg, rgba(139,69,19,0.9), rgba(160,82,45,0.95)),
                url('https://images.unsplash.com/photo-1590165482129-1b8b27698780?w=1920') center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); padding-top: 80px;
}
.about-hero h1 { font-size: 3rem; font-weight: 800; }
.about-content { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 40px var(--shadow); }
.about-image img { width: 100%; height: 400px; object-fit: cover; transition: var(--transition); }
.about-image:hover img { transform: scale(1.05); }
.about-text h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; color: var(--primary-brown); }
.about-text p { color: var(--text-medium); line-height: 1.8; margin-bottom: 15px; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--orange), var(--yellow)); border-radius: 3px; }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
    content: ''; position: absolute; left: -36px; top: 5px;
    width: 15px; height: 15px; background: var(--orange); border-radius: 50%;
    border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--orange);
}
.timeline-year { font-size: 0.85rem; font-weight: 700; color: var(--orange); margin-bottom: 5px; }
.timeline-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); }
.timeline-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }

/* ===== RECIPE DETAILS ===== */
.recipe-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 20px var(--shadow); transition: var(--transition); }
.recipe-card:hover { box-shadow: 0 8px 30px var(--shadow-hover); }
.recipe-header { position: relative; }
.recipe-image { width: 100%; height: 220px; object-fit: cover; }
.recipe-difficulty { position: absolute; top: 15px; right: 15px; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: var(--white); }
.difficulty-easy { background: #27AE60; }
.difficulty-medium { background: var(--orange); }
.difficulty-hard { background: #E74C3C; }
.recipe-body { padding: 25px; }
.recipe-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.recipe-meta { display: flex; gap: 15px; margin-bottom: 15px; font-size: 0.85rem; color: var(--text-light); }
.recipe-meta span { display: flex; align-items: center; gap: 5px; }
.recipe-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 15px; }
.recipe-rating .stars { color: var(--yellow); }
.recipe-rating .count { color: var(--text-light); font-size: 0.85rem; }
.recipe-details { border-top: 1px solid rgba(139,69,19,0.1); padding-top: 15px; }
.recipe-toggle {
    width: 100%; padding: 12px; background: rgba(230,126,34,0.05); border: none;
    border-radius: var(--radius); font-family: 'Poppins', sans-serif; font-weight: 600;
    color: var(--orange); cursor: pointer; display: flex; align-items: center;
    justify-content: space-between; transition: var(--transition);
}
.recipe-toggle:hover { background: rgba(230,126,34,0.1); }
.recipe-toggle .icon { transition: var(--transition); }
.recipe-toggle.active .icon { transform: rotate(180deg); }
.recipe-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.recipe-content.active { max-height: 800px; padding-top: 15px; }
.recipe-ingredients, .recipe-steps { margin-bottom: 15px; }
.recipe-ingredients h4, .recipe-steps h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 10px; color: var(--primary-brown); }
.recipe-ingredients ul { list-style: disc; padding-left: 20px; }
.recipe-ingredients li { color: var(--text-medium); font-size: 0.9rem; margin-bottom: 5px; }
.recipe-steps ol { padding-left: 20px; }
.recipe-steps li { color: var(--text-medium); font-size: 0.9rem; margin-bottom: 8px; line-height: 1.5; }

/* ===== TYPES PAGE ===== */
.types-hero {
    min-height: 45vh;
    background: linear-gradient(135deg, rgba(139,69,19,0.9), rgba(160,82,45,0.95)),
                url('https://images.unsplash.com/photo-1518977676601-b53f82ber40d?w=1920') center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); padding-top: 80px;
}
.types-hero h1 { font-size: 3rem; font-weight: 800; }
.type-card .type-color { width: 100%; height: 8px; border-radius: 4px 4px 0 0; }
.type-color-red { background: linear-gradient(90deg, #C0392B, #E74C3C); }
.type-color-white { background: linear-gradient(90deg, #BDC3C7, #ECF0F1); }
.type-color-yellow { background: linear-gradient(90deg, #F39C12, #F1C40F); }
.type-color-purple { background: linear-gradient(90deg, #8E44AD, #9B59B6); }
.type-color-russet { background: linear-gradient(90deg, #8B4513, #A0522D); }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.5); transform: scale(0.9); transition: transform 0.3s ease; }
.lightbox.active img { transform: scale(1); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: var(--white); font-size: 2.5rem; cursor: pointer; background: none; border: none; transition: var(--transition); }
.lightbox-close:hover { color: var(--orange); transform: rotate(90deg); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounce {
    0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white); border: none; border-radius: 50%; cursor: pointer;
    font-size: 1.2rem; box-shadow: 0 4px 15px rgba(230,126,34,0.4);
    opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999;
    display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(230,126,34,0.5); }

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%; border-collapse: collapse; background: var(--white);
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 20px var(--shadow);
}
.comparison-table th, .comparison-table td { padding: 14px 18px; text-align: center; }
.comparison-table th { background: var(--primary-brown); color: var(--white); font-weight: 600; }
.comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--text-dark); }
.comparison-table tr:nth-child(even) { background: rgba(245,230,211,0.3); }
.comparison-table .highlight { background: rgba(241,196,15,0.2) !important; font-weight: 700; color: var(--primary-brown); }

/* ===== PAGE HERO COMMON ===== */
.page-hero {
    min-height: 45vh; background: linear-gradient(135deg, rgba(139,69,19,0.9), rgba(160,82,45,0.95));
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); padding-top: 80px;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { font-size: 3rem; font-weight: 800; position: relative; z-index: 1; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; margin-top: 10px; position: relative; z-index: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { gap: 40px; }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px; height: 100vh;
        background: var(--white); flex-direction: column; padding: 80px 30px 30px; gap: 10px;
        transition: right 0.4s ease; box-shadow: -5px 0 30px var(--shadow); z-index: 999;
    }
    .nav-menu.active { right: 0; }
    .nav-link { color: var(--text-dark) !important; width: 100%; padding: 12px 20px; }
    .hero-title { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-grid.reverse { direction: ltr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .section-title { font-size: 2rem; }
    .page-hero h1 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-tagline { font-size: 1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.2rem; }
    .card-grid { grid-template-columns: 1fr; }
    .filter-buttons { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 0.8rem; }
    .contact-form-wrapper { padding: 25px; }
    .section-padding { padding: 50px 0; }
}
