/* ============================================
   Feronex Spices - GLOBAL STYLES
   style.css
   ============================================ */

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

:root {
  --green-dark: #1B4D1E;
  --green-mid: #2A6B2F;
  --green-light: #3D8B45;
  --gold-dark: #8B6914;
  --gold-mid: #C5963A;
  --gold-light: #E8C070;
  --gold-pale: #F5E8C8;
  --cream: #FAF7F0;
  --warm-white: #F5F0E8;
  --warm-gray: #EDE5D0;
  --ink: #080604;
  --text-dark: #1A1208;
  --text-mid: #3D2E0E;
  --text-muted: #6B5540;
  --border: rgba(197, 150, 58, 0.18);
  --border-green: rgba(27, 77, 30, 0.15);
  --shadow-gold: 0 8px 32px rgba(197, 150, 58, 0.15);
  --shadow-green: 0 8px 32px rgba(27, 77, 30, 0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', Arial, sans-serif;
  --radius-sm: 2px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --nav-height: 86px;
  --transition: all 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 6vw, 82px);
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
}

h4 {
  font-size: clamp(16px, 1.8vw, 20px);
}

em {
  color: var(--gold-mid);
  font-style: italic;
}

p {
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.container-sm {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

.section-pad {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 72px 0;
}

.section-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-mid);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 620px;
  margin-bottom: 48px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.center {
  text-align: center;
}

.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.text-gold {
  color: var(--gold-mid);
}

.text-green {
  color: var(--green-dark);
}

.text-cream {
  color: var(--gold-pale);
}

.bg-dark {
  background: var(--green-dark);
}

.bg-cream {
  background: var(--cream);
}

.bg-warm {
  background: var(--warm-gray);
}

.divider {
  width: 60px;
  height: 3px;
  margin: 20px 0 32px;
  background: var(--gold-mid);
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gold-mid);
  color: var(--text-dark);
}

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

.btn-dark {
  background: var(--green-dark);
  color: var(--gold-pale);
}

.btn-dark:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--gold-mid);
  color: var(--gold-mid);
}

.btn-outline:hover {
  background: var(--gold-mid);
  color: var(--text-dark);
}

.btn-outline-light {
  border-color: rgba(245, 232, 200, 0.34);
  color: rgba(245, 232, 200, 0.86);
}

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

.btn-lg {
  min-height: 52px;
  padding: 16px 44px;
  font-size: 13px;
}

.btn-sm {
  min-height: 36px;
  padding: 10px 22px;
  font-size: 11px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow-green);
}

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal {
  transform: translateY(28px);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-right {
  transform: translateX(32px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-height);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
}

#header.scrolled {
  height: 78px;
  background: rgba(250, 247, 240, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(27, 77, 30, 0.08);
}

#header.hero-dark .nav-link {
  color: rgba(245, 237, 219, 0.78);
}

#header.hero-dark .nav-logo-text {
  color: var(--gold-pale);
}

#header.scrolled .nav-link {
  color: var(--text-muted);
}

#header.scrolled .nav-logo-text {
  color: var(--text-dark);
}

#header.scrolled .nav-logo img {
  height: 54px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.nav-logo img {
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease, filter 0.3s ease;
}

.hero-dark:not(.scrolled) .nav-logo img {
  filter: brightness(0) invert(1);
}

.nav-logo-text {
  display: block;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-logo-sub {
  display: block;
  margin-top: 2px;
  color: var(--gold-mid);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

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

.nav-link {
  position: relative;
  padding-bottom: 4px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-mid);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-dark);
}

.hero-dark:not(.scrolled) .nav-link:hover,
.hero-dark:not(.scrolled) .nav-link.active {
  color: var(--gold-light);
}

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

.nav-cta {
  margin-left: 4px;
}

.nav-cta::after {
  display: none;
}

.nav-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-md);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

.hero-dark:not(.scrolled) .nav-hamburger span {
  background: var(--gold-pale);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  padding: 24px 48px 32px;
  border-top: 1px solid var(--border);
  background: var(--cream);
  box-shadow: 0 20px 40px rgba(27, 77, 30, 0.12);
}

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

.nav-mobile-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 15px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
  color: var(--green-dark);
  padding-left: 8px;
}

.nav-mobile .btn {
  width: 100%;
  margin-top: 16px;
}

#footer {
  background: #080604;
  color: var(--gold-pale);
}

.footer-top {
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(197, 150, 58, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand .footer-logo {
  height: 62px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  margin-bottom: 12px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
}

.footer-desc {
  max-width: 300px;
  color: rgba(245, 237, 219, 0.48);
  font-size: 13px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(197, 150, 58, 0.22);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 237, 219, 0.55);
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
}

.footer-social:hover {
  border-color: var(--gold-mid);
  color: var(--gold-mid);
  background: rgba(197, 150, 58, 0.08);
}

.footer-col-title {
  display: block;
  margin-bottom: 20px;
  color: var(--gold-mid);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-link {
  color: rgba(245, 237, 219, 0.45);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-col-link:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: rgba(245, 237, 219, 0.28);
  font-size: 12px;
  letter-spacing: 0.2px;
}

.footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-cert {
  color: rgba(197, 150, 58, 0.45);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-admin-seed {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(197, 150, 58, 0.18);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  opacity: 0.42;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.footer-admin-seed:hover,
.footer-admin-seed:focus-visible {
  opacity: 1;
  transform: translateY(-2px) scale(1.06);
  border-color: var(--gold-mid);
  outline: none;
}

.footer-admin-seed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wa-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-pulse 3s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.62);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.42);
  }

  50% {
    box-shadow: 0 4px 40px rgba(37, 211, 102, 0.68);
  }
}

.page-shell {
  padding-top: var(--nav-height);
}

.dark-page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: end;
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #08240c 0%, var(--green-dark) 58%, #123616 100%);
  color: var(--gold-pale);
  overflow: hidden;
}

.dark-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(232, 192, 112, 0.18), transparent 30%),
    radial-gradient(circle at 15% 80%, rgba(61, 139, 69, 0.2), transparent 28%);
  pointer-events: none;
}

.dark-page-hero .container {
  position: relative;
  z-index: 1;
}

.dark-page-hero p {
  max-width: 640px;
  color: rgba(245, 237, 219, 0.74);
  font-size: 17px;
}

/* Shared animated map system */
.india-map,
.world-map {
  width: 100%;
  height: 100%;
  min-height: 360px;
  overflow: visible;
}

.india-outline {
  fill: rgba(27, 77, 30, 0.08);
  stroke: rgba(27, 77, 30, 0.26);
  stroke-width: 2;
}

.state-rajasthan,
.state-gujarat {
  cursor: pointer;
  stroke: rgba(27, 77, 30, 0.5);
  stroke-width: 1.5;
  transition: fill 0.2s ease, transform 0.2s ease;
}

.state-rajasthan {
  fill: rgba(197, 150, 58, 0.42);
}

.state-gujarat {
  fill: rgba(61, 139, 69, 0.34);
}

.state-rajasthan:hover,
.state-gujarat:hover {
  fill: rgba(232, 192, 112, 0.72);
}

.route-line,
.world-route {
  fill: none;
  stroke: var(--gold-mid);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: route-dash 8s linear infinite;
}

.world-route {
  stroke-width: 1.4;
  opacity: 0.7;
}

@keyframes route-dash {
  to {
    stroke-dashoffset: -180;
  }
}

.city-dot,
.port-dot,
.dest-dot {
  fill: var(--gold-mid);
  stroke: #fff8e5;
  stroke-width: 2;
  filter: drop-shadow(0 3px 8px rgba(197, 150, 58, 0.45));
}

.port-dot {
  fill: var(--green-dark);
}

.dest-dot {
  animation: map-pulse 2.4s ease-in-out infinite;
}

@keyframes map-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

.world-dot {
  fill: rgba(27, 77, 30, 0.18);
}

.world-map-section .world-dot {
  fill: rgba(245, 232, 200, 0.18);
}

.map-label {
  fill: var(--green-dark);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(255, 250, 240, 0.92);
  stroke-width: 3px;
}

.world-map-section .map-label {
  fill: var(--gold-pale);
  stroke: rgba(8, 6, 4, 0.78);
}

.ship {
  fill: var(--gold-mid);
  opacity: 0.72;
  animation: ship-bob 3s ease-in-out infinite;
}

@keyframes ship-bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.traveler {
  fill: var(--gold-light);
  opacity: 0.9;
  transform-box: fill-box;
  transform-origin: center;
}

.traveler-1 {
  animation: plane-one 7s ease-in-out infinite;
}

.traveler-2 {
  animation: plane-two 8s ease-in-out infinite 1.2s;
}

.traveler-3 {
  animation: plane-three 9s ease-in-out infinite 2s;
}

@keyframes plane-one {
  0% {
    transform: translate(540px, 250px) rotate(-28deg);
    opacity: 0;
  }

  18%,
  82% {
    opacity: 1;
  }

  100% {
    transform: translate(705px, 164px) rotate(-28deg);
    opacity: 0;
  }
}

@keyframes plane-two {
  0% {
    transform: translate(540px, 250px) rotate(160deg);
    opacity: 0;
  }

  18%,
  82% {
    opacity: 1;
  }

  100% {
    transform: translate(240px, 194px) rotate(160deg);
    opacity: 0;
  }
}

@keyframes plane-three {
  0% {
    transform: translate(540px, 250px) rotate(24deg);
    opacity: 0;
  }

  18%,
  82% {
    opacity: 1;
  }

  100% {
    transform: translate(652px, 292px) rotate(24deg);
    opacity: 0;
  }
}

.map-tooltip {
  position: fixed;
  z-index: 2500;
  display: none;
  max-width: 220px;
  padding: 10px 12px;
  border: 1px solid rgba(197, 150, 58, 0.3);
  border-radius: var(--radius-md);
  background: rgba(8, 6, 4, 0.92);
  color: rgba(245, 237, 219, 0.78);
  font-size: 12px;
  line-height: 1.45;
  pointer-events: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.map-tooltip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 16px;
}

@media (max-width: 1080px) {
  #header {
    padding: 0 28px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-logo {
    min-width: 220px;
  }

  .nav-logo-text {
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 78px;
  }

  #header {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-logo {
    min-width: 0;
  }

  .nav-logo img {
    height: 56px;
  }

  .nav-logo-text {
    font-size: 16px;
  }

  .nav-mobile {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .wa-float {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 560px) {

  .container,
  .container-sm {
    width: min(100% - 32px, 1200px);
  }

  .section-pad {
    padding: 72px 0;
  }

  .section-pad-sm {
    padding: 56px 0;
  }

  .nav-logo-sub {
    display: none;
  }

  .nav-logo img {
    height: 50px;
  }

  .nav-logo-text {
    max-width: 145px;
    white-space: normal;
    line-height: 1.05;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(28px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-certs {
    justify-content: center;
  }

  .footer-admin-seed {
    order: 3;
  }
}
