/* ============================================
   Nukhbat Al Asal – Premium Yemeni Honey
   Combined & Improved Website Styles
   ============================================ */

:root {
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --gold-dark: #a8841a;
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --darker: #111111;
  --gray: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #b0b0b0;
  --white: #ffffff;
  --success: #2e7d32;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
  --shadow: 0 10px 40px rgba(0,0,0,0.4);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

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

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}

.logo span {
  color: var(--white);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

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

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

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

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

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.nav-cta::after {
  display: none !important;
}

.lang-btn {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  background: transparent;
  cursor: pointer;
}

.lang-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: 
    linear-gradient(180deg, rgba(13,13,13,0.75) 0%, rgba(13,13,13,0.85) 50%, rgba(13,13,13,0.92) 100%),
    url('../images/product-family.jpg') center/cover no-repeat;
  padding: 120px 20px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, rgba(201,162,39,0.12) 0%, transparent 55%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 5 L35 20 L50 20 L38 30 L43 45 L30 35 L17 45 L22 30 L10 20 L25 20 Z" fill="none" stroke="%23c9a227" stroke-width="0.3" opacity="0.15"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .arabic-title {
  font-family: var(--font-arabic);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 20px;
  direction: rtl;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* ========== TRUST BAR ========== */
.trust-bar {
  background: var(--darker);
  border-top: 1px solid rgba(201,162,39,0.15);
  border-bottom: 1px solid rgba(201,162,39,0.15);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

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

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201,162,39,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
}

.trust-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== SECTION COMMON ========== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ========== PRODUCTS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--dark);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,162,39,0.45);
  box-shadow: var(--shadow);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

.product-img {
  height: 220px;
  background: linear-gradient(145deg, #1f1a0a, #2a2410);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.06);
}

.product-img.placeholder::after {
  content: '🍯';
  font-size: 4.5rem;
  opacity: 0.85;
}

.product-body {
  padding: 22px;
}

.product-body .arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.product-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 44px;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

.price small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  cursor: pointer;
  transition: var(--transition);
}

.btn-sm:hover {
  background: var(--gold);
  color: var(--black);
}

/* ========== ABOUT / STORY ========== */
.story {
  background: var(--darker);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}

.story-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.story-quote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.15rem;
}

.story-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201,162,39,0.15);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.step h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

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

/* ========== WHY US ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.why-card {
  background: var(--dark);
  border: 1px solid rgba(201,162,39,0.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(201,162,39,0.4);
  transform: translateY(-5px);
}

.why-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* ========== BENEFITS ========== */
.benefits {
  background: linear-gradient(180deg, var(--darker) 0%, var(--black) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(201,162,39,0.1);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201,162,39,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.benefit-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

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

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

.faq-item {
  border-bottom: 1px solid rgba(201,162,39,0.15);
  padding: 20px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}

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

.faq-icon {
  color: var(--gold);
  font-size: 1.3rem;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

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

.faq-answer p {
  padding-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== CONTACT CTA ========== */
.contact-cta {
  background: linear-gradient(135deg, #1a1508, #0d0d0d);
  border-top: 1px solid rgba(201,162,39,0.2);
  text-align: center;
  padding: 80px 20px;
}

.contact-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}

.contact-cta p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

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

.contact-item {
  text-align: center;
}

.contact-item strong {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.contact-item a {
  color: var(--text);
  font-size: 1.1rem;
}

.contact-item a:hover {
  color: var(--gold);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--darker);
  border-top: 1px solid rgba(201,162,39,0.15);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, #1a1508 0%, var(--black) 100%);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--darker);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(201,162,39,0.2);
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    min-height: auto;
    padding: 140px 20px 70px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* ========== WhatsApp Floating Button ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* RTL (Arabic pages) */
html[dir="rtl"] body {
  font-family: var(--font-arabic);
}

html[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-header,
html[dir="rtl"] .product-body,
html[dir="rtl"] .story-content,
html[dir="rtl"] .why-card,
html[dir="rtl"] .benefit-card,
html[dir="rtl"] .faq-question,
html[dir="rtl"] .footer {
  text-align: right;
}

html[dir="rtl"] .story-quote {
  border-left: none;
  border-right: 3px solid var(--gold);
  padding-left: 0;
  padding-right: 20px;
}

html[dir="rtl"] .faq-question {
  flex-direction: row-reverse;
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 28px;
}

html[dir="rtl"] .product-badge {
  left: auto;
  right: 14px;
}

html[dir="rtl"] .step {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }
  html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 20px;
  }
}
