/* ============================================================
   Bani Ibrahim Farms — style.css
   Colors: Deep Green #1B4332 | Cream #FAF7F0 | Gold #C9A84C
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:   #1B4332;
  --green-light: #2D6A4F;
  --cream:   #FAF7F0;
  --gold:    #C9A84C;
  --gold-dark: #A8883A;
  --brown:   #8B5E3C;
  --text:    #2D2D2D;
  --text-light: #666;
  --white:   #FFFFFF;
  --border:  #E8E0D0;
  --shadow:  0 4px 24px rgba(27,67,50,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
}

a { text-decoration: none; color: inherit; }

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

/* ── UTILITY ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--green); color: var(--white); }

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--green);
  margin-bottom: 16px;
}

.section-dark .section-title { color: var(--gold); }
.section-dark .section-label { color: rgba(255,255,255,0.6); }

.section-sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-dark .section-sub { color: rgba(255,255,255,0.75); }

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--green);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-green:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(27,67,50,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: box-shadow 0.3s;
}

.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.2); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--white);
  font-weight: 700;
}

.nav-logo-tagline {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 4px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 3px;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.lang-btn.active {
  background: var(--gold);
  color: var(--green);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--green);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--gold); }

.nav-mobile-lang {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green) 0%, #2D6A4F 60%, #1A3A28 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 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");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  color: var(--white);
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-features {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.hero-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-placeholder {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  border-radius: 8px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 64px;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder p {
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--green);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 20px;
  color: var(--green);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-card:hover .service-link { gap: 10px; }

/* Last 2 cards centered in row */
.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) {
  grid-column: auto;
}

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 28px;
  transition: background 0.3s;
}

.why-card:hover { background: rgba(255,255,255,0.12); }

.why-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.why-card h3 {
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--gold-dark); }

.faq-chevron {
  font-size: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
  color: var(--gold);
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }

.faq-answer p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

/* ── CONTACT ── */
.contact-wrapper {
  background: var(--cream);
  border-radius: 12px;
  padding: 56px;
  text-align: center;
  border: 1px solid var(--border);
  max-width: 680px;
  margin: 0 auto;
}

.contact-wrapper .section-title { color: var(--green); }
.contact-wrapper .section-label { justify-content: center; display: flex; }

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-item-icon { font-size: 24px; }
.contact-item-label { font-size: 12px; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.contact-item-value { font-size: 15px; font-weight: 600; color: var(--green); }

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s;
}

.wa-btn:hover {
  background: #1DAA53;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.wa-icon { font-size: 22px; }

/* ── FOOTER ── */
footer {
  background: #0F2B1E;
  color: rgba(255,255,255,0.6);
  padding: 40px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-brand-loc { font-size: 13px; }

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

.footer-halal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-placeholder { height: 280px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-features { gap: 20px; }
  .contact-wrapper { padding: 32px 24px; }
  .hero-ctas { flex-direction: column; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; }
}

/* ── QUICK ANSWERS ── */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.qa-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 28px;
}

.qa-question {
  font-size: 17px;
  color: var(--green);
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

.qa-answer {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .qa-grid { grid-template-columns: 1fr; }
}
