/* Base styles */
body {
  margin: 0;
  /* Use system fonts similar to Apple's San Francisco */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background-color: #0d0d0d;
  color: #eee;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-weight: 400;
}

p {
  margin: 0 0 1em;
}

/* Navigation */
.nav {
  background-color: #0a0a0a;
  padding: 0.5em 1em;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav li {
  margin: 0 0.5em;
}

.nav a {
  color: #eee;
  text-decoration: none;
  padding: 0.5em 0.75em;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav a:hover {
  background-color: #333;
}

/* Hero section */
.hero {
  position: relative;
  height: 80vh;
  background: url('images/hero.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  /* Lighten the overlay so more of the background artwork is visible */
  background: rgba(0, 0, 0, 0.35);
  padding: 2em;
  text-align: center;
  border-radius: 8px;
  width: fit-content;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3em;
  letter-spacing: 0.05em;
}

.hero p {
  font-size: 1.2em;
  margin: 0.5em 0 1em;
}

.btn {
  display: inline-block;
  background-color: #444;
  color: #fff;
  padding: 0.75em 1.25em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #666;
}

/* Logo styling */
.logo {
  max-width: 250px;
  height: auto;
  margin-bottom: 1em;
  filter: invert(1);
}

/* Sections */
section {
  padding: 3em 1em;
  max-width: 900px;
  margin: 0 auto;
  background-color: #121212;
  border-radius: 8px;
  margin-bottom: 2em;
}

section h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #ddd;
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}

.portfolio-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1em;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

/* Footer */
footer {
  background-color: #222;
  text-align: center;
  padding: 2em 1em;
  font-size: 0.9em;
  color: #aaa;
}

/* Footer logo styling */
.footer-logo {
  display: block;
  margin: 1em auto 0;
  max-width: 200px;
  height: auto;
}
