/* ===================================================================
   IMAGE STYLING VARIANTS
   Copy these class names to experiment with different looks
   =================================================================== */

/* HERO BANNERS - Large, striking images at top of pages */

/* Full-width hero with optional text overlay */
.hero-banner {
  width: 100vw;
  max-width: 100vw;
  height: 200px;
  object-fit: cover;
  object-position: center;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: -1rem;
  margin-bottom: 2rem;
  border-radius: 0;
  display: block;
}

/* Contained hero - stays within content area */
.hero-contained {
  width: 100%;
  max-width: 1200px;
  height: 400px;
  object-fit: cover;
  margin: 0 auto 2rem;
  border-radius: 4px;
}

/* Medium height hero */
.hero-medium {
  width: 100%;
  max-width: 1200px;
  height: 300px;
  object-fit: cover;
  margin: 0 auto 2rem;
  border-radius: 4px;
}

/* Short hero banner */
.hero-short {
  width: 100%;
  max-width: 1200px;
  height: 200px;
  object-fit: cover;
  margin: 0 auto 2rem;
  border-radius: 4px;
}

/* Hero with dark overlay for text readability */
.hero-overlay {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 500px;
  margin: -1rem -1rem 2rem -1rem;
}

.hero-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

/* Container for text overlay on hero */
.hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  width: 80%;
}

.hero-text-overlay h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text-overlay p {
  color: white;
  font-size: 1.3rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* RESEARCH PAGE - Image variations */

/* Two-column layout: text + image */
.research-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
  align-items: center;
}

.research-two-col img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Alternate: image on left */
.research-two-col.img-left {
  grid-template-columns: 1fr 1fr;
}

.research-two-col.img-left img {
  order: -1;
}

/* Three-column image gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.image-gallery img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--dl-bg-white);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

/* Two-column image gallery */
.image-gallery-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.image-gallery-2col img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--dl-bg-white);
}

/* Single large feature image */
.feature-image-large {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 1.5rem auto;
  display: block;
  border-radius: 4px;
}

/* Feature image with caption */
.feature-with-caption {
  margin: 2rem auto;
  max-width: 1000px;
}

.feature-with-caption img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.feature-with-caption figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--dl-text-light);
  font-style: italic;
}

/* IMAGE STYLING OPTIONS */

/* Subtle border */
.img-bordered {
  border: 1px solid var(--dl-border);
}

/* Shadow effect */
.img-shadow {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Strong shadow */
.img-shadow-strong {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Rounded corners - subtle */
.img-rounded {
  border-radius: 8px;
}

/* Rounded corners - strong */
.img-rounded-strong {
  border-radius: 16px;
}

/* Square/no rounding */
.img-square {
  border-radius: 0;
}

/* Grayscale effect */
.img-grayscale {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.img-grayscale:hover {
  filter: grayscale(0%);
}

/* Slight zoom on hover */
.img-zoom-hover {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.img-zoom-hover:hover {
  transform: scale(1.02);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .hero-banner,
  .hero-overlay {
    height: 300px;
  }

  .hero-contained {
    height: 250px;
  }

  .research-two-col {
    grid-template-columns: 1fr;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }

  .image-gallery-2col {
    grid-template-columns: 1fr;
  }

  .hero-text-overlay h1 {
    font-size: 2rem;
  }

  .hero-text-overlay p {
    font-size: 1rem;
  }
}

/* COMBINATION EXAMPLES - Ready to use */

/* Example 1: Hero with dark overlay and centered text */
.hero-style-1 {
  position: relative;
  width: 100%;
  height: 500px;
  margin: -1rem -1rem 2rem -1rem;
  overflow: hidden;
}

.hero-style-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

/* Example 2: Large feature image with shadow and rounded corners */
.feature-style-1 img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  margin: 2rem auto;
  display: block;
}

/* Example 3: Image grid with hover effects */
.gallery-style-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.gallery-style-1 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--dl-border);
  transition: all 0.3s ease;
}

.gallery-style-1 img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
