/* Skills Page Styles */
:root {
  --primary-color: #1a1a2e;
  --secondary-color: #16213e;
  --accent-color: #00eaff;
  --text-primary: #ffffff;
  --text-secondary: #b8c1ec;
  --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --gradient-accent: linear-gradient(135deg, #00eaff 0%, #0099cc 100%);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 15px 40px rgba(0, 234, 255, 0.2);
}

/* Skills Container */
.skills-container {
  min-height: 100vh;
  background: var(--gradient-primary);
  padding-top: 90px;
  padding-bottom: 80px;
  overflow-x: hidden;
}

/* Page Header */
.skills-header {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.skills-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.skills-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 2s ease-in-out infinite alternate;
}

.skills-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Skills Grid */
.skills-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

/* Skill Category */
.skill-category {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.skill-category:nth-child(1) { animation-delay: 0.2s; }
.skill-category:nth-child(2) { animation-delay: 0.4s; }
.skill-category:nth-child(3) { animation-delay: 0.6s; }

.skill-category:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 234, 255, 0.3);
}

/* Category Title */
.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-icon {
  font-size: 1.8rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Skills List */
.skills-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Skill Item */
.skill-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 234, 255, 0.4);
  box-shadow: 0 5px 20px rgba(0, 234, 255, 0.15);
}

/* Skill Icon */
.skill-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 12px;
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(0, 234, 255, 0.4);
}

/* Skill Info */
.skill-info {
  flex-grow: 1;
  min-width: 0;
}

.skill-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* Skill Progress */
.skill-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
  width: 0%;
  transition: width 1.5s ease-out;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
}

/* Skill Level */
.skill-level {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Skills Summary */
.skills-summary {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.summary-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
}

.summary-card:nth-child(1) { animation-delay: 0.8s; }
.summary-card:nth-child(2) { animation-delay: 1s; }
.summary-card:nth-child(3) { animation-delay: 1.2s; }

.summary-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 234, 255, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.card-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(0, 234, 255, 0.8);
  }
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .skills-container {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .skills-title {
    font-size: 2.5rem;
  }

  .skills-subtitle {
    font-size: 1.1rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }

  .skill-category {
    padding: 30px 20px;
  }

  .category-title {
    font-size: 1.3rem;
  }

  .skill-item {
    gap: 15px;
    padding: 15px;
  }

  .skill-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .summary-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .summary-card {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .skills-title {
    font-size: 2rem;
  }

  .skills-header {
    margin-bottom: 60px;
  }

  .skill-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .skill-info {
    width: 100%;
  }

  .card-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .skills-container {
    padding-top: 75px;
  }

  .skill-category {
    padding: 25px 15px;
  }

  .skill-item {
    padding: 15px;
  }
}
