/* Website JLB - João Luís Bolacha Style Sheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;500;700&display=swap');

:root {
  --bg-color: #0b0d10;
  --bg-gradient: radial-gradient(circle at 50% 0%, #111810 0%, #080a0d 100%);
  --card-bg: rgba(18, 22, 28, 0.75);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-glow: rgba(120, 190, 32, 0.02);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-color: #78be20; /* Verde JLB original da oficina */
  --accent-hover: #609918;
  --accent-glow: rgba(120, 190, 32, 0.3);
  
  --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline-color: var(--accent-color);
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background: var(--bg-gradient);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 10, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo JLB (Recriação do logotipo oficial) */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-squares {
  display: flex;
  gap: 3px;
}

.logo-squares span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 6px;
}

.sq-green {
  background-color: var(--accent-color);
  color: #ffffff;
}

.sq-white {
  background-color: #ffffff;
  color: var(--accent-color);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.logo-subtitle {
  color: var(--accent-color);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-smooth);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
  box-shadow: 0 0 8px var(--accent-glow);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.mobile-menu-btn:focus {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 2px var(--accent-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
}

.hero-badge {
  align-self: flex-start;
  background: rgba(120, 190, 32, 0.1);
  border: 1px solid rgba(120, 190, 32, 0.2);
  color: var(--accent-color);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(120, 190, 32, 0.05);
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 540px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  min-height: 52px;
  border: none;
}

.btn-primary {
  background: var(--accent-color);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(120, 190, 32, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline-green {
  background: rgba(120, 190, 32, 0.05);
  color: var(--accent-color);
  border: 1px solid rgba(120, 190, 32, 0.3);
}

.btn-outline-green:hover,
.btn-outline-green:focus {
  background: rgba(120, 190, 32, 0.12);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(120, 190, 32, 0.25);
  transform: translateY(-2px);
}

/* Glassmorphism Feature Card */
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(120, 190, 32, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.card-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-feature:last-child {
  margin-bottom: 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Interactive Before/After Gallery */
.gallery-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
}

.gallery-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.car-selector {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.selector-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  min-height: 48px;
}

.selector-btn:hover,
.selector-btn:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.selector-btn.active {
  background: var(--accent-color);
  color: #000000;
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(120, 190, 32, 0.3);
}

/* Slider Wrapper */
.comparison-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* img-comparison-slider customization */
img-comparison-slider {
  --divider-color: var(--accent-color);
  --divider-width: 3px;
  --handle-size: 42px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/10;
  display: block;
}

img-comparison-slider:focus-visible {
  outline: 3px solid var(--accent-color);
}

img-comparison-slider [slot="first"],
img-comparison-slider [slot="second"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* Custom handles style */
.custom-handle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-color);
  border: 4px solid var(--bg-color);
  box-shadow: 0 0 15px rgba(120, 190, 32, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-weight: bold;
  cursor: ew-resize;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.slider-label {
  position: absolute;
  bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}

.label-before {
  left: 1.5rem;
}

.label-after {
  right: 1.5rem;
}

/* About Us Section */
.about-section {
  padding: 6rem 2rem;
  background: rgba(13, 15, 20, 0.5);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  aspect-ratio: 4/3;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.05);
}

/* Contact & Location Section */
.contact-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: stretch;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  justify-content: space-between;
}

.contact-intro h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-intro p {
  color: var(--text-secondary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-text p, 
.contact-text a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-text a:hover {
  color: var(--accent-color);
}

.map-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.map-wrapper {
  flex-grow: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  min-height: 300px;
  position: relative;
  background: #10141a;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  text-align: center;
  background: radial-gradient(circle, #151e18 0%, #080c09 100%);
}

.map-placeholder-icon {
  font-size: 3rem;
  color: var(--accent-color);
  animation: pulse 2s infinite alternate;
}

.map-navigation-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  width: 100%;
}

.map-navigation-links .btn {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

/* Footer Styling with logo alignment */
footer {
  background: #050709;
  border-top: 1px solid var(--card-border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: translateY(0);
    text-shadow: 0 0 10px rgba(120, 190, 32, 0.2);
  }
  100% {
    transform: translateY(-8px);
    text-shadow: 0 0 25px rgba(120, 190, 32, 0.6);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-badge {
    align-self: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-description {
    margin: 0 auto;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image-wrapper {
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Bento Grid Galeria de Instalações */
.gallery-installations-container {
  max-width: 1200px;
  margin: 5rem auto 0;
  padding: 0 2rem;
}

.gallery-sub-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-top: 0.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.bento-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  cursor: pointer;
  background-color: #10141a;
  transition: var(--transition-smooth);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(120, 190, 32, 0.65), rgba(8, 10, 13, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: #ffffff;
  font-size: 1.8rem;
  backdrop-filter: blur(2px);
}

/* Hover effects */
.bento-item:hover,
.bento-item:focus {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(120, 190, 32, 0.25);
}

.bento-item:hover img,
.bento-item:focus-within img {
  transform: scale(1.08);
}

.bento-item:hover .bento-overlay,
.bento-item:focus .bento-overlay {
  opacity: 1;
}

/* Bento Grid spans */
.span-2-col {
  grid-column: span 2;
}


/* Lightbox Estilos */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 8, 10, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

#lightbox-img {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.lightbox-caption {
  color: var(--text-primary);
  margin-top: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
}

/* Lightbox Navigation Buttons */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  user-select: none;
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  border-radius: 50%;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 10000;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.lightbox-close:hover,
.lightbox-close:focus,
.lightbox-prev:hover,
.lightbox-prev:focus,
.lightbox-next:hover,
.lightbox-next:focus {
  background-color: var(--accent-color);
  color: #000000;
  border-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Mobile Devices (768px and down) */
@media (max-width: 768px) {
  .logo-title {
    font-size: 1.1rem;
  }

  .logo-subtitle {
    font-size: 0.55rem;
  }

  .logo-squares span {
    width: 24px;
    height: 24px;
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 10, 13, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    min-height: auto;
    padding-top: 7rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero-card {
    padding: 1.5rem;
  }
  
  .comparison-container {
    padding: 0.75rem;
  }
  
  .slider-label {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    bottom: 1rem;
  }
  
  .label-before {
    left: 1rem;
  }
  
  .label-after {
    right: 1rem;
  }
  
  .about-section,
  .gallery-section,
  .contact-section {
    padding: 4rem 1.25rem;
  }

  /* Bento Grid Mobile Layout */
  .gallery-installations-container {
    margin-top: 3.5rem;
    padding: 0 1rem;
  }
  
  .gallery-sub-title {
    font-size: 1.7rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  /* Reset spans for compact grid on mobile */
  .bento-item.span-2-col {
    grid-column: span 2;
  }

  /* Make last item span full width on mobile for parallel layout */
  .bento-item:last-child {
    grid-column: span 2;
  }

  /* Lightbox buttons positioning on mobile to avoid covering content */
  .lightbox-prev,
  .lightbox-next {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
  
  .lightbox-prev {
    left: 0.75rem;
  }
  
  .lightbox-next {
    right: 0.75rem;
  }
  
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
    font-size: 1.6rem;
  }

  #lightbox-img {
    max-width: 90vw;
    max-height: 60vh;
  }
}

/* Accessibility: High contrast keyboard focus rings for TV/PlayStation d-pad */
*:focus-visible {
  outline: 3px solid var(--accent-color) !important;
  outline-offset: 4px;
}
