@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary: #D6E4FF;
  --primary-mid: #A8C4F5;
  --primary-dark: #6B8DD6;
  --primary-deeper: #3D5A9E;
  --heading: #2C3570;
  --text: #3a3a4a;
  --text-light: #6b6b80;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFF;
  --border: #E0EBFF;
  --shadow: 0 2px 20px rgba(107, 141, 214, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(107, 141, 214, 0.09);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: 0.4px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-deeper);
  border-bottom-color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--heading);
  padding: 4px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.lang-active { color: var(--primary-deeper); }

.lang-sep { color: var(--primary-mid); }

.lang-link {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.lang-link:hover { color: var(--primary-deeper); }

/* ── HERO (bio page) ── */
.hero {
  background: var(--primary);
  padding: 84px 32px 80px;
  text-align: center;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 68px;
  font-weight: 500;
  color: var(--heading);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-deeper);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-location {
  font-size: 14px;
  color: var(--primary-deeper);
  opacity: 0.7;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
}

/* ── PAGE HEADER (gallery, contact) ── */
.page-header {
  background: var(--primary);
  padding: 56px 32px;
  text-align: center;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 50px;
  font-weight: 500;
  color: var(--heading);
  letter-spacing: 0.5px;
}

.page-header p {
  color: var(--primary-deeper);
  margin-top: 10px;
  font-size: 15px;
  opacity: 0.85;
}

/* ── CONTAINER ── */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

/* ── BIO PHOTO ── */
.bio-photo-wrap {
  text-align: center;
  margin-bottom: 52px;
}

.bio-photo {
  width: 220px;
  height: 290px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow);
  border: 5px solid var(--primary);
  display: block;
  margin: 0 auto;
}

.photo-placeholder {
  width: 220px;
  height: 290px;
  background: var(--primary);
  border-radius: 3px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--primary-deeper);
  font-size: 13px;
  letter-spacing: 0.5px;
  margin: 0 auto;
  border: 5px solid var(--primary-mid);
}

.bio-photo.failed { display: none; }
.bio-photo.failed + .photo-placeholder { display: flex; }

/* ── BIO SECTIONS ── */
.bio-section {
  margin-bottom: 48px;
}

.bio-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.bio-section p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 14px;
}

.bio-section p:last-child { margin-bottom: 0; }

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 32px 80px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  background: var(--primary);
}

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

.gallery-item.no-img img { display: none; }

.img-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--primary-deeper);
  font-size: 13px;
  letter-spacing: 0.5px;
  flex-direction: column;
  gap: 8px;
}

.img-placeholder svg { opacity: 0.4; }
.gallery-item.no-img .img-placeholder { display: flex; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 65, 130, 0);
  transition: background 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { background: rgba(45, 65, 130, 0.12); }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 40, 0.94);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  opacity: 0.75;
  line-height: 1;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 4px;
  transition: background 0.2s, opacity 0.2s;
  opacity: 0.8;
}

.lightbox-btn:hover { background: rgba(255, 255, 255, 0.2); opacity: 1; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ── CONTACT ── */
.contact-main {
  max-width: 660px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

.contact-intro {
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.7;
}

.form-group { margin-bottom: 22px; }

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--heading);
  margin-bottom: 7px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6b80' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-dark);
  background: white;
}

textarea { resize: vertical; min-height: 150px; }

.btn-submit {
  background: var(--primary-deeper);
  color: white;
  border: none;
  padding: 14px 40px;
  font-size: 13px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-submit:hover { background: var(--primary-dark); }
.btn-submit:active { transform: scale(0.98); }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
  color: var(--heading);
}

.form-success.visible { display: block; }

.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 12px;
}

.form-success p { color: var(--text-light); font-size: 15px; }

.email-link {
  display: inline-block;
  font-size: 18px;
  color: var(--primary-deeper);
  text-decoration: none;
  border-bottom: 2px solid var(--primary-dark);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.email-link:hover {
  color: var(--primary-dark);
  border-color: var(--primary-mid);
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 28px 32px;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 13px;
  background: var(--bg-soft);
  letter-spacing: 0.3px;
}

/* ── MOBILE ── */
@media (max-width: 720px) {
  .hero h1 { font-size: 46px; }
  .hero { padding: 60px 24px; }

  nav { position: relative; }
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(107, 141, 214, 0.12);
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    border-bottom-color: unset;
    border-left: 3px solid transparent;
  }

  .nav-links a.active { border-left-color: var(--primary-dark); }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 36px 20px 60px;
  }

  .container, .contact-main { padding: 40px 20px 60px; }
}

@media (max-width: 440px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .page-header h1 { font-size: 36px; }
}
