/* Base Styles */
:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6c757d;
    --background-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
  }
  
  .dark-mode {
    --primary-color: #6d8dff;
    --secondary-color: #adb5bd;
    --background-color: #121212;
    --text-color: #f8f9fa;
    --light-gray: #343a40;
    --dark-gray: #e9ecef;
    --border-color: #495057;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: var(--transition);
  }
  
  a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
  }
  
  a:hover {
    color: var(--secondary-color);
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
  }
  
  .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
  }
  
  .construction-text {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
  }
  
  .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
  }
  
  .btn.primary {
    background-color: var(--primary-color);
    color: white;
  }
  
  .btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }
  
  .btn.small {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
  }
  
  .btn.primary:hover {
    background-color: #3a5bd9;
  }
  
  .btn.secondary:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  .highlight {
    color: var(--primary-color);
  }
  
  /* Header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .nav-links {
    display: flex;
  }
  
  .nav-links li {
    margin-left: 30px;
  }
  
  .nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
  }
  
  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
  }
  
  .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
  }
  
  .theme-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 20px;
  }
  
  .theme-toggle i {
    font-size: 1.2rem;
    transition: var(--transition);
  }
  
  .fa-sun {
    display: none;
    color: #f9d71c;
  }
  
  .fa-moon {
    color: #5e6a81;
  }
  
  .dark-mode .fa-sun {
    display: block;
  }
  
  .dark-mode .fa-moon {
    display: none;
  }
  
  /* Hero Section */
  .hero {
    padding: 150px 0 100px;
    background-color: var(--background-color);
  }
  
  .hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .hero-content {
    flex: 1;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .hero-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
  }
  
  .hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }
  
  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .profile-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--box-shadow);
  }
  
  /* About Section */
  .about {
    padding: 100px 0;
    background-color: var(--light-gray);
  }
  
  .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
  }
  
  .about-image {
    flex: 1;
  }
  
  .about-img {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: var(--box-shadow);
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
  }
  
  .download-cv {
    margin-top: 20px;
  }
  
  /* Skills Section */
  .skills {
    padding: 100px 0;
    background-color: var(--background-color);
  }
  
  .skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
  }
  
  .skill-category {
    flex: 1;
    min-width: 300px;
  }
  
  .skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
  }
  
  .skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .skill-item {
    width: 100%;
  }
  
  .skill-name {
    font-weight: 600;
    margin-bottom: 8px;
  }
  
  .skill-bar {
    height: 10px;
    background-color: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
  }
  
  .skill-level {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 1s ease-in-out;
  }
  
  /* Projects Section */
  .projects {
    padding: 100px 0;
    background-color: var(--light-gray);
  }
  
  .project-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .filter-btn {
    padding: 8px 20px;
    background-color: var(--background-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
  }
  
  .filter-btn.active,
  .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .project-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
  }
  
  .project-card:hover {
    transform: translateY(-10px);
  }
  
  .project-img {
    height: 200px;
    background-color: var(--light-gray);
    background-image: url("/placeholder.svg?height=200&width=300");
    background-size: cover;
    background-position: center;
  }
  
  .project-content {
    padding: 20px;
  }
  
  .project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .project-content p {
    margin-bottom: 15px;
    color: var(--secondary-color);
  }
  
  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
  }
  
  .project-tech span {
    padding: 4px 10px;
    background-color: var(--light-gray);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  .project-links {
    display: flex;
    gap: 10px;
  }
  
  /* Experience Section */
  .experience {
    padding: 100px 0;
    background-color: var(--background-color);
  }
  
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
  }
  
  .timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }
  
  .timeline-date {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    text-align: right;
    padding-right: 30px;
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .timeline-content {
    position: relative;
    left: 55%;
    width: 45%;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
  }
  
  .timeline-content h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
  }
  
  .timeline-content h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
  }
  
  /* Contact Section */
  .contact {
    padding: 100px 0;
    background-color: var(--light-gray);
  }
  
  .contact-content {
    display: flex;
    gap: 50px;
  }
  
  .contact-info {
    flex: 1;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  
  .contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
  }
  
  .contact-item h3 {
    margin-bottom: 5px;
  }
  
  .contact-form {
    flex: 1;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
  }
  
  /* Footer */
  footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 30px 0;
  }
  
  footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
  }
  
  .back-to-top a:hover {
    transform: translateY(-5px);
  }
  
  /* Responsive Styles */
  @media (max-width: 992px) {
    .hero-content h1 {
      font-size: 3rem;
    }
  
    .hero-content h2 {
      font-size: 1.8rem;
    }
  
    .profile-img {
      width: 300px;
      height: 300px;
    }
  
    .about-content {
      flex-direction: column;
    }
  
    .timeline::before {
      left: 30px;
    }
  
    .timeline-dot {
      left: 30px;
    }
  
    .timeline-date {
      position: relative;
      width: 100%;
      text-align: left;
      padding-left: 70px;
      padding-right: 0;
    }
  
    .timeline-content {
      left: 0;
      width: 100%;
      margin-top: 20px;
    }
  
    .contact-content {
      flex-direction: column;
    }
  }
  
  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 80px);
      background-color: var(--background-color);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 30px;
      transition: var(--transition);
      z-index: 999;
    }
  
    .nav-links.active {
      left: 0;
    }
  
    .nav-links li {
      margin-left: 0;
    }
  
    .hamburger {
      display: block;
    }
  
    .hamburger.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
  
    .hamburger.active .bar:nth-child(2) {
      opacity: 0;
    }
  
    .hamburger.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
  
    .hero .container {
      flex-direction: column-reverse;
      text-align: center;
    }
  
    .hero-content {
      margin-top: 50px;
    }
  
    .hero-buttons {
      justify-content: center;
    }
  
    .social-icons {
      justify-content: center;
    }
  
    .section-title {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 576px) {
    .hero-content h1 {
      font-size: 2.5rem;
    }
  
    .hero-content h2 {
      font-size: 1.5rem;
    }
  
    .profile-img {
      width: 250px;
      height: 250px;
    }
  
    .project-filters {
      flex-direction: column;
      align-items: center;
    }
  
    .filter-btn {
      width: 100%;
      max-width: 200px;
    }
  }
  