*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FFFFFF;
  --ink: #4a5568;
  --muted: #718096;
  --border: #e2e8f0;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Times New Roman', Times, serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background-image: url('images/08.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 100;
}

.nav-logo {
  font-size: 22px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-family: 'Times New Roman', Times, serif;
  transition: color 0.2s;
}

.nav-links a:hover { color: rgba(255,255,255,0.7); }

/* ── HERO ── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 80px) 56px 80px;
}

.hero-inner { max-width: 640px; }

.hero-title {
  font-size: clamp(52px, 7vw, 92px);
  font-weight: normal;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--ink);
  font-family: 'Times New Roman', Times, serif;
}

.hero-sub {
  font-size: 16px;
  color: var(--ink);
  max-width: 400px;
  line-height: 1.9;
  font-family: 'Times New Roman', Times, serif;
}

/* ── GALLERY ── */
#gallery {
  padding: 120px 56px;
  background: var(--cream);
}

.section-heading {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: normal;
  margin-bottom: 48px;
  color: var(--ink);
  font-family: 'Times New Roman', Times, serif;
  text-align: left;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  background: var(--border);
  aspect-ratio: 1 / 1;
  border: 2px solid var(--border);
  outline: 4px solid var(--cream);
  outline-offset: -8px;
  transition: outline-color 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--muted);
  outline-color: rgba(113, 128, 150, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.slot-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--border);
  transition: background 0.2s;
}

.gallery-item:hover .slot-inner { background: #cdd6df; }

.slot-num {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.slot-icon {
  width: 30px;
  height: 30px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  padding-bottom: 2px;
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(74, 85, 104, 0.95);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-overlay.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border: 12px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.15);
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.lightbox-img.zoomed {
  transform: scale(2);
  cursor: grab;
  overflow: auto;
}

.lightbox-img.zoomed:active {
  cursor: grabbing;
}

.lightbox-placeholder {
  width: 460px;
  height: 500px;
  max-width: 100%;
  background: #1a2b3c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-caption {
  margin-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  letter-spacing: 0.02em;
  font-family: 'Times New Roman', Times, serif;
}

.lightbox-zoom-hint { display: none; }

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 32px;
  cursor: pointer;
  font-family: 'Times New Roman', Times, serif;
  transition: color 0.2s;
  line-height: 1;
}

.lightbox-close:hover { color: #FFFFFF; }

.lightbox-nav {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.lightbox-nav button {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 28px;
  cursor: pointer;
  font-family: 'Times New Roman', Times, serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}

.lightbox-nav button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── ABOUT ── */
#about {
  border-top: 3px solid transparent;
  padding: 120px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  background: var(--cream);
}

.about-image-wrap { position: relative; }

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.about-accent-line {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 55%;
  height: 55%;
  border: 1px solid var(--muted);
  pointer-events: none;
  opacity: 0.35;
}

.about-content { padding: 8px 0; }

.about-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--ink);
  font-family: 'Times New Roman', Times, serif;
}

.about-body {
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.9;
  font-family: 'Times New Roman', Times, serif;
}

/* ── CONTACT ── */
#contact {
  padding: 120px 56px;
  max-width: 600px;
  background: var(--cream);
}

.contact-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: normal;
  margin-bottom: 16px;
  font-family: 'Times New Roman', Times, serif;
  color: var(--ink);
}

.contact-sub {
  color: var(--ink);
  margin-bottom: 52px;
  line-height: 1.9;
  font-family: 'Times New Roman', Times, serif;
}

.contact-list { list-style: none; }

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:first-child { border-top: 1px solid var(--border); }

.contact-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
  min-width: 84px;
  flex-shrink: 0;
  font-family: 'Times New Roman', Times, serif;
}

.contact-value {
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Times New Roman', Times, serif;
}

a.contact-value:hover { color: var(--muted); }

/* ── FOOTER ── */
footer {
  padding: 36px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: url('images/08.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.footer-logo { font-size: 17px; color: #ffffff; font-family: 'Times New Roman', Times, serif; }
.footer-copy { font-size: 12px; color: #ffffff; letter-spacing: 0.06em; font-family: 'Times New Roman', Times, serif; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  #home { padding: calc(var(--nav-h) + 48px) 24px 48px; }
  #gallery, #contact { padding: 80px 24px; }
  #about { padding: 80px 24px; grid-template-columns: 1fr; gap: 48px; }
  .about-accent-line { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 20px; }
}

