/* ============================================================
   AL ZUBAIR ENGINEERING WORKS - Main Stylesheet
   Theme: Dark Green + Gold Industrial Agriculture
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --green-primary:  #1B5E20;
  --green-dark:     #0D3B12;
  --green-darker:   #071f0a;
  --green-light:    #2E7D32;
  --green-mid:      #256027;
  --gold:           #D4AF37;
  --gold-light:     #F0C040;
  --gold-dark:      #B8970A;
  --black:          #080d09;
  --dark:           #111a12;
  --dark-card:      #141f15;
  --white:          #FAFAFA;
  --gray-light:     #f4f6f4;
  --gray-mid:       #9aaa9c;
  --gray-text:      #6c7a6e;
  --border:         rgba(212,175,55,0.2);
  --border-green:   rgba(27,94,32,0.3);
  --shadow-card:    0 8px 32px rgba(0,0,0,0.4);
  --shadow-gold:    0 4px 20px rgba(212,175,55,0.3);
  --radius:         12px;
  --radius-lg:      20px;
  --transition:     0.3s cubic-bezier(0.4,0,0.2,1);
  --font-heading:   'Outfit', sans-serif;
  --font-body:      'Inter', sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Loading Overlay ──────────────────────────────────────── */
#loader {
  position: fixed; inset: 0;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-content { text-align: center; }
.loader-logo {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 900;
  color: var(--white); margin-bottom: 12px;
}
.loader-logo span { color: var(--gold); }

.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px; overflow: hidden;
  margin: 0 auto;
}
.loader-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  border-radius: 99px;
  animation: loadBar 1.8s ease-in-out forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ── Top Bar ──────────────────────────────────────────────── */
.top-bar {
  background: var(--green-dark);
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}
.top-bar a { color: rgba(255,255,255,0.85); transition: var(--transition); }
.top-bar a:hover { color: var(--gold); }
.top-bar i { font-size: 0.75rem; }

/* ── Navbar ───────────────────────────────────────────────── */
#mainNav {
  background: rgba(8, 13, 9, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: all var(--transition);
  z-index: 1050;
}
#mainNav.scrolled {
  background: rgba(8, 13, 9, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.navbar-brand .brand-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.navbar-brand .brand-text span { color: var(--gold); }
.navbar-brand .brand-tagline {
  font-size: 0.65rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 1.5rem 1rem !important;
  letter-spacing: 0.3px;
  position: relative;
  transition: var(--transition) !important;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--gold);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  left: 1rem; right: 1rem;
}
.nav-link:hover, .nav-link.active { color: var(--gold) !important; }

.navbar-toggler {
  border: 1px solid var(--border) !important;
  padding: 6px 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212%2C175%2C55%2C1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ── Section Utilities ────────────────────────────────────── */
.section-badge {
  display: inline-block;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }

.section-subtitle {
  color: var(--gray-mid);
  font-size: 1.05rem;
  max-width: 600px;
}
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  border-radius: 99px;
  margin: 16px 0;
}

/* ── Hero Section ─────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  filter: brightness(0.35) saturate(0.8);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(7,31,10,0.92) 0%,
    rgba(13,59,18,0.75) 40%,
    rgba(8,13,9,0.85) 100%);
}

/* Animated particles */
.hero-particles {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp var(--dur, 8s) var(--delay, 0s) infinite ease-in;
}
.particle:nth-child(1)  { left:10%; --dur:9s;  --delay:0s; }
.particle:nth-child(2)  { left:20%; --dur:11s; --delay:2s; }
.particle:nth-child(3)  { left:35%; --dur:8s;  --delay:4s; }
.particle:nth-child(4)  { left:50%; --dur:12s; --delay:1s; }
.particle:nth-child(5)  { left:65%; --dur:10s; --delay:3s; }
.particle:nth-child(6)  { left:75%; --dur:9s;  --delay:5s; }
.particle:nth-child(7)  { left:85%; --dur:11s; --delay:2s; }
.particle:nth-child(8)  { left:92%; --dur:8s;  --delay:6s; }

@keyframes floatUp {
  0%   { opacity:0; transform: translateY(100vh) scale(0); }
  10%  { opacity:0.7; }
  90%  { opacity:0.3; }
  100% { opacity:0; transform: translateY(-50px) scale(1.5); }
}

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.35);
  color: var(--gold);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 99px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s 0.15s ease both;
}
.hero-title .highlight {
  color: var(--gold);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  font-family: var(--font-body);
  animation: fadeInUp 0.9s 0.3s ease both;
}

.hero-products {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 36px;
  animation: fadeInUp 0.9s 0.4s ease both;
}
.hero-product-tag {
  background: rgba(27,94,32,0.3);
  border: 1px solid rgba(27,94,32,0.6);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem; font-weight: 500;
  padding: 5px 14px; border-radius: 99px;
  transition: var(--transition);
}
.hero-product-tag:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  color: var(--white);
}

.hero-buttons {
  display: flex; flex-wrap: wrap; gap: 12px;
  animation: fadeInUp 0.9s 0.5s ease both;
}

.hero-image-col { 
  animation: fadeInRight 1s 0.3s ease both;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
}
.hero-img-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.9) saturate(1.1);
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8,13,9,0.8) 100%);
}
.hero-img-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(8,13,9,0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 12px 18px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 12px;
}
.hero-img-badge .number {
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 900;
  color: var(--gold); line-height: 1;
}
.hero-img-badge .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center;
  animation: bounce 2s infinite;
}
.scroll-indicator span {
  display: block; font-size: 0.7rem;
  color: rgba(255,255,255,0.5); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 8px;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
}
@keyframes bounce {
  0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)}
}

/* ── Stats Section ────────────────────────────────────────── */
#stats {
  background: var(--green-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stat-item { text-align: center; padding: 10px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem; font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px; background: var(--border);
  height: 60px; margin: auto;
}

/* ── About Section ────────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: var(--dark);
}
.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
}
.about-image-wrapper img {
  width: 100%; height: 500px;
  object-fit: cover;
}
.about-exp-badge {
  position: absolute; bottom: -20px; right: 30px;
  background: var(--green-primary);
  border: 3px solid var(--gold);
  padding: 20px 24px; border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.about-exp-badge .years {
  font-family: var(--font-heading);
  font-size: 2.5rem; font-weight: 900;
  color: var(--gold); line-height: 1;
}
.about-exp-badge .text {
  font-size: 0.75rem; color: var(--white);
  text-transform: uppercase; letter-spacing: 1px;
}

/* Feature Tabs */
.about-tabs .nav-tabs {
  border: none;
  gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.about-tabs .nav-link {
  background: rgba(27,94,32,0.15) !important;
  border: 1px solid var(--border-green) !important;
  color: rgba(255,255,255,0.7) !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}
.about-tabs .nav-link:hover,
.about-tabs .nav-link.active {
  background: var(--green-primary) !important;
  border-color: var(--green-light) !important;
  color: var(--white) !important;
}

.about-feature-item {
  display: flex; gap: 16px;
  padding: 16px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: var(--transition);
}
.about-feature-item:hover {
  border-color: rgba(212,175,55,0.4);
  transform: translateX(4px);
}
.about-feature-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold);
}
.about-feature-title {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 0.95rem;
  color: var(--white); margin-bottom: 4px;
}
.about-feature-text { font-size: 0.82rem; color: var(--gray-mid); line-height: 1.5; }

/* ── Products Section ─────────────────────────────────────── */
#products {
  padding: 100px 0;
  background: var(--black);
}

.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 50px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-green);
  color: rgba(255,255,255,0.7);
  padding: 8px 22px; border-radius: 99px;
  font-family: var(--font-heading);
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green-primary);
  border-color: var(--green-light);
  color: var(--white);
  box-shadow: 0 0 20px rgba(27,94,32,0.4);
}

.product-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.1);
}

.product-img-wrap {
  position: relative; overflow: hidden;
  height: 220px; background: #0f1a10;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--green-primary);
  color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: 1px;
}

.product-actions-hover {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(10px);
  transition: var(--transition);
}
.product-card:hover .product-actions-hover {
  opacity: 1; transform: translateX(0);
}
.product-action-btn {
  width: 36px; height: 36px;
  background: rgba(8,13,9,0.85);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 0.85rem;
  cursor: pointer; transition: var(--transition);
  text-decoration: none;
}
.product-action-btn:hover {
  background: var(--green-primary);
  border-color: var(--green-light);
  color: var(--white);
}

.product-body { padding: 20px; }
.product-category {
  font-size: 0.72rem; font-weight: 600;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 8px;
}
.product-name {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
  transition: color var(--transition);
}
.product-card:hover .product-name { color: var(--gold); }
.product-desc {
  font-size: 0.82rem; color: var(--gray-mid);
  line-height: 1.5; margin-bottom: 16px;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 800;
  color: var(--gold); margin-bottom: 16px;
}
.product-price span {
  font-size: 0.75rem; color: var(--gray-mid);
  font-weight: 400; font-family: var(--font-body);
}

.product-footer {
  display: flex; gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

/* ── Projects Section ─────────────────────────────────────── */
#projects {
  padding: 100px 0;
  background: var(--dark);
}
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--dark-card);
  border: 1px solid var(--border);
}
.project-img {
  width: 100%; height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img { transform: scale(1.08); }

.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,13,9,0.92) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 20px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-title-hover {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  color: var(--white);
}
.project-title-static {
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-top: 1px solid var(--border);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 90%; max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 20px; right: 30px;
  font-size: 2rem; color: var(--white);
  cursor: pointer; background: none; border: none;
  transition: var(--transition);
  line-height: 1;
}
.lightbox-close:hover { color: var(--gold); }

/* ── Why Choose Us ────────────────────────────────────────── */
#why-us {
  padding: 100px 0;
  background: var(--black);
}
.why-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,94,32,0.1), transparent);
  opacity: 0; transition: var(--transition);
}
.why-card:hover::before { opacity: 1; }
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.4);
  box-shadow: var(--shadow-card);
}
.why-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--gold);
  margin: 0 auto 20px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(27,94,32,0.4);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  transform: scale(1.1);
}
.why-title {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.why-text { font-size: 0.85rem; color: var(--gray-mid); line-height: 1.6; }

/* ── Contact Section ──────────────────────────────────────── */
#contact {
  padding: 100px 0;
  background: var(--dark);
}
.contact-info-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 16px;
  transition: var(--transition);
}
.contact-info-card:hover {
  border-color: rgba(212,175,55,0.4);
  transform: translateX(4px);
}
.contact-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold);
}
.contact-label {
  font-size: 0.72rem; color: var(--gray-mid);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-value {
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 600; color: var(--white);
}
.contact-value a { color: var(--white); transition: var(--transition); }
.contact-value a:hover { color: var(--gold); }

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  height: 250px;
}
.map-wrapper iframe { width: 100%; height: 100%; }

/* Contact Form */
.contact-form-wrapper {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-label {
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.form-control, .form-select {
  background: rgba(27,94,32,0.08) !important;
  border: 1px solid var(--border-green) !important;
  border-radius: 10px !important;
  color: var(--white) !important;
  padding: 12px 16px !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  transition: var(--transition) !important;
}
.form-control:focus, .form-select:focus {
  background: rgba(27,94,32,0.15) !important;
  border-color: var(--green-light) !important;
  box-shadow: 0 0 0 3px rgba(27,94,32,0.2) !important;
  color: var(--white) !important;
}
.form-control::placeholder { color: var(--gray-text) !important; }
.form-select option { background: var(--dark); color: var(--white); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--green-light), var(--green-primary));
  border: 1px solid var(--green-light);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  box-shadow: 0 8px 24px rgba(27,94,32,0.5);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  color: var(--dark);
}
.btn-outline-custom {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 28px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-outline-custom:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-whatsapp:hover {
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-sm-custom { padding: 8px 18px !important; font-size: 0.8rem !important; }

/* ── Footer ───────────────────────────────────────────────── */
#footer {
  background: var(--green-darker);
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
}
.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 900;
  color: var(--white);
}
.footer-brand-text span { color: var(--gold); }
.footer-tagline {
  font-size: 0.8rem; color: var(--gold);
  letter-spacing: 2px; text-transform: uppercase;
  margin-top: 4px;
}
.footer-desc {
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
  line-height: 1.7; margin-top: 16px;
}
.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem; font-weight: 700;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a::before {
  content: '▶';
  font-size: 0.5rem; color: var(--gold); opacity: 0.7;
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-item {
  display: flex; gap: 12px; margin-bottom: 14px;
}
.footer-contact-icon {
  width: 32px; height: 32px; min-width: 32px;
  background: rgba(27,94,32,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--gold);
}
.footer-contact-text {
  font-size: 0.82rem; color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(27,94,32,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: rgba(255,255,255,0.7);
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: var(--green-primary);
  border-color: var(--green-light);
  color: var(--gold);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px; margin-top: 40px;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}

/* ── Floating Elements ────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 24px;
  z-index: 999;
}
.whatsapp-float a {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}
.whatsapp-float a::before {
  content: '';
  position: absolute;
  width: 58px; height: 58px;
  background: rgba(37,211,102,0.4);
  border-radius: 50%;
  animation: waPulse 2s infinite;
}
@keyframes waPulse {
  0%{transform:scale(1);opacity:0.8}
  100%{transform:scale(1.8);opacity:0}
}

.scroll-top {
  position: fixed; bottom: 100px; right: 24px;
  z-index: 999;
  width: 44px; height: 44px;
  background: var(--green-primary);
  border: 1px solid var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
  cursor: pointer; transition: var(--transition);
  opacity: 0; visibility: hidden;
  text-decoration: none;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover {
  background: var(--gold); border-color: var(--gold);
  color: var(--dark); transform: translateY(-3px);
}

/* ── Cart Drawer ──────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1100;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 380px; max-width: 95vw;
  height: 100vh;
  background: var(--dark);
  border-left: 1px solid var(--border);
  z-index: 1200;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.active { transform: translateX(0); }

.cart-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  margin: 0;
}
.cart-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); cursor: pointer;
  transition: var(--transition); font-size: 1rem;
}
.cart-close:hover { background: rgba(255,0,0,0.2); color: #ff4444; }

.cart-items {
  flex: 1; overflow-y: auto; padding: 16px;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--border-green); border-radius: 99px; }

.cart-item {
  display: flex; gap: 12px;
  padding: 14px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.cart-item-img {
  width: 70px; height: 70px; min-width: 70px;
  object-fit: cover; border-radius: 8px;
  background: #0f1a10;
}
.cart-item-name {
  font-family: var(--font-heading);
  font-size: 0.9rem; font-weight: 700;
  color: var(--white); margin-bottom: 4px;
}
.cart-item-price { font-size: 0.85rem; color: var(--gold); font-weight: 600; }
.cart-item-remove {
  width: 24px; height: 24px; min-width: 24px;
  background: rgba(255,0,0,0.1);
  border: none; border-radius: 6px;
  color: #ff6b6b; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; margin-left: auto;
  align-self: flex-start;
  transition: var(--transition);
}
.cart-item-remove:hover { background: rgba(255,0,0,0.25); }

.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 60px 20px;
  color: var(--gray-mid); text-align: center;
}
.cart-empty i { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex; justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 800;
  color: var(--white); margin-bottom: 16px;
}
.cart-total .amount { color: var(--gold); }

/* Cart count badge */
.cart-count {
  position: absolute; top: -6px; right: -8px;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.65rem; font-weight: 800;
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.cart-count.show { display: flex; }
.cart-btn-wrapper { position: relative; display: inline-flex; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity:0; transform:translateY(-20px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeInRight {
  from { opacity:0; transform:translateX(40px); }
  to   { opacity:1; transform:translateX(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* Stagger delay */
.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.2s !important; }
.reveal-delay-3 { transition-delay: 0.3s !important; }
.reveal-delay-4 { transition-delay: 0.4s !important; }
.reveal-delay-5 { transition-delay: 0.5s !important; }
.reveal-delay-6 { transition-delay: 0.6s !important; }

/* ── Product Detail Page ──────────────────────────────────── */
.product-detail-hero {
  padding: 120px 0 60px;
  background: var(--dark);
}
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  aspect-ratio: 4/3;
  background: #0f1a10;
}
.product-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-thumbs {
  display: flex; gap: 10px;
  margin-top: 12px; flex-wrap: wrap;
}
.product-thumb {
  width: 70px; height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
}
.product-thumb:hover, .product-thumb.active {
  border-color: var(--gold);
}

.product-detail-tabs .nav-tabs {
  border-bottom: 1px solid var(--border) !important;
  margin-bottom: 24px;
}
.product-detail-tabs .nav-link {
  color: var(--gray-mid) !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  padding: 10px 20px !important;
  font-weight: 600 !important; font-size: 0.9rem !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.product-detail-tabs .nav-link:hover { color: var(--white) !important; }
.product-detail-tabs .nav-link.active {
  color: var(--gold) !important;
  border-bottom-color: var(--gold) !important;
}

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table td { padding: 12px 16px; font-size: 0.9rem; }
.spec-table td:first-child {
  color: var(--gray-mid); font-weight: 600;
  width: 40%; background: rgba(27,94,32,0.05);
}
.spec-table td:last-child { color: var(--white); }

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: rgba(255,255,255,0.8);
  display: flex; gap: 12px; align-items: center;
}
.feature-list li::before {
  content: '✓';
  color: var(--green-light);
  font-weight: 800; min-width: 20px;
}

.quantity-control {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--border-green);
  border-radius: 10px; overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 40px; height: 42px;
  background: rgba(27,94,32,0.15);
  border: none; color: var(--white);
  font-size: 1.1rem; cursor: pointer;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--green-primary); }
.qty-input {
  width: 55px; height: 42px;
  background: transparent !important;
  border: none !important;
  border-left: 1px solid var(--border-green) !important;
  border-right: 1px solid var(--border-green) !important;
  color: var(--white) !important;
  text-align: center !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important; font-size: 1rem !important;
  padding: 0 !important;
}

/* ── Cart Page ────────────────────────────────────────────── */
.cart-page { padding: 100px 0 60px; background: var(--dark); min-height: 80vh; }
.cart-table { width: 100%; }
.cart-table th {
  padding: 14px 16px; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gray-mid); font-weight: 600;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
}
.cart-table td { padding: 16px; vertical-align: middle; border-bottom: 1px solid var(--border); }
.cart-page-item-img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.cart-page-item-name {
  font-family: var(--font-heading);
  font-weight: 700; color: var(--white); font-size: 0.95rem;
}
.cart-summary-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.cart-summary-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: rgba(255,255,255,0.75);
}
.cart-summary-total {
  display: flex; justify-content: space-between;
  padding: 16px 0 0;
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 800; color: var(--white);
}
.cart-summary-total .price { color: var(--gold); }

/* ── Admin Login ──────────────────────────────────────────── */
.admin-login-page {
  min-height: 100vh;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.admin-login-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-card);
}

/* ── Admin Dashboard ──────────────────────────────────────── */
.admin-sidebar {
  position: fixed; top: 0; left: 0;
  width: 260px; height: 100vh;
  background: var(--dark-card);
  border-right: 1px solid var(--border);
  z-index: 500;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.admin-content {
  margin-left: 260px;
  min-height: 100vh;
  background: var(--black);
  padding: 30px;
}
.admin-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem; font-weight: 500;
  font-family: var(--font-heading);
  cursor: pointer; transition: var(--transition);
  text-decoration: none; border: none; background: none; width: 100%;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(27,94,32,0.2);
  color: var(--white);
  border-right: 2px solid var(--gold);
}
.admin-nav-item i { font-size: 1rem; color: var(--gold); width: 20px; }

.admin-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.admin-card h5 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.admin-table { width: 100%; }
.admin-table th {
  padding: 12px 16px; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gray-mid); font-weight: 600;
  background: rgba(27,94,32,0.08);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 16px; font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(27,94,32,0.05); }
.admin-img-thumb { width: 55px; height: 55px; object-fit: cover; border-radius: 8px; }

.stat-widget {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; align-items: center; gap: 20px;
}
.stat-widget-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold);
}
.stat-widget-number {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 900; color: var(--white);
  line-height: 1;
}
.stat-widget-label { font-size: 0.8rem; color: var(--gray-mid); margin-top: 4px; }

/* Modal Overrides */
.modal-content {
  background: var(--dark-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--white) !important;
}
.modal-header {
  border-bottom: 1px solid var(--border) !important;
  padding: 20px 24px !important;
}
.modal-footer {
  border-top: 1px solid var(--border) !important;
  padding: 16px 24px !important;
}
.modal-title {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
}
.btn-close { filter: invert(1) !important; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .hero-image-col { display: none; }
  .cart-drawer { width: 100%; }
}

@media (max-width: 767px) {
  #hero { padding-top: 100px; min-height: auto; padding-bottom: 60px; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  #stats, #about, #products, #projects, #why-us, #contact { padding: 70px 0; }
  .contact-form-wrapper { padding: 24px 20px; }
  .scroll-indicator { display: none; }
  .stat-divider { display: none; }
}

@media (max-width: 576px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-gold,
  .hero-buttons .btn-whatsapp { width: 100%; justify-content: center; }
  .admin-login-card { padding: 32px 20px; }
}
