:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --second: #64748b;
  --main: #2563eb;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.dark {
  --bg: #0f172a;
  --card: #1e293b;
  --text: #f8fafc;
  --second: #cbd5e1;
  --border: #334155;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: 0.3s ease;
}

img {
  width: 100%;
  display: block;
}

section {
  padding: 100px 8%;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.75);
}

body.dark .header {
  background: rgba(15, 23, 42, 0.75);
}

.logo {
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
}

.navbar {
  display: flex;
  gap: 30px;
}

.navbar a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav-action {
  display: flex;
  gap: 15px;
}

#menu-icon,
.dark-toggle {
  font-size: 1.7rem;
  cursor: pointer;
}

#menu-icon {
  display: none;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.hero-bg,
.overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  object-fit: cover;
  z-index: -2;
  height: 100%;
}

.overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.4)
  );
  z-index: -1;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.1;
  color: #fff;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  margin: 30px 0;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}

.primary {
  background: var(--main);
  color: #fff;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 20px;
  color: #fff;
}

.section-title {
  margin-bottom: 60px;
}

.section-title span {
  color: var(--main);
  font-weight: 600;
}

.section-title h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.center {
  text-align: center;
}

.services-grid,
.product-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card,
.contact-card,
.testimonial-card {
  background: var(--card);
  padding: 35px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.service-card i,
.contact-card i {
  font-size: 3rem;
  color: var(--main);
  margin-bottom: 20px;
}

.product-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.product-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  overflow: hidden;
  transition: 0.4s;
  position: relative;
}
.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ff7a00;
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-content {
  padding: 30px;
}

.product-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.product-content p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 25px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  color: #ff7a00;
  font-weight: 700;
  font-size: 1rem;
}

.product-btn {
  background: #ff7a00;
  color: white;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.product-btn:hover {
  transform: translateY(-3px);
  background: #ff8f26;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .products {
    padding: 80px 20px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image img {
    height: 240px;
  }
}
.products {
  background: #0f172a;
}

.light h2,
.light span {
  color: #fff;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.product-card img {
  height: 350px;
  object-fit: cover;
}

.product-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.testimonial-wrapper {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: 30px;
}

.about-content ul {
  margin-top: 20px;
}

.about-content li {
  margin-bottom: 10px;
  list-style: none;
}

.testimonial-card {
  min-width: 340px;
  border: 1px solid var(--border);
}

.testimonial-stars {
  color: #facc15;
  margin-bottom: 18px;
}

.testimonial-card p {
  color: var(--second);
  margin-bottom: 25px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-user img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-item {
  background: var(--card);
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-question i {
  transition: 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--second);
}

.footer {
  padding: 30px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
.wa-form {
  width: 100%;
  max-width: 700px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wa-form input,
.wa-form textarea {
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #ddd;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.wa-form input:focus,
.wa-form textarea:focus {
  border-color: #ff7a00;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.15);
}

.wa-form textarea {
  resize: none;
}

.wa-form button {
  border: none;
  cursor: pointer;
}
/* GALLERY */

.gallery {
  padding: 100px 8%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 20px;
  height: 250px;
  object-fit: cover;
  transition: 0.4s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  section {
    padding: 90px 6%;
  }

  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: -100%;
    flex-direction: column;
    width: 260px;
    background: var(--card);
    padding: 30px;
    border-radius: 0 0 0 20px;
    transition: 0.4s ease;
  }

  .navbar.active {
    right: 0;
  }

  .hero {
    text-align: center;
  }

  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }
}
