/* OliaBseiso.com — Minimal artist portfolio */

/* ── Reset + base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: #faf9f7;
  color: #1a1a1a;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: 2.4rem; letter-spacing: 0.03em; }
h2 { font-size: 1.5rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.1rem; color: #666; margin-bottom: 0.4rem; }
p { margin-bottom: 1rem; font-size: 0.95rem; }
a { color: #8B4513; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3rem 0; }

/* ── Navigation ── */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,247,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e4df;
  padding: 0.7rem 0;
}
nav .container {
  display: flex; align-items: center; justify-content: space-between;
}
nav .brand {
  font-family: Georgia, serif; font-size: 1.15rem; font-weight: 400;
  color: #1a1a1a; letter-spacing: 0.02em;
}
nav .links { display: flex; gap: 1.8rem; list-style: none; }
nav .links a {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: #666; transition: color 0.2s;
}
nav .links a:hover, nav .links a.active { color: #8B4513; text-decoration: none; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #666; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  nav .links { display: none; flex-direction: column; gap: 0.8rem;
               position: absolute; top: 100%; left: 0; right: 0;
               background: #faf9f7; padding: 1rem 1.5rem;
               border-bottom: 1px solid #e8e4df; }
  nav .links.open { display: flex; }
}

/* ── Hero ── */
.hero {
  position: relative; height: 70vh; min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.4);
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-content h1 { font-size: 3rem; margin-bottom: 0.3rem; letter-spacing: 0.06em; }
.hero-content .tagline {
  font-size: 1rem; font-style: italic; opacity: 0.85;
  letter-spacing: 0.04em;
}

/* ── Medium cards (homepage) ── */
.medium-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.medium-card {
  position: relative; overflow: hidden; border-radius: 8px;
  aspect-ratio: 4/3; cursor: pointer;
  transition: transform 0.3s;
}
.medium-card:hover { transform: scale(1.02); }
.medium-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.medium-card:hover img { transform: scale(1.06); }
.medium-card .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}
.medium-card .overlay h3 {
  color: #fff; font-size: 1.3rem; margin-bottom: 0.15rem;
  font-family: Georgia, serif;
}
.medium-card .overlay span { font-size: 0.78rem; opacity: 0.8; }

/* ── Gallery grid ── */
.gallery-intro {
  text-align: center; max-width: 600px; margin: 0 auto 2rem;
  font-size: 0.92rem; color: #666; font-style: italic;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 4px; cursor: pointer;
  transition: opacity 0.2s;
}
.gallery-grid img:hover { opacity: 0.85; }
.subcategory-label {
  grid-column: 1 / -1; margin: 1.5rem 0 0.5rem;
  font-family: Georgia, serif; font-size: 1rem; color: #8B4513;
  border-bottom: 1px solid #e8e4df; padding-bottom: 0.3rem;
}

/* ── Lightbox ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 85vh; object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1.5rem;
  color: #fff; font-size: 2rem; cursor: pointer;
  background: none; border: none; opacity: 0.7;
}
.lightbox-close:hover { opacity: 1; }

/* ── About page ── */
.about-layout {
  display: grid; grid-template-columns: 300px 1fr; gap: 3rem;
  align-items: start;
}
.about-portrait {
  width: 100%; border-radius: 8px; aspect-ratio: 3/4;
  object-fit: cover;
}
@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { max-width: 260px; margin: 0 auto 1.5rem; }
}

/* ── Contact ── */
.contact-body { max-width: 500px; margin: 0 auto; text-align: center; }
.contact-body a { font-size: 1.1rem; }
.social-links {
  display: flex; gap: 1.5rem; justify-content: center; margin-top: 1.5rem;
}
.social-links a {
  font-size: 0.85rem; color: #666; transition: color 0.2s;
}
.social-links a:hover { color: #8B4513; }

/* ── Footer ── */
footer {
  text-align: center; padding: 2rem 0; font-size: 0.75rem;
  color: #aaa; border-top: 1px solid #e8e4df; margin-top: 3rem;
}
