/* 🧭 NAVBAR STYLES */
/********************************** css for navbar (header.php) *********************************/
.navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
}

.logo a {
  text-decoration: none;
  color: #ff4d4d;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff4d4d;
}

/* Hamburger Icon (hidden on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 28px;
  height: 22px;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}


/***************************************** css for hero section **************************************/
/* HERO - full-viewport sliding (each slide = 100vw) */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 80vh;
  max-height: 900px;
}

.hero-slider {
  display: flex;
  transition: transform 0.7s ease-in-out;
  will-change: transform;
}

/* Each slide is exactly one viewport width */
.hero-slide {
  flex: 0 0 100vw;        /* fix slide width to viewport width */
  height: 80vh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 3rem;
  position: relative;
}

/* Overlay so text is readable over images */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0); /* adjust if you want a tint */
  pointer-events: none;
}

/* Image and text sizing */
.hero-slide img {
  width: 40%;
  max-width: 450px;
  height: auto;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-text {
  max-width: 520px;
  z-index: 2;
}

.hero-text h1 {
  font-size: 2.6rem;
  color: #222;
  margin: 0 0 .6rem 0;
}

.hero-text p {
  color: #444;
  margin: 0 0 1rem 0;
  font-size: 1.05rem;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dots span {
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
}

.hero-dots span.active { background: #ff4d4d; }

/* Responsive */
@media (max-width: 900px) {
    /** header navbar styling **/
    nav ul {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
    gap: 0;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  nav ul.show {
    transform: translateX(0);
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid #f3f3f3;
  }

  .menu-toggle {
    display: flex;
  }

  /* Animate hamburger when active */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
} 
   /** hero styling **/
  .hero-slide {
    padding: 2rem;
    height: 70vh;
  }
  .hero-slide img { width: 60%; margin-top: 12px; }
  .hero-text h1 { font-size: 1.9rem; }
}
@media (max-width: 480px) {
  .hero-slide { flex-direction: column-reverse; text-align: center; padding: 1.5rem; height: auto; min-height: 60vh; }
  .hero-slide img { width: 80%; }
  .hero-text { margin-top: 12px; }
}
/****************  end of css for navbar(header.php) and hero secrtion ***************************************************************/

/**************** css for top category , clothes, mugs, mobile cover and water bottle's section ***************************/
/* 🛍️ Top Categories */
.categories {
  padding: 60px 20px;
  text-align: center;
  background: #f8f8f8;
}

.categories h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.cat-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.cat-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.cat-card p {
  font-weight: 600;
  color: #222;
  font-size: 1rem;
}


/* 👕 Product Sections */
.products {
  padding: 70px 20px;
  text-align: center;
}

.products h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.product-card h3 {
  font-size: 1.1rem;
  margin: 10px 0 5px;
  color: #333;
}

.product-card p {
  color: #007b55;
  font-weight: 600;
  font-size: 1rem;
}

.product-card .btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #007bff;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.product-card .btn:hover {
  background: #0056b3;
}


/* 📱 Responsive Tweaks */
@media (max-width: 768px) {
  .products h2,
  .categories h2 {
    font-size: 1.6rem;
  }

  .product-card img {
    height: 180px;
  }
}

/********************************************** end of css for body section of index.php (top category , clohtes, mobile cover, mugs, water bottles) *********************/

/****************************************** CSS styling for footer.php *****************************************************/
/* 🌙 Footer Styling */
.site-footer {
  background: #111;
  color: #ddd;
  padding: 60px 20px 40px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
}

.footer-col p {
  line-height: 1.6;
  font-size: 0.95rem;
  color: #ccc;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #007bff;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-links a {
  color: #ccc;
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #007bff;
  transform: translateY(-3px);
}

.copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #888;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
}

/*******************************************  End of CSS codes of footer.php ************************************************/
