/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #0d1117;
  color: #e6edf3;
}

/* Header & Nav */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: sticky;
  top: 0;
  background-color: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}
.logo span { color: #58a6ff; }

.navbar ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar a {
  color: #c9d1d9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #58a6ff;
}

/* Hero Section */
.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.9)), 
              url('https://picsum.photos/1600/900?random=10') center/cover no-repeat;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.75rem;
  background-color: #238636;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #2ea043;
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 5%;
  text-align: center;
}

.filter-buttons {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.filter-btn {
  background: #161b22;
  color: #c9d1d9;
  border: 1px solid #30363d;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: #58a6ff;
  color: #0d1117;
  border-color: #58a6ff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* About & Contact */
.about-section, .contact-section {
  padding: 5rem 5%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form input, .contact-form textarea {
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #30363d;
  background-color: #161b22;
  color: #e6edf3;
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #21262d;
  color: #8b949e;
}
/* Lightbox Styles */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  text-align: center;
  max-width: 85vw;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 4px;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #e6edf3;
  font-size: 1.1rem;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}