/* Custom Styles for Mazic Fragrances */

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gradient-gold {
  background: linear-gradient(135deg, #d4af78 0%, #ce8e2d 50%, #C9A227 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-gold-bg {
  background: linear-gradient(145deg, #d4af78, #ce8e2d);
}

.glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 120, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.glass-dark {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 120, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.btn-luxury {
  position: relative;
  padding: 12px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(145deg, #d4af78, #ce8e2d);
  color: #0F172A;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 30px rgba(212, 175, 120, 0.4);
  transition: all 0.4s ease;
  overflow: hidden;
  text-transform: uppercase;
  border: none;
}

.btn-luxury:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(212, 175, 120, 0.6);
}

.btn-luxury-outline {
  position: relative;
  padding: 12px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: transparent;
  color: #d4af78;
  border: 2px solid #d4af78;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
}

.btn-luxury-outline:hover {
  background: linear-gradient(145deg, #d4af78, #ce8e2d);
  color: #0F172A;
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(212, 175, 120, 0.6);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-50px, 50px) scale(0.9); }
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hover-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(212, 175, 120, 0.3);
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.img-luxury-border {
  position: relative;
}

.img-luxury-border::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -20px;
  bottom: -20px;
  left: 20px;
  border: 2px solid #d4af78;
  z-index: -1;
  border-radius: 1rem;
}

.luxury-card-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}

.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af78, transparent);
}

.icon-gold {
  background: linear-gradient(145deg, #d4af78, #ce8e2d, #b8914d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.shine {
  background-size: 200% auto;
  animation: shine 3s linear infinite;
}

.premium-underline {
  position: relative;
  display: inline-block;
}

.premium-underline::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #d4af78, #ce8e2d);
  border-radius: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f8f9fa;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(145deg, #d4af78, #ce8e2d);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #C9A227;
}

/* Mega Menu Styles */
.mega-menu-container {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(212, 175, 120, 0.2);
  border-bottom: 3px solid #ce8e2d;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 40;
  padding: 40px 0;
}

.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-link {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #cbd5e1;
  text-transform: uppercase;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.mega-menu-link:hover {
  color: #ce8e2d;
  padding-left: 5px;
}

.mega-menu-image {
  position: relative;
  height: 250px;
  border-radius: 1rem;
  overflow: hidden;
}

.mega-menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-menu-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}