/* ===== Base Reset & Layout ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: #f4f6f9;
  color: #212529;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.75;
}

/* ===== Global Link Styling ===== */
a:hover,
a:focus,
button:hover,
button:focus {
  color: #cc5200;
  background-color: #fff3e0;
}

a,
button {
  color: #ff6a00;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* ===== Header, Topbar, Footer ===== */
header,
.topbar,
footer {
  background-color: #23395d;
  color: #fff;
}

header {
  padding: 1.5rem;
  text-align: center;
  color: antiquewhite;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}

/* ===== Navigation Bar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 42px;
}

.button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.button img {
  height: 24px;
  width: auto;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 1.25rem;
}

.menu-toggle {
  display: none;
}

/* ===== Mobile Menu Dropdown ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 1em;
    background-color: #071c3d;
    padding: 1em;
    border-radius: 6px;
    box-shadow: 0 2px 6px #cc5200;
  }

  .nav-links.active {
    display: flex;
  }
}

/* ===== Content Structure ===== */
main,
section {
  max-width: 1040px;
  margin: auto;
  padding: 2rem;
}

header h1,
header h2,
header h3 {
  color: #cc5200;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  color: #220445;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* ===== Photo Grid ===== */
.photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.photo-item {
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  max-width: 800px;
  text-align: center;
}

.photo-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #444;
}