/* 🌿 Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #2B2726;
  color: #fff;
  scroll-behavior: smooth;
}

/* -------------------- Navbar -------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 9%;
  background: rgba(106, 90, 205, 0.9); /* slateblue glass */
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

/* ---------- Logo ---------- */
.navbar .logo {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
  font-family: "Playfair Display", serif;
}

.navbar .logo span {
  color: #7cf03d;
}

/* logo underline animation */
.navbar .logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7cf03d, transparent);
  transition: width 0.3s ease;
}

.navbar .logo:hover {
  color: #7cf03d;
  letter-spacing: 1.4px;
}

.navbar .logo:hover::after {
  width: 100%;
}

/* ---------- Nav Links ---------- */
.navbar ul {
  display: flex;
  gap: 35px;
  list-style: none;
}

.navbar ul li a {
  font-size: 17px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

/* underline animation */
.navbar ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #7cf03d;
  transition: width 0.3s ease;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #7cf03d;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
  width: 100%;
}

/* ---------- Mobile Menu ---------- */
.menu-toggle {
  display: none;
  font-size: 32px;
  color: #7cf03d;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }

  .navbar ul {
    position: absolute;
    top: 75px;
    right: -100%;
    width: 230px;
    flex-direction: column;
    background: #1f1c1b;
    border-radius: 12px 0 0 12px;
    padding: 20px 25px;
    box-shadow: -2px 2px 15px rgba(0, 0, 0, 0.4);
    transition: right 0.4s ease;
  }

  .navbar ul.show {
    right: 0;
  }

  .navbar ul li {
    margin: 12px 0;
  }

  .navbar ul li a {
    font-size: 18px;
  }
}

/* -------------------- About Section -------------------- */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 9% 60px;
  gap: 60px;
  flex-wrap: wrap;
}

.about-img img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #7cf03d;
  box-shadow: 0 0 20px rgba(124, 240, 61, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img img:hover {
  transform: scale(1.06);
  box-shadow: 0 0 35px rgba(124, 240, 61, 0.6);
}

.about-content {
  max-width: 600px;
}

.about-content h1 {
  font-size: 45px;
  margin-bottom: 20px;
}

.about-content h1 span {
  color: #7cf03d;
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 15px;
}

.about-content .btn {
  display: inline-block;
  padding: 10px 32px;
  background: slateblue;
  border: 2px solid slateblue;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-content .btn:hover {
  background: transparent;
  color: #7cf03d;
  box-shadow: 0 0 12px rgba(124, 240, 61, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .about {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 140px;
  }

  .about-img img {
    width: 240px;
    height: 240px;
  }
}
