/* css/project-page.css */

:root {
  --border: #e2e8f0;
  --text: #1a202c;
  --muted: #4a5568;
  --muted-2: #2d3748;
  --card: #f7fafc;
  --accent: #3b82f6;
}

/* Header */
.research-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 2px solid var(--border);
}
.research-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}
.research-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* Layout */
.research-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}
.research-section { margin-bottom: 3rem; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-align: center;
}
.research-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted-2);
  text-align: justify;
  margin-bottom: 2rem;
}

/* Features grid */
.research-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.feature-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
}
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Gallery */
.research-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.gallery-item { text-align: center; }
.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  margin-bottom: 1rem;
  transition: transform .3s ease;
}
.gallery-image:hover { transform: scale(1.05); }
.gallery-caption {
  font-size: .9rem;
  color: var(--muted);
  font-style: italic;
}

/* Links / Buttons */
.back-button,
.github-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 400;
  transition: all .3s ease;
}
.back-button {
  background: transparent;
  border: 2px solid var(--muted-2);
  color: var(--muted-2);
  margin-bottom: 2rem;
  margin-top: 1rem;


}
.back-button:hover { background: var(--muted-2); color: #fff; }
.github-link {
  background: #24292e;
  color: #fff;
  margin-top: 1rem;
}
.github-link:hover { background: #1a1e22; transform: translateY(-2px); }

/* Responsive */
@media (max-width: 768px) {
  .research-content { padding: 0 1rem; }
  .research-title { font-size: 2rem; }
  .research-features,
  .research-gallery { grid-template-columns: 1fr; }
}


/* css/lightbox.css */
body.no-scroll { overflow: hidden; }

.zoom-overlay {
  position: fixed;
  inset: 0;
  display: none;                 /* toggled via .open */
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
}

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

.zoom-media {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  cursor: zoom-out;
}


/* This page has no sidebar: make container block, not flex */
.container { display: block; }

/* Kill any global left offset reserved for a sidebar */
.main-content {
  margin: 0 auto !important;      /* center */
  padding: 0 24px;                 /* your preferred side padding */
  max-width: 1000px;               /* match your .research-content cap */
}

/* Keep your inner wrapper centered too (belt & suspenders) */
.research-content {
  max-width: 1000px;
  margin: 0 auto;
}


.video-container{
  max-width: 960px;   /* pick the cap you want (e.g., 720, 960, 1200) */
  margin: 1rem auto;  /* center */
}
.video-container video{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #000;   /* nice letterbox */
}
.video-caption{
  text-align: center;
  color: #303030;
  margin-top: .5rem;
  font-size: 1.0rem;
}

.hero-gallery{
  max-width: 1100px;      /* cap content width */
  margin: 1rem auto 2rem; /* center */
  text-align: center;
}
.hero-image{
  width: 100%;
  height: auto;           /* keep aspect ratio */
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.gallery-caption{
  margin-top: .5rem;
  color: #303030;
  font-size: 1.0rem;
}