/* ================== GLOBAL ================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000000;
  color: white;
}

/* ================== NAVBAR ================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(13, 13, 13, 0.9);
  padding: 1rem 2rem;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.3rem;
}

.logo span {
  color: #fb4305;
}

nav a {
  color: white;
  margin: 0 0.8rem;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: #fb4305; 
}

.contact-btn {
  background: #ff3300;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
}

/* ================== SECTIONS (General) ================== */
.section {
  min-height: 100vh;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#about,
#skills,
#contact {
  display: flex;
  padding-top: 100px;
  padding-bottom: 100px;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

/* ================== HOME ================== */
.home-section {
  flex-direction: row;
  justify-content: space-between;
  padding-top: 8rem;
  gap: 2rem;
}

.home-text {
  max-width: 500px;
}

.home-text h1 {
  font-size: 2.5rem;
  margin: 0;
}

.name {
  color: #fb0905;
}

.highlight {
  color: red;
}

/* Fade-in animation for subtitle */
.fade-in-text {
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
  animation-delay: 0.5s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.home-image {
  position: relative;
  width: 300px;
  height: 300px;
}

.circle-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  border-radius: 100%;
  background: red;
  filter: blur(80px);
  z-index: 0;
}

.home-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 50%;
}

/* Social icons */
.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  margin: 0 0.5rem;
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: rgba(245, 4, 4, 0.639);
}

/* ================== ABOUT ================== */
.about-section {
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
  color: #f8f9fa;
}

.about-card {
  background: linear-gradient(135deg, #3f3d3d 0%, #363434 100%);
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(38, 38, 38, 0.05);
}

.about-img {
  max-width: 70%;
  border: 4px solid rgba(245, 4, 4, 0.639);
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.about-img:hover {
  transform: scale(1.03);
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e0e0e0;
}

/* ================== SKILLS ================== */
.skills-section {
  background-color: #000000;
}

.skill-card {
  background: rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(9, 9, 9, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid #fb0905;
  box-shadow: 
    0 12px 24px rgba(234, 32, 5, 0.916), 
    0 0 20px rgba(238, 87, 6, 0.918) inset;
}

.skill-card h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.text-purple {
  color: rgba(245, 4, 4, 0.639);
}

/* ================== CONTACT ================== */
.contact-section {
  text-align: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #000000;
  color: white;
}

.contact-section h2 {
  font-size: 1.8em;
  color: rgba(245, 4, 4, 0.639);
  margin-bottom: 10px;
}

.contact-section .subtext {
  font-weight: bold;
  color: #ddd;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-item {
  text-align: center;
  max-width: 200px;
}

.contact-item i {
  font-size: 40px;
  color: rgba(245, 4, 4, 0.639);
  margin-bottom: 10px;
}

.contact-item h4 {
  margin-bottom: 5px;
  font-size: 1.1em;
}

.contact-item p {
  font-size: 0.9em;
}

.contact-item a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: rgba(245, 4, 4, 0.639);
}
