* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid red;
  z-index: 100;
}

.logo {
  font-size: 1.6rem;
  color: red;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: red;
}

/* Home */
.home-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #000;
  padding: 0 20px;
}

.home-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid red;
  margin-bottom: 25px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.6);
}

.home-content h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.home-content h1 span {
  color: red;
}

.home-content h2 {
  font-size: 1.3rem;
  color: #aaa;
  margin-bottom: 25px;
}

.btn {
  padding: 10px 20px;
  background: red;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.btn:hover {
  background: #ff4040;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* About */
.about-section {
  padding: 100px 50px;
  background: #111;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.about-photo img {
  width: 250px;
  border-radius: 10px;
  border: 2px solid red;
}

.about-text {
  max-width: 700px;
}

.about-text h2 {
  color: red;
  margin-bottom: 15px;
  font-size: 2rem;
}

.about-text p {
  margin-bottom: 20px;
  color: #ccc;
  line-height: 1.8;
  font-size: 1.15rem;
}

.tabs {
  margin: 20px 0;
}

.tab {
  background: transparent;
  border: 1px solid red;
  color: red;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
  font-weight: 600;
}

.tab.active {
  background: red;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.show {
  display: block;
}

.tab-content ul li {
  margin-bottom: 10px;
  color: #bbb;
  font-size: 1rem;
}

/* Portfolio */
.portfolio-section {
  padding: 100px 50px;
  background: #000;
}

.portfolio-section h2 {
  color: red;
  margin-bottom: 25px;
  font-size: 2rem;
  text-align: center;
}

.portfolio-section p {
  margin-bottom: 20px;
  color: #ccc;
  line-height: 1.8;
  font-size: 1.15rem;
  text-align: justify;
}

/* Contact */
.contact-section {
  padding: 100px 50px;
  background: #111;
  text-align: center;
}

.contact-section h2 {
  color: red;
  margin-bottom: 30px;
  font-size: 2rem;
}

.contact-info {
  margin-bottom: 45px;
  font-size: 1.1rem;
  line-height: 1.9;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
}

.contact-info a:hover {
  color: red;
}

.cv-button {
  margin-top: 25px; /* increased spacing to avoid overlap */
}

form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  background: #000;
  border: 1px solid red;
  color: #fff;
  padding: 12px;
  border-radius: 5px;
  font-size: 1rem;
}

footer {
  padding: 20px;
  background: #000;
  text-align: center;
  color: #aaa;
  border-top: 1px solid red;
  font-size: 0.95rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 25px;
  }

  .home-content h1 {
    font-size: 2rem;
  }

  .about-text p,
  .portfolio-section p {
    font-size: 1rem;
  }

  .about-text h2,
  .portfolio-section h2 {
    font-size: 1.6rem;
  }
}
