/* Load FontAwesome for Social Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Enable Smooth Scroll Globally */
html {
  scroll-behavior: smooth;
}

/* Back-to-Top Button */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #66FCF1;
  color: #0B0C10;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 0 10px rgba(102, 252, 241, 0.6);
  transition: opacity 0.3s ease;
  display: none;
}

#backToTop:hover {
  background-color: #45A29E;
  box-shadow: 0 0 12px #45A29E;
}

/* Shop Section */
.shop {
  padding: 4rem 2rem;
  background: rgba(11, 12, 16, 0.9);
  text-align: center;
  backdrop-filter: blur(4px);
}

.shop h2 {
  font-size: 2.5rem;
  color: #fcfdfd;
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: rgba(31, 40, 51, 0.9);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(102, 252, 241, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(102, 252, 241, 0.3);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.product-card .price {
  color: #66FCF1;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Fullscreen Canvas for Animated Space Background */
#space {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background-color: transparent;
  pointer-events: none;
  touch-action: none;
}

/* Basic Reset */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  color: white;
  background: transparent;
}

/* Navigation Bar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 12, 16, 0.75);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.5rem;
  border-bottom: 1px solid rgba(69, 162, 158, 0.3);
}

.logo img {
  height: 90px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 4px #66FCF1);
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #C5C6C7;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 5px 0;
  position: relative;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #66FCF1;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #66FCF1;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #66FCF1;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(11, 12, 16, 0.95);
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    gap: 1.5rem;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

.hero {
  background: transparent;
  text-align: center;
  padding: 5rem 2rem;
  color: #66FCF1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero h1 {
  font-size: 3rem;
  text-shadow: 0 0 10px #45A29E;
}

.hero p {
  font-size: 1.2rem;
  color: #C5C6C7;
  max-width: 600px;
  margin: 1rem auto 0;
  text-align: center;
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 10px #66FCF1;
}
.btn-primary {
  background-color: transparent;
  border: 2px solid #66FCF1;
  color: #66FCF1;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.75rem 2rem;
  margin-top: 2rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.btn-primary:hover {
  background-color: #45A29E;
  color: #0B0C10;
  box-shadow: 0 0 10px #45A29E, 0 0 20px rgba(69, 162, 158, 0.5);
}

.featured {
  padding: 4rem 2rem;
  background: rgba(31, 40, 51, 0.85);
  color: #C5C6C7;
  text-align: center;
  backdrop-filter: blur(4px);
}

.carousel {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.carousel-track {
  display: flex;
  gap: 2rem;
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  transform: translateY(20px);
  opacity: 0;
  animation: slideIn 1s ease forwards;
}

.carousel-item:nth-child(1) { animation-delay: 0.2s; }
.carousel-item:nth-child(2) { animation-delay: 0.4s; }
.carousel-item:nth-child(3) { animation-delay: 0.6s; }

.carousel img {
  width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(102, 252, 241, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(102, 252, 241, 0.5);
}

@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Footer Styling */
footer {
  background: rgba(11, 12, 16, 0.8);
  padding: 2rem;
  text-align: center;
  color: #C5C6C7;
  border-top: 1px solid rgba(69, 162, 158, 0.3);
  backdrop-filter: blur(6px);
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
}

.footer-content p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.social-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-links li a {
  color: #66FCF1;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.social-links li a:hover {
  color: #45A29E;
}
