/* ========================================
   STYLE MODERNE ET COHÉRENT
   Geoffrey Bourrissoux - Portfolio
======================================== */

/* ========================================
   RESET & BASE
======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #333;
  color: #EEE;
}

a {
  color: #BBB;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FFF;
}

a:visited {
  color: #CCC;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 15px 0;
  color: #FFF;
}

p {
  margin: 0 0 20px 0;
}

/* ========================================
   CONTAINER
======================================== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HEADER
======================================== */
.header {
  background: #000;
  padding: 20px 0;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.header-title h1 {
  margin: 0;
  font-size: 24px;
}

.header-title h1 a {
  color: #EEE;
  text-decoration: none;
}

.header-title h2 {
  margin: 5px 0 0 0;
  font-size: 14px;
  text-align: left;
}

.header-title h2 a {
  color: #BBB;
  text-decoration: none;
  font-style: italic;
}

.header-images {
  display: flex;
  gap: 5px;
}

.header-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.header-divider {
  height: 1px;
  background: #EEE;
  margin: 10px 0;
}

/* Header Navigation */
.header-nav {
  background: #444;
  padding: 12px 0;
  margin: 0 -20px;
}

.header-nav-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #EEE;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #EEE;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #BBB;
}

/* ========================================
   CONTENT (PAGE ACCUEIL)
======================================== */
.content {
  padding: 30px 0;
}

.content p {
  margin-bottom: 20px;
  text-align: justify;
}

.content a {
  color: #BBB;
  text-decoration: none;
}

.content a:hover {
  color: #FFF;
  text-decoration: underline;
}

.kofi-container {
  margin-bottom: 20px;
}

/* Video Section */
.video-section {
  text-align: center;
  margin: 40px 0;
}

.video-section h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ========================================
   PHOTO CAROUSEL (HOME PAGE)
======================================== */
.photo-carousel-section {
  margin: 50px 0;
  padding: 40px 0;
  background: #2a2a2a;
}

.photo-carousel-section h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: #FFF;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.carousel-track {
  display: flex;
  gap: 15px;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 calc(25% - 11.25px);
  aspect-ratio: 1;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  background: #1a1a1a;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carousel-slide:hover img {
  transform: scale(1.1);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #FFF;
  font-size: 32px;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 4px;
  transition: all 0.3s;
  z-index: 10;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: 10px;
}

.carousel-nav.next {
  right: 10px;
}

.carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-nav:disabled:hover {
  transform: translateY(-50%) scale(1);
  background: rgba(0, 0, 0, 0.7);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.carousel-indicator.active {
  background: #EEE;
  transform: scale(1.3);
}

.carousel-indicator:hover {
  background: #BBB;
}

.carousel-cta {
  text-align: center;
  margin-top: 30px;
}

.carousel-cta a {
  display: inline-block;
  padding: 12px 30px;
  background: #666;
  color: #FFF;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s;
}

.carousel-cta a:hover {
  background: #777;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ========================================
   PHOTO GALLERY
======================================== */
.breadcrumb {
  padding: 15px 0;
  margin-bottom: 20px;
  font-size: 14px;
  border-bottom: 1px solid #444;
}

.breadcrumb a {
  color: #BBB;
  margin: 0 5px;
}

.breadcrumb a:hover {
  color: #FFF;
}

.breadcrumb .separator {
  color: #666;
  margin: 0 5px;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.gallery-stats {
  color: #AAA;
  font-style: italic;
  margin-bottom: 20px;
}

.gallery-controls {
  display: flex;
  align-items: center;
}

/* Toggle switch pour groupement */
.toggle-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.toggle-switch input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 50px;
  height: 24px;
  background: #444;
  border-radius: 12px;
  margin-right: 10px;
  transition: background 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #888;
  border-radius: 50%;
  transition: all 0.3s;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-slider {
  background: #666;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-slider::before {
  left: 28px;
  background: #EEE;
}

.toggle-label {
  color: #EEE;
  font-size: 14px;
}

/* Date groups */
.date-group {
  margin-bottom: 50px;
}

.date-header {
  font-size: 20px;
  color: #FFF;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #555;
}

.date-count {
  font-size: 14px;
  color: #AAA;
  font-weight: normal;
  margin-left: 10px;
}

.lightbox-date {
  position: absolute;
  top: -40px;
  left: 0;
  color: #FFF;
  font-size: 16px;
  display: none;
}

/* Folders Grid */
.folders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.folder-card {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
}

.folder-card:hover {
  background: #333;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.folder-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 10px;
}

.folder-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.folder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.folder-icon {
  font-size: 48px;
  color: #888;
}

.folder-icon-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.folder-name {
  font-size: 16px;
  color: #EEE;
  word-wrap: break-word;
}

/* Images Grid - Mosaïque sans espaces */
.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
}

.image-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: #1a1a1a;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-card:hover img {
  transform: scale(1.1);
}

.image-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.image-card:hover::after {
  background: rgba(0, 0, 0, 0.3);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #FFF;
  font-size: 40px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #FFF;
  font-size: 40px;
  cursor: pointer;
  padding: 20px;
  border-radius: 4px;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #FFF;
  font-size: 16px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 18px;
}

/* ========================================
   VIDEO PORTFOLIO
======================================== */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  background: #333;
  min-height: 100vh;
}

.content-wrapper {
  padding: 20px;
  padding-top: 40px;
}

h1 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: bold;
  text-align: center;
}

.controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
  padding: 20px;
  background: #2a2a2a;
  border-radius: 8px;
}

.control-group {
  display: flex;
  flex-direction: column;
}

.control-group label {
  font-size: 14px;
  margin-bottom: 8px;
  color: #AAA;
  font-weight: bold;
}

.control-group select,
.control-group input {
  padding: 10px;
  background: #444;
  border: 1px solid #555;
  color: #EEE;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.control-group select:focus,
.control-group input:focus {
  outline: none;
  border-color: #888;
}

.control-group button {
  padding: 10px;
  background: #666;
  border: none;
  color: #EEE;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s;
}

.control-group button:hover {
  background: #777;
}

/* Multi-Select Dropdown Styles */
.multi-select-container {
  position: relative;
  width: 100%;
}

.multi-select-display {
  padding: 10px;
  background: #444;
  border: 1px solid #555;
  border-radius: 4px;
  min-height: 42px;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  transition: border-color 0.3s;
}

.multi-select-display:hover {
  border-color: #888;
}

.multi-select-placeholder {
  color: #AAA;
  font-size: 14px;
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #666;
  color: #FFF;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
}

.selected-tag .remove {
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  padding: 0 3px;
  transition: color 0.2s;
}

.selected-tag .remove:hover {
  color: #f44;
}

.multi-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #2a2a2a;
  border: 1px solid #555;
  border-radius: 4px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.multi-select-dropdown.active {
  display: block;
}

.multi-select-option {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}

.multi-select-option:hover {
  background: #333;
}

.multi-select-option input[type="checkbox"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
  margin: 0;
}

.multi-select-option label {
  cursor: pointer;
  margin: 0;
  color: #EEE;
  font-size: 14px;
  font-weight: normal;
  flex: 1;
}

/* Stats Display */
.stats {
  text-align: center;
  color: #AAA;
  font-style: italic;
  margin-bottom: 30px;
  font-size: 16px;
}

.projects-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 50px;
}

.project-card {
  background: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.project-image {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.project-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.play-overlay::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 24px solid #FFF;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 5px;
}

.project-image:hover .play-overlay {
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%) scale(1.15);
}

.project-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.85);
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 13px;
  color: #FFF;
}

.project-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.project-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFF;
  cursor: pointer;
  line-height: 1.3;
}

.project-title:hover {
  color: #BBB;
}

.project-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-tag {
  background: #444;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 12px;
  color: #BBB;
  white-space: nowrap;
}

.project-description {
  color: #CCC;
  line-height: 1.7;
  font-size: 14px;
}

.no-results {
  text-align: center;
  padding: 80px 20px;
  color: #888;
  font-size: 18px;
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-overlay.active {
  display: flex;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.close-video {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #FFF;
  font-size: 40px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.close-video:hover {
  transform: scale(1.2);
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: #444;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #BBB;
}

.footer p {
  margin: 0;
}

/* ========================================
   RESPONSIVE
======================================== */

/* Desktop large */
@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablette */
@media (min-width: 768px) and (max-width: 1199px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile et petites tablettes */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 15px;
  }

  .header {
    padding: 15px 0;
  }

  .header-title h1 {
    font-size: 20px;
  }

  .header-images {
    flex-wrap: wrap;
  }

  .header-images img {
    width: 60px;
    height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .header-nav-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-section {
    margin: 30px 0;
  }

  .content {
    padding: 20px 0;
  }

  .content p {
    text-align: left;
  }

  /* Carrousel responsive */
  .carousel-container {
    padding: 0 50px;
  }

  .carousel-slide {
    flex: 0 0 calc(50% - 7.5px);
  }

  .carousel-nav {
    font-size: 24px;
    padding: 10px 15px;
  }

  .folders-grid,
  .images-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .folder-card {
    padding: 15px;
  }

  .folder-icon {
    font-size: 36px;
  }

  .folder-name {
    font-size: 14px;
  }

  .lightbox-nav {
    padding: 15px;
    font-size: 30px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .content-wrapper {
    padding: 15px;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .controls {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 12px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-info {
    padding: 15px;
  }

  .project-title {
    font-size: 18px;
  }

  .play-overlay {
    width: 60px;
    height: 60px;
  }

  .play-overlay::after {
    border-left: 20px solid #FFF;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .header-title h1 {
    font-size: 18px;
  }

  .header-images img {
    width: 50px;
    height: 50px;
  }

  .nav-links a {
    font-size: 16px;
    padding: 8px 0;
  }

  /* Carrousel très petit écran */
  .carousel-container {
    padding: 0 40px;
  }

  .carousel-slide {
    flex: 0 0 100%;
  }

  .carousel-nav {
    font-size: 20px;
    padding: 8px 12px;
  }

  .carousel-nav.prev {
    left: 5px;
  }

  .carousel-nav.next {
    right: 5px;
  }

  .folders-grid,
  .images-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .lightbox-nav {
    padding: 10px;
    font-size: 24px;
  }

  h1 {
    font-size: 20px;
  }

  .project-title {
    font-size: 16px;
  }

  .project-description {
    font-size: 13px;
  }

  .close-video {
    top: -40px;
    font-size: 32px;
  }
}
/* ========================================
   CUBE GALLERY STYLES
======================================== */

/* Icône Instagram avec image */
.instagram-link:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('images/instagram.png') no-repeat center;
  background-size: contain;
  margin-right: 4px;
  vertical-align: middle;
}

/* Boutons de navigation foncés */
.btn-back {
  display: inline-block;
  padding: 10px 20px;
  background: #444;
  color: #EEE;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-back:hover {
  background: #555;
  transform: translateX(-2px);
}

/* Select de tri foncé */
.sort-controls select {
  padding: 8px 12px;
  border: 1px solid #555;
  border-radius: 6px;
  background: #444;
  color: #EEE;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.sort-controls select:hover {
  border-color: #666;
}

.sort-controls select:focus {
  outline: none;
  border-color: #888;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Lien vers shooting dans lightbox */
.lightbox-shooting-link {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: #E4405F;
  background: rgba(0,0,0,0.8);
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
  white-space: nowrap;
  z-index: 10001;
}

.lightbox-shooting-link:hover {
  background: rgba(228, 64, 95, 0.9);
  color: #FFF;
  transform: translateX(-50%) translateY(-2px);
}

/* Nom du shooting dans lightbox */
.lightbox-shooting-name {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  color: #FFF;
  background: rgba(0,0,0,0.8);
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  max-width: 80%;
  text-align: center;
  z-index: 10001;
}

/* ========================================
   STYLES VIDÉO DANS LA GALERIE
======================================== */

/* Vidéos dans la grille d'images */
.image-card video {
  display: block;
}

/* Bouton play sur les vidéos en grille */
.image-card .video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.image-card:hover .video-play-button {
  background: rgba(255,255,255,0.95);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Vidéos dans la lightbox */
#lightboxVideo {
  max-width: 90vh;
  max-height: 90vh;
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #000;
}

@media (max-width: 768px) {
  #lightboxVideo {
    max-width: 95vw;
    max-height: 95vw;
  }
  
  .image-card .video-play-button {
    width: 40px;
    height: 40px;
  }
}
