/* === HORNET MOTO WORKSHOP - MODERN DESIGN === */

:root {
  --primary: #FFD700;
  --primary-dark: #B8960F;
  --dark: #0d0d0d;
  --dark-secondary: #1a1a1a;
  --dark-tertiary: #252525;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --border: #333333;
  --accent-red: #ff4444;
  --accent-green: #22c55e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* === HEADER === */
header {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 45px;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
}

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

.nav-links a {
  color: var(--text);
  font-weight: 500;
  transition: 0.3s;
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(13,13,13,0.95) 0%, rgba(26,26,26,0.9) 100%),
              url('logo.png') center/contain no-repeat;
  padding: 120px 2rem 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero .btn {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.hero .btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* === SECTIONS === */
.section {
  padding: 80px 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.section-title span {
  color: var(--primary);
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--dark-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: 0.3s;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* === FILTERS === */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--dark-secondary);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.95rem;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

/* === ABOUT === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat {
  background: var(--dark-secondary);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
}

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

/* === TRACKING SECTION === */
.seguimiento-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.seguimiento-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

#form-seguimiento {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

#placa-seguimiento {
  background: var(--dark-secondary);
  border: 2px solid var(--border);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  width: 300px;
  outline: none;
  transition: 0.3s;
}

#placa-seguimiento:focus {
  border-color: var(--primary);
}

.seguimiento-resultado {
  margin-top: 2rem;
  background: var(--dark-secondary);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
}

.estado-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin: 1rem 0;
}

.estado-recibido { background: #6366f1; color: white; }
.estado-diagnostico { background: #f59e0b; color: black; }
.estado-espera { background: #ef4444; color: white; }
.estado-reparacion { background: #3b82f6; color: white; }
.estado-entrega { background: #22c55e; color: white; }

/* === CONTACT === */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

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

.contact-item .icon {
  font-size: 2rem;
}

.contact-item h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.contact-item p, .contact-item a {
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--dark-secondary);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form .btn {
  background: var(--primary);
  color: var(--dark);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form .btn:hover {
  background: var(--primary-dark);
}

/* === FOOTER === */
footer {
  background: var(--dark-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* === AUTH MODAL === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal.hidden { display: none; }

.modal-content {
  background: var(--dark-secondary);
  border-radius: 16px;
  padding: 2rem;
  max-width: 450px;
  width: 90%;
  border: 1px solid var(--border);
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  background: var(--primary);
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--dark-tertiary);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--border);
}

/* === SYSTEM (ADMIN) STYLES === */
.system-container {
  display: none;
  padding-top: 80px;
}

.system-sidebar {
  position: fixed;
  left: 0;
  top: 80px;
  width: 250px;
  height: calc(100vh - 80px);
  background: var(--dark-secondary);
  border-right: 1px solid var(--border);
  padding: 1.5rem;
}

.system-sidebar ul {
  list-style: none;
}

.system-sidebar li {
  margin-bottom: 0.5rem;
}

.system-sidebar a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  transition: 0.3s;
}

.system-sidebar a:hover,
.system-sidebar a.active {
  background: var(--dark-tertiary);
  color: var(--primary);
}

.system-main {
  margin-left: 250px;
  padding: 2rem;
}

.section-system {
  display: none;
}

.section-system.active {
  display: block;
}

/* === MOTOS GRID === */
.motos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.moto-card {
  background: var(--dark-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: 0.3s;
}

.moto-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.moto-placa {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.moto-marca {
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.moto-card .btn {
  width: 100%;
  margin-top: 1rem;
}

/* === EMPTY STATE === */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

/* === TIMELINE === */
.estado-timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  position: relative;
}

.estado-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-tertiary);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.timeline-item.active .timeline-icon {
  border-color: var(--primary);
  background: var(--primary);
}

.timeline-item.completed .timeline-icon {
  border-color: var(--accent-green);
  background: var(--accent-green);
}

/* === FOTO MODAL === */
#modal-foto-grande {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

#modal-foto-grande.hidden { display: none; }

#modal-foto-grande img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#modal-foto-grande .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
/* === MAP === */
.map-container {
  max-width: 1200px;
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  display: block;
}

/* === UTILITIES === */
.hidden {
  display: none !important;
}

/* === NUESTROS TRABAJOS (CAROUSEL & PORTFOLIO) === */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 1rem 0;
}
.carousel-track-container {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}
.work-card {
  flex: 0 0 100%;
  padding: 0 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
/* Responsive sizes: */
@media (min-width: 768px) {
  .work-card {
    flex: 0 0 50%;
  }
}
@media (min-width: 1024px) {
  .work-card {
    flex: 0 0 33.333%;
  }
}

.work-card-inner {
  background: var(--dark-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
}
.work-card-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.work-card:hover .work-card-inner {
  transform: translateY(-5px);
  border-color: var(--primary);
}
.work-card:hover .work-card-inner::after {
  opacity: 1;
}
.work-img-container {
  position: relative;
  padding-top: 66.666%; /* 3:2 Aspect Ratio */
  overflow: hidden;
  background: #000;
}
.work-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-card:hover .work-img {
  transform: scale(1.05);
}
.work-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(13, 13, 13, 0.85);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}
.work-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.work-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.work-moto {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.work-service {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}
.work-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.work-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.work-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--border);
  color: var(--text);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  outline: none;
}
.carousel-arrow:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(255,215,0,0.5);
}
.carousel-arrow-prev {
  left: 10px;
}
.carousel-arrow-next {
  right: 10px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  background: var(--primary);
  width: 25px;
  border-radius: 5px;
}

/* Grid & Portfolio Page */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Page header & intro */
.portfolio-header {
  text-align: center;
  padding: 120px 1rem 2rem;
  background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark) 100%);
  border-bottom: 1px solid var(--border);
}
.portfolio-header h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.portfolio-header h1 span {
  color: var(--primary);
}
.portfolio-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Filters Placeholder */
.portfolio-filters-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  background: var(--dark-secondary);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.filter-select {
  background: var(--dark-tertiary);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}
.filter-select:hover, .filter-select:focus {
  border-color: var(--primary);
}
.filter-badge-info {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Load More button */
.load-more-container {
  text-align: center;
  margin: 3rem auto;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}
.btn-outline:disabled {
  border-color: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: transparent;
}

/* Lightbox Modal styling */
.lightbox {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2100;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(26,26,26,0.5);
}
.lightbox-close:hover {
  color: var(--primary);
  background: rgba(26,26,26,0.8);
}
.lightbox-content-container {
  position: relative;
  max-width: 85%;
  max-height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  border-radius: 8px;
  overflow: hidden;
}
.lightbox-content {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}
.lightbox-caption {
  margin: 1.5rem auto 0;
  text-align: center;
  color: #fff;
  font-size: 1rem;
  max-width: 80%;
}
.lightbox-caption h3 {
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.lightbox-caption p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 50%;
  user-select: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2050;
}
.lightbox-nav:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}
.lightbox-prev {
  left: 30px;
}
.lightbox-next {
  right: 30px;
}
.lightbox-counter {
  position: absolute;
  top: 25px;
  left: 25px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(26,26,26,0.5);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 18px; }
}

