/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --clr-bg: #0f0f0f;
  --clr-surface: #1a1a2e;
  --clr-card: #16213e;
  --clr-accent: #f6a623;
  --clr-accent-hover: #e0911a;
  --clr-text: #eaeaea;
  --clr-text-muted: #a0a0b0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
}

a { color: var(--clr-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  background: var(--clr-accent);
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn:hover {
  background: var(--clr-accent-hover);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }

/* === Nav === */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-accent);
  letter-spacing: -0.5px;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}
nav ul li a {
  color: var(--clr-text-muted);
  font-weight: 500;
  transition: color .2s;
}
nav ul li a:hover { color: var(--clr-accent); text-decoration: none; }

/* === Hero === */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px 24px;
  background:
    linear-gradient(135deg, rgba(15,15,15,.85), rgba(26,26,46,.9)),
    url('https://images.unsplash.com/photo-1587300003388-59208cc962cb?w=1400&q=80') center/cover no-repeat;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  max-width: 540px;
  margin: 0 auto 28px;
}

/* === Gallery === */
.gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.gallery h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--clr-text-muted);
  margin-bottom: 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--clr-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body {
  padding: 16px 20px;
}
.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.card-body p {
  font-size: .9rem;
  color: var(--clr-text-muted);
}

/* === About === */
.about {
  background: var(--clr-surface);
  padding: 80px 24px;
}
.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.about-content p {
  color: var(--clr-text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* === Fun Facts === */
.fun-facts {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.fun-facts h2 {
  font-size: 2rem;
  margin-bottom: 32px;
}
.facts-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.fact-card {
  background: var(--clr-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp .4s forwards;
}
.fact-card h4 {
  color: var(--clr-accent);
  margin-bottom: 8px;
  font-size: 1rem;
}
.fact-card p {
  font-size: .92rem;
  color: var(--clr-text-muted);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* === Modal === */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.75);
  z-index: 100;
  padding: 24px;
}
.modal.hidden { display: none; }
.modal-content {
  background: var(--clr-surface);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 48px rgba(0,0,0,.6);
}
.modal-content img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.modal-content h3 {
  padding: 20px 24px 4px;
  font-size: 1.3rem;
}
.modal-content p {
  padding: 0 24px 24px;
  color: var(--clr-text-muted);
  font-size: .95rem;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  background: rgba(0,0,0,.5);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s;
}
.modal-close:hover { background: rgba(0,0,0,.8); }

/* === Footer === */
footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--clr-text-muted);
  font-size: .85rem;
  border-top: 1px solid #222;
}

/* === Responsive === */
@media (max-width: 600px) {
  nav ul { gap: 14px; }
  .hero { min-height: 50vh; }
}
