@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900&display=swap');

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

body {
  font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: bold;
}

p {
  color: #ffffff;
  font-weight: bold;
}

/* Home section specific styles */
#home h2 {
  color: #ffffff;
}

#home p {
  color: #ffffff;
}


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

/* Header */
.header {
  text-align: center;
  padding: 60px 0;
  color: white;
}

.logo-container {
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.name {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.subtitle {
  font-size: 1.3em;
  opacity: 0.9;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
  color: white;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.nav-btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover, 
.nav-btn.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 40px;
  margin: 20px 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: slideInUp 0.8s ease 1s forwards;
}

.section {
  display: none;
}

.section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Homepage specific */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.home-card {
  background: linear-gradient(135deg, #e11d48 0%, #ec4899 100%);
  padding: 30px;
  border-radius: 4px;
  color: white;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.home-card:hover {
  transform: translateY(-5px);
}

.home-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.project-card {
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  border: 2px solid #000000;
  position: relative;
}



.project-card.featured {
  border: 3px solid #ffd700;
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.project-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
}

.project-banner.featured {
  background: linear-gradient(135deg, #ffd700, #f39c12);
  color: #333;
}

.project-banner.proprietary {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
}

.projects-separator {
  margin: 40px 0;
  text-align: center;
  position: relative;
}

.projects-separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #000000, transparent);
}

.projects-separator span {
  background: transparent;
  padding: 0 20px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 1px;
}

.project-image {
  width: 100%;
  height: 200px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  margin-top: 35px; /* Space for banner */
}

.project-image.no-banner {
  margin-top: 0;
}

.project-content {
  padding: 25px;
}

/* Add top padding for proprietary projects without images */
.project-card.proprietary .project-content {
  padding-top: 60px;
}

.project-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #f1f5f9;
}

.project-description {
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.5;
}

.project-section {
  margin-bottom: 20px;
}

.section-label {
  font-size: 0.9em;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-list {
  color: #94a3b8;
  line-height: 1.6;
  padding: 20px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 6px;
  border-left: 4px solid #667eea;
  margin: 10px 0;
  list-style-position: inside;
}

.project-list li {
  margin-bottom: 8px;
}

.tag {
  padding: 5px 12px;
  background: #374151;
  border-radius: 4px;
  font-size: 0.85em;
  color: #d1d5db;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag.tech {
  background: #3b82f6;
  color: white;
  position: relative;
  border: none;
  transform: rotate(45deg);
  padding: 8px;
  font-weight: 500;
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px;
}

.tag.tech span {
  transform: rotate(-45deg);
  text-align: center;
  font-size: 0.75em;
  line-height: 1.2;
}

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

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(45deg, #e11d48, #ec4899);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-link:hover {
  transform: translateY(-2px) scale(1.05);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.contact-card {
  background: #1e293b;
  padding: 25px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  border: 2px solid #000000;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.contact-card h3 {
  color: #f1f5f9;
  margin-bottom: 15px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(45deg, #e11d48, #ec4899);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: 10px;
  width: 100%;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.contact-link:hover {
  transform: translateY(-3px) scale(1.05);
}


/* 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 fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .name {
    font-size: 2.5em;
  }

  .nav {
    gap: 15px;
  }

  .nav-btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .content {
    padding: 25px;
  }

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

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

@media (max-width: 480px) {
  .name {
    font-size: 2em;
  }

  .subtitle {
    font-size: 1.1em;
  }

  .content {
    padding: 20px;
  }

  .project-content {
    padding: 20px;
  }
}