@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Portfolio Styles - Pure HTML/CSS Version */

:root {
  /* Portfolio color palette */
  --teal-50: #c0eeef;
  --teal-100: #a2dcde;
  --teal-200: #85c9cc;
  --teal-300: #67b7bb;
  --teal-400: #49a5a9;
  --teal-500: #2c9298;
  --teal-600: #0e8086;
  --accent-orange: #da7756;
  --cv-black: #464a4e;

  --background: #ffffff;
  --foreground: #1a1a1a;
  --border: rgba(14, 128, 134, 0.2);
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}
.text-gray-600 {
  color: #6b7280;
}
.text-gray-700 {
  color: #374151;
}
.text-gray-800 {
  color: #1f2937;
}
.text-white {
  color: white;
}

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}

.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-16 {
  margin-top: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}

.shadow-md {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.shadow-lg {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.shadow-xl {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}

.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-l-2 {
  border-left-width: 2px;
}

.transition-all {
  transition: all 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.05);
}
.hover-opacity:hover {
  opacity: 0.9;
}

.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}

.leading-relaxed {
  line-height: 1.75;
}

.overflow-hidden {
  overflow: hidden;
}
.object-cover {
  object-fit: cover;
}

.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.sticky {
  position: sticky;
}
.top-0 {
  top: 0;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-50 {
  z-index: 50;
}

.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Navigation */
nav {
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 3rem;
  width: 3rem;
}

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-600);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.3s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-link.active {
  color: var(--teal-600);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-orange);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  padding-bottom: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  margin-bottom: 0.25rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu a.active {
  background-color: var(--teal-50);
  color: var(--teal-600);
  font-weight: 600;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.btn-primary {
  background-color: var(--teal-600);
  color: white;
}

.btn-accent {
  background-color: var(--accent-orange);
  color: white;
}

.btn-outline {
  border: 2px solid var(--teal-600);
  color: var(--teal-600);
  background: transparent;
}

/* Card Styles */
.card {
  border: 2px solid var(--teal-200);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--teal-100);
  margin-bottom: 1rem;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 0.5rem;
  background-color: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.5s ease;
}

/* Project Card */
.project-card {
  border: 2px solid var(--teal-200);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.project-card.featured {
  border-color: var(--accent-orange);
}

.project-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  border: 0.5px solid;
}

.badge.sm {
  font-size: 11px;
  padding: 3px 10px;
  border: 0.5px solid;
}

.badge.link {
  background: var(--teal-600);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  hover {
    cursor: pointer;
  }
}

.badge.teal {
  background: var(--teal-50);
  border-color: var(--teal-200);
}

.badge.orange {
  border: 0.5px solid #e6a08c;
  background: #f8e1d9;
}

.badge.purple {
  border: 0.5px solid #b39ddb;
  background: #ede7f6;
}

.badge.blue {
  background: #e6f1fb;
  border: 0.5px solid;
  border-color: #85b7eb;
}

.badge-primary {
  background-color: var(--teal-100);
  color: var(--teal-600);
}

.badge-accent {
  background-color: var(--accent-orange);
  color: white;
}

.badge-featured {
  background-color: var(--teal-600);
  color: white;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  border: 1px solid var(--teal-300);
  color: var(--teal-600);
  margin: 0.25rem;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .grid-md-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-md-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  h3 {
    font-size: 1.875rem;
  }

  .flex-md-row {
    flex-direction: row;
  }

  .project-image {
    height: auto;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
}

/* Space utilities */
.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}
.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Profile Image */
.profile-image {
  width: 16rem;
  height: 16rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .profile-image {
    width: 20rem;
    height: 20rem;
  }
}

/* Hobby Cards */
.hobby-card {
  border: 2px solid var(--teal-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.hobby-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hobby-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--teal-100);
  margin: 0 auto 1rem;
}

/* CV Specific Styles */
.cv-header {
  background-color: var(--teal-600);
  color: white;
  padding: 2rem;
}

.cv-section {
  padding: 2rem;
  border-bottom: 2px solid var(--teal-100);
}

.timeline-item {
  padding-left: 1.5rem;
  border-left: 2px solid var(--teal-300);
}

/* Icon placeholders - we'll use simple colored circles/shapes */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  flex-shrink: 0;
}

.icon-sm {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-md {
  width: 1.75rem;
  height: 1.75rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

/* Flexbox utilities for better alignment */
.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-wrap {
  flex-wrap: wrap;
}
