:root {
  --font-body: "Inter", sans-serif;
  --font-head: "Playfair Display", serif;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem; /* mobile base */
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
  min-width: 320px;
}

h1,
h2 {
  font-family: var(--font-head);
  line-height: 1.2;
  padding: 1rem;
}
p {
  padding: 1rem;
}

.site-header,
.site-footer {
  background: #222;
  color: #fff;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  margin-right: auto; /* brand left */
}

/* Hamburger button */
.nav-toggle {
  margin-left: auto; /* hamburger right */
  font-size: 1.25rem;
  background: none;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

/* Mobile dropdown nav */
.nav {
  display: none;
  background: #222;
  position: absolute;
  top: 60px;
  right: 0;
  width: 200px;
  border-radius: 4px;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  border-bottom: 1px solid #444;
}

.nav li:last-child {
  border-bottom: none;
}

.nav a {
  display: block;
  padding: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.nav a:hover {
  background: #444;
}

/* Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: 1fr; /* Mobile: 1 column */
  gap: 1rem;
  padding: 1rem;
}

.grid-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
}

/* Tablet: 2 columns */
@media (min-width: 600px) {
  body {
    font-size: 1.125rem;
    line-height: 1.75;
  }
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav {
    display: block;
    position: static;
    width: auto;
    background: none;
  }
  .nav ul {
    display: flex;
    gap: 1rem;
  }
  .nav-toggle {
    display: none;
  } /* hide hamburger */
}

/* Desktop: 6 columns */
@media (min-width: 900px) {
  body {
    font-size: 1.25rem;
    line-height: 1.8;
  }
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-container {
  display: flex;
  justify-content: center;
}
