/* =============================================
   SECTIONS - All portfolio section styles
   ============================================= */

/* ===== HEADER / PROFILE CARD ===== */
.header-card {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid var(--border);
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-badge {
  width: 20px;
  height: 20px;
  background: #1da1f2;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.verified-badge svg {
  width: 12px;
  height: 12px;
  fill: white;
}

.profile-location {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.profile-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.profile-buttons {
  display: flex;
  gap: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  border: 1px solid var(--border);
  cursor: pointer;
}

.btn svg {
  width: 14px;
  height: 14px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-card);
  border-color: var(--accent);
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Theme toggle in header */
.theme-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px;
}

.theme-toggle-track {
  width: 44px;
  height: 24px;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  position: relative;
  transition: background var(--transition-fast);
}

.theme-toggle-thumb {
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform var(--transition-fast);
}

html[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(20px);
}

/* theme-toggle-icon removed (no emoji) */


/* ===== ABOUT SECTION ===== */
.about-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-section h2 .section-icon {
  font-size: 1.1rem;
}

.about-section p {
  margin-bottom: var(--space-md);
  font-size: 0.85rem;
  line-height: 1.8;
}

.about-section p:last-child {
  margin-bottom: 0;
}


/* ===== EXPERIENCE TIMELINE ===== */
.experience-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--dot-inactive);
  background: var(--bg-card);
  transition: all var(--transition-fast);
}

.timeline-item:first-child .timeline-dot,
.timeline-item.active .timeline-dot {
  background: var(--dot-active);
  border-color: var(--dot-active);
}

.timeline-content {
  flex: 1;
}

.timeline-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.timeline-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: var(--space-md);
}


/* ===== TECH STACK ===== */
.techstack-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.techstack-category {
  margin-bottom: var(--space-lg);
}

.techstack-category:last-child {
  margin-bottom: 0;
}

.techstack-category h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: default;
}

.tag:hover {
  background: var(--bg-tag-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}


/* ===== RECENT PROJECTS ===== */
.projects-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.project-card {
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: default;
}

.project-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.project-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.project-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.project-link {
  font-size: 0.72rem;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-tag);
  border-radius: var(--radius-sm);
  width: fit-content;
  transition: all var(--transition-fast);
}

.project-link:hover {
  background: var(--bg-tag-hover);
  color: var(--text-secondary);
}


/* ===== CERTIFICATIONS ===== */
.certifications-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cert-item {
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.cert-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.cert-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cert-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
}


/* ===== FOOTER - Goals / Social / Contact ===== */
.footer-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-col h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

.goal-item {
  padding: var(--space-md);
  border-left: 3px solid var(--border);
  margin-bottom: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: border-color var(--transition-fast);
}

.goal-item:hover {
  border-left-color: var(--accent);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-soft);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.social-link svg,
.social-link img {
  width: 18px;
  height: 18px;
}

.footer-contact-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.footer-contact-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.footer-contact-link:hover {
  opacity: 0.7;
}


/* ===== GALLERY ===== */
.gallery-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  aspect-ratio: 1 / 1.15;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}


/* ===== COPYRIGHT FOOTER ===== */
.copyright {
  text-align: center;
  padding: var(--space-xl) 0;
  font-size: 0.75rem;
  color: var(--text-faint);
}


/* ===== CONTACT SIDEBAR (Fixed Right) ===== */
.contact-sidebar {
  position: fixed;
  right: var(--space-lg);
  top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 50;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
}

.contact-pill:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateX(-4px);
  opacity: 1;
}

.contact-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-pill-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.contact-pill-value {
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-pill-arrow {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-left: auto;
}

/* section-icon styling removed (no emoji/icons used) */
