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

:root {
  --bg-color: #0d0f12;
  --text-main: #f5f6f8;
  --text-muted: #a0a5b1;
  --accent: #d4af37;
  --accent-hover: #e8c547;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --card-bg: #14161a;
  --gradient-text: linear-gradient(90deg, #d4af37 0%, #f3e5ab 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

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

/* Glass Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(13, 15, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10%;
  background: url('images/hero_architecture_1772086075350.png') no-repeat center center/cover;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(13, 15, 18, 0.9) 0%, rgba(13, 15, 18, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 1rem;
  margin-bottom: 15px;
  display: block;
  animation: fadeUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
  animation: fadeUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  animation: fadeUp 1s ease 0.6s forwards;
  opacity: 0;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeUp 1s ease 0.8s forwards;
  opacity: 0;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg-color);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Sections Common */
section {
  padding: 120px 10%;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.project-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(13, 15, 18, 1) 0%, rgba(13, 15, 18, 0) 100%);
  transform: translateY(20px);
  opacity: 0.9;
  transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
  opacity: 1;
}

.project-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.project-info {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
}

.project-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

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

.tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--text-main);
  backdrop-filter: blur(4px);
}

/* Experience Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: var(--glass-border);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 50px;
}

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.timeline-content {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(10px);
  border-color: rgba(212, 175, 55, 0.3);
}

.timeline-date {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

.timeline-title {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.timeline-company {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.timeline-content ul {
  list-style-position: inside;
  color: var(--text-muted);
}

.timeline-content li {
  margin-bottom: 10px;
}

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.skill-category {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.skill-category h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 15px;
}

.skill-list {
  list-style: none;
}

.skill-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.skill-list li::before {
  content: '→';
  color: var(--accent);
}

/* Education & Certs */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.edu-card {
  background: var(--glass-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.edu-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.2);
}

.edu-card h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.edu-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.edu-date {
  color: var(--accent);
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

/* Footer / Contact */
footer {
  background: #090a0c;
  padding: 80px 10% 40px;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-info {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-item i {
  color: var(--accent);
  font-size: 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }

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

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

  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .nav-links {
    display: none;
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

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

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

  section {
    padding: 80px 5%;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-dot {
    left: -6px;
  }

  .timeline-item {
    padding-left: 30px;
  }
}