:root {
  --bg-dark: #0f2a1d;
  --bg-light: #f6f4ef;
  --accent: #1e4d34;
  --text-light: #ffffff;
  --text-dark: #1a1a1a;

  /* Glass */
  --glass-bg: rgba(15, 42, 29, 0.62);
  --glass-menu: rgba(20, 55, 38, 0.70);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-highlight: rgba(255, 255, 255, 0.06);

  /* UI polish */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* NAV (glassy) */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;

  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  background: var(--glass-bg);

  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  padding: 0.9rem 1rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: relative; /* anchors the dropdown menu */
}

.nav nav a {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.92;
}

.nav nav a:hover {
  opacity: 1;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 72px;
  max-height: 72px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo img {
    height: 64px;
    max-height: 64px;
  }
}

/* HERO */
.hero {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--text-light);
  border-radius: 12px;
  transition: transform 120ms ease, opacity 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--text-light);
  color: var(--bg-dark);
}

.secondary {
  background: transparent;
}

/* SECTIONS */
.links, .collection, .about {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: auto;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.link-grid a {
  border: 1px solid #ccc;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.35);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* FOOTER */
footer {
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  padding: 2rem 1rem;
}

/* HAMBURGER BUTTON (glassy) */
.menu-toggle {
  font-size: 1.4rem;
  line-height: 1;

  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  border-radius: 10px;

  padding: 0.35rem 0.6rem;
  color: var(--text-light);
  cursor: pointer;

  display: none; /* only shows on mobile */
  transition: transform 120ms ease, background 120ms ease;
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

/* NAV MENU */
.nav-menu {
  display: flex;
  gap: 1.5rem;
}

/* Mobile menu becomes a glass popover */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  /* hide desktop inline menu on mobile until opened */
  .nav-menu {
    display: none;

    position: absolute;
    top: calc(100% + 10px);
    right: 12px;

    width: 240px;
    padding: 0.75rem;

    background: var(--glass-menu);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);

    border: 1px solid var(--glass-border);
    border-radius: var(--radius);

    box-shadow: var(--shadow), inset 0 1px 0 var(--glass-highlight);
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-menu a {
    margin-left: 0; /* cancel desktop spacing */
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    opacity: 0.95;
  }

  .nav-menu a:hover {
    background: rgba(255,255,255,0.10);
    opacity: 1;
    color: var(--text-light);
  }
}
/* Ensure hamburger / nav menu text is light */
.nav-menu a {
  color: var(--text-light);
}

/* Mobile-specific safety (glass popover) */
@media (max-width: 768px) {
  .nav-menu a {
    color: var(--text-light);
  }
}