﻿/* Custom Styles for Spice Export Website */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --primary-spice: #D97706; /* Turmeric Gold */
  --primary-red: #DC2626;   /* Rich Chili Red */
  --primary-dark: #0F172A;  /* Deep Navy Slate */
  --primary-green: #059669; /* Natural Leaf/Herb Green */
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
  color: #1E293B;
  background-color: #F8FAFC;
}

.trade-step { display:flex; flex-direction:column; gap:.45rem; padding:1rem; border:1px solid #334155; border-radius:.9rem; background:#111c30; }
.trade-process { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.trade-step { min-height:6.5rem; justify-content:center; }
.trade-step b { color:#fbbf24; font-size:.75rem; }
.trade-step span { font-weight:700; font-size:.9rem; }
.trade-info { background:#fff; color:#1e293b; border-radius:1rem; padding:1.4rem; }
.trade-info i { color:#b77909; font-size:1.35rem; }
.trade-info h3 { font-weight:800; margin-top:.8rem; }
.trade-info p { color:#475569; font-size:.9rem; line-height:1.6; margin-top:.45rem; }
.featured-product-card { display:block; overflow:hidden; width:100%; padding:0; text-align:left; border:1px solid #e2e8f0; border-radius:1rem; background:#fff; box-shadow:0 8px 24px #0f172a0d; transition:transform .2s ease,box-shadow .2s ease; cursor:pointer; }
.featured-product-card:hover { transform:translateY(-4px); box-shadow:0 16px 32px #0f172a1a; }
.featured-product-card img { display:block; width:100%; height:210px; object-fit:cover; }
.featured-product-copy { display:flex; flex-direction:column; align-items:flex-start; gap:.5rem; padding:1rem 1.1rem 1.2rem; }
.featured-product-copy b { color:#0f172a; font-size:1.1rem; }
.featured-product-copy span { min-height:2.8rem; color:#64748b; font-size:.86rem; line-height:1.5; }
.featured-product-copy em { color:#a66d00; font-size:.82rem; font-weight:800; font-style:normal; margin-top:.25rem; }
.faq-item { border:1px solid #e2e8f0; border-radius:.8rem; padding:1rem 1.2rem; }
.faq-item summary { cursor:pointer; font-weight:700; color:#0f172a; }
.faq-item p { margin-top:.8rem; color:#475569; font-size:.92rem; line-height:1.65; }
.product-dialog { width:min(900px,calc(100% - 2rem)); max-height:90vh; border:0; border-radius:1.25rem; padding:2rem; box-shadow:0 25px 80px #0f172a55; }
.product-dialog::backdrop { background:#020617bb; backdrop-filter:blur(3px); }
.dialog-close { position:sticky; float:right; top:0; margin:-.9rem -.7rem .25rem .5rem; font-size:2rem; line-height:1; color:#475569; }
.product-specs { margin-top:1.25rem; border-top:1px solid #e2e8f0; }
.product-specs div { display:grid; grid-template-columns:8rem 1fr; gap:.75rem; padding:.65rem 0; border-bottom:1px solid #e2e8f0; font-size:.88rem; }
.product-specs dt { font-weight:700; color:#334155; }
.product-specs dd { color:#475569; }
@media print { .print-actions { display:none !important; } }
@media (min-width:768px) { .trade-process { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width:1024px) { .trade-process { grid-template-columns:repeat(6,minmax(0,1fr)); } }

.font-serif-title {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Glassmorphism elements */
.glass-nav {
  background: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Elegant Nav Link Effect */
.nav-link-elegant {
  position: relative;
  font-weight: 500;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.nav-link-elegant::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background: linear-gradient(90deg, #F59E0B, #EF4444);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 9999px;
}

.nav-link-elegant:hover {
  color: #FBBF24 !important;
}

.nav-link-elegant:hover::after {
  width: 100%;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card-dark {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient accents */
.gradient-text {
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-bg {
  background: linear-gradient(135deg, #D97706 0%, #B91C1C 100%);
}

.gradient-green {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
}

/* Pulse animation for quick contact buttons */
@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
  }
}

.pulse-whatsapp {
  animation: softPulse 2.5s infinite;
}

@keyframes callPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 12px rgba(220, 38, 38, 0);
  }
}

.pulse-call {
  animation: callPulse 2.5s infinite;
}

/* Floating contact widget */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Hover effects */
.product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
}

/* Modal transition */
.modal-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
  transition: transform 0.3s ease;
}

.modal-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-hidden .modal-content {
  transform: scale(0.95) translateY(20px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #0F172A;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #B45309;
}

.category-card { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.category-card:hover, .category-card:focus-visible { transform: translateY(-3px); border-color: #D97706; box-shadow: 0 12px 24px -14px rgba(15, 23, 42, 0.35); outline: none; }
:lang(mr), :lang(hi) { font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif; }

/* Keep Font Awesome icons visible when translated labels become longer. */
.fa-solid, .fa-regular, .fa-brands {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.fa-solid, .fa-regular { font-family: "Font Awesome 6 Free" !important; }
.fa-solid { font-weight: 900; }
.fa-regular { font-weight: 400; }
.fa-brands { font-family: "Font Awesome 6 Brands" !important; font-weight: 400; }

