/* ==========================================
   HOME PAGE STYLES - Matching Theme
   ========================================== */

:root {
  --primary: #ffb6c1;
  --accent: #e75480;
  --bg: #fff5f7;
  --text: #333;
  --card-radius: 15px;
  --gradient-bg: linear-gradient(135deg, #ffd1dc 0%, #ffb6d9 50%, #ff85c0 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #ffe6f5 100%);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================
   NAVBAR
   ========================================== */
nav {
  background: linear-gradient(135deg, var(--primary) 0%, #ffc9d4 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

nav .logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: white;
  font-weight: 600;
  transition: all 0.3s;
  padding: 8px 15px;
  border-radius: 20px;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ==========================================
   SLIDER
   ========================================== */
.slider {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(to bottom, #ffd6e0, #fff5f7);
}

.slides {
  display: flex;
  transition: transform 0.7s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  padding: 40px;
  color: white;
}

.slide-overlay h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s;
}

.slide-overlay p {
  font-size: 1.2rem;
  animation: fadeInUp 0.8s 0.2s backwards;
}

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

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background-color: white;
  width: 30px;
  border-radius: 6px;
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
section {
  text-align: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  color: var(--accent);
  margin-bottom: 40px;
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  border-radius: 2px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px;
}

.product {
  background: white;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  transition: all 0.3s;
  cursor: pointer;
}

.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(231, 84, 128, 0.2);
}

.product img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--card-radius);
  margin-bottom: 15px;
}

.product h3 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.product p {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.shop-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 10px rgba(231, 84, 128, 0.3);
}

.shop-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(231, 84, 128, 0.4);
}

/* ==========================================
   ENHANCED FOOTER
   ========================================== */
.main-footer {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: #ddd;
  padding: 3rem 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #444;
}

.footer-section h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: #cfcfcf;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-section ul li a i {
  color: var(--primary);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-icons a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(231, 84, 128, 0.4);
}

/* Newsletter */
.newsletter {
  margin-top: 1.5rem;
}

.newsletter h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid #444;
  border-radius: 25px;
  background: #2c2c2c;
  color: white;
  outline: none;
  transition: all 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form button {
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 25px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #bbb;
  font-size: 0.9rem;
}

.footer-bottom .fa-heart {
  color: var(--accent);
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.payment-methods {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
  color: #777;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }

  nav ul {
    gap: 10px;
  }

  nav ul li a {
    padding: 5px 10px;
    font-size: 0.9rem;
  }

  .slider {
    height: 350px;
  }

  .slide-overlay h3 {
    font-size: 1.5rem;
  }

  .slide-overlay p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .products {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  nav {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .slider {
    height: 300px;
  }

  .products {
    grid-template-columns: 1fr;
  }
}
