@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  background-color: #000;
  color: #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

.container {
  width: 90%;
  margin: 0 auto;
  padding: 4rem 0;
}

/* Navigation */
header {
  background: #000;
  padding: 0.25rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #ccc;
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #fff;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
}

/* Filters */
.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filters button {
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 1px solid #666;
  color: #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filters button.active, 
.filters button:hover {
  background: #666;
  color: #fff;
}

/* Portfolio Grid */
.portfolio-grid {
  column-count: 3;
  column-gap: 2rem;
}

.portfolio-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 2rem;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: all 0.4s ease;
  box-shadow: 0 0 0px rgba(255, 192, 203, 0.6);
}

.portfolio-item:hover img {
  opacity: 0.8;
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255, 192, 203, 0.8);
}

/* Sections */
section {
  margin-top: 5rem;
}

p {
  font-size: 1rem;
  color: #aaa;
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* About Typography Hierarchy */
.about-group {
  margin-bottom: 3rem;
}

.about-group h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}

.about-group p {
  font-size: 1rem;
  color: #aaa;
  text-align: center;
  line-height: 1.8;
}

/* Footer */
footer {
  background: #000;
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 6rem;
  width: 100%;
}

footer p {
  font-size: 0.8rem;
  color: #666;
  margin: 0 auto;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

/* Fade-in Sections */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}
