/* Section Styles */

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  color: inherit;
}

.nav-logo-icon {
  display: block;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.nav-logo-iam {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  font-style: italic;
  color: #94A3B8;
}

.nav-logo-move {
  font-size: var(--fs-xl);
  font-weight: 900;
  font-style: italic;
  color: #3B82F6;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-2xl);
  align-items: center;
}

.nav-link {
  color: var(--text-primary);
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.hamburger {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: all var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: var(--text-white);
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: default;
}

.hero a,
.hero .btn {
  user-select: auto;
  cursor: pointer;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.profile-image-wrapper {
  margin-bottom: var(--spacing-xl);
  display: inline-block;
  position: relative;
  width: 260px;
  height: 260px;
}

.profile-image {
  width: 260px;
  height: 260px;
  object-fit: contain;
  transition: transform var(--transition-slow);
  -webkit-user-drag: none;
  pointer-events: none;
}

.profile-image:hover {
  transform: scale(1.05);
}

.hero-title {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: var(--fs-xl);
  font-weight: var(--fw-normal);
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.hero-tags .tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

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

.hero .highlight {
  background: linear-gradient(90deg, #BFDBFE 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 8px rgba(96, 165, 250, 0.5));
}

.hero .btn-outline {
  color: var(--text-white);
  border-color: var(--text-white);
}

.hero .btn-outline:hover {
  background: var(--text-white);
  color: var(--primary-soft);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.scroll-indicator:hover {
  color: rgba(255, 255, 255, 1);
  transform: translateX(-50%) translateY(-3px);
  opacity: 1;
}

.scroll-indicator:hover .scroll-text {
  opacity: 1;
}

.scroll-text {
  display: block;
  font-size: var(--fs-sm);
  margin-bottom: var(--spacing-sm);
  opacity: 0.8;
}

.arrow-down {
  width: 30px;
  height: 30px;
  border-left: 2px solid var(--text-white);
  border-bottom: 2px solid var(--text-white);
  transform: rotate(-45deg);
  margin: 0 auto;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(-45deg) translateY(0);
  }
  40% {
    transform: rotate(-45deg) translateY(-10px);
  }
  60% {
    transform: rotate(-45deg) translateY(-5px);
  }
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  margin-top: var(--spacing-3xl);
}

.about-text p {
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-highlights {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-lg);
}

.highlight-card {
  flex: 1;
  background: var(--bg-primary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-light);
  transition: all var(--transition-normal);
  text-align: center;
}

.highlight-card:hover {
  border-color: var(--primary-soft);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.highlight-card .icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.highlight-card h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.highlight-card p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Skills Section
   ======================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.skill-category {
  background: var(--bg-primary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.category-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.category-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.skill-name {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.5s ease;
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

/* ========================================
   Projects Section
   ======================================== */
.project-filters {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-3xl);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.filter-label {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  min-width: 40px;
  flex-shrink: 0;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

/* Tag color variants for grade/subject */
.tag-grade {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.tag-subject {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

.project-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  z-index: 2;
  letter-spacing: 0.02em;
}

.status-live {
  background: #10b981;
  color: white;
}

.status-preparing {
  background: #f59e0b;
  color: white;
}

.filter-btn {
  padding: 0.625rem 1.5rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-weight: var(--fw-medium);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.filter-btn:hover {
  background: var(--bg-tertiary);
}

.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--text-white);
  border-color: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-2xl);
}

.project-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--gradient-teal);
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(102, 126, 234, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.btn-icon {
  width: 50px;
  height: 50px;
  background: var(--text-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-xl);
  color: var(--primary-soft);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-icon:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.btn-icon img,
.btn-icon svg {
  width: 24px;
  height: 24px;
}

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

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

.project-description {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-content {
  max-width: 900px;
  margin: 0 auto;
  margin-top: var(--spacing-3xl);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
}

.contact-item {
  text-align: center;
  padding: var(--spacing-2xl);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.contact-item .icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-soft);
}

.contact-item .icon svg {
  fill: var(--primary-soft);
  width: 40px;
  height: 40px;
  margin: 0 auto;
}

.contact-item h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.contact-item a {
  color: var(--primary-soft);
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
}

.contact-item a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.contact-form {
  background: var(--bg-primary);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-secondary);
  padding: var(--spacing-2xl) 0;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-text {
  color: var(--text-secondary);
  font-size: var(--fs-base);
}

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

.footer-links a {
  color: var(--text-secondary);
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-soft);
}
