/* ================================
   GLOBAL SETTINGS
================================ */

:root {
  --background-color: #141414;
  --surface-color: #1c1c1c;
  --default-color: #d9d9d9;
  --heading-color: #ffffff;
  --accent-color: #ff4d4f;
  --contrast-color: #ffffff;
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--background-color);
  color: var(--default-color);
}

h1, h2, h3, h4 {
  color: var(--heading-color);
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

/* ================================
   HEADER
================================ */

.header {
  background: transparent;
  padding: 20px 0;
  transition: 0.3s;
}

.header h1 {
  font-size: 28px;
  font-weight: 600;
}

.header.scrolled {
  background: rgba(20,20,20,0.9);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Navigation */
.navmenu ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.navmenu a {
  font-weight: 500;
  transition: 0.3s;
}

.navmenu a:hover,
.navmenu .active {
  color: var(--accent-color);
}

.btn-getstarted {
  background: var(--accent-color);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-getstarted:hover {
  background: #e63946;
}

/* ================================
   HERO SECTION
================================ */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  top: 0;
  left: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  font-size: 22px;
  margin-top: 15px;
}

.hero p span {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.hero .social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  font-size: 18px;
}

.hero .social-links a:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-5px);
}

/* ================================
   SECTION TITLE
================================ */

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .subtitle {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
}

.section-title h2 {
  font-size: 36px;
  margin-top: 10px;
}

/* ================================
   ABOUT SECTION
================================ */

.about {
  padding: 80px 0;
}

.profile-card {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
}

.profile-avatar img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--accent-color);
}

.role {
  color: var(--accent-color);
  display: block;
  margin-top: 5px;
}

.profile-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.profile-stats h4 {
  color: var(--accent-color);
  font-size: 22px;
}

.content-wrapper h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.resume-intro .subtitle {
  color: var(--accent-color);
  letter-spacing: 2px;
  font-size: 14px;
}

.resume-intro h2 {
  font-size: 48px;
  margin: 15px 0;
}

.resume-intro p {
  max-width: 700px;
  margin: auto;
  color: #aaa;
  line-height: 1.7;
}

/* ================================
   RESUME TIMELINE
================================ */

.resume {
  padding: 100px 0;
}

.timeline {
  position: relative;
  margin-top: 50px;
}

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

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

.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-content {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 12px;
  position: relative;
  transition: 0.3s;
}

.timeline-content:hover {
  transform: translateY(-5px);
  border: 1px solid var(--accent-color);
}

.timeline-content .year {
  display: inline-block;
  background: rgba(255,77,79,0.1);
  color: var(--accent-color);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 10px;
}

.timeline-content h4 {
  margin: 10px 0 5px;
  font-size: 20px;
}

.timeline-content p {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}

.timeline-content .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 12px;
  color: #999;
}

/* ================================
   CONTACT SECTION
================================ */

.contact {
  padding: 80px 0;
}

.info-item {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
  transition: 0.3s;
}

.info-item i {
  font-size: 30px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.info-item:hover {
  transform: translateY(-5px);
  border: 1px solid var(--accent-color);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

  .hero h2 {
    font-size: 30px;
  }

  .hero p {
    font-size: 18px;
  }

  .profile-stats {
    flex-direction: column;
    gap: 20px;
  }

}