/*
 * ============================================================
 * YAHYA AGRICOLA CATTLE RANGE — Home Page Styles
 * Developer: Mohammed Imran, Softomatic BD Limited
 * ============================================================
 */

/* ── FONT UPDATE — Noto Serif Bengali ────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@400;600;700;800&display=swap');

/* Bengali heading override */
body.lang-bn h1,
body.lang-bn h2,
body.lang-bn h3,
body.lang-bn h4 {
  font-family: 'Noto Serif Bengali', 'Cormorant Garamond', serif;
}

body.lang-bn p,
body.lang-bn .nav-link,
body.lang-bn .btn,
body.lang-bn li {
  font-family: 'Hind Siliguri', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 15, 7, 0.88) 0%,
    rgba(13, 31, 15, 0.75) 50%,
    rgba(13, 31, 15, 0.35) 100%
  );
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(6, 15, 7, 0.82) 0%,
    rgba(13, 31, 15, 0.70) 50%,
    rgba(13, 31, 15, 0.30) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: var(--space-16) 0;
}

/* Hero Left */
.hero-left {
  animation: fadeUp 0.9s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 1rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--gold-light);
  font-weight: var(--weight-semi);
  letter-spacing: 1px;
  margin-bottom: var(--space-5);
  backdrop-filter: blur(8px);
}

.hero-badge i {
  color: var(--gold);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: var(--space-5);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-title .gold-line {
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(240, 237, 230, 0.82);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(240, 237, 230, 0.75);
}

.hero-trust-item i {
  color: var(--gold);
  font-size: 0.9rem;
}

/* Hero Right — Cattle Image */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-cattle-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-cattle-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: float 5s ease-in-out infinite;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

/* Floating stat cards on hero image */
.hero-stat-card {
  position: absolute;
  background: rgba(13, 31, 15, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}

[data-theme="light"] .hero-stat-card {
  background: rgba(255,255,255,0.92);
}

.hero-stat-card:nth-child(2) { animation-delay: 0.8s; }
.hero-stat-card:nth-child(3) { animation-delay: 1.6s; }

.hero-stat-card.card-top-left {
  top: 12%;
  left: -8%;
}

.hero-stat-card.card-bottom-right {
  bottom: 14%;
  right: -6%;
}

.stat-card-icon {
  width: 36px;
  height: 36px;
  background: var(--gold-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.stat-card-text .num {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  letter-spacing: 1px;
}

.stat-card-text .lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
  white-space: nowrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 2s 1s ease both;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: var(--space-8) 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.stat-item {
  text-align: center;
  padding: var(--space-4) var(--space-6);
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-gold);
}

.stat-icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: var(--space-2);
  display: block;
}

.stat-number {
  font-family: var(--font-accent);
  font-size: 2.2rem;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-family: 'Hind Siliguri', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT FARM SECTION
═══════════════════════════════════════════════════════════ */
.about-farm {
  background: var(--bg-primary);
  padding: var(--space-24) 0;
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* About Left — Text */
.about-text .eyebrow {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.about-text .eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.about-text h2 {
  margin-bottom: var(--space-5);
}

.about-text p {
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
  line-height: 1.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.about-feature:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}


.about-feature-text .title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.about-feature-text .desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}


.about-feature-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05); /* স্বচ্ছ ডার্ক ব্যাকগ্রাউন্ড */
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ৩ডি ইমেজগুলো যাতে বক্সের বাইরে না যায় এবং পারফেক্টলি ফিট হয় */
.about-feature-icon img {
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.about-location {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-4);
  background: var(--badge-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
}

.about-location i {
  color: var(--gold);
}

/* About Right — Image Collage */
.about-images {
  position: relative;
  height: 500px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
  height: 78%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg-card);
  z-index: 2;
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg-card);
  z-index: 3;
}

.about-img-accent {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  width: 35%;
  height: 35%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--bg-card);
  z-index: 1;
}

.about-img-badge {
  position: absolute;
  bottom: 10%;
  left: 5%;
  z-index: 4;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.about-img-badge .badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0D1F0F;
  font-size: 1.1rem;
}

.about-img-badge .badge-text .num {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1;
  display: block;
}

.about-img-badge .badge-text .lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   CATTLE CATALOG SECTION
═══════════════════════════════════════════════════════════ */
.cattle-catalog {
  background: var(--bg-secondary);
  padding: var(--space-24) 0;
}

/* Filter Tabs */
.catalog-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: 'Hind Siliguri', sans-serif;
}

.filter-btn:hover {
  color: var(--gold);
  border-color: var(--border-gold);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0D1F0F;
  border-color: var(--gold);
  font-weight: var(--weight-bold);
}

/* Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

/* Cattle Card */
.cattle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
}

.cattle-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.15);
  transform: translateY(-5px);
}

.cattle-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-secondary);
  cursor: none;
}

.cattle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
  will-change: transform;
}

.cattle-card:hover .cattle-card-img img {
  /* zoom handled by JS lens mousemove */
}

.cattle-card-img .zoom-lens {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.3), 0 4px 20px rgba(0,0,0,0.4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
  transform: translate(-50%, -50%);
  background: rgba(201,168,76,0.06);
}
.cattle-card-img:hover .zoom-lens { opacity: 1; }

.cattle-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: var(--space-2);
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
}

.cattle-card-img .img-placeholder i {
  font-size: 3rem;
  color: var(--border-gold);
}

.cattle-status-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-available {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #4ade80;
}

.status-sold {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #f87171;
}

.status-reserved {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

.cattle-card-body {
  padding: var(--space-5);
}

.cattle-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.cattle-name {
  font-family: 'Noto Serif Bengali', 'Cormorant Garamond', serif;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: 1.2;
}

body.lang-en .cattle-name {
  font-family: var(--font-heading);
}

.cattle-id {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.cattle-breed-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.7rem;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: var(--weight-semi);
  margin-bottom: var(--space-3);
}

.cattle-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.spec-item {
  text-align: center;
  padding: var(--space-2);
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.spec-item i {
  font-size: 0.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 3px;
}

.spec-value {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  display: block;
  line-height: 1.3;
}

.spec-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
}

.cattle-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.cattle-price {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.cattle-price.contact-price {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text-muted);
}

/* Catalog CTA */
.catalog-cta {
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   CATTLE DETAIL MODAL
═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(6px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-base);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 38px;
  height: 38px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: var(--gold);
  color: #0D1F0F;
  border-color: var(--gold);
}

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Modal Gallery */
.modal-gallery {
  padding: var(--space-6);
  border-right: 1px solid var(--border);
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  background: var(--bg-secondary);
  margin-bottom: var(--space-3);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-base);
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-2);
}

.gallery-thumb {
  width: 72px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--gold);
}

/* Modal Details */
.modal-details {
  padding: var(--space-6);
  overflow-y: auto;
}

.modal-cattle-name {
  font-family: 'Noto Serif Bengali', 'Cormorant Garamond', serif;
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

body.lang-en .modal-cattle-name {
  font-family: var(--font-heading);
}

.modal-breed {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.3rem 0.9rem;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--gold);
  margin-bottom: var(--space-5);
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.modal-spec-item {
  padding: var(--space-3) var(--space-4);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.modal-spec-item .spec-label {
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: var(--weight-semi);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 4px;
}

.modal-spec-item .spec-val {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
}

.modal-diet {
  padding: var(--space-4);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: var(--space-5);
}

.modal-diet .diet-label {
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: var(--weight-semi);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.modal-diet .diet-value {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.modal-cert-row {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.cert-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.3rem 0.8rem;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: #4ade80;
  font-weight: var(--weight-semi);
}

.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  background: var(--badge-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

.modal-price-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-price-value {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 2px;
}

.modal-price-value.ask {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
}

.modal-actions {
  display: flex;
  gap: var(--space-3);
}

.modal-actions .btn {
  flex: 1;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════════════════════ */
.why-us {
  background: var(--bg-primary);
  padding: var(--space-24) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.why-card {
  padding: var(--space-8) var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--badge-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: 1.6rem;
  color: var(--gold);
  transition: all var(--transition-base);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0D1F0F;
  transform: scale(1.08);
}

.why-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.why-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   ORDER CTA SECTION
═══════════════════════════════════════════════════════════ */
.order-cta {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.order-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(74, 140, 79, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.order-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.order-cta-text .eyebrow {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-3);
}

.order-cta-text h2 {
  margin-bottom: var(--space-4);
}

.order-cta-text p {
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.order-contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.order-contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-base);
  color: var(--text-primary);
}

.order-contact-card:hover {
  border-color: var(--border-gold);
  transform: translateX(5px);
  box-shadow: var(--shadow-gold);
  color: var(--text-primary);
}

.order-contact-card .card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.card-icon.phone-icon  { background: rgba(74, 140, 79, 0.15);  color: var(--green-light); border: 1px solid rgba(74, 140, 79, 0.3); }
.card-icon.wa-icon     { background: rgba(37, 211, 102, 0.12); color: #25D366;             border: 1px solid rgba(37, 211, 102, 0.3); }
.card-icon.email-icon  { background: rgba(201, 168, 76, 0.12); color: var(--gold);          border: 1px solid var(--border-gold); }

.order-contact-card:hover .card-icon {
  transform: scale(1.1);
}

.card-info .card-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.card-info .card-value {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  display: block;
}

.card-arrow {
  margin-left: auto;
  color: var(--gold);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--transition-base);
}

.order-contact-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Order Form */
.order-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.order-form-wrap h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
  color: var(--gold-light);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-family: 'Hind Siliguri', sans-serif;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: var(--bg-card);
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .catalog-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .modal-inner   { grid-template-columns: 1fr; }
  .modal-gallery { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 900px) {
  .hero-inner        { grid-template-columns: 1fr; text-align: center; }
  .hero-right        { display: none; }
  .hero-actions      { justify-content: center; }
  .hero-trust        { justify-content: center; }
  .hero-sub          { max-width: 100%; }
  .about-inner       { grid-template-columns: 1fr; }
  .about-images      { display: none; }
  .order-cta-inner   { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .catalog-grid    { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr; }
  .about-features  { grid-template-columns: 1fr; }
  .modal-specs-grid{ grid-template-columns: 1fr; }
  .modal-actions   { flex-direction: column; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after{ display: none; }
}



/* ═══════════════════════════════════════════════════════════
   IMAGE ZOOM — Lens + Lightbox
═══════════════════════════════════════════════════════════ */

/* ── Cattle card image zoom ───────────────────────────────── */
.cattle-card-img.zoomable {
  cursor: none;
  overflow: hidden;
}

.cattle-card-img.zoomable img {
  transition: none; /* disable default transition during zoom */
  transform-origin: 0 0;
  will-change: transform;
}

/* Lens circle */
.zoom-lens {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.3),
    0 4px 20px rgba(0,0,0,0.4),
    inset 0 0 20px rgba(201,168,76,0.08);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
  transform: translate(-50%, -50%);
  background: rgba(201,168,76,0.06);
  backdrop-filter: blur(0px);
}

.cattle-card-img.zoomable:hover .zoom-lens {
  opacity: 1;
}

/* Zoom icon hint on card hover */
.zoom-hint {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  width: 30px;
  height: 30px;
  background: rgba(13,31,15,0.75);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.cattle-card-img.zoomable:hover .zoom-hint {
  opacity: 1;
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  gap: var(--space-4);
}

/* Main image */
.lightbox-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,76,0.25);
  cursor: zoom-in;
  background: #0a0a0a;
}

.lightbox-img-wrap.zoomed {
  cursor: zoom-out;
}

.lightbox-img {
  max-width: 80vw;
  max-height: 72vh;
  width: auto;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-img.zoomed {
  transform: scale(2.2);
  cursor: zoom-out;
}

/* Controls */
.lightbox-close {
  position: fixed;
  top: var(--space-5);
  right: var(--space-5);
  width: 42px;
  height: 42px;
  background: rgba(30,30,30,0.9);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10000;
}

.lightbox-close:hover {
  background: var(--gold);
  color: #0D1F0F;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(30,30,30,0.85);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10000;
}

.lightbox-prev { left: var(--space-5); }
.lightbox-next { right: var(--space-5); }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: #0D1F0F;
}

.lightbox-prev.hidden,
.lightbox-next.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Counter */
.lightbox-counter {
  position: fixed;
  top: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  z-index: 10000;
}

/* Thumbnail strip */
.lightbox-thumbs {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

.lightbox-thumb {
  width: 56px;
  height: 46px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.55;
  flex-shrink: 0;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb.active,
.lightbox-thumb:hover {
  border-color: var(--gold);
  opacity: 1;
}

/* Zoom hint inside lightbox */
.lightbox-zoom-hint {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1px;
  pointer-events: none;
  font-family: var(--font-accent);
}

/* ── Cattle card color dot (home page catalog) ────────────── */
.cattle-color-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.cattle-color-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.cattle-color-dot.dot-white { border-color: var(--border); }

.cattle-color-dot.dot-multi {
  background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%);
}

.cattle-color-text {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: 'Hind Siliguri', sans-serif;
}