*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: #000000;
  min-height: 100vh;
  padding-top: 80px;
}

/* Link Wrapper Styling */
.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card{
  background: rgba(255,255,255,0.1);
  width: 350px;
  height: 250px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); 
  border-radius: 18px;
  padding: 2rem;
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(255,255,255,0.1);
  transition: all .3s ease;
  margin: 20px auto;
}
.card:hover{
  background: rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(255,255,255,0.2);
}

/* PROJECTS SECTION */
.Projects {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
}

.Projects h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: -1px;
  color: #ffffff;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-item {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.1);
  background: rgba(255,255,255,0.2);
}

.project-item h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 22px;
}

.project-item p {
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.project-item img {
  width: 100%;
  border-radius: 8px;
  height: 200px;
  object-fit: cover;
  margin-top: auto;
}

/* CONTACT SECTION */
.contact-section{
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
}
.contact-form{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label{
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.75rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}
.contact-form button {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}

/* NAVIGATION */
.menu-backdrop{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
.menu-backdrop.active{
  opacity: 1;
  visibility: visible;
}
nav{
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 1000;
}
.navbar{
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); 
  border-radius: 18px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
.navbar:hover{
  background: rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(255,255,255,0.2);
}
.logo{
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease;
  letter-spacing: -0.5px;
}
.logo:hover{
  transform: scale(1.05);
}
.nav-links{
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a{
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: -0.2px;
}
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}
.nav-links a:hover::after{
  width: 100%;
}
.nav-links a:hover{
  transform: translateY(-2px);
}
.hamburger{
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 2px;
}
.hamburger span{
  width: 25px;
  height: 2px;
  background: #ffffff;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.active span:nth-child(2){
  opacity: 0;
}
.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(7px, 7px);
}

/* CONTENT/GENERAL */
.content{
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  font-size: large;
  color: #ffffff;
  text-align: center;
}
.content h1{
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight:600;
  letter-spacing: -1px;
}
.content p{
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px){
  .nav-links{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 2rem;
    gap: 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }
  .nav-links.active{
    max-height: 500px;
    opacity: 1;
  }
  .hamburger{
    display: flex;
  }
  .navbar{
    position: relative;
  }
  .content h1{
    font-size: 2rem;
  }
}