/* style.css - Modern Minimalist Portfolio */

:root {
  --primary-color: #00bcd4; /* modern cyan */
  --bg-color: #121212;     /* deep dark bg */
  --card-bg: rgba(255, 255, 255, 0.05); /* glass effect */
  --text-color: #e0e0e0;   /* soft white text */
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition: all 0.3s ease;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

nav h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--primary-color);
}

main {
  flex-grow: 1;
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

section {
  margin-bottom: 3rem;
  width: 100%;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #b0b0b0;
}

/* Image styles - keeping your size */
main > section > img {
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Projects Section - adding spacing */
#projects img {
  border-radius: 10px;
  transition: var(--transition);
  filter: grayscale(80%); /* stylistic choice */
}

#projects img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

#contact h2 {
  color: #fff;
}

/* Form Styling - unique part */
form {
  max-width: 500px;
  width: 100%;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 1rem;
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}

button {
  padding: 1rem;
  background-color: var(--primary-color);
  color: #000; /* dark text on light bg */
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  background-color: #00e5ff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.5);
}

/* Footer Section */
footer {
  background-color: var(--card-bg);
  padding: 1.5rem 0;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
  text-decoration: none;
  color: var(--text-color);
  margin: 0 0.8rem;
  font-weight: 500;
  transition: var(--transition);
}

footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }
  nav ul {
    margin-top: 1rem;
  }
  nav ul li {
    margin: 0 0.8rem;
  }
  h2 {
    font-size: 2rem;
  }
}
 
