/* =============================
   GENERAL RESET
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #f5f5f5;
  color: #333;
  overflow-x: hidden;
}

/* =============================
   HERO SECTION WITH GRADIENT ANIMATION
============================= */
.hero {
  position: relative;
  height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  
  /* 🌟 Soft Animated Gradient */
  background: linear-gradient(270deg, yellow, #2a5298, rgb(7, 7, 7), yellow, black);
  background-size: 800% 800%;
  animation: gradientMove 15s ease infinite;
}

/* Gradient animation keyframes */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  letter-spacing: 2px;
  font-weight: bold;
}

.hero-tagline {
  font-size: 1.4rem;
  margin-top: 15px;
}

.cta-btn {
  background: #ff9800;
  color: white;
  padding: 12px 25px;
  border: none;
  margin-top: 25px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.cta-btn:hover {
  background: #ffb74d;
}

/* =============================
   BACKGROUND FADE TEXT
============================= */
.background-fade-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.1);
  transition: opacity 0.5s ease;
  z-index: 1;
}

/* =============================
   BUILT BY PETSCILO ANIMATION
============================= */
.built-by {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: white;
  z-index: 2;
}

.built-by .bold-animate {
  font-size: 2.5rem;
  font-weight: bold;
  display: inline-block;
  animation: pulse 1.2s infinite alternate;
  color: #ff9800;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* =============================
   FLOATING AD
============================= */
.floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #222;
  color: white;
  padding: 15px;
  border-radius: 10px;
  display: none;
  z-index: 999;
  width: 250px;
}
.floating-close {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  font-weight: bold;
}

/* =============================
   HAMBURGER MENU & SLIDE MENU
============================= */
.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 999;
}

.slide-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: rgba(0,0,0,0.9);
  transition: 0.4s;
  padding-top: 60px;
  z-index: 1000;
}

.slide-menu.active {
  left: 0;
}

.slide-menu ul {
  list-style: none;
}

.slide-menu ul li {
  margin: 20px 0;
  text-align: center;
}

.slide-menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  transition: 0.3s;
}

.slide-menu ul li a:hover {
  color: #ff9800;
}

/* =============================
   PRODUCT SECTION
============================= */
.section {
  padding: 80px 20px;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.product-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-card img {
  width: 100%;
  border-radius: 10px;
}

/* =============================
   PRODUCT MODAL (FULL VIEW)
============================= */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.product-modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  position: relative;
  text-align: center;
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.modal-reviews {
  margin-top: 20px;
  text-align: left;
}

.review-item {
  display: flex;
  align-items: center;
  background: #f8f8f8;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.review-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8rem;
  color: #333;
  cursor: pointer;
}

/* =============================
   FOOTER
============================= */
.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ff9800;
  transform: scale(1.2);
}

/* =============================
   RESPONSIVE FIXES
============================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .background-fade-text {
    font-size: 3rem;
  }
  .modal-content {
    max-width: 95%;
  }
}
