/* Hero Banner Styling*/
.hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px; /* Reduced space between text and image */
  padding: 80px 20px;
  background: #000;
  color: #fff;
  flex-wrap: wrap; /* For responsiveness */
}

.hero-content {
  max-width: 500px;
  text-align: left;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #f4f1ec;
}

/* Base */
.hero-button {
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 8px;
  transition: background 0.3s ease;
  display: inline-block;
  line-height: 1;
  margin: 0 10px 10px 0;
  white-space: nowrap;
}

/* Colors */
.hero-button.green { background-color: #4CAF50; }
.hero-button.green:hover { background-color: #45a049; }

.hero-button.blue  { background-color: #007bff; }
.hero-button.blue:hover { background-color: #0056b3; }

/* Mobile tweaks */
@media (max-width: 600px) {
  .hero-button {
    display: block;
    width: auto;              /* 👈 don’t stretch full width */
    max-width: 250px;         /* 👈 limit width */
    text-align: center;
    font-size: 16px;
    padding: 12px 16px;
    margin: 0 auto 10px auto; /* 👈 center horizontally */
  }
}

/* Optional wrapper */
.hero-buttons,
.hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 600px) {
  .hero-buttons,
  .hero-content {
    display: block;
    text-align: center; /* 👈 helps center stacked buttons */
  }
}


.hero-image img {
  max-width: 350px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Why Choose Us Style*/
/* === Why Choose Us Section === */
.why-choose-us {
  text-align: center;
  padding: 80px 20px;
  background: #0d0d0d;
  color: white;
}

.why-choose-us h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 20px 30px 44px; /* extra bottom space for hint text */
  font-weight: bold;
  color: white;
  width: 220px;
  min-height: 90px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
}

.feature:hover {
  background: #4CAF50;
  transform: translateY(-5px);
}

.feature:focus-visible {
  outline: 2px dashed #4CAF50;
  outline-offset: 4px;
}

.feature span {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: #ccc;
  margin-top: 5px;
  display: none;
  line-height: 1.5;
  text-align: center;
  padding: 5px;
  transition: opacity 0.3s ease;
}

.feature.active p {
  display: block;
  color: #fff;
}

/* Hint text at the bottom of each box */
.feature::after {
  content: "Click to view more";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  text-align: center;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.2px;
  pointer-events: none; /* don’t block clicks */
  opacity: 0.9;
}

.feature:hover::after {
  color: #e6e6e6;
}

.feature.active::after {
  content: "Click to hide";
  color: #ddd;
}

/* === Mobile Responsiveness === */
@media screen and (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .feature {
    width: 90%;
    max-width: 400px;
    padding: 20px 20px 44px; /* keep space for hint on mobile */
    font-size: 18px;
  }

  .feature span {
    font-size: 18px;
  }

  .feature p {
    font-size: 14px;
  }
}



/*How it works styling*/

.how-it-works {
  text-align: center;
  padding: 80px 20px;
  background: #121212;
  color: white;
}

.how-it-works h2 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F4F1EC;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.step {
  background: #1A1A1A;
  border-radius: 12px;
  padding: 30px 20px;
  max-width: 240px;
  min-height: 170px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  cursor: pointer;
}

.step:hover {
  background: #4CAF50;
  color: white;
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}

.step p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.5;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .steps {
    gap: 20px;
  }

  .step {
    max-width: 90%;
  }
}


#flash-sale-banner {
    display: none;
    position: relative;
    width: 100%;
    background: url('Logo/sale1.png') center center / cover no-repeat;
    border: 0; /* no visible border */
    box-shadow: 
        0 0 10px #00ffcc inset,
        0 0 20px #00ffcc inset,
        0 0 15px #00ffcc;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    animation: pulse-green 2s infinite;
    overflow: hidden; /* prevent scrollbars if needed */
}

#flash-sale-background {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    opacity: 0.85;
}

#flash-sale-content {
    position: relative;
    z-index: 2;
}

#sale-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00, 0 0 10px #ffff00;
}

#sale-discount {
    font-size: 28px;
    font-weight: bold;
    color: #ff0000;
    animation: flash-text 1s infinite alternate;
    margin-bottom: 15px;
}

#sale-end-date,
#sale-ends {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

#countdown-timer {
    font-size: 22px;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;
}

#flash-sale-banner a {
    display: inline-block;
    padding: 12px 24px;
    background: #00ff00;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;

    transition: all 0.3s ease;
}

#flash-sale-banner a:hover {
    background: #00cc00;
    box-shadow: 0 0 15px #00ff00, 0 0 30px #00ff00;
    transform: scale(1.05);
}

@keyframes pulse-green {
    0% {
        box-shadow: 
            0 0 10px #00ffcc inset,
            0 0 20px #00ffcc inset,
            0 0 15px #00ffcc;
    }
    50% {
        box-shadow: 
            0 0 15px #33ffcc inset,
            0 0 25px #33ffcc inset,
            0 0 20px #33ffcc;
    }
    100% {
        box-shadow: 
            0 0 10px #00ffcc inset,
            0 0 20px #00ffcc inset,
            0 0 15px #00ffcc;
    }
}


@keyframes flash-text {
    0% {
        color: #ff0000;
        text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
    }
    100% {
        color: #ffffff;
        text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
    }
}


/* Testimonials slider styling */
.testimonials-slider {
    padding: 50px 0;
    background: #111; /* MATCH your site's black background */
    text-align: center;
}

/* Heading */
.testimonials-slider h2 {
    font-size: 28px;
    color: #fff; /* white heading */
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* Force swiper viewport to clip next slide */
.testimonials-slider .swiper {
    overflow: hidden;
}

/* Each slide should take full width of the viewport */
.testimonials-slider .swiper-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* centers the card */
}

/* Inner card styling */
.testimonials-slider .slide-card {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 25px;
    border: 1px solid #222;
    border-radius: 8px;
    background: #1a1a1a; /* dark card */
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

/* Stars */
.testimonials-slider .slide-card .stars {
    color: #FFD700; /* gold stars */
    font-size: 18px;
    margin-bottom: 10px;
}

/* Review text */
.testimonials-slider .slide-card .review-text {
    font-size: 16px;
    color: #ccc; /* light grey text */
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Author name */
.testimonials-slider .slide-card .review-author {
    font-size: 14px;
    color: #888; /* subtle grey */
    font-weight: 500;
}

/* Pagination dots styling */
.testimonials-slider .swiper-pagination-bullet {
    background-color: #555;
    opacity: 1;
    margin: 0 4px !important;
    transition: background-color 0.3s ease;
}

.testimonials-slider .swiper-pagination-bullet-active {
    background-color: #FFD700; /* gold active dot */
}

.trendy-products-slider .swiper-pagination {
    display: none !important;
}

/* --- Categories (Dark) --- */
.categories-section--dark{
  background:#0f0f0f;
  border-top:1px solid #1c1c1c;
  border-bottom:1px solid #1c1c1c;
  padding:48px 16px;
}
.cat-wrap{max-width:1200px;margin:0 auto}

/* standout heading */
.cat-title{
  color:#fff;
  text-align:center;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight:800;
  letter-spacing:.3px;
  margin:0 0 22px;
  position:relative;
}
.cat-title::after{
  content:"";
  display:block;
  width:72px;
  height:3px;
  margin:10px auto 0;
  background:#007bff;       /* theme accent */
  border-radius:3px;
}

/* Center rows always: use flex-wrap */
.cat-grid{
  display:flex;
  flex-wrap:wrap;
  gap:18px 20px;             /* row/column gaps */
  justify-content:center;    /* << centers each row */
}

/* Responsive card width; neat on all screens */
.cat-card{
  width: clamp(150px, 22vw, 220px);
  background:#141414;
  border:1px solid #242424;
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
  color:#fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-align:center;
}
.cat-card:hover{
  transform: translateY(-3px);
  border-color:#2f2f2f;
  box-shadow:0 10px 22px rgba(0,0,0,.35);
}

.cat-thumb{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  background:#0e0e0e;
  display:block;
}

.cat-name{
  padding:10px 12px;
  font-weight:700;
  font-size:14px;
  line-height:1.2;
  min-height:44px; /* consistent height for 1–2 line names */
  display:flex; align-items:center; justify-content:center;
}

/* CTA under the grid */
.center-cta{ text-align:center; margin-top:22px }
.center-cta .hero-button{
  background:#007bff; color:#fff; border:none;
}
.center-cta .hero-button:hover{
  filter:brightness(1.05);
}


