/* Halaman Home Fiqram */
:root {
  --primary-color: #4a6bff;
  --secondary-color: #6c757d;
  --dark-bg: rgb(45, 58, 89);
  --light-bg: #f8f9fa;
  --text-color: #333;
  --light-text: #fff;
  --gradient-primary: linear-gradient(90deg, #4a6bff, #9785ff);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

main {
  padding-top: 74px; 
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 4rem 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  background-color: var(--dark-bg);
  color: var(--light-text);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/image.png');
  background-size: cover;
  opacity: 0.1;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--box-shadow);
}

.hero-text {
  flex: 1.5;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-text h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Button */
.btn-primary {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--light-text);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 107, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 107, 255, 0.6);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--light-text);
}

.btn-text {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-text:hover {
  transform: translateX(5px);
}

/* About Singkat Section */
.about-preview {
  background-color: var(--light-bg);
}

.about-preview h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Projects Section */
.projects-preview h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-img {
  height: 200px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-card h3 {
  padding: 1.5rem 1.2rem 0.5rem;
  font-size: 1.3rem;
}

.project-card p {
  padding: 0 1.2rem;
  color: var(--secondary-color);
  font-size: 0.95rem;
}

.project-card .btn-text {
  padding: 0.5rem 1.2rem 1.5rem;
  display: block;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .hero-content {
      flex-direction: column;
      gap: 2rem;
      text-align: center;
  }

  .hero-text p {
      margin: 0 auto 2rem;
  }
}

@media screen and (max-width: 768px) {
  section {
      padding: 3rem 0;
  }

  .hero {
      padding: 4rem 0;
  }

  .hero-text h1 {
      font-size: 2.5rem;
  }

  .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 2rem;
  }

  .footer-links ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
  }

  .footer-links li {
      margin-bottom: 0;
  }
}

@media screen and (max-width: 576px) {
  .hero-image img {
      width: 250px;
      height: 250px;
  }

  .hero-text h1 {
      font-size: 2rem;
  }

  .hero-text h2 {
      font-size: 1.2rem;
  }
}