/* ===== Base Reset ===== */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to bottom, #ffffff, #f8f9fa); /* White → light grey */
  color: #000;
  text-align: center;
}

/* ===== Top Bar ===== */
.top-bar {
  background: linear-gradient(90deg, #ff4f9a, #d63384);
  color: white;
  text-align: center;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar p {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid gold;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem; /* Slightly smaller for balance */
  font-weight: 700;
  color: #000;
}

.logo img {
  height: 48px; /* Clearer logo */
  width: auto;
}

/* ===== Nav Links ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: gold;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #000;
  cursor: pointer;
}

/* ===== Responsive Menu ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 110px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: none;
    padding: 20px 0;
    border-top: 1px solid #ccc;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li {
    margin: 10px 0;
  }
}



/* ===== Slider 3:1 ===== */
.slider {
  margin: 20px auto;
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.25);
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

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

/* ===== Slider Text ===== */
.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  padding: 10px;
  width: 90%;        /* ✅ ensures button/text stay inside */
  max-width: 600px;  /* ✅ keeps it neat */
}

.slider-text h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-family: 'Cinzel Decorative', serif;
}

.slider-text p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.slider-btn {
  display: inline-block; /* ✅ keeps button visible */
  margin-top: 10px;
  background: gold;
  color: black;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap; /* ✅ prevents text breaking */
}

.slider-btn:hover {
  background: black;
  color: white;
}

/* ===== Mobile Adjustments ===== */
@media (max-width: 768px) {
  .slider {
    aspect-ratio: 16 / 9;
  }
  .slider-text h1 {
    font-size: 1.5rem;
  }
  .slider-text p {
    font-size: 0.9rem;
  }
  .highlight h2 {
    font-size: 1.5rem;
  }

  /* 👇 Extra spacing fix */
  .new-arrivals-text {
    margin-bottom: 40px; /* Explore Now kizhaya gap */
  }
  .shop-by-category {
    margin-top: 20px; /* Shop by Category mela gap */
  }
}


/* New Arrivals Text Section */
.new-arrivals-text {
  text-align: center;
  padding: 30px 15px;
}
.new-arrivals-text h2 {
  font-size: 1.8rem;
  color: #d63384;
}
.new-arrivals-text p {
  font-size: 1rem;
  margin-bottom: 15px;
}
.new-arrivals-text .btn {
  background: gold;
  color: #000;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
}
.new-arrivals-text .btn:hover {
  background: black;
  color: white;
}



/* ===== Product Cards ===== */
.categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 50px 20px;
}

.card {
  background-color: white;
  color: black;
  border-radius: 20px;
  padding: 20px;
  width: 240px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.card h2 {
  margin: 15px 0 10px;
}

.card button {
  background-color: gold;
  color: black;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

.card button:hover {
  background-color: black;
  color: white;
}


/* ===== Mobile Adjustments ===== */
@media (max-width: 768px) {
  .slider {
    aspect-ratio: 16 / 9;
  }
  .slider-text h1 {
    font-size: 1.5rem;
  }
  .slider-text p {
    font-size: 0.9rem;
  }
  .highlight h2 {
    font-size: 1.5rem;
  }
}

.hidden {
  display: none;
}

.categories img {
  height: 200px;
  object-fit: cover;
}


/* ===== Shop by Category ===== */
.shop-by-category {
  padding: 50px 20px;
  background: linear-gradient(180deg, #ff4f9aee, #fff0f6);
}

.shop-by-category h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  font-family: 'Cinzel Decorative', serif;
}

/* Grid Layout */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

/* Category Card Common */
.category-card {
  display: block;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: black;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.category-card img {
  width: 100%;
  height: auto;
  display: block;
}

.category-title {
  text-align: center;
  padding: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  background: white;
}

/* Hover Effect */
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Large Cards */
.category-card.large img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Small Cards */
.category-card.small img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .category-card.large img {
    aspect-ratio: 1 / 1;
  }
}

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

.footer {
  width: 100%;
  margin: 0;
  padding: 60px 0 20px;
  background: linear-gradient(135deg, #6a11cb, #b91372);
  color: white;
  font-family: 'Poppins', sans-serif;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.footer h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #ffeb3b;
}

.footer h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  display: inline-block;
  padding-bottom: 5px;
}

.footer p {
  font-size: 15px;
  line-height: 1.6;
  color: #f5f5f5;
  margin: 6px 0;
}

/* ✅ Social icons */
.footer-social {
  text-align: left;
}

.footer-social a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 15px;
  margin: 0 10px 8px 0;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.footer-social a i {
  margin-right: 6px;
  font-size: 18px;
  color: #ffd700;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: #ffeb3b;
}

.footer-social a:hover i {
  color: #fff;
}

/* ✅ Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding: 15px 0 0;
  border-top: 1px solid rgba(255,255,255,0.3);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.8;
}

.footer-bottom a {
  color: #ffeb3b;
  font-weight: bold;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
  }

  .footer-about, 
  .footer-social {
    width: 100%;
    max-width: 300px;
  }

  .footer h2 {
    font-size: 20px;
  }

  .footer h3 {
    font-size: 16px;
  }

  .footer p,
  .footer-social a {
    font-size: 13px;
  }

  .footer-social {
    text-align: center;
  }
}
