/* Component Styles (Buttons, Cards, Forms) */

/* Decoration Circles and Toggle Button */
.decor-circle,
#theme-toggle-btn {
  inline-size: var(--decor-size);
  block-size: var(--decor-size);
}

.decor-circle {
  inline-size: clamp(28px, 7vw, 48px);
  block-size: clamp(28px, 7vw, 48px);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin: 0;
  transition: background 0.3s, box-shadow 0.25s ease, inline-size 0.2s, block-size 0.2s;
}

.decor-circle:hover {
  box-shadow: 0 0 8px 2px #fff, 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.theme-light .decor-circle:hover {
  box-shadow: 0 0 8px 2px #111, 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.theme-light .decor-circle {
  background: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Theme Toggle Button */
#theme-toggle-btn {
  transition: box-shadow 0.25s ease, inline-size 0.2s, block-size 0.2s;
}

#theme-toggle-btn:hover {
  box-shadow: 0 0 8px 2px #fff, 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.theme-light #theme-toggle-btn:hover {
  box-shadow: 0 0 8px 2px #111, 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Card Items */
.project-item,
.certificate-item,
.blog-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-item:hover,
.certificate-item:hover,
.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.theme-light .project-item:hover,
.theme-light .certificate-item:hover,
.theme-light .blog-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Certificate Item Image */
.certificate-item img {
  aspect-ratio: 1.413;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.certificate-item:hover img {
  transform: scale(1.05);
}

/* Skill Item */
.skill-item {
  transition: all 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.theme-light .skill-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
