/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Zen+Kaku+Gothic+New:wght@400;700&display=swap');

:root {
  --bg-color: #0f172a;
  --text-color: #e2e8f0;
  --accent-color: #38bdf8;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --card-bg: rgba(30, 41, 59, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --nav-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', 'Zen Kaku Gothic New', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  /* Premium background effect */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.1) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

ul {
  list-style: none;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: var(--glass-border);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 0 1rem;
  width: 100%;
  max-width: 1200px;
  justify-content: center;
}

/* Hide scrollbar for nav */
.nav-container::-webkit-scrollbar {
  display: none;
}

.nav-link {
  color: #94a3b8;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  white-space: nowrap;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

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

/* Sections */
section {
  padding: 100px 20px 60px;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
  text-align: center;
  width: 100%;
}

.section-content {
  animation: fadeIn 1s ease-out;
}

/* About Me */
.profile-header {
  text-align: center;
  margin-bottom: 3rem;
}

.profile-name {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.profile-title {
  font-size: 1.2rem;
  color: #94a3b8;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  border: var(--glass-border);
}

.about-item {
  display: flex;
  justify-content: center;
  gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.about-item:last-child {
  border-bottom: none;
}

.about-label {
  color: #94a3b8;
  font-weight: 500;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  border: var(--glass-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.3);
  border-color: var(--accent-color);
}

.skill-icon {
  font-size: 3rem;
  color: var(--accent-color);
}

/* Hobby */
.hobby-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hobby-tag {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-color);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.3s;
}

.hobby-tag:hover {
  background: var(--accent-color);
  color: #fff;
}

/* Career */
.career-text {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  border: var(--glass-border);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cbd5e1;
}

/* Products */
.products-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.product-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: var(--glass-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.2);
  border-color: var(--accent-color);
}

.product-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
  border-right: var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.product-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

/* Awards */
.award-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: var(--glass-border);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.award-icon {
  color: gold;
  font-size: 1.5rem;
}

/* Info */
.info-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.info-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--card-bg);
  padding: 1rem 2rem;
  border-radius: 12px;
  border: var(--glass-border);
  font-weight: 600;
  transition: all 0.3s;
}

.info-btn:hover {
  background: var(--accent-gradient);
  color: white;
  transform: translateY(-3px);
  border-color: transparent;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Activities */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--accent-gradient);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--bg-color);
  border: 4px solid var(--accent-color);
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -8px;
}

.timeline-content {
  padding: 1.5rem;
  background: var(--card-bg);
  position: relative;
  border-radius: 12px;
  border: var(--glass-border);
}

.timeline-date {
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  .profile-name {
    font-size: 2.2rem;
  }

  .nav-container {
    justify-content: flex-start;
    padding-left: 1rem;
  }

  section {
    padding-top: 80px;
  }

  .product-card {
    flex-direction: column;
    align-items: stretch;
  }
  
  .product-image {
    width: 100%;
    height: 200px;
    border-right: none;
    border-bottom: var(--glass-border);
  }

  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item::after {
    left: 23px;
  }
  
  .right {
    left: 0%;
  }
}