/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: white;
  background: linear-gradient(270deg, #1c1c1c, #2a2a2a, #1c1c1c);
  background-size: 600% 600%;
  animation: waterflow 20s ease infinite;
  background-attachment: fixed;
  line-height: 1.6;
}

/* Mobile fix: disable fixed background to prevent white box */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

/* Background animation */
@keyframes waterflow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
}

/* Hero Section */
.hero {
  text-align: center;
  margin: 2rem 0;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.tagline {
  font-weight: 600;
  color: #ccc;
  margin-bottom: 1rem;
}

/* Contact Cards */
.cards {
  margin-top: 3rem;
}
.cards h2 {
  margin-bottom: 1rem;
}

.project-list {
  list-style: none;
}

.project-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
  border-color: #ffffff;
}

.project-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.project-desc {
  font-size: 0.9rem;
  color: #aaa;
}

/* Contact Logos */
.contact-logo {
  width: 40px;
  height: 40px;
  margin-right: 18px;
  background: white;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 5px;
}

/* Footer */
.site-footer {
  text-align: center;
  margin-top: 3rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: #ccc;
}

/* Sidebar */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0; left: 0;
  background: rgba(17, 17, 17, 0.4); /* blurred dark */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 1000;
}

.sidebar a {
  padding: 12px 25px;
  text-decoration: none;
  font-size: 18px;
  color: #ccc;
  display: block;
  transition: 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar.open {
  width: 250px;
}

/* Hamburger */
.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px;
  background: white;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}