/* Import the fonts */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;700&family=Orbitron:wght@700&family=Roboto+Mono:wght@400;700&display=swap');

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

body {
  font-family: 'Exo 2', sans-serif;
  line-height: 1.6;
  background-color: #ECEFF1;
  color: #37474F; 
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ECEFF1;
  border-bottom: 2px solid #37474F;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

main, .portfolio-content {
  padding-top: 5.5rem;
}

.site-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  color: #37474F;
  text-align: center;
}

nav ul.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul.nav-list li a {
  text-decoration: none;
  font-family: 'Roboto Mono', monospace;
  color: #37474F;
  transition: color 0.3s ease;
}

nav ul.nav-list li a:hover,
nav ul.nav-list li a.active {
  color: #536DFE;
}

nav ul.nav-list li a.active {
  font-weight: bold;
}

/* Hero Section */
.hero {
  background: #ECEFF1;
  padding: 2rem 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #37474F;
}

.hero-text h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #37474F;
}

.hero-text p {
  margin-bottom: 1.5rem;
  color: #37474F;
}

.buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-family: 'Roboto Mono', monospace;
  border: 2px solid transparent;
  transition: background-color 0.3s ease, border 0.3s ease;
}

.btn.primary {
  background-color: #37474F;
  color: #ECEFF1;
  
}


.btn.primary:hover {
  background-color: #37474F;
  color: #ECEFF1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.btn.secondary {
  background-color: transparent;
  color: #37474F;
  border: 2px solid #37474F;
}

.btn.secondary:hover {
  background-color: #37474F;
  color: #ECEFF1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Featured Work Section */
.featured-work {
  padding: 2rem;
  background-color: #ECEFF1;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.featured-item {
  background: #ECEFF1;
  border: 2px solid #37474F;
  padding: 1rem;
  flex: 1;
  min-width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.featured-item figure {
  margin: 0;
}

.featured-item img {
  width: 100%;
  height: auto;
  border-bottom: 2px solid #536DFE;
  margin-bottom: 1rem;
}

.featured-item figcaption h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #37474F;
}

.featured-item figcaption p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #37474F;
}

.featured-item figcaption .btn {
  font-family: 'Roboto Mono', monospace;
  background-color: #37474F;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.featured-item figcaption .btn:hover {
  background-color: #37474F;
  color: #ECEFF1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

/* Footer */
footer {
  background-color: #37474F;
  color: #ECEFF1;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid #536DFE;
}

.footer-branding .logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
}

.footer-nav ul.footer-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.footer-nav ul.footer-links li a {
  text-decoration: none;
  font-family: 'Roboto Mono', monospace;
  color: #ECEFF1;
  transition: color 0.3s ease;
}

.footer-nav ul.footer-links li a:hover {
  color: #00E5FF;
}

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

.social-icon img {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  transition: transform 0.3s ease;
}

.social-icon:hover img {
  transform: scale(1.1);
}

footer .copyright {
  text-align: center;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  background-color: #37474F;
}

/* Job Title Animation */
.p-job-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #536DFE; 
}

#role-text {
  position: relative;
  color: #536DFE; 
  transition: opacity 0.5s ease-in-out;
  display: inline-block;
}

#role-text::after {
  content: '|';
  position: absolute;
  right: -8px;
  animation: blink 1s infinite;
  color: #536DFE; 
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-container {
    flex-wrap: wrap;
    text-align: center;
  }
  
  .hero-image, .hero-text {
    flex: 1 1 100%;
  }
  
  .featured-work {
    flex-direction: column;
    align-items: center;
  }
}