/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #111;
}

/* Animated Slogan Banner */
.slogan-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  padding: 15px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slogan-text {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  transition: opacity 0.5s ease;
  animation: slideInFromTop 1s ease;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slideInFromTop {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  color: white;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.site-name {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #ffd700;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-media-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-media-item.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
}

.hero-text {
  transition: opacity 0.6s ease-in-out;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 25px;
  animation: fadeInUp 1.2s ease;
  font-family: 'Georgia', serif;
  text-shadow: 
    3px 3px 0px rgba(0, 0, 0, 0.8),
    6px 6px 12px rgba(0, 0, 0, 0.6),
    0px 0px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero-text p {
  font-size: 1.6rem;
  margin-bottom: 35px;
  animation: fadeInUp 1.5s ease;
  text-shadow: 
    2px 2px 0px rgba(0, 0, 0, 0.8),
    4px 4px 8px rgba(0, 0, 0, 0.6),
    0px 0px 15px rgba(0, 0, 0, 0.4);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-buttons {
  animation: fadeInUp 1.8s ease;
}

.hero-buttons .btn,
.hero-buttons .btn-secondary {
  padding: 18px 35px;
  margin: 0 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 35px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #000;
  text-shadow: none;
  font-weight: 800;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  backdrop-filter: blur(10px);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}.features {
  background: linear-gradient(135deg, #f4f7fa 0%, #e9edf3 100%);
  position: relative;
  padding: 120px 20px;
  text-align: center;
  color: #2d3748;
  overflow: hidden;
}

/* Prominent heading */
.features h2 {
  font-size: 52px;
  margin-bottom: 70px;
  font-weight: 800;
  color: #111827; /* darker shade for contrast */
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  display: inline-block;
  padding-bottom: 12px;
}

/* Elegant underline effect */
.features h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #5a67d8, #805ad5, #d53f8c);
  margin: 12px auto 0;
  border-radius: 2px;
}

.features-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  perspective: 1200px;
}

/* Feature card */
.feature {
  flex: 1 1 240px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 45px 25px;
  border-radius: 24px;
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  cursor: pointer;
}

.feature:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  border-color: rgba(90, 103, 216, 0.3);
}

/* Icon */
.feature img {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
  will-change: transform;
}

/* Animate icon when hovering */
.feature:hover img {
  transform: scale(1.2) rotate(8deg);
  filter: drop-shadow(0 10px 20px rgba(90, 103, 216, 0.5));
}

/* Text */
.feature p {
  font-size: 17px;
  margin-top: 15px;
  color: #2d3748;
  font-weight: 500;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease;
}

.feature:hover p {
  color: #1a202c;
  font-weight: 600;
}

/* Float-in animation */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature {
  opacity: 0;
  animation: floatIn 0.8s ease forwards;
}
.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }
.feature:nth-child(4) { animation-delay: 0.4s; }


/* Products Section */
.products {
  padding: 60px 20px;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #d299c2 100%);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
  pointer-events: none;
}

.section-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: #2d3748;
  font-weight: bold;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.product-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.product-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 320px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #ccc;
}

.product-details {
  padding: 20px;
}

.product-details h3 {
  font-size: 24px;
  color: #2d3748;
  margin-bottom: 10px;
}

.product-price {
  font-size: 20px;
  color: #38a169;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-description {
  font-size: 14px;
  color: #444;
  margin-bottom: 20px;
}

.product-buttons {
  display: flex;
  justify-content: space-between;
}

.btn {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.cart-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.cart-btn:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  transform: translateY(-2px);
}

.buy-btn {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  border: none;
}

.buy-btn:hover {
  background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }
  
  .hero-text p {
    font-size: 1.3rem;
  }
  
  .hero-buttons .btn,
  .hero-buttons .btn-secondary {
    padding: 15px 25px;
    font-size: 1rem;
    margin: 8px;
  }
  
  .slogan-text {
    font-size: 1rem;
  }
  
  .typewriter-slogan {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn,
  .hero-buttons .btn-secondary {
    display: block;
    width: 80%;
    margin: 10px auto;
    padding: 15px 20px;
  }
}

