/* style.css */

/* Font & Reset */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #789595;
  color: white;
}
nav .brand {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}
nav a {
  color: white;
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover {
  color: #ffd369;
}

/* Header */
header {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #ffffff;
}

.logo-cleanify {
  width: 100px;
  margin-bottom: 1rem;
}
header h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
  color: #0c7e7e;
}

.subtitle {
  font-size: 1.1rem;
  color: #666;
}

.fitur-box:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(39, 174, 96, 0.2);
  transform: translateY(-8px);
}



/* Download Section */
#download {
  background-color: #e0f7fa;
  padding: 2rem;
  text-align: center;
}
.download-center .btn-download {
  background-color: #0c7e7e;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}
.btn-download:hover {
  background-color: #055e5e;
}
.qr-section img {
  width: 150px;
  margin-top: 1rem;
}

/* Feature Sections */
.feature,
.fitur-utama {
  padding: 2rem;
  background-color: #ffffff;
  text-align: center;
}
.feature h2,
.fitur-utama h2 {
  color: #0c7e7e;
  margin-bottom: 1rem;
}
.fitur-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.fitur-box {
  background-color: #f1f1f1;
  padding: 1.5rem;
  border-radius: 10px;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.fitur-box i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0c7e7e;
}

/* App Preview */
.app-preview {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.app-preview img {
  width: 120px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimoni {
  background-color: #e0f2f1;
  padding: 2rem;
  text-align: center;
}
.testimoni h2 {
  color: #0c7e7e;
  margin-bottom: 1rem;
}

/* FAQ */
.faq {
  padding: 2rem;
  background-color: #ffffff;
}
.faq h2 {
  color: #0c7e7e;
  margin-bottom: 1.5rem;
  text-align: center;
}
.faq-item {
  margin-bottom: 1.5rem;
}
.faq-item h3 {
  color: #055e5e;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: #0c7e7e;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Chat & Form Elements */
body.dark .chat-bubble {
  background-color: #3c3c3c;
  color: #fff;
}

body.dark form {
  background-color: #1e1e1e;
  color: #fff;
}

body.dark input,
body.dark textarea {
  background-color: #2a2a2a;
  color: #fff;
  border: 1px solid #555;
}

.chat-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007bff;
  color: white;
  font-size: 24px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.chat-form {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: white;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 10px;
  display: none;
  z-index: 1000;
}

.chat-form.active {
  display: block;
}

.app-preview-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
  max-width: 100%;
  overflow: hidden;
  padding: 0 40px;
}

.app-preview-carousel {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.app-preview-carousel img {
  width: 150px;
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 12px;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  cursor: pointer;
}



.about-section, .contact-section {
  padding: 40px 20px;
  background: #f9f9f9;
  border-radius: 12px;
  margin: 30px auto;
  max-width: 900px;
  text-align: center;
}

.about-section h2, .contact-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
}

.about-section p, .contact-section p, .contact-section ul {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.contact-section ul {
  list-style: none;
  padding: 0;
}

.contact-section li {
  margin: 8px 0;
}

.contact-section i {
  margin-right: 8px;
  color: #6c63ff;
}

body {
  background: linear-gradient(to right, #a2dff7, #d3f9d8); /* Gradasi Biru ke Hijau */
  color: #333;
}
