@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1B5E3B;
  --berry: #8B1A4A;
  --gold: #C8963E;
  --cream: #FAFAF5;
  --border: #E8E4DC;
  --text: #1A1A1A;
  --muted: #555;
}

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

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Noto Sans Arabic', 'Noto Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 4rem 1rem; }
.bg-cream { background: var(--cream); }
.bg-white { background: #fff; }
.bg-primary { background: var(--primary); }
.text-center-rtl { text-align: right; }
[lang="en"] .text-center-rtl { text-align: center; }

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2.5rem;
  text-align: right;
}
[lang="en"] .section-title { text-align: center; }
.section-title.white { color: #fff; }
.section-sub { color: var(--muted); margin-bottom: 2.5rem; font-size: 1.1rem; }
.section-sub.white-70 { color: rgba(255,255,255,0.7); }

/* HEADER */
#site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; }
.logo-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.logo-brand { display: block; font-size: 1.4rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.logo-sub { font-size: 0.75rem; color: #555; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-order-now {
  display: none;
  padding: 0.4rem 1rem; background: var(--berry); color: #fff;
  font-size: 0.85rem; font-weight: 700; border-radius: 999px;
  text-decoration: none; transition: background 0.2s;
}
@media(min-width:640px){ .btn-order-now { display: inline-flex; align-items: center; } }
.btn-order-now:hover { background: #6d1439; }
.btn-lang {
  padding: 0.35rem 0.85rem; border: 1.5px solid var(--primary);
  color: var(--primary); font-size: 0.85rem; font-weight: 700;
  border-radius: 999px; background: transparent; cursor: pointer; transition: all 0.2s;
}
.btn-lang:hover { background: var(--primary); color: #fff; }

/* HERO */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1B5E3B 0%, #2D7A52 60%, #1a4f32 100%);
  padding: 4rem 1rem;
}
.hero-deco { position: absolute; border-radius: 50%; opacity: 0.1; }
.hero-deco-tr { top: -80px; right: -80px; width: 320px; height: 320px; background: radial-gradient(circle, #C8963E, transparent); }
.hero-deco-bl { bottom: -60px; left: -60px; width: 256px; height: 256px; background: radial-gradient(circle, #8B1A4A, transparent); }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
@media(min-width:768px){
  .hero-inner { flex-direction: row-reverse; align-items: center; }
  [lang="en"] .hero-inner { flex-direction: row; }
}
.hero-media { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.hero-img-wrap { background: rgba(255,255,255,0.1); border-radius: 1.5rem; padding: 0.75rem; border: 1px solid rgba(255,255,255,0.2); max-width: 300px; }
.hero-main-img { width: 100%; height: auto; border-radius: 1rem; object-fit: cover; }
.hero-badges { display: flex; gap: 0.5rem; }
.badge-pill { padding: 0.25rem 0.85rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; backdrop-filter: blur(4px); }
.badge-white { background: rgba(255,255,255,0.2); color: #fff; }
.badge-gold { background: rgba(200,150,62,0.8); color: #fff; }
.hero-thumbs { display: none; gap: 0.5rem; }
@media(min-width:768px){ .hero-thumbs { display: flex; } }
.hero-thumb { width: 80px; height: 80px; border-radius: 0.75rem; object-fit: cover; border: 1px solid rgba(255,255,255,0.3); }
.hero-content { color: #fff; flex: 1; text-align: right; }
[lang="en"] .hero-content { text-align: left; }
@media(min-width:768px){ .hero-content { text-align: right; } [lang="en"] .hero-content { text-align: left; } }
.hero-label { color: var(--gold); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.hero-content h1 { font-size: 2.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 0.75rem; }
@media(min-width:768px){ .hero-content h1 { font-size: 3rem; } }
.hero-tagline { font-size: 1.3rem; color: rgba(255,255,255,0.9); margin-bottom: 0.75rem; }
.hero-desc { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; line-height: 1.7; max-width: 500px; }
.hero-bullets { list-style: none; margin-bottom: 2rem; space-y: 0.5rem; }
.hero-bullets li { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.btn-cta {
  display: inline-block; padding: 1rem 2rem;
  background: var(--berry); color: #fff; font-size: 1.1rem; font-weight: 800;
  border-radius: 999px; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: all 0.2s;
}
.btn-cta:hover { background: #6d1439; transform: scale(1.04); }

/* GRID */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media(min-width:640px){ .grid-3 { grid-template-columns: 1fr 1fr; } }
@media(min-width:900px){ .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

/* CARDS */
.card { background: #fff; border-radius: 1.25rem; padding: 1.5rem; border: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.04); transition: box-shadow 0.2s, border-color 0.2s; text-align: right; }
[lang="en"] .card { text-align: left; }
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.09); border-color: rgba(27,94,59,0.3); }
.card-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* INGREDIENTS */
.ing-card { background: rgba(255,255,255,0.1); border-radius: 1.25rem; padding: 1.25rem; border: 1px solid rgba(255,255,255,0.2); transition: background 0.2s; text-align: right; }
[lang="en"] .ing-card { text-align: center; }
.ing-card:hover { background: rgba(255,255,255,0.2); }
.ing-icon { font-size: 2.25rem; margin-bottom: 0.5rem; }
.ing-card p { color: #fff; font-weight: 600; font-size: 0.875rem; line-height: 1.4; }

/* HOW TO USE */
.steps-grid { display: flex; flex-direction: column; gap: 1.5rem; }
@media(min-width:768px){ .steps-grid { flex-direction: row; } }
.step-card { flex: 1; background: var(--cream); border-radius: 1.25rem; padding: 1.5rem; border: 1px solid var(--border); text-align: right; }
[lang="en"] .step-card { text-align: center; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.step-card h3 { font-weight: 800; font-size: 1rem; margin-bottom: 0.4rem; }
.step-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* REVIEWS */
.review-card { background: #fff; border-radius: 1.25rem; padding: 1.5rem; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.75rem; text-align: right; }
[lang="en"] .review-card { text-align: left; }
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.1em; }
.review-text { color: #333; font-size: 0.875rem; line-height: 1.7; flex: 1; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 0.5rem; flex-direction: row-reverse; }
[lang="en"] .reviewer { flex-direction: row; }
.reviewer-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(27,94,59,0.2); color: var(--primary); font-weight: 800; font-size: 0.875rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.reviewer-name { font-weight: 700; font-size: 0.875rem; }
.reviewer-city { font-size: 0.75rem; color: #888; }

/* ORDER FORM */
.form-container { max-width: 640px; margin: 0 auto; }
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; margin-bottom: 2rem; }
.pkg-card {
  position: relative; border-radius: 1.25rem; border: 2px solid var(--border);
  background: #fff; padding: 1rem 0.75rem; text-align: center; cursor: pointer;
  transition: all 0.2s;
}
.pkg-card.selected { border-color: var(--berry); background: #fdf2f7; box-shadow: 0 4px 16px rgba(139,26,74,0.15); }
.pkg-card:hover:not(.selected) { border-color: rgba(139,26,74,0.4); }
.pkg-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--berry); color: #fff; font-size: 0.65rem; font-weight: 800; padding: 0.2rem 0.5rem; border-radius: 999px; white-space: nowrap; }
.pkg-label { font-weight: 800; font-size: 0.875rem; color: var(--text); margin-bottom: 0.25rem; }
.pkg-price { color: var(--berry); font-size: 1.3rem; font-weight: 900; }
.pkg-currency { font-size: 0.75rem; font-weight: 400; }
.pkg-save { color: var(--primary); font-size: 0.75rem; font-weight: 700; margin-top: 0.25rem; }

.form-fields { background: #fff; border-radius: 1.25rem; border: 1px solid var(--border); padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.field-group { margin-bottom: 1rem; }
.field-group label { display: block; font-size: 0.875rem; font-weight: 700; color: #333; margin-bottom: 0.3rem; text-align: right; }
[lang="en"] .field-group label { text-align: left; }
.req { color: #ef4444; }
.field-group input, .field-group textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem; border: 1.5px solid var(--border);
  font-size: 0.875rem; outline: none; transition: border-color 0.2s; font-family: inherit;
  text-align: right; background: #fff;
}
[lang="en"] .field-group input, [lang="en"] .field-group textarea { text-align: left; }
.field-group input[dir="ltr"], .field-group textarea[dir="ltr"] { text-align: left; }
.field-group input:focus, .field-group textarea:focus { border-color: var(--primary); }
.field-group input.error, .field-group textarea.error { border-color: #f87171; background: #fef2f2; }
.field-error { color: #ef4444; font-size: 0.75rem; margin-top: 0.25rem; text-align: right; }
[lang="en"] .field-error { text-align: left; }
.submit-error { color: #ef4444; font-size: 0.875rem; text-align: center; margin-bottom: 0.5rem; }
.btn-submit {
  width: 100%; padding: 1rem; background: var(--berry); color: #fff;
  font-size: 1.1rem; font-weight: 800; border: none; border-radius: 0.75rem;
  cursor: pointer; box-shadow: 0 4px 16px rgba(139,26,74,0.3); transition: all 0.2s;
  margin-top: 0.5rem; font-family: inherit;
}
.btn-submit:hover:not(:disabled) { background: #6d1439; box-shadow: 0 6px 24px rgba(139,26,74,0.4); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.25rem; }
@media(min-width:640px){ .trust-grid { grid-template-columns: repeat(4,1fr); } }
.trust-badge { background: #fff; border-radius: 0.75rem; padding: 0.75rem; text-align: center; font-size: 0.75rem; font-weight: 700; color: #333; border: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }

/* SUCCESS */
.success-box { background: #fff; border-radius: 1.25rem; padding: 2.5rem; border: 1px solid #bbf7d0; box-shadow: 0 1px 4px rgba(0,0,0,0.04); text-align: center; margin-bottom: 1.5rem; }
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.success-box h3 { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 0.75rem; }
.success-box p { color: var(--muted); line-height: 1.7; }
.btn-reset { margin-top: 1.25rem; padding: 0.5rem 1.5rem; border: 1.5px solid var(--primary); color: var(--primary); background: transparent; border-radius: 999px; font-size: 0.875rem; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.btn-reset:hover { background: var(--primary); color: #fff; }

/* FAQ */
.faq-container { max-width: 720px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--border); border-radius: 1.25rem; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem; background: var(--cream); cursor: pointer; border: none;
  font-size: 0.875rem; font-weight: 700; color: var(--text); text-align: right;
  transition: background 0.2s; font-family: inherit; flex-direction: row-reverse;
}
[lang="en"] .faq-q { text-align: left; flex-direction: row; }
.faq-q:hover { background: #f3f0e8; }
.faq-icon { color: var(--primary); font-size: 1.25rem; font-weight: 800; flex-shrink: 0; transition: transform 0.2s; }
.faq-icon.open { transform: rotate(45deg); }
.faq-a { padding: 1rem 1.5rem; font-size: 0.875rem; color: var(--muted); line-height: 1.7; border-top: 1px solid var(--border); background: #fff; text-align: right; }
[lang="en"] .faq-a { text-align: left; }

/* FOOTER */
.site-footer { background: #1A1A1A; color: #fff; padding: 3rem 1rem; }
.footer-top { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
@media(min-width:768px){ .footer-top { flex-direction: row-reverse; } [lang="en"] .footer-top { flex-direction: row; } }
.footer-brand { text-align: right; }
[lang="en"] .footer-brand { text-align: left; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: #4ade80; text-decoration: none; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-top: 0.25rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; flex-direction: row-reverse; }
[lang="en"] .footer-links { flex-direction: row; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem; color: rgba(255,255,255,0.4); font-size: 0.875rem; }
@media(min-width:640px){ .footer-bottom { flex-direction: row-reverse; } [lang="en"] .footer-bottom { flex-direction: row; } }
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }
