/* ================================================
   AL JABERI DATES FARM â€“ styles.css
   Premium responsive stylesheet
   Colour palette: warm gold / deep brown / cream
   Fonts: Playfair Display (headings) + Inter (body)
   ================================================ */

/* ------------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
   ------------------------------------------------ */
:root {
  /* Brand colours */
  --gold-900: #3d2400;
  --gold-800: #6b3e00;
  --gold-700: #8b5200;
  --gold-600: #a8640a;
  --gold-500: #c27f1a;
  --gold-400: #d4962e;
  --gold-300: #e4b55a;
  --gold-200: #f0d090;
  --gold-100: #faf0d8;
  --gold-50:  #fffdf5;

  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;

  /* Neutral */
  --white: #ffffff;
  --gray-50:  #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d0d0d0;
  --gray-500: #888888;
  --gray-700: #444444;
  --gray-900: #1a1a1a;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.16);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.22);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);
}

/* ------------------------------------------------
   RESET & BASE
   ------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ------------------------------------------------
   LAYOUT UTILITIES
   ------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* Section common styles */
.section {
  padding: var(--sp-20) 0;
}

/* Section header elements */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--sp-3);
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold-900);
  text-align: center;
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-700);
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-12);
  line-height: 1.7;
}

/* ------------------------------------------------
   NAVIGATION BAR
   Behaviour: transparent on top, solid on scroll
   Mobile: hamburger toggles mobile menu
   ------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

/* JS adds .scrolled when page is scrolled */
.navbar.scrolled {
  background: rgba(255, 253, 245, 0.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--white);
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--gold-900);
}

/* Logo â€“ square, full image shown (contain), no crop */
.nav-logo-img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  object-fit: contain;       /* show full logo, no cropping */
  object-position: center;
  background: rgba(255,255,255,0.12); /* subtle bg so logo pops on hero */
  padding: 4px;
  border: 2px solid var(--gold-300);
  box-shadow: 0 3px 16px rgba(0,0,0,0.25);
}

/* When navbar is solid (scrolled), use cream background */
.navbar.scrolled .nav-logo-img {
  background: var(--gold-50);
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-link {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition), background var(--transition);
}

.navbar.scrolled .nav-link {
  color: var(--gray-700);
}

.nav-link:hover {
  color: var(--gold-400);
  background: rgba(255,255,255,0.1);
}

.navbar.scrolled .nav-link:hover {
  color: var(--gold-600);
  background: var(--gold-100);
}

/* Contact nav CTA */
.nav-link.nav-cta {
  background: var(--gold-500);
  color: var(--white) !important;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.nav-link.nav-cta:hover {
  background: var(--gold-600) !important;
  color: var(--white) !important;
}

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.navbar.scrolled .bar {
  background: var(--gold-900);
}

/* Hamburger open state */
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-menu-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--gold-50);
  border-top: 1px solid var(--gold-200);
  padding: var(--sp-4) var(--sp-6);
}

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

.nav-menu-mobile .nav-link {
  color: var(--gray-700);
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--gold-100);
  font-size: 1rem;
}

.nav-menu-mobile .nav-link:hover {
  color: var(--gold-600);
  background: transparent;
}

/* ------------------------------------------------
   BUTTONS
   ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* WhatsApp button */
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Outline button (hero) */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Call button */
.btn-call {
  background: var(--gold-500);
  color: var(--white);
  border-color: var(--gold-500);
}

.btn-call:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Email button */
.btn-email {
  background: var(--gold-100);
  color: var(--gold-800);
  border-color: var(--gold-300);
}

.btn-email:hover {
  background: var(--gold-200);
  transform: translateY(-2px);
}

/* ------------------------------------------------
   GALLERY SLIDER
   Full-featured slider replacing the old CSS grid.
   Layout:
     .gallery-slider        – outer wrapper
     .slider-stage          – main image display area (relative, overflow hidden)
     .slider-track          – stacked slides container (relative)
     .slider-slide          – single slide (absolute, crossfade)
     .slider-caption        – caption overlay at slide bottom
     .slider-arrow          – prev / next nav arrows
     .slider-play-btn       – autoplay toggle (top-left of stage)
     .slider-counter        – "1 / 19" counter (top-right of stage)
     .slider-progress-wrap  – autoplay progress bar container (bottom edge)
     .slider-thumbs-wrap    – thumbnail strip outer container
     .slider-thumbs         – horizontally scrollable thumbs list
     .slider-thumb          – individual thumbnail button
     .slider-thumbs-scroll  – left / right scroll buttons for thumbs strip
   ------------------------------------------------ */

/* ── Outer wrapper ── */
.gallery-slider {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Main Stage ── */
.slider-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;      /* maintains proportional height */
  background: var(--gold-900);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  cursor: pointer;
  /* subtle gold-glow border */
  box-shadow: 0 0 0 3px var(--gold-600), var(--shadow-xl);
}

/* ── Slide Track (stacking context) ── */
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ── Individual Slides (crossfade via opacity) ── */
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}

.slider-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* ── Slide image – covers the entire stage ── */
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 6s linear;     /* slow Ken-Burns zoom on active slide */
}

.slider-slide.active img {
  transform: scale(1.04);
}

/* ── Caption overlay (bottom of slide) ── */
.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-6);
  background: linear-gradient(to top, rgba(20, 10, 0, 0.82) 0%, transparent 100%);
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
  z-index: 4;
}

.slider-slide.active:hover .slider-caption {
  opacity: 1;
  transform: translateY(0);
}

.slider-caption-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.slider-expand-icon {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  flex-shrink: 0;
}

/* ── Prev / Next Arrow Buttons ── */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 10, 0, 0.55);
  backdrop-filter: blur(6px);
  color: var(--white);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.slider-arrow svg {
  width: 26px;
  height: 26px;
  pointer-events: none;
}

.slider-arrow-prev { left: var(--sp-4); }
.slider-arrow-next { right: var(--sp-4); }

.slider-arrow:hover {
  background: var(--gold-600);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(164, 100, 10, 0.5);
}

/* ── Auto-play Toggle (top-left) ── */
.slider-play-btn {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(20, 10, 0, 0.55);
  backdrop-filter: blur(6px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.slider-play-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* Show/hide play vs pause icon based on .playing state on the slider */
.gallery-slider:not(.playing) .icon-pause { display: none; }
.gallery-slider.playing          .icon-play  { display: none; }

.slider-play-btn:hover {
  background: var(--gold-600);
  border-color: var(--gold-400);
}

/* ── Slide Counter (top-right) ── */
.slider-counter {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(20, 10, 0, 0.6);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}

.slider-counter-sep {
  opacity: 0.55;
  margin: 0 2px;
}

/* ── Auto-play Progress Bar (bottom edge of stage) ── */
.slider-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,0.18);
  z-index: 10;
}

.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-300));
  transition: width linear;   /* duration set by JS */
  border-radius: 0 2px 2px 0;
}

/* ── Thumbnail Strip Wrapper ── */
.slider-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--gold-900);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  padding: var(--sp-3) var(--sp-4);
  /* matching border with stage */
  box-shadow: 0 0 0 3px var(--gold-600), 0 8px 32px rgba(0,0,0,0.22);
}

/* ── Thumbnail scroll buttons ── */
.slider-thumbs-scroll {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--gold-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.slider-thumbs-scroll svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.slider-thumbs-scroll:hover {
  background: var(--gold-700);
  color: var(--white);
}

/* ── Thumbnail Strip (scrollable) ── */
.slider-thumbs {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  padding: 4px 2px;
  /* hide native scrollbar */
  scrollbar-width: none;
}

.slider-thumbs::-webkit-scrollbar { display: none; }

/* ── Individual Thumbnail ── */
.slider-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  opacity: 0.6;
}

.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.4s var(--ease);
}

.slider-thumb:hover {
  opacity: 0.9;
  transform: scale(1.06);
  border-color: var(--gold-400);
  box-shadow: 0 2px 10px rgba(212, 150, 46, 0.45);
}

.slider-thumb.active {
  border-color: var(--gold-400);
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0 0 1px var(--gold-600), 0 4px 14px rgba(212, 150, 46, 0.5);
}

/* ── Lightbox styles – kept from original (unchanged) ── */
/* ------------------------------------------------
   Responsive CSS grid masonry-style gallery
   Lightbox via JavaScript
   ------------------------------------------------ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Real photo as background */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark gradient overlay for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 10, 0, 0.55) 0%,
    rgba(20, 10, 0, 0.45) 50%,
    rgba(20, 10, 0, 0.65) 100%
  );
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--sp-6);
  max-width: 780px;
  animation: fadeInUp 0.9s var(--ease) both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-5);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-title-accent {
  color: var(--gold-300);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.br-desktop { display: none; }

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ------------------------------------------------
   PALESTINE FLAG  (hero section)
   Centered between the location badge and the page title.
   SVG flag: black / white / green stripes + red hoist triangle.
   Uses the same fadeInUp animation as the hero content.
   ------------------------------------------------ */
.hero-flag {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-5);
  animation: fadeInUp 0.9s var(--ease) 0.15s both;
}

.palestine-flag-svg {
  /* Flag rendered at ~90 × 60 logical units → display at 96px wide */
  width: 96px;
  height: auto;
  border-radius: 5px;
  /* White halo + drop shadow so flag pops on any hero background */
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.45),
    0 4px 20px rgba(0, 0, 0, 0.55);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.palestine-flag-svg:hover {
  transform: scale(1.1);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.65),
    0 8px 30px rgba(0, 0, 0, 0.65);
}

/* ------------------------------------------------
   OUR FARM SECTION
   Two-column: text + stacked images
   ------------------------------------------------ */
.farm-section {
  background: var(--gold-50);
}

.farm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

/* Text column */
.farm-text p {
  color: var(--gray-700);
  margin-bottom: var(--sp-5);
  font-size: 1.025rem;
  line-height: 1.8;
}

.farm-location {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--gold-100);
  color: var(--gold-800);
  font-size: 0.85rem;
  font-weight: 600;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.04em;
}

.location-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-600);
}

/* Farm stats */
.farm-stats {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--gold-200);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-700);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Image column â€“ stacked */
.farm-images {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.farm-img-main img,
.farm-img-secondary img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.farm-img-main img:hover,
.farm-img-secondary img:hover {
  transform: scale(1.02);
}

.farm-img-main img  { height: 340px; }
.farm-img-secondary img { height: 200px; }

/* ------------------------------------------------
   MEDJOOL DATES SECTION
   Intro text + 4-column process cards
   ------------------------------------------------ */
.dates-section {
  background: var(--white);
}

.dates-intro {
  max-width: 780px;
  margin: 0 auto var(--sp-12);
  text-align: center;
}

.dates-intro p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}

.dates-intro em {
  color: var(--gold-700);
  font-style: italic;
}

/* Process grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.process-card {
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform var(--transition), box-shadow var(--transition);
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.process-icon {
  font-size: 2.2rem;
  margin-bottom: var(--sp-3);
}

.process-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-900);
  margin-bottom: var(--sp-3);
}

.process-card p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.process-img {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-top: auto;
}

/* ------------------------------------------------
   GRADES & SIZES SECTION
   Two grade cards + size table
   ------------------------------------------------ */
.grades-section {
  background: var(--gold-900);
  color: var(--white);
}

.grades-section .section-label {
  color: var(--gold-300);
}

.grades-section .section-title {
  color: var(--white);
}

.grades-section .section-subtitle {
  color: rgba(255,255,255,0.75);
}

/* Grade cards */
.grades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}

.grade-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.grade-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.grade-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.grade-premium::before { background: linear-gradient(90deg, var(--gold-400), var(--gold-200)); }
.grade-select::before  { background: linear-gradient(90deg, var(--gold-600), var(--gold-400)); }

.grade-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

.grade-premium .grade-badge {
  background: var(--gold-300);
  color: var(--gold-900);
}

.grade-select .grade-badge {
  background: var(--gold-600);
  color: var(--white);
}

.grade-icon {
  font-size: 2.4rem;
  margin-bottom: var(--sp-3);
}

.grade-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.grade-description {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.grade-specs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.grade-specs li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  padding-left: var(--sp-4);
  border-left: 2px solid var(--gold-500);
  line-height: 1.5;
}

.grade-specs strong {
  color: var(--gold-300);
}

.grade-img {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Size classification table */
.size-table-wrapper {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
}

.size-table-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: var(--sp-2);
  text-align: center;
}

.size-table-note {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-bottom: var(--sp-6);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.size-table th {
  background: rgba(255,255,255,0.08);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.size-table td {
  padding: var(--sp-4) var(--sp-5);
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.size-table tbody tr:hover td {
  background: rgba(255,255,255,0.04);
}

.size-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--radius-full);
}

.size-large  { background: var(--gold-300); color: var(--gold-900); }
.size-medium { background: var(--gold-500); color: var(--white); }
.size-small  { background: var(--gold-700); color: var(--white); }

/* ------------------------------------------------
   PACKAGING SECTION
   Three option cards + images
   ------------------------------------------------ */
.packaging-section {
  background: var(--gray-50);
}

.packaging-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.pack-card {
  background: var(--white);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.pack-icon {
  font-size: 2.4rem;
  margin-bottom: var(--sp-4);
}

.pack-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-900);
  margin-bottom: var(--sp-3);
}

.pack-desc {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.pack-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.pack-details li {
  font-size: 0.88rem;
  color: var(--gray-700);
  padding-left: var(--sp-4);
  position: relative;
}

.pack-details li::before {
  /* Unicode ✓ checkmark – using escape to avoid encoding issues */
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: 700;
}

/* ------------------------------------------------
   .pack-img  – product photo inside each pack-card
   Displayed below the bullet list, full-width,
   object-fit: contain so the full package is shown
   (no cropping of labels / branding on the box)
   ------------------------------------------------ */
.pack-img {
  width: 100%;
  height: 220px;
  object-fit: contain;          /* keep full package visible */
  border-radius: var(--radius-md);
  margin-top: var(--sp-6);
  background: var(--gold-50);   /* subtle cream backdrop */
  padding: var(--sp-3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pack-img:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

/* Packaging note */
.packaging-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: var(--gold-100);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-8);
}

.packaging-note svg {
  width: 22px;
  height: 22px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.packaging-note p {
  font-size: 0.92rem;
  color: var(--gold-900);
  line-height: 1.6;
}

/* Packaging images strip */
.packaging-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.packaging-images img {
  height: 240px;
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  transition: transform var(--transition), box-shadow var(--transition);
}

.packaging-images img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* ------------------------------------------------
   GALLERY SECTION
   Responsive CSS grid masonry-style gallery
   Lightbox via JavaScript
   ------------------------------------------------ */
.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

/* Some items span 2 columns for visual interest */
.gallery-item:nth-child(5n+1),
.gallery-item:nth-child(5n+3) {
  grid-column: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--gold-100);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  display: block;
}

/* Taller images for wide items */
.gallery-item:nth-child(5n+1) img,
.gallery-item:nth-child(5n+3) img {
  height: 300px;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Overlay label */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,10,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-4);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ------------------------------------------------
   LIGHTBOX
   Full-screen modal, opened by JS openLightbox()
   ------------------------------------------------ */
.lightbox-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
}

.lightbox-backdrop.open {
  display: block;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2001;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  animation: lightboxIn 0.25s var(--ease) both;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: var(--sp-4);
  text-align: center;
  max-width: 600px;
}

/* Lightbox controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  transition: background var(--transition);
  z-index: 2002;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-close { top: var(--sp-6);  right: var(--sp-6); }
.lightbox-prev  { left: var(--sp-6); top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: var(--sp-6); top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------
   CONTACT SECTION
   Two-column: info card + farm image
   ------------------------------------------------ */
.contact-section {
  background: var(--gold-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-900);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 2px solid var(--gold-200);
}

/* Contact item rows */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold-600);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--sp-1);
}

.contact-value {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-900);
}

.contact-link {
  color: var(--gold-700);
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--gold-500);
}

/* Action buttons */
.contact-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--gold-200);
}

/* Contact image */
.contact-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.contact-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(20,10,0,0.75), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--sp-5) var(--sp-6);
}

/* ------------------------------------------------
   FOOTER
   Dark gold-brown, three columns
   ------------------------------------------------ */
.footer {
  background: var(--gold-900);
  color: rgba(255,255,255,0.8);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-10);
  padding: var(--sp-12) var(--sp-6);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* Footer logo â€“ square, full image shown */
.footer-logo {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-md);
  object-fit: contain;       /* show full logo, no cropping */
  object-position: center;
  background: rgba(255,255,255,0.08);
  padding: 6px;
  border: 2px solid var(--gold-500);
  box-shadow: 0 2px 18px rgba(0,0,0,0.3);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

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

.footer-bottom {
  background: rgba(0,0,0,0.25);
  text-align: center;
  padding: var(--sp-4) var(--sp-6);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ------------------------------------------------
   FLOATING WHATSAPP FAB
   Always visible bottom-right corner
   ------------------------------------------------ */
.fab-whatsapp {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 999;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.fab-whatsapp svg {
  width: 30px;
  height: 30px;
}

.fab-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ------------------------------------------------
   SCROLL REVEAL ANIMATION
   Applied via JS IntersectionObserver
   ------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------
   RESPONSIVE â€“ TABLET (â‰¤ 1024px)
   ------------------------------------------------ */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(5n+1),
  .gallery-item:nth-child(5n+3) {
    grid-column: span 1;
  }

  .gallery-item img,
  .gallery-item:nth-child(5n+1) img,
  .gallery-item:nth-child(5n+3) img {
    height: 220px;
  }

  .br-desktop { display: none; }
}

/* ------------------------------------------------
   RESPONSIVE â€“ MOBILE (â‰¤ 768px)
   ------------------------------------------------ */
@media (max-width: 768px) {

  /* Nav: hide desktop menu, show hamburger */
  .nav-menu   { display: none; }
  .hamburger  { display: flex; }

  /* Hero */
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-buttons { gap: var(--sp-3); }
  .hero-buttons .btn { padding: var(--sp-3) var(--sp-5); font-size: 0.9rem; }

  /* Sections */
  .section { padding: var(--sp-12) 0; }
  .container { padding: 0 var(--sp-4); }

  /* Farm */
  .farm-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .farm-img-main img  { height: 260px; }
  .farm-img-secondary img { height: 160px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; gap: var(--sp-5); }

  /* Grades */
  .grades-grid { grid-template-columns: 1fr; gap: var(--sp-6); }

  /* Packaging */
  .packaging-grid { grid-template-columns: 1fr; }
  .packaging-images { grid-template-columns: 1fr; }
  .packaging-images img { height: 220px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
  .gallery-item:nth-child(5n+1),
  .gallery-item:nth-child(5n+3) { grid-column: span 1; }
  .gallery-item img,
  .gallery-item:nth-child(5n+1) img,
  .gallery-item:nth-child(5n+3) img { height: 180px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .contact-image img { height: 280px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: var(--sp-6); padding: var(--sp-8) var(--sp-4); }

  /* Lightbox nav */
  .lightbox-prev { left: var(--sp-3); }
  .lightbox-next { right: var(--sp-3); }

  /* FAB */
  .fab-whatsapp { bottom: var(--sp-5); right: var(--sp-4); width: 52px; height: 52px; }
  .fab-whatsapp svg { width: 26px; height: 26px; }
}

/* ------------------------------------------------
   RESPONSIVE â€“ SMALL MOBILE (â‰¤ 480px)
   ------------------------------------------------ */
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .section-title { font-size: 1.8rem; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 240px; }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
}

/* ------------------------------------------------
   MOBILE NAV CONTROLS (lang toggle + hamburger)
   ------------------------------------------------ */
.nav-mobile-controls {
  display: none;
  align-items: center;
  gap: var(--sp-3);
}

/* ------------------------------------------------
   LANGUAGE TOGGLE BUTTON
   Desktop nav version
   ------------------------------------------------ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 32px;
  padding: 0 var(--sp-3);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  transition: all var(--transition);
}

.lang-toggle:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
}

.navbar.scrolled .lang-toggle {
  border-color: var(--gold-400);
  background: var(--gold-100);
  color: var(--gold-800);
}

.navbar.scrolled .lang-toggle:hover {
  background: var(--gold-200);
}

.lang-toggle-mobile {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.navbar.scrolled .lang-toggle-mobile {
  border-color: var(--gold-400);
  background: var(--gold-100);
  color: var(--gold-800);
}

/* ------------------------------------------------
   ARABIC FONT  (body.lang-ar)
   ------------------------------------------------ */
body.lang-ar {
  font-family: 'Tajawal', 'Arial', sans-serif;
}

body.lang-ar .section-title,
body.lang-ar .hero-title,
body.lang-ar .grade-name,
body.lang-ar .process-title,
body.lang-ar .pack-title,
body.lang-ar .size-table-title,
body.lang-ar .contact-card-title,
body.lang-ar .nav-logo-text {
  font-family: 'Tajawal', 'Arial', sans-serif;
  font-weight: 700;
}

/* ------------------------------------------------
   RTL LAYOUT OVERRIDES  (html[dir=rtl])
   ------------------------------------------------ */
html[dir='rtl'] .farm-location { flex-direction: row-reverse; }

html[dir='rtl'] .grade-specs li {
  border-left: none;
  border-right: 2px solid var(--gold-500);
  padding-left: 0;
  padding-right: var(--sp-4);
}

html[dir='rtl'] .pack-details li {
  padding-left: 0;
  padding-right: var(--sp-4);
  text-align: right;
}

html[dir='rtl'] .pack-details li::before {
  left: auto;
  right: 0;
}

html[dir='rtl'] .contact-item {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir='rtl'] .contact-actions { justify-content: flex-end; }

html[dir='rtl'] .packaging-note {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir='rtl'] .farm-stats { flex-direction: row-reverse; }

html[dir='rtl'] .footer-inner { flex-direction: row-reverse; }

html[dir='rtl'] .footer-nav,
html[dir='rtl'] .footer-contact { text-align: right; }

html[dir='rtl'] .size-table th,
html[dir='rtl'] .size-table td { text-align: right; }

html[dir='rtl'] .hero-badge,
html[dir='rtl'] .section-label { letter-spacing: 0; }

html[dir='rtl'] .stat-label { letter-spacing: 0; }

/* Flip lightbox arrows in RTL */
html[dir='rtl'] .lightbox-prev { left: auto; right: var(--sp-6); }
html[dir='rtl'] .lightbox-next { right: auto; left: var(--sp-6); }

/* Flip FAB in RTL */
html[dir='rtl'] .fab-whatsapp { right: auto; left: var(--sp-6); }

/* ------------------------------------------------
   GALLERY SLIDER – RESPONSIVE
   ------------------------------------------------ */

/* ── Tablet (≤ 1024px): slightly shorter stage ── */
@media (max-width: 1024px) {
  .slider-stage {
    aspect-ratio: 4 / 3;     /* a bit taller on tablet for portrait photos */
  }

  .slider-thumb {
    width: 70px;
    height: 50px;
  }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Taller aspect on mobile so the image fills nicely */
  .slider-stage {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .slider-thumbs-wrap {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: var(--sp-2) var(--sp-3);
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrow svg {
    width: 20px;
    height: 20px;
  }

  .slider-arrow-prev { left: var(--sp-2); }
  .slider-arrow-next { right: var(--sp-2); }

  .slider-play-btn  { top: var(--sp-3); left: var(--sp-3); width: 34px; height: 34px; }
  .slider-counter   { top: var(--sp-3); right: var(--sp-3); font-size: 0.75rem; padding: 4px 10px; }

  .slider-thumb     { width: 58px; height: 42px; }

  .slider-caption-label { font-size: 0.95rem; }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .slider-stage {
    aspect-ratio: 4 / 5;
  }

  .slider-thumb { width: 50px; height: 36px; }
  .slider-thumbs-scroll { width: 28px; height: 28px; }
}

/* ------------------------------------------------
   RESPONSIVE – show mobile controls on small screens
   ------------------------------------------------ */
@media (max-width: 768px) {
  .nav-mobile-controls { display: flex; }
}
