/* Nepali Shop Japan Styles */

:root {
  --nepali-red: #C8102E;
  --nepali-blue: #003893;
  --nepali-gold: #FFD700;
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
  overflow-x: hidden;
}

.bg-nepali-red {
  background-color: var(--nepali-red);
  background-image: linear-gradient(135deg, var(--nepali-red) 0%, #e63946 100%);
}

.bg-nepali-blue {
  background-color: var(--nepali-blue);
  background-image: linear-gradient(135deg, var(--nepali-blue) 0%, #1d3557 100%);
}

.border-nepali-blue {
  border-color: var(--nepali-blue);
}

.text-nepali-red {
  color: var(--nepali-red);
}

.text-nepali-blue {
  color: var(--nepali-blue);
}

.text-nepali-gold {
  color: var(--nepali-gold);
}

.bg-nepali-gold {
  background-color: var(--nepali-gold);
}

/* Product card hover effects */
.product-card {
  transition: var(--transition-smooth);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, var(--nepali-blue), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.product-card:hover::after {
  height: 5px;
  opacity: 1;
}

/* Button hover effects */
button {
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  z-index: -1;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

button:hover::before {
  left: 100%;
}

button:active {
  transform: translateY(1px);
}

/* Navigation hover effects */
nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

nav a {
  position: relative;
  transition: var(--transition-smooth);
  font-weight: 500;
  padding: 0.5rem 0;
  letter-spacing: 0.5px;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--nepali-gold);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

nav a:hover {
  color: var(--nepali-gold);
}

nav a:hover::after {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  nav a {
    margin: 3px 0;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
  
  .hero-section {
    padding: 2rem 1rem !important;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Apply animations */
.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Staggered animations */
.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }

/* Additional styling */
.hero-section {
  background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('https://images.unsplash.com/photo-1526139334526-f591a54b477c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--nepali-red);
}