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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(242, 80, 34, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(127, 186, 0, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(0, 164, 239, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 185, 0, 0.4) 0%,
      transparent 50%
    ),
    #f8f9fa;
  min-height: 100vh;
  padding: 80px 20px 20px;
}

/* Header Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 8px;
  border-radius: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #333;
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-link.active {
  background-color: rgba(0, 0, 0, 0.1);
  color: #333;
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.container.center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 60px);
}

.container.narrow {
  max-width: 800px;
}

/* Typography */
.page-title {
  font-size: 48px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-subtitle {
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.6;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
}

/* Hero Section (Home Page) */
.hero-card {
  background: transparent;
  border-radius: 24px;
  padding: 60px 80px;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 30px;
  background: #ddd;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23666" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  border: 4px solid rgba(255, 255, 255, 0.8);
}

.hero-title {
  font-size: 32px;
  font-weight: 600;
  color: #000000;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #333333;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #1f2937;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #374151;
  transform: translateY(-2px);
}

.btn-secondary {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  color: #1f2937;
}

.submit-btn {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #000000;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  color: #000000;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link.large {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

/* Projects Grid */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.project-card {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  overflow: hidden;
}

.project-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.4);
}

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

.project-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
}

.project-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-title {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
}

.project-description {
  font-size: 16px;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  background: rgba(0, 0, 0, 0.1);
  color: #000000;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

/* Contact Forms */
.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-form {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-item {
  margin-bottom: 20px;
}

.contact-label {
  font-weight: 600;
  color: #000000;
  margin-bottom: 5px;
  display: block;
}

.contact-value {
  color: #333333;
  font-size: 16px;
}

.contact-value a {
  color: #0066cc;
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-weight: 600;
  color: #000000;
  margin-bottom: 8px;
  display: block;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.9);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Resume Specific */
.resume-container {
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

.resume-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  margin-left: 10px;
}

.resume-link:hover {
  text-decoration: underline;
}

.pdf-container {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pdf-viewer {
  width: 100%;
  height: 100vh;
  border: none;
  border-radius: 8px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Utilities */
.arrow {
  width: 16px;
  height: 16px;
  margin-left: 4px;
}

.social-section {
  text-align: center;
  margin-top: 60px;
}

.social-title {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
}

/* Media Queries */
@media (max-width: 768px) {
  body {
    padding: 80px 10px 20px;
  }

  .nav-links {
    gap: 6px;
    padding: 6px;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 12px;
  }

  .hero-card {
    padding: 40px 30px;
    margin: 20px;
  }

  .hero-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .button-group {
    flex-direction: column;
    gap: 15px;
  }

  .social-links {
    gap: 15px;
  }

  .page-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .page-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .project-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-content {
    padding: 20px;
  }

  .project-image-container {
    padding: 15px;
    min-height: 200px;
  }

  .contact-content {
    gap: 30px;
  }

  .contact-info,
  .contact-form {
    padding: 20px;
  }

  .pdf-container {
    padding: 15px;
    margin-top: 30px;
  }

  .pdf-viewer {
    height: 600px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 80px 10px 20px;
  }

  .header {
    padding: 15px 10px;
  }

  .nav-links {
    gap: 4px;
    padding: 4px;
  }

  .nav-link {
    font-size: 12px;
    padding: 5px 10px;
  }

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

  .profile-image {
    width: 100px;
    height: 100px;
  }

  .hero-title {
    font-size: 20px;
  }

  .page-title {
    font-size: 28px;
  }

  .project-title {
    font-size: 20px;
  }

  .social-links {
    gap: 15px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .pdf-container {
    padding: 10px;
    margin-top: 20px;
  }

  .pdf-viewer {
    height: 500px;
  }
}
