/* === Ananta Organica - Final Optimized Theme === */
/* ------------------------------------------------
   Brand Colors & Variables
-------------------------------------------------- */
:root {
  --ao-green-dark: #2E7D32;
  --ao-green-light: #4CAF50;
  --ao-beige: #FAF3E0;
  --ao-cream: #EFE5D0;
  --ao-gold: #F9A825;
  --ao-red: #B71C1C;
  --ao-white: #FFFFFF;
  --ao-black: #111111;
}

/* ------------------------------------------------
   Global Base
-------------------------------------------------- */
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--ao-beige);
  color: var(--ao-green-dark);
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------
   Navbar
-------------------------------------------------- */
.navbar {
  background-color: var(--ao-green-dark) !important;
  color: var(--ao-white) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
  filter: invert(1);
}
.navbar-brand {
  font-weight: 700;
  color: var(--ao-white) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Base (Desktop Default) */
.navbar .nav-link {
  color: var(--ao-white) !important;
  font-weight: 800;
  font-size: 1.15rem; /* ~20px */
  letter-spacing: 0.15px;
  padding: 0.35rem 0.5rem;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--ao-gold) !important;
}



/* Large Desktops (≥1200px) */
@media (min-width: 1200px) {
  .navbar .nav-link {
    font-size: 1.30rem; /* ~22px */
  }
}

/* Tablets (≥768px and <1200px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .navbar .nav-link {
    font-size: 1.15rem; /* ~19px */
  }
}

/* Mobiles (<768px) */
@media (max-width: 767px) {
  .navbar .nav-link {
    font-size: 1.4rem; /* larger for mobile readability (~22.4px) */
    padding: 0.5rem 0.9rem;
  }
  .navbar-brand {
    font-size: 1.6rem; /* slightly larger brand name on mobile */
  }
}

/* Small Mobiles (<480px) */
@media (max-width: 480px) {
  .navbar .nav-link {
    font-size: 1.5rem; /* ~24px for small screens */
    padding: 0.6rem 1rem;
  }
}

/* Base spacing (desktop default) */
.navbar-nav {
  gap: 0.55rem; /* balanced spacing between links */
}

/* Mobile View Adjustments */
@media (max-width: 767px) {
  /* Collapse menu right-aligned */
  .navbar-collapse {
    justify-content: flex-end !important;
    text-align: right;
  }

  /* Right-align the nav list */
  .navbar-nav {
    align-items: flex-end !important;
    gap: 0.4rem; /* reduce vertical spacing between items */
    margin-top: 0.5rem;
  }

  /* Tighter spacing between links */
  .navbar .nav-link {
    line-height: 1.1;
    padding: 0.25rem 0.5rem;
    display: block;
    text-align: right;
  }

  /* Optional: make buttons fit nicely */
  .navbar .btn {
    display: block;
    width: auto;
    margin-left: auto; /* push to right */
  }
}

/* Tablet fine-tuning (optional) */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-nav {
    gap: 0.5rem;
  }
  .navbar .nav-link {
    line-height: 1.2;
  }
}


/* ------------------------------------------------
   Hero Section
-------------------------------------------------- */
/*
background: 
    linear-gradient(100deg, rgba(251, 192, 45, 0.75), rgba(46, 125, 50, 0.75)), 
    url('../img/banner/home-banner.jpg') center / cover no-repeat;
*/
.hero {
  background-color: #F3D691 ; /*#254736;*/     /* ✅ Solid dark green background */
  color: #fff;                   /* ✅ White text for contrast */
  text-align: center;
  padding: 40px 15px;
  border-bottom: 8px solid var(--ao-green-dark);
  border-radius: 0 0 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65vh;
}

.hero img {
  /*margin-top: 5px ;*/    /* remove any default top gap */
  margin-bottom: 20px;         /* keep space below the logo */
  height: 100px;               /* consistent sizing */
}


.hero h1 {
  font-weight: 700;
  font-size: 3rem;
  color: #000;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}
.hero p {
  font-size: 1.15rem;
  color: #000;
  max-width: 850px;
  margin: 15px auto 0;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
}

/* Hero Button */
.hero .btn-gold {
  background-color: var(--ao-gold);
  color: var(--ao-green-dark);
  border: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.hero .btn-gold:hover {
  background-color: var(--ao-green-dark);
  color: var(--ao-white);
}

/* ------------------------------------------------
   Buttons
-------------------------------------------------- */
.btn-gold {
  background-color: var(--ao-gold);
  color: var(--ao-green-dark);
  border: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-gold:hover {
  background-color: var(--ao-green-dark);
  color: var(--ao-white);
}
.btn-outline-success:hover {
  background-color: var(--ao-green-dark);
  color: var(--ao-white);
}

/* ------------------------------------------------
   Category Section
-------------------------------------------------- */
section.container {
  background-color: var(--ao-beige);
  border-radius: 16px;
  padding: 50px 30px;
}
.category-card {
  background-color: var(--ao-cream);
  border: 2px solid var(--ao-green-light);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(46, 125, 50, 0.25);
}
.category-card h6 {
  color: var(--ao-green-dark);
  font-weight: 600;
}
.category-img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  background-color: #f9f9f9;
  padding: 8px;
  border-bottom: 1px solid #eee;
}

/* ------------------------------------------------
   Product Cards
-------------------------------------------------- */
.product-card {
  background-color: var(--ao-cream);
  border: 2px solid var(--ao-green-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.product-card h6 {
  color: var(--ao-green-dark);
  font-weight: 600;
}

/* Unified Product Image (Category + Best Sellers) */
.product-img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  background-color: #f9f9f9;
  padding: 8px;
  border-bottom: 1px solid #eee;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  transition: transform 0.3s ease;
}
.product-card:hover .product-img {
  transform: scale(1.03);
}

/* Larger screens: slightly taller image */
@media (min-width: 1200px) {
  .product-img { max-height: 320px; }
}

/* ------------------------------------------------
   Event Section
-------------------------------------------------- */
.event-section {
  background-color: var(--ao-cream);
  border: 2px dashed var(--ao-gold);
  border-radius: 16px;
  padding: 50px 20px;
  color: var(--ao-green-dark);
  text-align: center;
}
.event-section h2 {
  color: var(--ao-red);
  font-weight: 700;
}

/* ------------------------------------------------
   Footer
-------------------------------------------------- */
.app-footer {
  background-color: var(--ao-green-dark) !important;
  color: var(--ao-white) !important;
  border-top: 5px solid var(--ao-gold);
  padding: 40px 0;
}
.app-footer a {
  color: var(--ao-gold) !important;
  text-decoration: none;
  font-weight: 500;
}
.app-footer a:hover {
  color: var(--ao-white) !important;
  text-decoration: underline;
}
.app-footer p {
  font-size: 0.9rem;
}
.footer-fssai {
  height: 90px;
  width: auto;
  border-radius: 8px;
  background-color: #fff;
  padding: 4px 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-fssai:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(249, 168, 37, 0.5);
}

/* ------------------------------------------------
   Forms
-------------------------------------------------- */
form input,
form textarea {
  transition: box-shadow 0.2s ease;
}
form input:focus,
form textarea:focus {
  box-shadow: 0 0 5px rgba(46, 125, 50, 0.4);
  border-color: var(--ao-green-dark);
}

/* ------------------------------------------------
   Utilities
-------------------------------------------------- */
.hover-shadow:hover {
  background-color: rgba(46, 125, 50, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* ------------------------------------------------
   Responsive Adjustments
-------------------------------------------------- */
@media (max-width: 768px) {
  .footer-fssai {
    margin: 10px auto;
    display: block;
  }
}
@media (max-width: 575.98px) {
  .category-card img,
  .product-img {
    max-height: 260px;
    padding: 6px;
  }
  .card-body h6 {
    font-size: 0.95rem;
  }
  .category-card,
  .product-card {
    margin-bottom: 1rem;
  }
}


.modal-content {
  border-radius: 12px;
}
.modal-header {
  border-bottom: none;
}
.modal-footer {
  border-top: none;
}

.modal-content {
  border-radius: 12px;
}
.modal-header {
  border-bottom: none;
}
.modal-footer {
  border-top: none;
}
.table th, .table td {
  font-size: 0.9rem;
}
.table-success th {
  background-color: #dff0df !important;
}

.qr-code-box {
  max-width: 220px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 6px;
  background: #fff;
}


.btn-sm {
  font-size: 0.85rem !important;
  padding: 0.25rem 0.5rem !important;
  line-height: 1.2 !important;
}

.product-actions {
  font-size: 0.875rem;
}

.product-actions a {
  min-width: 90px;
}



.seasonal-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seasonal-image:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .seasonal-image {
    max-height: 220px;
  }
  .btn.btn-gold.btn-lg {
    font-size: 1rem;
    padding: 8px 16px;
  }
}

.flash-link {
    color: #ffc107; /* warning color */
    animation: flash 2s infinite;
    font-weight: 600;
}

@keyframes flash {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 1;
    text-shadow:
      0 0 6px var(--ao-yellow-bright),
      0 0 20px var(--ao-yellow-glow);
  }
  50% {
    opacity: 0.75;
    text-shadow:
      0 0 3px var(--ao-yellow-bright),
      0 0 12px var(--ao-yellow-glow);
  }
}
/* Move arrows slightly closer to the border */
.carousel-control-prev {
    left: -7px;
}

.carousel-control-next {
    right: -7px;
}

/* Circle black background + arrow container */
.carousel-control-prev,
.carousel-control-next {
    width: 30px;
    height: 30px;
    border-radius: 30%;
    background: rgba(0, 0, 0, 1);
    top: 50%;
    transform: translateY(-50%);
}

/* Make arrow icons BIGGER + BOLDER (thicker look) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 28px;      /* increased from 26px → more bold */
    height: 28px;     /* increased size */
    background-size: 100% 100%;

    /* GOLDEN YELLOW color */
    filter: invert(74%) sepia(77%) saturate(2300%) hue-rotate(3deg) brightness(89%) contrast(92%);

    /* BOLD effect using drop-shadow */
    filter: drop-shadow(0 0 1px rgba(255, 215, 0, 0.9))
            invert(74%) sepia(77%) saturate(2300%) hue-rotate(3deg) brightness(89%) contrast(92%);
}

/* Beautiful smooth hover */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transition: 0.2s ease;
}


:root {
  --ao-yellow-bright: #fbc02d; /* strong golden yellow */
  --ao-yellow-glow: #ffeb3b;   /* lighter glow yellow */
}

/* 🌟 Footer Tagline Container */
/* Footer tagline container */
.footer-tagline {
  background-color: #121212;
  text-align: center;
  padding: 0.4rem 0;
  border-bottom: 2px solid #fbc02d;
  box-shadow: 0 0 8px rgba(251, 192, 45, 0.4);
  margin-top: 0;
}

/* Clean, soft glow - NOT blurry */
.flashing-text {
  color: #fbc02d; /* pure golden yellow */
  text-shadow: 
      0 0 4px rgba(251, 192, 45, 0.5),
      0 0 8px rgba(251, 192, 45, 0.3);
  animation: glowPulseSoft 1.5s ease-in-out infinite;
}

/* Soft glow animation */
@keyframes glowPulseSoft {
  0%, 100% {
    opacity: 1;
    text-shadow:
      0 0 4px rgba(251, 192, 45, 0.5),
      0 0 8px rgba(251, 192, 45, 0.3);
  }
  50% {
    opacity: 0.8;
    text-shadow:
      0 0 2px rgba(251, 192, 45, 0.4),
      0 0 5px rgba(251, 192, 45, 0.25);
  }
}


/* ✅ Form Buttons inside Footer (fixed contrast) */
.footer-form-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--ao-white);
  color: var(--ao-green-dark);      /* ✅ visible dark green text */
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.footer-form-btn:hover {
  background-color: var(--ao-green-dark);
  color: var(--ao-white);
  transform: translateY(-2px);
}
