/* === RESET & BODY === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f9fc;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

/* === FIXED TOP (HEADER + NAV) === */
.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fixed-top header {
  padding: 10px 20px;
  text-align: center;
}

.logo-img {
  max-width: 100px;
  width: 25vw;
  min-width: 40px;
  height: auto;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.fixed-top header h1 {
  font-size: 2.4rem;
  margin: 10px 0 5px;
}

.fixed-top header p {
  font-size: 1.1rem;
  margin: 0;
}

/* === NAVBAR === */
.fixed-top nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: #2c3e50;
  gap: 15px;
}

.nav-links,
.nav-auth {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-links a,
.nav-auth a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  text-decoration: underline;
}

.nav-auth a {
  background-color: #1abc9c;
  padding: 6px 12px;
  border-radius: 6px;
}

.nav-auth a:hover {
  background-color: #16a085;
}

/* === CONTENT OFFSET === */
.content-offset {
  padding-top: 180px;
}

/* === SECTION === */
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* === ANCHOR OFFSET === */
#fitur,
#tentang,
#kontak {
  scroll-margin-top: 180px;
}

/* === SERVICES GRID === */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-top: 0;
  color: #2980b9;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  margin-top: 10px;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #e8f0fe;
}

.cta-wrapper {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  min-width: 200px;
}

.cta-button.email {
  background-color: #27ae60;
  color: white;
}

.cta-button.email:hover {
  background-color: #219150;
}

.cta-button.whatsapp {
  background-color: #25D366;
  color: white;
}

.cta-button.whatsapp:hover {
  background-color: #1ebe5b;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 20px;
  background-color: #2c3e50;
  color: white;
  font-size: 0.9rem;
  margin-top: 60px;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .fixed-top header h1 {
    font-size: 1.8rem;
  }

  .fixed-top header p {
    font-size: 0.95rem;
  }

  .section,
  .cta-section {
    padding: 40px 15px;
  }

  .card {
    padding: 15px;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 10px 18px;
  }

  .content-offset {
    padding-top: 180px;
  }

  #fitur,
  #tentang,
  #kontak {
    scroll-margin-top: 180px;
  }

  .fixed-top nav {
    justify-content: center;
    gap: 10px;
  }

  .nav-links,
  .nav-auth {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a,
  .nav-auth a {
    margin: 5px 0;
  }
}
