@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
  --color-bg: #1c1c1c;
  --color-text: #ffffff;
  --color-primary: #00ffff;
  --color-secondary: #9500ff;
  --font-sans: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
header {
  background-color: rgba(28, 28, 28, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

/* Main content styles */
main {
  padding-top: 100px;
}

.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: calc(100vh - 100px);
}

.home-content {
  flex: 1;
}

h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: var(--color-primary);
}

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

.highlight {
  color: var(--color-secondary);
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 24px;
  background-color: var(--color-primary);
  margin-left: 5px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

p {
  margin-bottom: 30px;
  font-size: 16px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--color-primary);
}

.btn:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.home-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-img img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

/* CV Section Styles */
.cv-section {
  margin-top: 80px;
  padding: 60px 0;
  text-align: center;
  border-top: 2px solid rgba(0, 255, 255, 0.2);
}

.cv-title {
  font-size: 36px;
  color: var(--color-primary);
  margin-bottom: 40px;
}

.cv-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.cv-page {
  text-align: center;
}

.cv-img {
  max-width: 100%;
  height: auto;
  border: 3px solid var(--color-primary);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.cv-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
  border-color: var(--color-secondary);
}

.cv-label {
  margin-top: 15px;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 18px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .home {
    flex-direction: column-reverse;
    text-align: center;
  }

  .home-img {
    margin-bottom: 30px;
  }

  .home-img img {
    max-width: 250px;
  }

  .cv-section {
    margin-top: 40px;
    padding: 40px 0;
  }

  .cv-title {
    font-size: 28px;
  }

  .cv-images {
    gap: 20px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    padding: 20px 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: var(--color-primary);
    height: 2px;
    width: 2em;
    border-radius: 2px;
    position: relative;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    position: absolute;
  }

  .nav-toggle-label span::before {
    bottom: 7px;
  }

  .nav-toggle-label span::after {
    top: 7px;
  }

  .nav-toggle:checked ~ ul {
    display: flex;
  }
}

/* Footer styles */
footer {
  background-color: rgba(28, 28, 28, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 50px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text);
}

footer p:last-child {
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer p:first-child {
    margin-bottom: 10px;
  }
}
