/* ========================================
   CSS VARIABLES
======================================== */
:root {
  --pale: #E8D9C4;
  --gold: #785D32;
  --rough: #3E160C;
  --navy: #050A30;
  --gold-light: #A07D4A;
}

/* ========================================
   RESET & BASE STYLES
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--pale);
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ========================================
   ACCENT LINES BACKGROUND
======================================== */
.accent-lines {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0.1;
  z-index: 0;
}

.accent-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 2px;
}

.accent-line-vertical {
  position: absolute;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  width: 2px;
}

/* ========================================
   MAIN CONTAINER
======================================== */
.main-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 10;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background-color: rgba(5, 10, 48, 0.9);
  border-bottom: 1px solid rgba(120, 93, 50, 0.3);
}

.nav-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-image-container {
  width: 60px;
  height: 75px;
  border-radius: 50% / 60%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 20px rgba(120, 93, 50, 0.3);
  position: relative;
  background: var(--rough);
}

.profile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rough), var(--navy));
  color: var(--pale);
  font-size: 2rem;
}

.name-title {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
  color: var(--pale);
  text-decoration: none;
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--gold-light);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
  position: relative;
  padding: 5rem 1.5rem;
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.badge-container {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: white;
  font-weight: 900;
  font-size: 1.5rem;
  padding: 1.5rem 3rem;
  border-radius: 9999px;
  box-shadow: 0 20px 40px rgba(120, 93, 50, 0.4);
  border: 4px solid rgba(232, 217, 196, 0.3);
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.badge-container:hover {
  transform: scale(1.05);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--pale);
  opacity: 0.8;
  max-width: 900px;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS
======================================== */
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(120, 93, 50, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  border: 2px solid var(--gold);
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--gold);
  color: white;
  transform: scale(1.05);
}

/* ========================================
   SECTIONS
======================================== */
.about-section,
.projects-section {
  padding: 5rem 1.5rem;
}

.skills-section {
  padding: 5rem 1.5rem;
  background: rgba(62, 22, 12, 0.1);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 3rem;
  text-align: center;
}

.section-intro {
  font-size: 1.25rem;
  text-align: center;
  color: var(--pale);
  opacity: 0.8;
  max-width: 900px;
  margin: 0 auto 4rem;
}

/* ========================================
   CARDS
======================================== */
.card-dark {
  background: rgba(62, 22, 12, 0.3);
  border: 1px solid rgba(120, 93, 50, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.card-dark:hover {
  background: rgba(62, 22, 12, 0.5);
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(120, 93, 50, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-emoji {
  font-size: 3.5rem;
}

.card-title {
  font-size: 2.5rem;
  font-weight: 900;
}

.card-text {
  font-size: 1.125rem;
  color: var(--pale);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.card-text-large {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.highlight-gold {
  color: var(--gold-light);
  font-weight: 700;
}

.highlight-gold-bold {
  color: var(--gold);
  font-weight: 600;
}

.subsection-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

/* ========================================
   SKILLS GRID
======================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(120, 93, 50, 0.1);
}

.checkmark {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

/* ========================================
   DUAL CARDS
======================================== */
.dual-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.inner-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(120, 93, 50, 0.3);
  background: rgba(120, 93, 50, 0.1);
  transition: all 0.3s ease;
}

.inner-card:hover {
  border-color: var(--gold);
}

.inner-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.inner-card-title-alt {
  color: var(--gold);
}

.inner-card-text {
  color: var(--pale);
  margin-bottom: 1.5rem;
}

.inner-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.inner-card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bullet {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.bullet-alt {
  color: var(--gold);
}

/* ========================================
   TECH SKILLS SECTION
======================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tech-card {
  background: rgba(62, 22, 12, 0.3);
  border: 1px solid rgba(120, 93, 50, 0.3);
  padding: 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.tech-card:hover {
  background: rgba(62, 22, 12, 0.5);
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(120, 93, 50, 0.2);
}

.tech-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.tech-card-title-alt {
  color: var(--gold);
}

.badge-container-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge-tech {
  background: rgba(120, 93, 50, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(120, 93, 50, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.superpowers-card {
  padding: 2rem;
}

.superpowers-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ========================================
   PROJECTS SECTION
======================================== */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  background: rgba(62, 22, 12, 0.3);
  border: 1px solid rgba(120, 93, 50, 0.3);
  padding: 2.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.project-card:hover {
  background: rgba(62, 22, 12, 0.5);
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(120, 93, 50, 0.2);
}

.project-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-description {
  font-size: 1.125rem;
  color: var(--pale);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.project-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
  padding: 5rem 1.5rem;
}

.contact-container {
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
}

.contact-subtitle {
  font-size: 1.5rem;
  color: var(--pale);
  opacity: 0.8;
  margin-bottom: 3rem;
}

.contact-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(120, 93, 50, 0.3);
}

.footer p {
  color: var(--pale);
  opacity: 0.6;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .badge-container {
    font-size: 1.25rem;
    padding: 1rem 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .card-dark {
    padding: 1.5rem;
  }
  
  .card-emoji {
    font-size: 2.5rem;
  }
  
  .card-title {
    font-size: 1.75rem;
  }
  
  .profile-image-container {
    width: 50px;
    height: 62px;
  }
  
  .name-title {
    font-size: 1.25rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .dual-cards {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
}