/* ========== Global Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #0d0d0d; /* Dark charcoal */
  color: #e4e4e4;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Links */
a {
  text-decoration: none;
  color: #00ffe0; /* Neon cyan */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
  color: #ff0080;
  text-shadow: 0 0 8px #ff0080;
}

/* ====== Header ====== */
header {
  background: linear-gradient(135deg, #1a1a1a, #121212);
  color: #fff;
  padding: 20px 0;
  border-bottom: 2px solid #00ffe0;
  box-shadow: 0 2px 10px rgba(0, 255, 224, 0.2);
}

header .container {
  display: flex;
  justify-content: space-between; /* name on left, nav on right */
  align-items: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 5px;
  color: #00ffe0;
  text-shadow: 0 0 8px rgba(0, 255, 224, 0.7);
}

header .title {
  font-size: 1.5rem;
  color: #bbb;
}

/* Put name + title together in a block */
header .branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

header nav a {
  margin: 0 15px;
  color: #fff;
  font-weight: 600;
  position: relative;
}

/* ========== Sections ========== */
section {
  padding: 10px 0;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 25px;
  border-left: 6px solid #ff0080;
  padding-left: 12px;
  color: #00ffe0;
  text-shadow: 0 0 6px rgba(0, 255, 224, 0.6);
}

/* About */
#about p {
  max-width: 800px;
  line-height: 1.8;
  color: #ccc;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 25px;
}

.project-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 12px rgba(0, 255, 224, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 255, 224, 0.2);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 18px rgba(255, 0, 128, 0.6);
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: #ff0080;
  text-shadow: 0 0 6px rgba(255, 0, 128, 0.6);
}

.project-card p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #bbb;
}

.project-card a {
  display: inline-block;
  padding: 10px 18px;
  background: linear-gradient(135deg, #00ffe0, #ff0080);
  color: #fff;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 255, 224, 0.6),
              0 0 12px rgba(255, 0, 128, 0.6);
}

/* Skills */
.skills-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.skills-list li {
  background: #121212;
  padding: 14px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 255, 224, 0.15);
  font-weight: 500;
  color: #e4e4e4;
  border: 1px solid rgba(255, 0, 128, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.5);
  color: #ff0080;
}

/* Contact */
form {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

form label {
  font-weight: bold;
  color: #00ffe0;
}

form input,
form textarea {
  padding: 12px;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 1rem;
  background: #1a1a1a;
  color: #e4e4e4;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

form input:focus,
form textarea:focus {
  border: 1px solid #00ffe0;
  box-shadow: 0 0 10px rgba(0, 255, 224, 0.4);
}

form button {
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #00ffe0, #ff0080);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 224, 0.5),
              0 0 15px rgba(255, 0, 128, 0.5);
}

.hidden {
  display: none;
  color: #00ffe0;
  margin-top: 10px;
  font-weight: bold;
}

/* Footer */
footer {
  text-align: center;
  padding: 18px;
  background: linear-gradient(135deg, #121212, #1a1a1a);
  color: #888;
  margin-top: 40px;
  border-top: 2px solid #ff0080;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.7rem;
  }

  header nav a {
    margin: 0 8px;
    font-size: 0.9rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}
