/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Mona Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
   background-color: #fff;
  color: #333;
  transition: background 0.3s, color 0.3s;
}

.bold-green {
  font-size: 50px;
  font-weight: bolder;
  color: #466DC9;
}

.bold-blue{
font-weight: bolder;
  color: #466DC9;
  font-size: 20px;
}

.textwelcome {
  font-size: 50px;
  font-weight: bolder;
}

section {
  padding: 20px 20px;
  text-align: center;
}

h1, h2 {
  margin-bottom: 20px;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

body.dark {
  background-color: #121212;
  color: #eee;
}

body.dark .portfolio-card {
  background: #1e1e1e;
  color: #ddd;
}

body.dark .testimonial-card {
  background: #1e1e1e;
  color: #ddd;
}


/* Portfolio Cards */
.portfolio-card {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  border-radius: 12px;
  text-decoration: none; /* hilangkan underline */
  color: inherit; /* ambil warna teks dari parent */
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Optional: jika ingin warna teks tetap hitam di light mode */
body:not(.dark) .portfolio-card h3,
body:not(.dark) .portfolio-card p {
  color: #333;
}

/* Optional: jika ingin warna teks tetap terang di dark mode */
body.dark .portfolio-card h3,
body.dark .portfolio-card p {
  color: #ddd;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}
.portfolio-card {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Testimonials */
.testimonial-card {
  display: inline-block;
  width: 280px;
  margin: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
}
.theme-toggle button {
  margin: 0 5px;
  padding: 8px 12px;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}
.theme-toggle button:hover {
  background: #555;
}

/* Portfolio Grid Container */
#portfolio-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  justify-content: center;
  padding: 40px 20px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  #portfolio-items {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  #portfolio-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  #portfolio-items {
    grid-template-columns: 1fr;
  }
}

#testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px;
  max-width: 400px;
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  display: flex;
  gap: 20px;
  align-items: center;
}

.testimonial-photo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-text {
  flex: 1;
}

.testimonial-text .quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.testimonial-text .author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}
