:root {
  --bg: #0b0d12;
  --card: rgba(255,255,255,0.04);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #ff4d6d;
  --glow: 0 0 30px rgba(255,77,109,0.25);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: radial-gradient(circle at 20% 20%, #121827, #0b0d12) no-repeat center center fixed;
  background-size: cover;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
}

/* ================= NAVIGATION ================= */

nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  display: flex;
  gap: 1.4rem;
  z-index: 100;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

nav a:hover { color: var(--text); }

/* ================= LAYOUT ================= */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
}

section {
  background: var(--card);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 3rem;
  margin-bottom: 2.5rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h2 {
  margin: 0 0 1.2rem;
  font-size: 2rem;
}

/* ================= GRID ================= */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.photo-item {
  overflow: hidden;
  border-radius: 14px;
}

.photo-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.06);
  box-shadow: 0 15px 40px rgba(0,0,0,0.45);
}

/* ================= LIGHTBOX ================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2000;
  animation: fadeIn 0.25s ease;
}

.lightbox.active { display: flex; }

.lightbox-img {
  max-width: 92%;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: zoomIn 0.3s ease;
}

.caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.close {
  position: fixed;
  top: 25px;
  right: 35px;
  font-size: 2rem;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
}

.arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  user-select: none;
}

.arrow.left { left: 30px; }
.arrow.right { right: 30px; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ================= LIGHTBOX ================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2000;
  animation: fadeIn 0.25s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 92%;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: zoomIn 0.3s ease;
}

.caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
}

.close {
  position: fixed;
  top: 25px;
  right: 35px;
  font-size: 2rem;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: all 0.25s ease;
}

.close:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: all 0.25s ease;
  user-select: none;
}

.arrow:hover {
  color: var(--accent);
  transform: translateY(-50%) scale(1.15);
}

.arrow.left { left: 30px; }
.arrow.right { right: 30px; }

@media (max-width: 700px) {
  .arrow.left { left: 10px; }
  .arrow.right { right: 10px; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.photo-item {
  overflow: hidden;
  border-radius: 14px;
}

.photo-item img {
  transition: transform 0.5s ease, box-shadow 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.06);
}

/* ================= HERO SECTION ================= */

header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero {
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin: 0;
  letter-spacing: -0.04em;
}

.hero p {
  color: var(--muted);
  font-size: 1.25rem;
  margin: 1.2rem 0 2.5rem;
}

/* ================= CTA BUTTONS ================= */

.cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta a {
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.cta a:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

/* ================= SOCIAL LINKS ================= */

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  padding: 0.8rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.social-links a:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}