@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Poppins&display=swap');

/* Global Reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  background: linear-gradient(135deg, #f9f3ec, #fffbea);
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Sparkle effect */
.sparkles-container {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #ffd700 50%, transparent 70%);
  border-radius: 50%;
  filter: drop-shadow(0 0 4px #ffd700);
  animation: sparkle-flicker 3s infinite ease-in-out;
}

@keyframes sparkle-flicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Login/Register Form */
.login-wrapper {
  position: relative;
  background: white;
  padding: 50px 40px;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(200, 160, 20, 0.2);
  width: 360px;
  z-index: 2;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3rem;
  margin-bottom: 0.2rem;
  color: #bfa243;
  position: relative;
  user-select: none;
  letter-spacing: 3px;
}

.gold-shimmer {
  color: #bfa243;
  background: linear-gradient(90deg, #fff1b2 0%, #ffd700 50%, #bfa243 100%);
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}





/* Dashboard Styles */
body.dashboard {
  background-color: #fffaf3;
  overflow: auto;
}

/* --- NAVBAR --- */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #a68642;
}

.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #a68642;
}

/* HERO SECTION */
.hero {
  padding: 140px 20px;
  background: url('assets/images/cfc27a2e-8a3c-4a8a-b365-2454eee49a4d.png') center/cover no-repeat;
  position: relative;
  min-height: 100vh;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-content {
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
}

.hero p {
  font-size: 1.25rem;
  color: #f8e9d0;
}

.explore-btn {
  background-color: #a68642;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  border: none;
  transition: background-color 0.3s ease;
}

.explore-btn:hover {
  background-color: #8a6b35;
}

/* CAROUSEL */
.carousel {
  margin-top: 40px;
}

.carousel-img-wrapper {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  background-color: #f8f0df;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: fadeInZoom 1s ease-in-out;
}

.carousel-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.carousel-img:hover {
  transform: scale(1.05);
}

/* FEATURED SECTION */
.section {
  padding: 60px 20px;
}

.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
  border-radius: 10px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

/* FOOTER */
.footer {
  background-color: #fdf1db;
  padding: 20px;
  text-align: center;
  color: #a68642;
  margin-top: 50px;
}

@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
