/* ---- General Reset ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  background: #f4f4f9;
  color: #333;
}

/* ---- HEADER ---- */
header {
  background: linear-gradient(135deg, #334, #222);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.4rem;
  font-style: italic;
  color: #00adb5;
  margin-bottom: 1.5rem;
}

nav {
  margin-top: 1rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 20px 1.5rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;

}

nav a:hover {
  color: #00adb5;
  transition: transform 0.4s;
  transform: translateY(-2px);
}

/* ---- SECTIONS ---- */
section {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: auto;
}

h2 {
  margin-bottom: 2rem;
  color: #00adb5;
  text-align: center;
  font-size: 2rem;
}

/* ---- SKILLS ---- */
#skills ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  list-style: none;
  padding: 0;
}

#skills li {
  margin: 10px 0;
  background: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 1rem;
}

.skills-card:hover {
  transition: transform 0.2s;
  transform: translateY(-10px);
}

/* ---- PROJECTS ---- */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.project-card:hover {
  
  transform: scale(1.03);
  transition: 0.3s ease;
}

.project-card h3 {
  margin-bottom: 0.8rem;
}

.project-links {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.project-links .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #333;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.project-links .btn:hover {
  background-color: #555;
  transform: translateY(-2px);
}

/* ----FORM---- */
.form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form button {
  background: #00adb5;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.form button:hover {
  background: #008c8c;
}

/* ---- FOOTER ---- */
footer {
  background: #333;
  color: #fff;
  padding: 2rem 1rem;
  font-size: 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-contact h3,
.footer-links h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #00adb5;
}

.footer-contact p {
  margin: 0.4rem 0;
  font-size: 1.05rem;
}

.footer-contact a {
  color: white;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
  color: #00adb5;
}

#location {
  font-style: italic;
}
#location:hover {
  color: #00adb5;
}

.fa-solid.fa-location-dot {
  color: white;
}

.footer-links .icons {
  font-size: 1.8rem;
  margin-right: 1rem;
  color: #fff;
  transition: color 0.3s;
}

.footer-links .icons:hover {
  color: #00adb5;
}

.footer-text {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 2rem;
}

 .footer-links {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}


/* ---- RESPONSIVENESS ---- */
@media (max-width: 1024px) {
  header h1 {
    font-size: 2.5rem;
  }
  header p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  nav a {
    display: inline-block;
    margin: 0.5rem;
    font-size: 1rem;
  }

  section {
    padding: 3rem 8%;
  }

  .footer-links {
    justify-content: center;
    flex-direction: column; /* stacked on small screens */
    align-items: center;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
  nav a {
    display: block;
    margin: 0.6rem 0;
  }
  section {
    padding: 2.5rem 6%;
  }
  h2 {
    font-size: 1.6rem;
  }
}
