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

/* Theme */
:root {
  --bg: #0f172a;
  --bg-light: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --card: #1f2933;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
}

.nav-links a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #020617, #020617 60%, #020617dd);
}

.hero-content {
  max-width: 720px;
  margin: 6rem auto;
  text-align: center;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #020617;
  font-weight: 600;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

/* Sections */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--bg-light);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.section p {
  max-width: 700px;
  color: var(--muted);
}

#about p + p {
  margin-top: 0.4em;
}

/* Gallery */
.gallery-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.gallery-wrapper {
  aspect-ratio: 1 / 1;
  background: #020617;
  border-radius: 1rem;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track img {
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: center;
  user-select: none;
  pointer-events: none;
}

/* Dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  padding-top: 0.6rem;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease;
}

.dot.active {
  background: var(--accent);
  transform: scale(1.5);
}

.gallery-dots.scrolling .dot:not(.active) {
  opacity: 0.15;
}

/* Cards */
.cards {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--card);
  padding: 2rem;
  border-radius: 1rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Prevent zoom on gallery */
.gallery-track {
  touch-action: pan-x;
  overscroll-behavior: contain;
}

.gallery-track img {
  touch-action: none;
}

/* Gallery interaction behavior */
.gallery-track {
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

/* Gallery media */
.gallery-track img {
  touch-action: none;
}

/* Responsive */
@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav {
    padding: 1.5rem 3rem;
  }
}

