/* =========================
   GLOBAL
========================= */
* {
  box-sizing: border-box;
}

img, video {
  max-width: 100%;
  height: auto;
}

body {
  font-family: 'Poppins', sans-serif;
  padding-top: 90px; /* adjusted for mobile navbar */
  background-color: #ffffff;
}

/* =========================
   ANIMATION UTILITIES
========================= */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.animate-delay-1 { animation-delay: 0.2s; }
.animate-delay-2 { animation-delay: 0.4s; }
.animate-delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* =========================
   NAVBAR
========================= */
.navbar {
  min-height: 70px;
  background: linear-gradient(90deg, rgba(92,29,92,1) 0%, rgba(173,80,161,1) 50%, rgba(214,167,47,1) 100%);
  z-index: 1030;
  padding: 0 15px;
}

.logo {
  height: 150px;
}



.navbar .nav-link {
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #6a1b9a;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #6a1b9a;
  transition: width 0.3s ease;
}

.navbar .nav-link:hover::after {
  width: 100%;
}

.navbar {
  animation: slideNav 0.6s ease;
}

@keyframes slideNav {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}



/* =========================
   HERO SECTION
========================= */
.hero-section {
  padding: 70px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6a1b9a 0%, #9c27b0 40%, #fbc02d 70%, 50%);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><circle cx="50" cy="50" r="40" fill="white"/></svg>');
  background-size: 120px;
}

.hero-section h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
}

.hero-section h1 span {
  background: linear-gradient(45deg, #fff176, #ffd54f);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-section p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 100%;
  text-align: center;
}

.hero-video,
.hero-img-fixed {
  width: 100%;
  max-width: 420px;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  border: 6px solid rgba(255,255,255,0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.4s ease;
}

.hero-img-fixed:hover {
  transform: scale(1.03);
}

/* =========================
   HERO THUMBNAILS
========================= */
.hero-thumbnails {
  background: #ffffff;
}

.thumb-img {
  position: relative;
  width: 70px;
  height: 55px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumb-img:hover {
  transform: scale(1.08);
  border-color: #6a1b9a;
}

/* =========================
   SECTION SPACING
========================= */
.section-padding {
  padding: 70px 0;
}

.hero-section h1 {
  animation: fadeUp 0.8s ease forwards;
}

.hero-section p {
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.2s;
}

.hero-video,
.hero-img-fixed {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.4s;
}



/* =========================
   PRODUCT CARDS
========================= */
.product-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  min-height: 260px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.product-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.product-card h6 {
  font-weight: 600;
  margin: 8px 0 4px;
}

.product-card p {
  font-size: 0.9rem;
}

.product-card span {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}

.product-card button {
  border-radius: 8px;
  font-size: 0.85rem;
}

.product-card {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.review-card {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}


/* =========================
   BUTTONS
========================= */
.btn-primary {
  background-color: #6a1b9a;
  border: none;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #4a148c;
}

.btn-outline-danger {
  border: 2px solid #dc3545;
  color: #dc3545;
  font-weight: 600;
}

.btn-outline-danger:hover {
  background: #dc3545;
  color: #ffffff;
}

/* =========================
   FORMS
========================= */
.form-control {
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
}

.form-control:focus {
  border-color: #6a1b9a;
  box-shadow: 0 0 0 0.25rem rgba(106,27,154,0.25);
}

/* =========================
   MODALS
========================= */
.custom-modal {
  border-radius: 15px;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(to right, #6a1b9a, #8e24aa);
  color: #ffffff;
}

.modal-body {
  padding: 1.8rem;
}

/* =========================
   REVIEWS SECTION
========================= */
.reviews-section {
  background: #f9f7fc;
}

.review-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.review-text {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-user img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
}

.review-user h6 {
  margin: 0;
  font-weight: 600;
}

.review-user span {
  color: #fbc02d;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: linear-gradient(135deg, #6a1b9a, #8e24aa);
  color: #ffffff;
  padding: 60px 0 20px;
  text-align: center;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-social a {
  color: #ffffff;
  font-size: 1.3rem;
  margin-right: 15px;
  transition: transform 0.3s;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.footer hr {
  border-color: rgba(255,255,255,0.2);
  margin: 30px 0 15px;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer {
  animation: fadeIn 1s ease forwards;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    height: auto;
    padding: 60px 15px;
  }

  .hero-img-fixed,
  .hero-video {
    height: 240px;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-img-fixed,
  .hero-video {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .logo {
    height: 80px;
  }

  body {
    padding-top: 90px;
  }

  .product-card {
    min-height: auto;
  }

  .product-card img {
    height: 100px;
  }
}


.reviews-section {
  background: #f9f7fc;
}

.review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.review-text {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-user img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.review-user h6 {
  margin: 0;
  font-weight: 600;
}

.review-user span {
  color: #fbc02d;
}

.footer {
  background: linear-gradient(135deg, #6a1b9a, #8e24aa);
  color: #fff;
  padding: 60px 0 20px;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-social a {
  color: #ffffff;
  font-size: 1.3rem;
  margin-right: 15px;
  transition: transform 0.3s;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

/* =========================
   MOBILE NAVBAR OPEN STATE
========================= */
@media (max-width: 991.98px) {

  /* Background when menu is OPEN */
  .navbar-collapse.show {
    background: linear-gradient(
      180deg,
      rgba(92,29,92,0.98) 0%,
      rgba(173,80,161,0.98) 60%,
      rgba(214,167,47,0.98) 100%
    );
    padding: 15px 20px 20px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  }

  /* Make nav links white in mobile */
  .navbar-collapse.show .nav-link {
    color: #ffffff;
    font-size: 1.05rem;
    padding: 10px 0;
  }

  /* Hover effect for mobile */
  .navbar-collapse.show .nav-link:hover {
    color: #ffd54f;
  }

  /* Disable underline animation on mobile (optional) */
  .navbar-collapse.show .nav-link::after {
    display: none;
  }
}

/* =========================
   ORDER SUCCESS TOAST
========================= */
.order-success-toast {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #2e7d32;
  border-left: 6px solid #2e7d32;
  border-radius: 14px;
  padding: 14px 18px;
  max-width: 92%;
  width: 420px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2000;
  animation: slideDown 0.5s ease;
}

.toast-icon {
  font-size: 1.8rem;
  color: #2e7d32;
}

.toast-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -15px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Mobile optimization */
@media (max-width: 576px) {
  .order-success-toast {
    top: 80px;
    width: 94%;
    padding: 12px 14px;
  }

  .toast-text {
    font-size: 0.9rem;
  }
}

.navbar-collapse.show {
  animation: mobileMenu 0.4s ease;
}

@keyframes mobileMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.25);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
}


@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
.wvy {
  position: fixed;
  width: 100%;
  height: 100vh;
  overflow: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.wvy .wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  transition: 0.5s;
}
.wvy .wave span {
  content: "";
  position: fixed;
  width: 325vh;
  height: 325vh;
  top: 0;
  left: 50%;
  transform: translate(-50%, -75%);
  background: #000;
}

.wvy .wave span:nth-child(1) {
  border-radius: 45%;
  background: rgba(106, 27, 154, 0.3);
  animation: animate 5s linear infinite;
}

.wvy .wave span:nth-child(2) {
  border-radius: 40%;
  background: rgba(156, 39, 176, 0.4);
  animation: animate 10s linear infinite;
}
.wvy .wave span:nth-child(3) {
  border-radius: 42.5%;
  background: rgba(156, 39, 176, 0.5);
  animation: animate 15s linear infinite;
}
@keyframes animate {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}
