/* 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;
  -webkit-animation: waterflow 20s ease infinite; /* mobile Safari/Chrome fix */
  background-attachment: fixed; /* ensures motion on desktop */
  line-height: 1.6;
}

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

/* Background animation like water */
@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;
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  background: #0078ff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.cta:hover {
  background: #005fcc;
}

/* Project 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: space-between;
  align-items: center;
  transition: transform 0.3s ease;
}

/* Thin white outline on hover (no glow) */
.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;
}

.status {
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.85rem;
}

/* New Visit Button */
.visit-btn {
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.85rem;
  background: #0078ff;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.visit-btn:hover {
  background: #005fcc;
}

/* About Section */
.about {
  margin-top: 3rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}

/* Thin white outline on hover (no glow) */
.about:hover {
  transform: translateY(-5px);
  border-color: #ffffff;
}

/* 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: #111;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
}

.sidebar a {
  padding: 10px 20px;
  text-decoration: none;
  font-size: 18px;
  color: #ccc;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: white;
}

.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);
}
