/* ================================
   HERO SECTION
================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: var(--z-base);
  gap: var(--space-2xl);
}

.hero-orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  position: relative;
  margin-bottom: var(--space-xl);
}

.hero-orb::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--accent-blue),
    transparent,
    var(--accent-cyan),
    transparent
  );
  animation: orbRotate 8s linear infinite;
  opacity: 0.3;
}

.hero-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
}

.hero-name {
  font-size: var(--text-hero);
  font-weight: var(--weight-bold);
  letter-spacing: -2px;
  line-height: 1;
}

.hero-tagline {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-typing {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xl);
  color: var(--accent-blue);
  font-weight: var(--weight-medium);
}

.hero-typing .cursor {
  width: 3px;
  height: 24px;
  background: var(--accent-blue);
  animation: blink 1s ease infinite;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: var(--space-4xl);
  margin-top: var(--space-2xl);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================================
   ABOUT SECTION
================================ */
.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-wrapper {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), transparent);
  pointer-events: none;
}

.about-image-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  top: 20px;
  left: 20px;
  z-index: -1;
}

.about-text h3 {
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.about-text p {
  margin-bottom: var(--space-xl);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.about-stat {
  text-align: center;
  padding: var(--space-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.about-stat:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent-blue);
  transform: translateY(-4px);
}

.about-stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--space-xs);
}

/* ================================
   SKILLS SECTION
================================ */
.skills {
  position: relative;
}

.skills-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.skill-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-slow);
  cursor: default;
}

.skill-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-8px) rotate(1deg);
  box-shadow: var(--glass-shadow-hover);
}

.skill-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-size: var(--text-2xl);
}

.skill-name {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.skill-bar {
  height: 4px;
  background: var(--glass-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.skill-level {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-sm);
}

/* ================================
   EXPERIENCE SECTION
================================ */
.experience {
  position: relative;
}

/* ================================
   PROJECTS SECTION
================================ */
.projects {
  position: relative;
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.projects-search {
  max-width: 400px;
  margin: 0 auto var(--space-3xl);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.project-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-slow);
  transform-style: preserve-3d;
}

.project-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: var(--glass-shadow-hover);
}

.project-thumbnail {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.project-status {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
}

.project-status.completed {
  color: #10B981;
}

.project-status.in-progress {
  color: #F59E0B;
}

.project-info {
  padding: var(--space-xl);
}

.project-category {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.project-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.project-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.project-links {
  display: flex;
  gap: var(--space-md);
}

.project-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.project-link:hover {
  color: var(--accent-blue);
}

/* ================================
   CERTIFICATES SECTION
================================ */
.certificates {
  position: relative;
}

/* ================================
   GALLERY SECTION
================================ */
.gallery {
  position: relative;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.gallery-grid {
  columns: 3;
  column-gap: var(--space-xl);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-slow);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: white;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

/* ================================
   BLOG SECTION
================================ */
.blog {
  position: relative;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.blog-search {
  max-width: 300px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.blog-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-slow);
}

.blog-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-hover);
}

.blog-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: var(--space-xl);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.blog-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-3xl);
}

/* ================================
   CONTACT SECTION
================================ */
.contact {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
}

.contact-info h3 {
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.contact-link:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent-blue);
  transform: translateX(8px);
}

.contact-link-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.contact-link-text {
  flex: 1;
}

.contact-link-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-link-value {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: var(--weight-medium);
}

.contact-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.contact-social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: all var(--transition-base);
}

.contact-social-link:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: translateY(-4px);
}

/* ================================
   FOOTER
================================ */
.footer {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-brand {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--text-muted);
}