/*
  =============================================================================
  Project: 3D Transform Gallery - Enhanced UI (Hero, Sections, Footer)
  Author: Molla Samser | rskworld.in | 2026
  - Website: https://rskworld.in
  - Email: help@rskworld.in | support@rskworld.in
  - Phone: +91 93305 39277
  - Address: Nutanhat, Mongolkote, Purba Burdwan, West Bengal, India, 713147
  =============================================================================
*/

/* ----- Hero / Header ----- */
.gallery-header:not(.jumbotron-style) {
  background: linear-gradient(180deg, var(--bg-dark) 0%, color-mix(in srgb, var(--bg-dark) 95%, var(--accent) 5%) 100%);
  border-bottom: 1px solid var(--border);
}

.gallery-header {
  padding: var(--header-padding, 2.5rem 1rem);
  position: relative;
}

.gallery-header:not(.jumbotron-style)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: var(--radius-full);
  opacity: 0.6;
}

.gallery-header h1 {
  font-size: var(--font-title-scale);
  font-family: var(--font-sans);
  letter-spacing: var(--letter-spacing);
}

.gallery-header .credit {
  font-size: var(--font-small);
}

/* ----- Section cards (optional class for boxed sections) ----- */
.gallery-section.carded {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.gallery-section.carded h2 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Section badge - rskworld.in | 2026 */
.section-badge {
  display: inline-block;
  font-size: var(--font-tiny);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent-light);
}

/* Nav improvements */
.gallery-nav {
  padding: var(--nav-padding);
  gap: var(--space-sm);
  backdrop-filter: blur(8px);
}

.gallery-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-small);
}

/* Footer enhanced - Molla Samser | rskworld.in | 2026 */
.gallery-footer {
  padding: var(--footer-padding);
  border-top: 1px solid var(--border);
  margin-top: var(--space-2xl);
  background: color-mix(in srgb, var(--bg-dark) 98%, var(--accent) 2%);
}

.gallery-footer-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.gallery-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.gallery-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--font-small);
  transition: color 0.2s;
}

.gallery-footer-links a:hover {
  color: var(--accent-light);
}

.gallery-footer-credit {
  font-size: var(--font-tiny);
  color: var(--text-muted);
}

/* Skip link for a11y */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  z-index: 300;
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--space-md);
}
