/* ==========================================================================
   APS Greens by Aditya Farms — Premium Farm Stylesheet
   A luxury organic brand aesthetic with earthy, nature-inspired tones.
   ========================================================================== */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

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

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1A1A1A;
  background-color: #FBF8F1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
  color: #1A1A1A;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul, ol {
  list-style: none;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   2. CONTAINER
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   3. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(45, 80, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #C8973E;
  background: rgba(200, 151, 62, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.navbar.scrolled .logo-icon {
  background: rgba(200, 151, 62, 0.2);
}

.logo:hover .logo-icon {
  transform: rotate(-12deg);
}

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

.logo-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.navbar.scrolled .logo-brand {
  color: #FFFFFF;
}

.navbar.scrolled .logo-sub {
  color: rgba(255, 255, 255, 0.8);
}

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

.nav-links {
  list-style: none;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C8973E;
  transition: width 0.35s ease;
  border-radius: 1px;
}

.nav-links a:hover {
  color: #C8973E;
  text-decoration: none;
}

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

.nav-links a.active {
  color: #C8973E;
}

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

.nav-links a.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px !important;
  background: #C8973E;
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  line-height: 1.4;
  white-space: nowrap;
}

.nav-links a.btn-nav:hover {
  background: #b3852f;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(200, 151, 62, 0.4);
  color: #FFFFFF !important;
}

.nav-links a.btn-nav::after {
  display: none !important;
}

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #F5F0E8;
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 46, 10, 0.65) 0%,
    rgba(45, 80, 22, 0.50) 50%,
    rgba(26, 46, 10, 0.75) 100%
  );
  z-index: 1;
}

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

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #C8973E;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #F5F0E8;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.15;
}

.hero h1 span {
  color: #C8973E;
  font-style: italic;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(245, 240, 232, 0.85);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

.hero-stat {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.hero-stat span i {
  color: #C8973E;
  font-size: 1rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(245, 240, 232, 0.4);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   5. SECTION STYLES
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: #FFFFFF;
}

.section-cream {
  background-color: #FBF8F1;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #4A8C2A;
  margin-bottom: 14px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: #C8973E;
  vertical-align: middle;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #1A1A1A;
  margin-bottom: 16px;
}

.section-title span {
  color: #2D5016;
}

.section-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
}

/* ==========================================================================
   6. PRODUCT CARDS
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #E8E0D0;
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(45, 80, 22, 0.12);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

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

.product-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 14px;
  background: rgba(45, 80, 22, 0.9);
  color: #F5F0E8;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.product-info {
  padding: 24px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #E8E0D0;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #2D5016;
}

.product-price small {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #999;
}

/* ==========================================================================
   7. GALLERY
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gallery-filters button {
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  background: #FFFFFF;
  border: 1px solid #E8E0D0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background: #2D5016;
  color: #F5F0E8;
  border-color: #2D5016;
}

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

.gallery-grid .gallery-item:nth-child(4n+1) {
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  min-height: 260px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 46, 10, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.gallery-overlay h4 {
  color: #F5F0E8;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  color: rgba(245, 240, 232, 0.8);
  font-size: 0.85rem;
}

/* ==========================================================================
   8. STATS STRIP
   ========================================================================== */
.stats-strip {
  background: linear-gradient(135deg, #2D5016 0%, #1A2E0A 100%);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #C8973E;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.75);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ==========================================================================
   9. WHY US / FEATURES
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #FFFFFF;
  padding: 36px 30px;
  border-radius: 12px;
  border: 1px solid #E8E0D0;
  border-left: 4px solid #4A8C2A;
  transition: all 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(45, 80, 22, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 140, 42, 0.1);
  color: #2D5016;
  font-size: 1.4rem;
  border-radius: 12px;
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1A1A1A;
}

.feature-card p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
}

/* ==========================================================================
   10. ORDER FORM
   ========================================================================== */
.order-form {
  background: #FFFFFF;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #E8E0D0;
}

.order-form h3 {
  margin-bottom: 30px;
  color: #2D5016;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.3px;
}

.form-group label .required {
  color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #E8E0D0;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #1A1A1A;
  background: #FBF8F1;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4A8C2A;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(74, 140, 42, 0.12);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Checkbox items for product selection */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid #E8E0D0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #FBF8F1;
}

.checkbox-item:hover {
  border-color: #4A8C2A;
  background: rgba(74, 140, 42, 0.04);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2D5016;
  cursor: pointer;
}

.checkbox-item label {
  cursor: pointer;
  font-size: 0.9rem;
  color: #333;
}

.form-submit {
  margin-top: 10px;
}

.form-submit .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* ==========================================================================
   11. CONTACT SECTION
   ========================================================================== */
.contact-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #E8E0D0;
}

.contact-info-card {
  background: linear-gradient(135deg, #2D5016 0%, #1A2E0A 100%);
  padding: 40px;
  border-radius: 16px;
  color: #F5F0E8;
}

.contact-info-card h3 {
  color: #F5F0E8;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 151, 62, 0.2);
  color: #C8973E;
  border-radius: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  color: #F5F0E8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-text a:hover {
  color: #C8973E;
}

/* ==========================================================================
   12. ABOUT SECTION
   ========================================================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid #C8973E;
  border-radius: 16px;
  z-index: -1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-address {
  margin-top: 28px;
  padding: 24px;
  background: rgba(74, 140, 42, 0.06);
  border-radius: 12px;
  border-left: 4px solid #4A8C2A;
}

.about-address h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #4A8C2A;
  margin-bottom: 8px;
}

.about-address p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   13. AUTH PAGES (Login / Register)
   ========================================================================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2D5016 0%, #1A2E0A 50%, #2D5016 100%);
  padding: 40px 24px;
}

.auth-card {
  background: #FFFFFF;
  padding: 48px;
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.auth-card .auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card .auth-logo h2 {
  font-size: 1.8rem;
  color: #2D5016;
  margin-bottom: 4px;
}

.auth-card .auth-logo p {
  font-size: 0.85rem;
  color: #999;
}

.auth-card h3 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.4rem;
}

.auth-card .form-group {
  margin-bottom: 18px;
}

.auth-card .form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #E8E0D0;
  border-radius: 10px;
  background: #FBF8F1;
  transition: all 0.3s ease;
}

.auth-card .form-group input:focus {
  border-color: #4A8C2A;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(74, 140, 42, 0.12);
}

.auth-card .btn-primary {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
}

.auth-toggle {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: #777;
}

.auth-toggle a {
  color: #2D5016;
  font-weight: 600;
  transition: color 0.3s ease;
}

.auth-toggle a:hover {
  color: #4A8C2A;
}

/* ==========================================================================
   14. USER DASHBOARD
   ========================================================================== */
.dashboard {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: #FBF8F1;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-header h2 {
  font-size: 2rem;
  color: #2D5016;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.dashboard-card {
  background: #FFFFFF;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid #E8E0D0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.dashboard-card h4 {
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin-bottom: 8px;
  font-weight: 600;
}

.dashboard-card .card-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2D5016;
}

/* Notification Cards */
.notification-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.notification-card {
  background: #FFFFFF;
  padding: 18px 24px;
  border-radius: 10px;
  border: 1px solid #E8E0D0;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.notification-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.notification-card.notification-info {
  border-left: 4px solid #4A8C2A;
}

.notification-card.notification-warning {
  border-left: 4px solid #C8973E;
}

.notification-card.notification-success {
  border-left: 4px solid #27ae60;
}

.notification-card.notification-error {
  border-left: 4px solid #c0392b;
}

.notification-card .notification-text {
  flex: 1;
}

.notification-card .notification-text h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.notification-card .notification-text p {
  font-size: 0.85rem;
  color: #888;
}

.notification-card .notification-time {
  font-size: 0.8rem;
  color: #aaa;
  white-space: nowrap;
}

/* Order History Table */
.order-table-wrapper {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E8E0D0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.order-table {
  width: 100%;
  border-collapse: collapse;
}

.order-table thead {
  background: #2D5016;
}

.order-table thead th {
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #F5F0E8;
  text-align: left;
}

.order-table tbody tr {
  border-bottom: 1px solid #E8E0D0;
  transition: background 0.2s ease;
}

.order-table tbody tr:last-child {
  border-bottom: none;
}

.order-table tbody tr:hover {
  background: rgba(74, 140, 42, 0.04);
}

.order-table tbody td {
  padding: 14px 20px;
  font-size: 0.92rem;
  color: #444;
}

/* ==========================================================================
   15. ALERT MESSAGES
   ========================================================================== */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}

.alert i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.alert-success {
  background: rgba(39, 174, 96, 0.1);
  color: #1e7e3e;
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.alert-error {
  background: rgba(192, 57, 43, 0.1);
  color: #a93226;
  border: 1px solid rgba(192, 57, 43, 0.2);
}

.alert-warning {
  background: rgba(200, 151, 62, 0.12);
  color: #8a6a20;
  border: 1px solid rgba(200, 151, 62, 0.25);
}

.alert-info {
  background: rgba(45, 80, 22, 0.08);
  color: #2D5016;
  border: 1px solid rgba(45, 80, 22, 0.15);
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.footer {
  background: #1A2E0A;
  color: #F5F0E8;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.footer-brand .nav-brand-name {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.footer-brand .nav-brand-subtitle {
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 240, 232, 0.08);
  border-radius: 10px;
  color: #F5F0E8;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #C8973E;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #F5F0E8;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #C8973E;
  border-radius: 1px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.92rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: #C8973E;
  padding-left: 4px;
}

.footer-address p {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  margin-top: 0;
}

.footer-bottom p {
  color: rgba(245, 240, 232, 0.4);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #C8973E;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   17. BUTTONS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: #2D5016;
  color: #F5F0E8;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.35s ease;
  letter-spacing: 0.3px;
  border: 2px solid #2D5016;
  cursor: pointer;
}

.btn-primary:hover {
  background: #1A2E0A;
  border-color: #1A2E0A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: #2D5016;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.35s ease;
  letter-spacing: 0.3px;
  border: 2px solid #2D5016;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #2D5016;
  color: #F5F0E8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.35);
}

/* On hero/dark backgrounds */
.hero .btn-secondary {
  color: #F5F0E8;
  border-color: #F5F0E8;
}

.hero .btn-secondary:hover {
  background: #F5F0E8;
  color: #2D5016;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: #C8973E;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.35s ease;
  border: 2px solid #C8973E;
  cursor: pointer;
}

.btn-gold:hover {
  background: #b0842f;
  border-color: #b0842f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 151, 62, 0.35);
}

/* ==========================================================================
   18. ADMIN LAYOUT
   ========================================================================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  background: linear-gradient(180deg, #1A2E0A 0%, #2D5016 100%);
  color: #F5F0E8;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
  text-align: center;
}

.admin-sidebar-header i {
  font-size: 1.75rem;
  color: #C8973E;
  margin-bottom: 0.25rem;
}

.admin-sidebar-header h3 {
  color: #F5F0E8;
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
}

.admin-sidebar-header span {
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.admin-nav {
  flex: 1;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 24px;
  color: rgba(245, 240, 232, 0.65);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.admin-nav a:hover {
  color: #F5F0E8;
  background: rgba(245, 240, 232, 0.06);
  text-decoration: none;
}

.admin-nav a.active {
  color: #C8973E;
  background: rgba(200, 151, 62, 0.08);
  border-left-color: #C8973E;
}

.admin-nav a i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.admin-nav-divider {
  height: 1px;
  background: rgba(245, 240, 232, 0.1);
  margin: 12px 24px;
}

.admin-nav-logout {
  color: rgba(245, 240, 232, 0.45) !important;
}

.admin-nav-logout:hover {
  color: #f8d7da !important;
  background: rgba(220, 53, 69, 0.1) !important;
}

/* Main Content */
.admin-main {
  flex: 1;
  margin-left: 260px;
  background: #FBF8F1;
  min-height: 100vh;
  padding-bottom: 2rem;
}

.admin-main > *:not(.admin-header) {
  padding-left: 32px;
  padding-right: 32px;
}

.admin-main > .admin-header + * {
  margin-top: 1.5rem;
}

.admin-header {
  background: #FFFFFF;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E8E0D0;
  position: sticky;
  top: 0;
  z-index: 800;
}

.admin-header h1,
.admin-header h2 {
  font-size: 1.4rem;
  color: #1A1A1A;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.admin-header p {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.15rem;
}

.admin-header .admin-welcome {
  font-size: 0.9rem;
  color: #888;
}

.admin-header .admin-welcome strong {
  color: #2D5016;
}

.admin-content {
  padding: 32px;
}

/* Admin Cards */
.admin-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  margin-top: 1.5rem;
}

.admin-card {
  background: #FFFFFF;
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid #E8E0D0;
  border-top: 4px solid #4A8C2A;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.admin-card:nth-child(2) { border-top-color: #C8973E; }
.admin-card:nth-child(3) { border-top-color: #2D5016; }
.admin-card:nth-child(4) { border-top-color: #8B5E3C; }

.admin-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 140, 42, 0.1);
  color: #2D5016;
  font-size: 1.2rem;
  border-radius: 12px;
  margin-bottom: 16px;
}

.admin-card:nth-child(2) .admin-card-icon {
  background: rgba(200, 151, 62, 0.1);
  color: #C8973E;
}

.admin-card:nth-child(3) .admin-card-icon {
  background: rgba(45, 80, 22, 0.1);
  color: #2D5016;
}

.admin-card:nth-child(4) .admin-card-icon {
  background: rgba(139, 94, 60, 0.1);
  color: #8B5E3C;
}

/* Admin card color variants */
.admin-card.card-green { border-top-color: #4A8C2A; }
.admin-card.card-green .admin-card-icon { background: rgba(74,140,42,0.1); color: #4A8C2A; }
.admin-card.card-amber { border-top-color: #C8973E; }
.admin-card.card-amber .admin-card-icon { background: rgba(200,151,62,0.1); color: #C8973E; }
.admin-card.card-blue { border-top-color: #2563EB; }
.admin-card.card-blue .admin-card-icon { background: rgba(37,99,235,0.1); color: #2563EB; }
.admin-card.card-red { border-top-color: #DC3545; }
.admin-card.card-red .admin-card-icon { background: rgba(220,53,69,0.1); color: #DC3545; }
.admin-card.card-purple { border-top-color: #7C3AED; }
.admin-card.card-purple .admin-card-icon { background: rgba(124,58,237,0.1); color: #7C3AED; }
.admin-card.card-teal { border-top-color: #0D9488; }
.admin-card.card-teal .admin-card-icon { background: rgba(13,148,136,0.1); color: #0D9488; }

.admin-card-info {
  display: flex;
  flex-direction: column;
}

.admin-card-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.1;
  margin-bottom: 4px;
}

.admin-card-label {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

/* Admin Table */
.admin-table-wrapper {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E8E0D0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
}

.admin-table-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E8E0D0;
}

.admin-table-header h3 {
  font-size: 1.15rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead {
  background: #FBF8F1;
}

.admin-table thead th {
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  text-align: left;
  border-bottom: 1px solid #E8E0D0;
}

.admin-table tbody tr {
  border-bottom: 1px solid #f2ede4;
  transition: background 0.2s ease;
}

.admin-table tbody tr:nth-child(even) {
  background: rgba(251, 248, 241, 0.5);
}

.admin-table tbody tr:hover {
  background: rgba(74, 140, 42, 0.04);
}

.admin-table tbody tr:last-child {
  border-bottom: none;
}

.admin-table tbody td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: #444;
}

.admin-table .table-actions {
  display: flex;
  gap: 8px;
}

.admin-table .table-actions a,
.admin-table .table-actions button {
  padding: 6px 14px;
  font-size: 0.78rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.table-action-edit {
  background: rgba(74, 140, 42, 0.1);
  color: #2D5016;
}

.table-action-edit:hover {
  background: #2D5016;
  color: #F5F0E8;
}

.table-action-delete {
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
}

.table-action-delete:hover {
  background: #c0392b;
  color: #FFFFFF;
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pending {
  background: rgba(200, 151, 62, 0.12);
  color: #C8973E;
}

.badge-confirmed {
  background: rgba(74, 140, 42, 0.12);
  color: #4A8C2A;
}

.badge-completed {
  background: rgba(45, 80, 22, 0.12);
  color: #2D5016;
}

.badge-cancelled {
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
}

.badge-processing {
  background: rgba(52, 152, 219, 0.12);
  color: #2980b9;
}

/* Admin Form */
.admin-form {
  background: #FFFFFF;
  padding: 36px;
  border-radius: 14px;
  border: 1px solid #E8E0D0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.admin-form h3 {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E8E0D0;
}

.admin-form .form-group input,
.admin-form .form-group select,
.admin-form .form-group textarea {
  width: 100%;
}

/* ==========================================================================
   19. RESPONSIVE DESIGN
   ========================================================================== */

/* -- Tablet (max-width: 992px) -- */
@media (max-width: 992px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-cards { grid-template-columns: repeat(2, 1fr); }

  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-image { order: -1; max-height: 400px; }
  .about-image::after { display: none; }

  .contact-section { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* Admin */
  .admin-sidebar { width: 220px; }
  .admin-main { margin-left: 220px; }
  .admin-cards { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #1A2E0A 0%, #2D5016 100%);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a { font-size: 1.05rem; }
}

/* -- Mobile (max-width: 768px) -- */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.4rem; }

  .section { padding: 50px 0; }

  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary { width: 100%; max-width: 280px; }

  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-item:nth-child(4n+1) { grid-row: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .dashboard-cards { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }

  .order-form { padding: 28px 20px; }
  .contact-form { padding: 28px 20px; }
  .auth-card { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .footer-social { justify-content: center; }

  .stat-number { font-size: 2.2rem; }

  /* Admin mobile */
  .admin-sidebar {
    transform: translateX(-100%);
    width: 260px;
    transition: transform 0.3s ease;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-header {
    padding: 16px 20px;
  }

  .admin-content {
    padding: 20px;
  }

  .admin-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .admin-table-wrapper { overflow-x: auto; }

  .order-table-wrapper { overflow-x: auto; }
}

/* -- Small Mobile (max-width: 480px) -- */
@media (max-width: 480px) {
  body { font-size: 15px; }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }

  .container { padding: 0 16px; }

  .section { padding: 40px 0; }

  .hero { min-height: 85vh; }
  .hero h1 { font-size: 1.9rem; }

  .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 0.88rem; }
  .btn-lg { padding: 14px 32px; font-size: 0.95rem; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 14px 0; }

  .admin-cards { grid-template-columns: 1fr; }
  .admin-card { padding: 20px; }
  .admin-card-number { font-size: 1.8rem; }

  .nav-links { width: 100%; }

  .gallery-filters { gap: 8px; }
  .gallery-filters button { padding: 6px 16px; font-size: 0.8rem; }
}

/* ==========================================================================
   20. ANIMATIONS
   ========================================================================== */

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Staggered children */
.reveal-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal-children.revealed > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* Smooth hover on all interactive */
a, button, input, select, textarea,
.product-card, .feature-card, .admin-card, .gallery-item {
  transition-property: transform, box-shadow, color, background, border-color, opacity;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* Pulse for stat numbers */
@keyframes countUp {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   21. UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-green  { color: #2D5016; }
.text-gold   { color: #C8973E; }
.text-accent  { color: #4A8C2A; }
.text-muted  { color: #888; }
.text-white  { color: #F5F0E8; }

.bg-green    { background-color: #2D5016; }
.bg-cream    { background-color: #FBF8F1; }
.bg-white    { background-color: #FFFFFF; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pt-4 { padding-top: 40px; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.pb-4 { padding-bottom: 40px; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.w-100 { width: 100%; }

/* Image overlays */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 10, 0.5);
  z-index: 1;
}

.overlay-light {
  position: absolute;
  inset: 0;
  background: rgba(251, 248, 241, 0.7);
  z-index: 1;
}

.overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 46, 10, 0.8) 100%);
  z-index: 1;
}

/* Divider decorations */
.divider {
  width: 60px;
  height: 2px;
  background: #C8973E;
  margin: 20px auto;
  border-radius: 1px;
}

.divider-left {
  margin-left: 0;
}

/* Selection color */
::selection {
  background: rgba(74, 140, 42, 0.2);
  color: #1A1A1A;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FBF8F1;
}

::-webkit-scrollbar-thumb {
  background: #c5d4b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4A8C2A;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #4A8C2A;
  outline-offset: 2px;
}

/* ==========================================================================
   ADDITIONAL COMPONENTS
   ========================================================================== */

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}
.page-hero-content h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 0.5rem;
}
.page-hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  color: white;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 10, 0.8);
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cta-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Section Green Background */
.section-green {
  background: linear-gradient(135deg, #2D5016 0%, #1A2E0A 100%);
  padding: 80px 0;
}

/* About Preview (Home Page) */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.about-text h2 {
  margin-bottom: 1rem;
}
.about-text p {
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.8;
}
.about-address {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #f5f0e8;
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.about-address i {
  color: #2D5016;
  font-size: 1.5rem;
  margin-top: 0.25rem;
}
.about-address div {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* About Full Page */
.about-full { max-width: 900px; margin: 0 auto; }
.about-story { margin-bottom: 3rem; }
.about-story h2 { margin-bottom: 1.5rem; }
.about-story p { margin-bottom: 1rem; color: #555; line-height: 1.8; }
.about-farm-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.about-farm-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.about-farm-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.about-farm-img p {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}
.about-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.about-detail-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  text-align: center;
}
.detail-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D5016, #4A8C2A);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}
.about-detail-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.about-detail-card p { font-size: 0.9rem; color: #666; line-height: 1.7; }

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.contact-form-wrap > p { color: #666; margin-bottom: 2rem; }
.contact-info-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.contact-info-card.highlight {
  background: linear-gradient(135deg, #2D5016, #1A2E0A);
  color: white;
}
.contact-info-card.highlight h3 { color: #C8973E; }
.contact-info-card.highlight p { color: rgba(255,255,255,0.85); }
.contact-info-card.highlight ul { list-style: none; margin-top: 1rem; }
.contact-info-card.highlight ul li {
  padding: 0.4rem 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}
.contact-info-card.highlight ul li i { color: #C8973E; margin-right: 0.5rem; }
.contact-info-card h3 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-info-item i {
  color: #2D5016;
  font-size: 1.1rem;
  margin-top: 0.25rem;
  min-width: 20px;
}
.contact-info-item strong { display: block; margin-bottom: 0.25rem; }
.contact-info-item p { font-size: 0.9rem; color: #666; line-height: 1.6; }

/* Info Banner */
.info-banner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #C8973E;
  margin-top: 3rem;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.info-banner-icon { color: #C8973E; font-size: 1.5rem; }
.info-banner h4 { margin-bottom: 0.5rem; }
.info-banner p { color: #666; font-size: 0.9rem; }
.info-banner a { color: #2D5016; font-weight: 600; }

/* Form Sections (Order Page) */
.form-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.form-section h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #2D5016;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Product Select Grid (Order Form) */
.product-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.product-checkbox {
  cursor: pointer;
}
.product-checkbox input[type="checkbox"] {
  display: none;
}
.product-check-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid #e8e0d0;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}
.product-check-card img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}
.product-check-info {
  flex: 1;
}
.product-check-info strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.product-check-info span {
  font-size: 0.8rem;
  color: #888;
}
.check-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #e8e0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.product-checkbox input:checked + .product-check-card {
  border-color: #2D5016;
  background: #f5faf0;
}
.product-checkbox input:checked + .product-check-card .check-mark {
  background: #2D5016;
  border-color: #2D5016;
  color: white;
}

/* Payment Note */
.payment-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff8e8;
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 3px solid #C8973E;
}
.payment-note i { color: #C8973E; font-size: 1.25rem; margin-top: 0.1rem; }
.payment-note strong { display: block; margin-bottom: 0.25rem; }
.payment-note p { font-size: 0.85rem; color: #666; }

/* Gallery Home (limited) */
.gallery-home {
  grid-template-columns: repeat(3, 1fr);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10001;
}
#lightboxCaption {
  color: rgba(255,255,255,0.8);
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* Buttons Additional */
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}
.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.3s;
}
.btn-danger:hover { background: #c82333; }

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #999;
}
.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ddd;
}
.empty-state p { font-size: 1rem; }
.empty-state a { color: #2D5016; font-weight: 600; }

/* Dashboard */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.dashboard-header h1 { font-size: 2rem; }
.dashboard-header p { color: #666; }
.dashboard-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.dashboard-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2D5016;
}
.dashboard-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.notification-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.notification-card {
  padding: 1.25rem;
  border-radius: 10px;
  background: #fbf8f1;
  border-left: 4px solid #2D5016;
}
.notification-card h4 { font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: 0.5rem; }
.notification-card p { font-size: 0.9rem; color: #555; margin-bottom: 0.5rem; }
.notification-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: #e8e0d0;
  color: #666;
  margin-bottom: 0.5rem;
}
.badge-general { background: #e8e0d0; color: #666; }
.badge-product { background: #d4edda; color: #155724; }
.badge-pricing { background: #fff3cd; color: #856404; }
.badge-seasonal { background: #d1ecf1; color: #0c5460; }
.badge-offer { background: #f8d7da; color: #721c24; }
.notification-date { font-size: 0.8rem; color: #999; }

/* Badges */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  text-transform: capitalize;
}
.badge-pending { background: #fff3cd; color: #856404; }
.badge-confirmed { background: #d4edda; color: #155724; }
.badge-dispatched { background: #cce5ff; color: #004085; }
.badge-delivered { background: #d4edda; color: #155724; }
.badge-cancelled { background: #f8d7da; color: #721c24; }
.badge-retail { background: #e2e3f1; color: #383d6e; }
.badge-bulk { background: #d1ecf1; color: #0c5460; }
.badge-export { background: #fff3cd; color: #856404; }
.badge-vegetable { background: #d4edda; color: #155724; }
.badge-flower { background: #f8d7da; color: #721c24; }
.badge-exotic { background: #fff3cd; color: #856404; }
.badge-active { background: #d4edda; color: #155724; }
.badge-inactive { background: #f8d7da; color: #721c24; }
.badge-general_inquiry, .badge-general { background: #e8e0d0; color: #666; }
.badge-export_inquiry, .badge-export { background: #fff3cd; color: #856404; }
.badge-bulk_order { background: #d1ecf1; color: #0c5460; }
.badge-vendor { background: #e2e3f1; color: #383d6e; }
.badge-visit { background: #d4edda; color: #155724; }

/* Status Select (Admin Orders) */
.status-select {
  padding: 0.35rem 0.5rem;
  border: 1px solid #e8e0d0;
  border-radius: 6px;
  font-size: 0.8rem;
  background: white;
  cursor: pointer;
}

/* Admin Modal */
.admin-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.admin-modal-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.admin-modal-header h3 { font-family: 'Inter', sans-serif; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
}
.modal-close:hover { color: #333; }

/* Admin Panel (Card container) */
.admin-panel {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  margin-bottom: 1.5rem;
}
.admin-panel h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2D5016;
}

/* Admin Grid 2-column */
.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Admin Gallery Grid */
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.admin-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.admin-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.admin-gallery-info {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.admin-gallery-info strong {
  flex: 1;
  font-size: 0.85rem;
}
.admin-gallery-info form { margin-left: auto; }

/* Admin Query Card */
.admin-query-card {
  padding: 1.25rem;
  border-radius: 10px;
  background: #fbf8f1;
  margin-bottom: 1rem;
  border-left: 4px solid #e8e0d0;
}
.admin-query-card.unread {
  border-left-color: #C8973E;
  background: #fff8e8;
}
.query-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.query-company { color: #888; font-size: 0.9rem; }
.query-contact {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
}
.query-contact i { color: #2D5016; margin-right: 0.35rem; }
.query-message { font-size: 0.9rem; color: #444; line-height: 1.7; margin-bottom: 0.75rem; }
.query-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.query-date { font-size: 0.8rem; color: #999; }

/* Admin Link */
.admin-link {
  display: inline-block;
  margin-top: 1rem;
  color: #2D5016;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Admin Query Item (Dashboard) */
.admin-query-item {
  padding: 1rem 0;
  border-bottom: 1px solid #f0ebe0;
}
.admin-query-item:last-child { border-bottom: none; }
.admin-query-item p { font-size: 0.85rem; color: #666; margin: 0.4rem 0; }
.admin-query-item small { color: #999; }

/* Admin Notification */
.admin-notif .query-footer { margin-top: 0.5rem; }

/* Empty text */
.empty-text { color: #999; padding: 1rem 0; text-align: center; }

/* Table responsive */
.table-responsive { overflow-x: auto; }

/* Utility */
.mt-3 { margin-top: 2rem; }

/* Responsive additions */
@media (max-width: 992px) {
  .about-preview { grid-template-columns: 1fr; }
  .about-image img { height: 300px; }
  .contact-layout { grid-template-columns: 1fr; }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .gallery-home { grid-template-columns: repeat(2, 1fr); }
  .page-hero { min-height: 35vh; }
  .page-hero-content h1 { font-size: 2.25rem; }
  .cta-content h2 { font-size: 2rem; }
}
@media (max-width: 768px) {
  .product-select-grid { grid-template-columns: 1fr; }
  .gallery-home { grid-template-columns: 1fr; }
  .about-details-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-actions { flex-direction: column; }
  .admin-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .about-details-grid { grid-template-columns: 1fr; }
  .admin-gallery-grid { grid-template-columns: 1fr; }
  .query-contact { flex-direction: column; gap: 0.5rem; }
}

/* Print styles */
@media print {
  .navbar, .footer, .hero-scroll, .nav-toggle { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  body { background: white; color: black; }
  .section { padding: 30px 0; }
}
