/*
Theme Name: Maliyah's Kitchen
Version: 1.0.1
*/

:root {
    --primary-orange: #E85D4E;
    --primary-dark: #D64A3D;
    --dark-brown: #4A3020;
    --black: #1A1A1A;
    --gray-900: #2D2D2D;
    --gray-700: #4A4A4A;
    --gray-600: #6B6B6B;
    --gray-400: #9B9B9B;
    --gray-200: #E8E8E8;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --cream: #FFF8F5;
    --success: #28A745;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', -apple-system, sans-serif; line-height: 1.7; color: var(--gray-900); background: var(--white); }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.3; }
a { text-decoration: none; }
img { max-width: 100%; }

/* ===== NAV ===== */
nav { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); z-index: 1000; }
nav.scrolled { box-shadow: var(--shadow-md); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { height: 55px; width: auto; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; list-style: none; }
.nav-links a { color: var(--gray-700); font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-orange); }
.nav-cta { background: var(--primary-orange); color: var(--white) !important; padding: 0.625rem 1.5rem; border-radius: 6px; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; z-index: 1001; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--gray-900); transition: all 0.3s; border-radius: 2px; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-6px); }

/* ===== HERO ===== */
.hero { margin-top: 80px; background: linear-gradient(135deg, var(--cream) 0%, var(--white) 50%, var(--gray-100) 100%); padding: 5rem 2rem; overflow: hidden; }
.hero-container { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--white); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.875rem; font-weight: 600; color: var(--primary-orange); margin-bottom: 1.5rem; border: 1px solid rgba(232,93,78,0.2); }
.hero-content h1 { font-size: 3.25rem; color: var(--black); margin-bottom: 1.5rem; line-height: 1.15; font-weight: 700; }
.hero-content h1 span { color: var(--primary-orange); }
.hero-content p { font-size: 1.2rem; color: var(--gray-600); margin-bottom: 2rem; max-width: 540px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { padding: 1rem 2rem; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s; font-family: inherit; }
.btn-primary { background: var(--primary-orange); color: var(--white); box-shadow: 0 4px 14px rgba(232,93,78,0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: var(--white); color: var(--gray-900); border: 2px solid var(--gray-200); }
.btn-secondary:hover { border-color: var(--primary-orange); color: var(--primary-orange); }

/* FIXED: Hero image can never be too big */
.hero-image-wrapper { position: relative; }
.hero-image { width: 100%; max-width: 520px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xl); margin-left: auto; }
.hero-image img { width: 100%; height: 420px; object-fit: cover; display: block; }
.hero-stats { position: absolute; bottom: -20px; left: 0; background: var(--white); padding: 1.25rem; border-radius: 12px; box-shadow: var(--shadow-lg); }
.stat-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.stat-item:last-child { margin-bottom: 0; }
.stat-icon { width: 38px; height: 38px; background: var(--cream); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary-orange); font-size: 1.1rem; flex-shrink: 0; }
.stat-text { font-size: 0.85rem; font-weight: 600; }

/* ===== CERT BANNER ===== */
.cert-banner { background: var(--black); color: var(--white); padding: 2.5rem 2rem; display: flex; justify-content: center; align-items: center; gap: 4rem; flex-wrap: wrap; }
.cert-item { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; }
.cert-icon { width: 44px; height: 44px; background: var(--primary-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }
.container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-label { display: inline-block; font-size: 0.875rem; font-weight: 600; color: var(--primary-orange); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.section-title { font-size: 2.5rem; color: var(--black); margin-bottom: 1rem; font-weight: 700; }
.section-subtitle { color: var(--gray-600); font-size: 1.1rem; }

/* ===== PRODUCTS ===== */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.product-card { background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--gray-200); transition: all 0.4s; position: relative; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.product-card.featured::before { content: 'Featured'; position: absolute; top: 1rem; right: 1rem; background: var(--primary-orange); color: var(--white); padding: 0.375rem 0.875rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; z-index: 10; }
.product-image { height: 300px; overflow: hidden; background: var(--gray-100); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-content { padding: 2rem; }
.product-content h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.product-content p { color: var(--gray-600); margin-bottom: 1.25rem; }
.product-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.product-tag { padding: 0.375rem 0.875rem; background: var(--cream); color: var(--primary-dark); border-radius: 6px; font-size: 0.8rem; font-weight: 600; }

/* ===== QUALITY ===== */
.quality { background: var(--gray-100); }
.quality-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.quality-main { background: var(--white); padding: 2.5rem; border-radius: 16px; box-shadow: var(--shadow-md); }
.quality-main h3 { font-size: 1.75rem; margin-bottom: 1.25rem; }
.quality-main p { color: var(--gray-600); margin-bottom: 1.25rem; line-height: 1.8; }
.quality-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.quality-badge { background: var(--white); padding: 1.75rem; border-radius: 12px; border: 2px solid var(--gray-200); transition: all 0.3s; position: relative; }
.quality-badge:hover { border-color: var(--primary-orange); transform: translateY(-4px); }
.quality-badge.recent::before { content: 'Recently Re-Certified'; position: absolute; top: -10px; right: 1rem; background: var(--primary-orange); color: var(--white); padding: 0.25rem 0.75rem; border-radius: 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.badge-icon { width: 52px; height: 52px; background: var(--cream); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.5rem; color: var(--primary-orange); }
.quality-badge h4 { font-size: 1.1rem; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; }
.quality-badge p { color: var(--gray-600); font-size: 0.9rem; }
.quality-commitment { margin-top: 3rem; text-align: center; background: var(--white); padding: 2.5rem; border-radius: 16px; box-shadow: var(--shadow-md); }
.quote-box { background: var(--cream); padding: 2rem; border-radius: 12px; border-left: 4px solid var(--primary-orange); max-width: 600px; margin: 1.5rem auto 0; text-align: left; }
.quote-text { font-style: italic; font-size: 1.1rem; margin-bottom: 0.75rem; }
.quote-author { font-weight: 700; color: var(--primary-dark); font-size: 0.9rem; }

/* ===== ABOUT (FIXED image size) ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.about-content p { color: var(--gray-600); margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.9; }
.about-image { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xl); }
.about-image img { width: 100%; height: 480px; object-fit: cover; display: block; }

/* ===== FEATURES ===== */
.features { background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature-card { background: var(--white); padding: 2.25rem 1.5rem; border-radius: 12px; text-align: center; border: 1px solid var(--gray-200); transition: all 0.3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 68px; height: 68px; background: linear-gradient(135deg, var(--primary-orange), var(--primary-dark)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.75rem; color: var(--white); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; font-family: 'Inter', sans-serif; }
.feature-card p { color: var(--gray-600); font-size: 0.9rem; }

/* ===== CONTACT ===== */
.contact { background: var(--black); color: var(--white); }
.contact .section-title { color: var(--white); }
.contact .section-subtitle { color: var(--gray-400); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-info h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 2rem; font-family: 'Inter', sans-serif; }
.contact-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; background: rgba(232,93,78,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary-orange); font-size: 1.1rem; flex-shrink: 0; }
.contact-item strong { display: block; margin-bottom: 0.25rem; color: var(--white); font-size: 0.95rem; }
.contact-item p, .contact-item a { color: var(--gray-400); font-size: 0.95rem; }
.contact-item a:hover { color: var(--primary-orange); }
.contact-form-wrapper { background: var(--white); padding: 2.5rem; border-radius: 16px; box-shadow: var(--shadow-xl); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--gray-900); font-weight: 600; font-size: 0.95rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.875rem 1rem; border: 2px solid var(--gray-200); border-radius: 8px; font-family: inherit; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-orange); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ===== FOOTER ===== */
footer { background: var(--dark-brown); color: var(--white); text-align: center; padding: 3rem 2rem; }
footer p { margin-bottom: 0.75rem; color: var(--gray-400); font-size: 0.95rem; }
.social-links { display: flex; justify-content: center; gap: 1rem; margin: 1.5rem 0; }
.social-links a { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; transition: all 0.3s; }
.social-links a:hover { background: var(--primary-orange); transform: translateY(-3px); }

/* ===== SCROLL TOP ===== */
.scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--primary-orange); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s; box-shadow: var(--shadow-lg); z-index: 999; border: none; }
.scroll-top.visible { opacity: 1; visibility: visible; }

/* ===== ANIMATIONS ===== */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4,0,0.2,1); }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container, .quality-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-image { margin: 0 auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--white); flex-direction: column; justify-content: center; gap: 2rem; transition: right 0.3s; padding: 2rem; }
    .nav-links.active { right: 0; }
    .mobile-menu-btn { display: flex; }
    .hero { padding: 3.5rem 1.5rem; margin-top: 70px; }
    .hero-content h1 { font-size: 2.25rem; }
    .hero-image img { height: 320px; }
    .about-image img { height: 360px; }
    .section-title { font-size: 2rem; }
    section { padding: 4rem 1.5rem; }
    .cert-banner { flex-direction: column; gap: 1.5rem; }
    .features-grid, .quality-badges { grid-template-columns: 1fr; }
    .hero-stats { position: relative; bottom: auto; margin-top: 1.5rem; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.875rem; }
    .btn { width: 100%; justify-content: center; }
    .hero-buttons { flex-direction: column; }
    .hero-image img { height: 260px; }
    .about-image img { height: 300px; }
}