/* Portfolio styles */

/* Colors used:
   background  #0f172a  (dark slate)
   cards       #1e293b  (lighter slate)
   text        #f1f5f9  (off-white)
   muted text  #94a3b8  (gray)
   accent      #38b2ac  (teal)
   borders     #334155  (slate gray) */

/* General */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #f1f5f9;
  background: #0f172a;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #38b2ac;
  text-decoration: none;
}

figure {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.section-title {
  font-size: 44px;
  margin: 0 0 32px;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 64px;
  background: #0f172a;
  border-bottom: 1px solid #334155;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 32px;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #f1f5f9;
}

.logo:hover {
  color: #38b2ac;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 18px;
  color: #94a3b8;
}

.nav-link:hover {
  color: #38b2ac;
}

/* About */
/* About Section Extensions */
.about-intro {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 16px 0;
  color: #f1f5f9;
}

.about-heading {
  font-size: 18px;
  color: #94a3b8;
  margin: 0 0 12px 0;
}

.about-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
  font-size: 18px;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-list strong {
  color: #f1f5f9;
}

.about-closing {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: #f1f5f9;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 64px;
}

.about-media {
  flex-shrink: 0;  
}

.about-image {
  width: 380px;
  height: 460px;
  object-fit: cover;
  max-width: none; 
  border-radius: 12px;
  background: #1e293b;
}

.about-text {
  min-width: 0;   
}

.about-expertise {
  font-size: 30px;
  margin: 0;
}

/* Tech Stack */
.tech-stack {
  background: #1e293b;
}

.stack-groups {
  display: flex;
  gap: 64px;
}

.stack-group {
  flex: 1;
}

.stack-group-title {
  margin: 0 0 24px;
  font-size: 26px;
  color: #94a3b8;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 150px;
  padding: 24px 12px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  transition: 0.2s;
}

.stack-item:hover {
  transform: translateY(-4px);
  border-color: #38b2ac;
}

.stack-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}


.stack-icon {
  font-size: 72px;
  line-height: 1;
  color: #ffffff;
}


.stack-icon.colored {
  color: #ffffff;
}

.stack-svg {
  width: 72px;
  height: 72px;
}

.stack-logo {
  filter: brightness(0) invert(1);
}

.stack-name {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

/* Projects */
.projects {
  min-height: 0;
  padding: 40px 0 16px;
}

.projects + .projects {
  padding: 16px 0;
}

.project {
  display: flex;
  gap: 48px;
  padding: 40px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  transition: 0.2s;
}

.project:hover {
  border-color: #38b2ac;
}

.project-media,
.project-body {
  flex: 1;
  min-width: 0; 
}

.project-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  background: #0f172a;
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-details {
  display: flex;
  gap: 32px;
}

.project-detail {
  flex: 1;
}

.project-title {
  margin: 0;
  font-size: 38px;
}

.project-description,
.project-role {
  margin: 0;
  font-size: 20px;
}

.project-meta {
  margin: 0 0 16px;
  font-size: 18px;
  color: #38b2ac;
}

.project-subtitle {
  margin: 16px 0 8px;
  font-size: 18px;
  color: #94a3b8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 16px;
  border: 1px solid #38b2ac;
  border-radius: 20px;
  color: #38b2ac;
  font-size: 16px;
}

/* Certifications */
.certifications {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.cert-list {
  display: flex;
  gap: 32px;
}

.cert-card {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  transition: 0.2s;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: #38b2ac;
}

.cert-image {
  width: 100%;
  aspect-ratio: 10 / 7;
  height: auto;
  object-fit: cover;
  background: #0f172a;
}

.cert-body {
  padding: 24px;
}

.cert-title {
  margin: 0 0 6px;
  font-size: 26px;
}

.cert-issuer {
  margin: 0;
  font-size: 20px;
  color: #38b2ac;
}

.cert-date {
  margin: 6px 0 0;
  color: #94a3b8;
  font-size: 16px;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid #334155;
  color: #94a3b8;
}

.footer-inner {
  display: flex;
  justify-content: center;
}

.social-list {
  display: flex;
  gap: 40px;
}

.social-link {
  font-size: 20px;
  color: #94a3b8;
  font-weight: bold;
}

.social-link:hover {
  color: #38b2ac;
}

.logo::before {
  content: "● ";
  color: #38b2ac;
}

.site-header {
  box-shadow: 0 4px 20px rgba(56, 178, 172, 0.08);
}

.section-title::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 420px;
  height: 14px;
  margin-top: 12px;
  background:
    linear-gradient(#38b2ac, #38b2ac) 0 0 / 250px 4px no-repeat,
    linear-gradient(#334155, #334155) 0 10px / 500px 2px no-repeat;
}

.about,
.projects {
  background-image: radial-gradient(#1e293b 1px, transparent 1px);
  background-size: 24px 24px;
}

.tech-stack {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.tech-stack::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(56, 178, 172, 0.08);
}

.tech-stack .container {
  position: relative;
}

.about-image {
  border: 4px solid #38b2ac;
  box-shadow: 0 0 30px rgba(56, 178, 172, 0.25);
}

.stack-item,
.project,
.cert-card {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.project {
  border-left: 4px solid #38b2ac;
}

.stack-item:hover,
.project:hover,
.cert-card:hover {
  box-shadow: 0 0 20px rgba(56, 178, 172, 0.2);
}

.tag {
  background: rgba(56, 178, 172, 0.08);
}

.nav-link.active {
  color: #38b2ac;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
