 /* ========================
   GLOBAL RESET
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  transition: background 0.3s, color 0.3s;
}

body.dark {
  background: #121212;
  color: #e0e0e0;
}

/* ========================
   HEADER
======================== */
header {
  background: rgb(12, 2, 65);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0.5rem 1rem;
  height: 100px;
  background: transparent;
}

header a {
  color: #fff;
  text-decoration: none;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  margin-right: 0.5rem;
}

.logo span {
  font-size: 2rem;
  font-weight: 900;
  font-family: "Times New Roman", serif;
}

/* Navigation */
nav {
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 700;
}

.nav-links a:hover {
  color: #ffcc00;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #007bff;
  cursor: pointer;
}

/* Dark mode toggle */
.mode-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
  margin-left: -40%;
}

/* Mobile menu */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(13, 2, 65, 0.781);
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    display: none;
    border-radius: 0 0 8px 8px;
    z-index: 1;
    margin-top: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}
 



/* ========================
   HERO SECTION
======================== */
.hero {
  background: #007bff;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  /* ✨ Smooth fade animation */
  opacity: 1;
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

/* Fade states (used by JS) */
.hero-slide.fade-out {
  opacity: 0;
  transform: translateY(12px);
}

.hero-slide.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.slide-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.slide-text {
  font-size: 1.4rem;
  max-width: 800px;
}

@media (max-width: 768px) {
  .slide-title {
    font-size: 2.2rem;
  }

  .slide-text {
    font-size: 1.2rem;
  }
}

/* Rotating tagline */
.rotating-tagline {
  font-size: 1.35rem;
  max-width: 920px;
  margin: 1.5rem auto;
  transition: opacity 0.9s ease-in-out;
}

.rotating-tagline strong {
  display: block;
  font-size: 1.6rem;
  color: #ffeb3b;
}

/* ========================
   CARDS
======================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.card {
  width: 300px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: 0.3s;
}

body.dark .card {
  background: #1e1e1e;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* ========================
   FAQ
======================== */
.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  background: #0077bf;
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.faq-question:hover {
  background: #0056b3;
}

.faq-answer {
  display: none;
  padding: 1rem;
  border-radius: 8px;
  background: #f8f9fa;
}

body.dark .faq-answer {
  background: #1e1e1e;
  color: #fff;
}

/* ========================
   CART ICON
======================== */
.cart-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #00ffff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
  z-index: 200;
  transition: 0.3s;
}

.cart-icon:hover {
  transform: scale(1.05);
}

/* ========================
   BEFORE / AFTER SLIDER (HORIZONTAL)
======================== */
.before-after-section {
  background: #f8f9fa;
  padding: 3rem 1rem;
}

.slider-wrapper {
  max-width: 600px;
  margin: auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 123, 255, 0.25);
  user-select: none;
}

.slider-wrapper img {
  width: 100%;
  display: block;
  pointer-events: none;
}

/* After image reveal */
.after-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

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

/* Divider */
.divider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
  z-index: 5;
}

/* Handle */
.handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  cursor: ew-resize;
  z-index: 10;
}

/* Labels */
.label {
  position: absolute;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 30px;
  z-index: 10;
}

.label.before {
  bottom: 16px;
  left: 16px;
}

.label.after {
  top: 16px;
  right: 16px;
}

/* ========================
   FOOTER
======================== */
footer {
  background: #007bff;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

footer a {
  color: #d70b0b;
  margin: 0 0.7rem;
}

footer a:hover {
  color: #ffcc00;
}

/* ========================
   ACCESSIBILITY
======================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
 





/* Hero Slide - Center Text */
#heroSlide {
  text-align: center; /* centers h1 and p */
}

#heroSlide .slide-title,
#heroSlide .slide-text {
  margin-left: auto;
  margin-right: auto; /* optional: ensures they stay centered */
}



.scroll-strip {
  height: 90px;
  overflow: hidden;
  margin: 2rem 0;
  background: #eee;
  display: flex;
  align-items: center;
}

.scroll-wrapper {
  display: flex;
  gap: 60px;
  animation: scroll-left 25s linear infinite;
}

.scroll-wrapper img {
  height: 70px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


