/* ============================================================
   ANARA FRUITS CO LTD — Main Stylesheet
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --gold: #D4A017;
  --gold-light: #F2C94C;
  --green-deep: #1A3320;
  --green-mid: #2D5A3D;
  --green-light: #4A7C59;
  --cream: #FDF6E3;
  --cream-dark: #F5E9C8;
  --text: #1A1A1A;
  --text-soft: #5A5A4A;
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

 nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1.2rem 4rem;

  background: rgba(26, 51, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(212,160,23,0.25);

  transition: all 0.4s ease;
}

/* 🔥 Scroll effect (Apple style) */
nav.scrolled {
  padding: 0.7rem 4rem;
  background: rgba(26, 51, 32, 0.95);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(212,160,23,0.4);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
}
/* ANARA (gold, bold, glowing) */
.logo-anara {
  font-size: 28px;
  font-weight: 800;
  color: #d4a017;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(212,160,23,0.4);
  transition: 0.3s ease;
}

/* MAURITIUS (black, bold, clean) */
.logo-country {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
}

/* Underline highlight effect */
.logo-country::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #d4a017, transparent);
}

/* Hover effect */
.nav-logo:hover .logo-anara {
  transform: scale(1.05);
  text-shadow: 0 4px 18px rgba(212,160,23,0.6);
}
nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav ul a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.3s;
}
nav ul a:hover { color: var(--gold-light); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--green-deep);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,160,23,0.12) 0%, transparent 60%);
}
.hero-text {
  padding: 8rem 4rem 4rem 5rem;
  position: relative; z-index: 2;
  animation: fadeUp 1s ease both;
}
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 40px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  color: white; line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,0.65); font-size: 1.1rem;
  line-height: 1.7; max-width: 420px; margin-bottom: 2.5rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  margin-left: 1rem;
  transition: border-color 0.3s, background 0.3s;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* Hero visual side */
.hero-visual {
  height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(212,160,23,0.04) 0px, rgba(212,160,23,0.04) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(-45deg, rgba(212,160,23,0.04) 0px, rgba(212,160,23,0.04) 1px, transparent 1px, transparent 40px);
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.15);
  pointer-events: none;
}
.hero-ring-1 { width: 420px; height: 420px; animation: spin-slow 30s linear infinite; }
.hero-ring-2 { width: 560px; height: 560px; animation: spin-slow 45s linear infinite reverse; border-style: dashed; }
.hero-ring-3 { width: 700px; height: 700px; animation: spin-slow 60s linear infinite; border-color: rgba(212,160,23,0.07); }

.hero-logo-wrap {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  animation: float 6s ease-in-out infinite;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(212,160,23,0.22) 0%, rgba(212,160,23,0.06) 45%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}
.hero-logo-wrap img {
  width: 400px; max-width: 88%;
  mix-blend-mode: multiply;
  filter:
    drop-shadow(0 0 30px rgba(212,160,23,0.55))
    drop-shadow(0 20px 50px rgba(0,0,0,0.45))
    brightness(1.05);
  transition: transform 0.4s, filter 0.4s;
}
.hero-logo-wrap img:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 50px rgba(212,160,23,0.8)) drop-shadow(0 20px 50px rgba(0,0,0,0.45)) brightness(1.1);
}
.hero-logo-tagline {
  margin-top: 1.2rem;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(212,160,23,0.7); font-weight: 500;
}
.hero-badge {
  position: absolute; bottom: 3rem; right: 3rem;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.4);
  padding: 1.2rem 1.8rem;
  text-align: center; z-index: 3;
}
.hero-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; color: var(--gold-light); font-weight: 700;
}
.hero-badge .lbl {
  color: rgba(255,255,255,0.6); font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase; display: block;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  background: var(--green-mid);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(212,160,23,0.2);
}
.stat {
  padding: 2.5rem 2rem; text-align: center;
  border-right: 1px solid rgba(212,160,23,0.15);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; color: var(--gold-light); font-weight: 700;
}
.stat-lbl {
  color: rgba(255,255,255,0.6); font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.3rem;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
section { padding: 7rem 5rem; }
.section-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--green-mid); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-eyebrow::before {
  content: ''; display: block; width: 30px; height: 1px; background: var(--green-mid);
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2; margin-bottom: 1.5rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem;
  align-items: center; background: var(--cream);
}
.about-text p {
  color: var(--text-soft); line-height: 1.8; font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.about-card {
  background: var(--green-deep);
  padding: 3rem; color: white;
  position: relative; overflow: hidden;
}
.about-card::before {
  content: '🍍';
  position: absolute; right: -1rem; bottom: -1rem;
  font-size: 10rem; opacity: 0.08;
}
.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--gold-light); margin-bottom: 1rem;
}
.about-card p { color: rgba(255,255,255,0.7); line-height: 1.7; }
.about-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.about-tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem;
}
.tag {
  background: var(--cream-dark);
  border: 1px solid rgba(45,90,61,0.2);
  color: var(--green-mid);
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem; letter-spacing: 0.08em;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  background: var(--green-deep);
}

.products .section-eyebrow {
  color: var(--gold);
}

.products .section-eyebrow::before {
  background: var(--gold);
}

.products h2 {
  color: white;
}

.products-intro {
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

/* ✅ FIXED GRID (responsive side-by-side) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,160,23,0.2);
  padding: 2.5rem 2rem;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  border-color: rgba(212,160,23,0.6);
  background: rgba(255,255,255,0.08);
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  display: block;
}

.product-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.product-card p {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-size: 0.95rem;
}

.product-specs {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.spec {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.spec strong {
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   WHY US
   ============================================================ */
.why { background: var(--cream-dark); }
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem;
}
.why-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 2rem; background: white;
  border-left: 3px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-item:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.why-icon { font-size: 2rem; flex-shrink: 0; }
.why-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--green-deep);
}
.why-item p { color: var(--text-soft); line-height: 1.7; font-size: 0.95rem; }

/* ============================================================
   DESTINATIONS
   ============================================================ */
.destinations { background: var(--cream); text-align: center; }
.destinations h2 { margin-bottom: 0.8rem; }
.destinations-sub {
  color: var(--text-soft); font-size: 1rem; margin-bottom: 3.5rem;
  max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
.countries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; max-width: 900px; margin: 0 auto;
}
.country {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  background: white; border: 1px solid rgba(45,90,61,0.15);
  padding: 2rem 1.2rem;
  font-size: 1rem; font-weight: 500; color: var(--green-deep);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.country:hover {
  background: var(--green-deep); color: white;
  border-color: var(--green-deep); transform: translateY(-4px);
}
.flag-wrap { display: flex; align-items: center; justify-content: center; }
.flag-img {
  width: 80px; height: 53px; object-fit: cover;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.country-name { font-size: 0.95rem; font-weight: 500; text-align: center; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--green-deep); }
.contact .section-eyebrow { color: var(--gold); }
.contact .section-eyebrow::before { background: var(--gold); }
.contact h2 { color: white; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
  margin-top: 3rem;
}
.contact-info p {
  color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 2.5rem;
}
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail-text strong {
  color: var(--gold-light); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 0.2rem;
}
.contact-detail-text span { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: white; padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color 0.3s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group select option { background: var(--green-deep); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FOOTER — ANARA PREMIUM STYLE
   ============================================================ */

footer {
  background: #0F1F15;
  padding: 3rem 5rem;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 3rem;
  flex-wrap: wrap;
}

/* LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
}

/* LOGO TEXT */
.logo-anara {
  font-size: 28px;
  font-weight: 800;
  color: #d4a017;
  letter-spacing: 2px;
}

.logo-country {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 3px;
}

/* 🔥 IMPORTANT: SIDE BY SIDE CONTAINER */
.footer-links-wrapper {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
}

/* EACH COLUMN */
.footer-links {
  display: flex;
  flex-direction: column;
}

/* LINKS STYLE */
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #d4a017;
  transform: translateX(4px);
}

/* TITLES (About / Products / Contact) */
.footer-links h4 {
  color: #d4a017;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* MOBILE */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
  }

  .footer-links-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
}
/* ============================================================
   LOGO (reuse navbar style)
   ============================================================ */

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

/* Slight enhancement for footer */
footer .logo-anara {
  text-shadow: 0 3px 12px rgba(212,160,23,0.5);
}

footer .logo-country {
  color: rgba(255,255,255,0.9);
}

/* ============================================================
   DESCRIPTION TEXT
   ============================================================ */

.footer-description {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

/* ============================================================
   LINKS
   ============================================================ */

/* Wrapper for About / Products / Contact */
.footer-links-wrapper {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

/* Each column */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Section titles */
.footer-links h4 {
  color: #d4a017;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Links */
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

/* ============================================================
   FOOTER BOTTOM
   ============================================================ */

.footer-bottom {
  width: 100%;
  margin-top: 2rem;
  padding-top: 1rem;

  border-top: 1px solid rgba(255,255,255,0.1);

  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   RESPONSIVE (MOBILE)
   ============================================================ */

@media (max-width: 768px) {
  footer {
    padding: 2rem;
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
  }
}
/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-3deg); }
  50%       { transform: translateY(-20px) rotate(3deg); }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50%       { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  nav { padding: 1rem 2rem; }
  nav ul { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-text { padding: 8rem 2rem 4rem; }
  section { padding: 5rem 2rem; }
  .about,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .stats,
  .products-grid,
  .why-grid { grid-template-columns: 1fr 1fr; }
  .countries-grid { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
