/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5em;
  font-weight: 800;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1e293b;
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-greeting {
  color: #06b6d4;
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-name {
  font-size: 4em;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 15px;
  line-height: 1.1;
}

.hero-title {
  font-size: 2em;
  font-weight: 600;
  color: #475569;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.15em;
  color: #64748b;
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.btn {
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: white;
  color: #06b6d4;
  border: 2px solid #06b6d4;
}

.btn-secondary:hover {
  background: #06b6d4;
  color: white;
}

.hero-social {
  display: flex;
  gap: 25px;
}

.social-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #06b6d4;
}

.hero-image {
  position: relative;
  height: 500px;
}

.hero-shape {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: morph 8s ease-in-out infinite;
  opacity: 0.1;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

.floating-card {
  position: absolute;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  animation: float 3s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: 5%;
  animation-delay: 1s;
}

.card-3 {
  bottom: 15%;
  left: 20%;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.card-icon {
  font-size: 2em;
}

.card-text {
  font-weight: 600;
  color: #1e293b;
}

/* Sections */
section {
  padding: 100px 0;
}

.section-header-center {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5em;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.15em;
  color: #64748b;
}

/* About Section */
.about {
  background: white;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.1em;
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 15px;
}

.stat-number {
  font-size: 3em;
  font-weight: 800;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: #64748b;
  font-weight: 500;
  margin-top: 10px;
}

/* Skills Section */
.skills {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.skill-category {
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.category-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  color: #0e7490;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95em;
  border: 1px solid #bae6fd;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Projects Section */
.projects {
  background: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
  height: 250px;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  position: relative;
}

.project-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
}

.project-tag {
  background: rgba(255, 255, 255, 0.95);
  color: #0e7490;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
}

.project-content {
  padding: 30px;
}

.project-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
}

.project-description {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tech span {
  background: #f1f5f9;
  color: #475569;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 500;
}

/* Experience Section */
.experience {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #06b6d4, #3b82f6);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-dot {
  position: absolute;
  left: -46px;
  top: 0;
  width: 12px;
  height: 12px;
  background: #06b6d4;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2);
}

.timeline-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.timeline-date {
  color: #06b6d4;
  font-weight: 600;
  font-size: 0.95em;
  margin-bottom: 10px;
}

.timeline-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.timeline-company {
  color: #64748b;
  font-style: italic;
  margin-bottom: 10px;
}

.timeline-description {
  color: #475569;
  line-height: 1.7;
}

/* Contact Section */
.contact {
  background: white;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-item {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 30px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.5em;
}

.contact-label {
  color: #64748b;
  font-size: 0.9em;
  margin-bottom: 5px;
}

.contact-value {
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: #06b6d4;
}

/* Footer */
.footer {
  background: #1e293b;
  padding: 40px 0;
  text-align: center;
  color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 30px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-name {
    font-size: 3em;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-name {
    font-size: 2.5em;
  }

  .hero-title {
    font-size: 1.5em;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 2em;
  }
}
