:root {
  --sand: #fdf6ec;
  --ink: #23343a;
  --ocean: #0f7ea3;
  --ocean-dark: #0a5c78;
  --sunset: #ff8a5c;
  --card-bg: #ffffff;
  --shadow: 0 8px 24px rgba(15, 63, 79, 0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--sand);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(10,92,120,0.75), rgba(255,138,92,0.55)),
    linear-gradient(120deg, #0a5c78, #14a3a3 45%, #ffb37a);
  color: #fff;
  padding: 2rem 1rem;
}

.hero-overlay { max-width: 700px; }

.kicker {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0 0 0.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  margin: 0;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.photo-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 63, 79, 0.2);
}

.photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.empty-state {
  text-align: center;
  color: #77848a;
  font-size: 1rem;
  margin-top: 2rem;
}

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: #77848a;
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 25, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  padding: 0.6rem 0.9rem;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 480px) {
  .lightbox-nav { font-size: 1.1rem; padding: 0.5rem 0.7rem; }
  .photo-card img { height: 200px; }
}
