/* ─── GLOBAL ─────────────────────────────────────────────── */
html { scroll-behavior: smooth; overflow-y: scroll; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #62A8E5;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── HERO / LANDING ─────────────────────────────────────── */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  line-height: 1;
}

.subtitle { color: #fff; font-size: 1.2rem; margin-bottom: 20px; font-weight: 450; }

/* ─── SOCIAL / NAV LINKS ─────────────────────────────────── */
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: normal;     /* match the LinkedIn link weight exactly */
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}
.social-links a:hover { opacity: 0.6; }

/* ─── PHOTOGRAPHY SECTION ────────────────────────────────── */
.photography-section {
  padding: 100px 20px;
  background-color: #050505;
  transition: opacity 0.5s ease;
}

.hidden { display: none; opacity: 0; }

.container { max-width: 1000px; margin: 0 auto; }

.section-title {
  font-size: 2rem;
  margin-bottom: 50px;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
}

.folder { margin-bottom: 60px; }
.folder h3 {
  font-family: inherit;
  font-size: 0.9rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.item {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}
.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.item:hover img { transform: scale(1.05); }

.footer-nav { text-align: center; margin-top: 50px; }
.footer-nav a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #2a2a2a;
  padding: 12px 0;
  width: 180px;
  text-align: center;
  transition: border-color 0.6s ease, color 0.6s ease, background 0.6s ease;
}
.footer-nav a:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

/* ─── PHOTO LIGHTBOX MODAL ───────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.98);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-box {
  max-width: 85%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-box img { max-width: 100%; max-height: 75vh; }
.modal-text {
  margin-top: 25px;
  color: #ccc;
  text-align: center;
  font-size: 1.1rem;
  max-width: 700px;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  opacity: 0.5;
}
.close-btn:hover { opacity: 1; }

/* ─── PHOTO LIGHTBOX: NAV BUTTONS ──────────────────────────── */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 0.2s;
  padding: 20px;
  user-select: none;
}
.modal-nav:hover { opacity: 1; }
.modal-prev { left: 20px; }
/* Fixed width so the → and ⏭ icons share the same horizontal center */
.modal-next { right: 20px; width: 72px; text-align: center; }

.next-section-btn {
  position: absolute;
  top: calc(50% + 44px);
  right: 20px;
  width: 72px;          /* matches .modal-next so icons stay centered */
  text-align: center;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  padding: 20px;
  user-select: none;
}
.next-section-btn.visible { opacity: 0.3; pointer-events: auto; }
.next-section-btn.visible:hover { opacity: 1; }
