/* ----------------------------------- */
/* الإعدادات العامة والخلفية */
/* ----------------------------------- */
:root {
  --main-color: #00ffff;
  --text-color: #e0e0e0;
  --dark-bg: #101014;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-color);
  font-family: 'Arial', sans-serif;
  overflow-x: hidden;
}

/* تأثير التوهج المائي (الخلفية) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 15%, rgba(0, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 25% 85%, rgba(138, 43, 226, 0.15) 0%, transparent 45%);
  pointer-events: none;
  z-index: -1;
  filter: blur(100px);
}

/* About Me Section */
.aboutme-section {
  padding-top: 100px !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  margin-top: 0 !important;
  position: relative;
  z-index: 1;
}

/* Main Title - BIOGRAPHY */
.main-title {
  font-size: 6vw;
  font-weight: 900;
  color: rgba(0, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Header Section */
.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.underline {
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, var(--main-color), transparent);
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: #b0b0b0;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Profile Section */
.profile-section {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

/* Profile Image Container */
.profile-image-container {
  position: relative;
}

.profile-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  opacity: 0.92;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.4s ease;
  filter: brightness(0.95);
}

.profile-image:hover {
  transform: translateY(-10px);
  opacity: 1;
  filter: brightness(1.05);
  box-shadow: 0 20px 50px rgba(0, 255, 255, 0.5);
}

/* Profile Content */
.profile-content {
  background: rgba(20, 20, 28, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.profile-content:hover {
  border-color: var(--main-color);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.content-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.profile-description {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #b0b0b0;
}

/* Skills Container */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.skill-tag {
  background: rgba(0, 255, 255, 0.1);
  color: var(--main-color);
  border: 1px solid rgba(0, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-tag i {
  font-size: 1.1rem;
}

.skill-tag:hover {
  background: var(--main-color);
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-download {
  background: var(--main-color);
  color: var(--dark-bg);
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background: rgba(0, 255, 255, 0.9);
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.6);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--main-color);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--main-color);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
}

/* Footer */
.footer-line {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem !important;
  padding-top: 1.5rem !important;
}

.footer-line::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: var(--main-color);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--main-color);
}

.portfolio-year {
  color: var(--text-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .profile-section {
    grid-template-columns: 300px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 10vw;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .profile-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-image-container {
    max-width: 350px;
    margin: 0 auto;
  }

  .profile-content {
    padding: 1.5rem;
  }

  .content-title {
    font-size: 1.3rem;
  }

  .action-buttons {
    flex-direction: column;
  }

  .footer-line {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .profile-content {
    padding: 1.2rem;
  }

  .skills-container {
    gap: 0.5rem;
  }

  .skill-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}