:root {
  --accent-color: #a86b55;        /* caramel chaud */
  --accent-hover: #7d4e3c;        /* version foncée */
  --bg-color: #121010;            /* noir très profond mais pas pur */
  --card-bg: #1e1a1a;             /* fond des blocs */
  --text-color: #f3ece7;          /* ivoire doux */
  --accent-gradient: linear-gradient(135deg, #a86b55, #d4a574);
  --glass-bg: rgba(30, 26, 26, 0.7);
  --glass-border: rgba(168, 107, 85, 0.2);
}

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

/* Protection des images */
img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* Protection globale contre la sélection */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Autoriser la sélection dans les formulaires */
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-color);
  background-image: url('images/texture-soft-dark.png'); /* texture légère, discrète */
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); /* tamise la texture */
  z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-x: visible;
    box-sizing: border-box;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 1rem;
  overflow-x: hidden;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent-hover);
}

.logo-img {
  max-height: 80px;
  height: auto;
  width: auto;
  object-fit: contain;
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link i {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-link:hover i {
    opacity: 1;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

/* Desktop - burger caché */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  background: transparent;
  border: none;
  padding: 0;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background-image: url('images/hero-bg.png');
  width: 100%;
  background-size: cover;
  background-position: center calc(50% + 40px);
  background-repeat: no-repeat;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  aspect-ratio: 3612/1153;
  min-height: 60vh;
  max-height: 100vh;
  padding-top: 100px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(18, 16, 16, 0.6); /* filtre sombre pour contraste */
  backdrop-filter: blur(1px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-color);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(90deg, #f3ece7, #a86b55, #d4a574, #f3ece7);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeInUp 1s ease forwards, textShine 4s ease-in-out infinite 1s;
}

@keyframes textShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e0d4cc;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

/* Exception pour sections après hero */
.hero + .section {
    padding-top: 120px;
    position: relative;
    z-index: 10;
}

/* About Page Styles */
.about-text-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--accent-color);
    margin: 2rem 0 1rem 0;
    font-weight: 500;
}

.about-text-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--accent-color);
    margin: 1.5rem 0 1rem 0;
    font-weight: 500;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem 0;
}

.services-list li {
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.services-list li::before {
    content: '●';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.services-list strong {
    color: var(--accent-color);
}

/* Contact Form Styles - Moved from index.html */
.captcha-group {
  background: rgba(212, 165, 116, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid rgba(212, 165, 116, 0.2);
  position: relative;
}

.captcha-label {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

.captcha-question {
  color: var(--accent-color);
  font-size: 1.3rem;
  font-weight: bold;
  background: rgba(212, 165, 116, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 1rem;
}

.captcha-input-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.captcha-input {
  width: 170px !important;
  padding: 0.8rem !important;
  border: 2px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 1.1rem !important;
  text-align: center;
  margin: 0 !important;
}

.captcha-input:focus {
  border-color: var(--accent-color) !important;
  outline: none;
}

.captcha-refresh {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
}

.captcha-refresh:hover {
  background: #c19660;
  transform: translateY(-1px);
}

.form-progress {
  margin: 1.5rem 0;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.8rem;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), #c19660);
  width: 0%;
  transition: width 0.4s ease;
  border-radius: 3px;
}

.progress-text {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.success-message {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


.btn-loading {
  display: none;
}

/* Contact Form Responsive */
@media (max-width: 768px) {
  .captcha-input-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

/* Legal page styles */
.legal-list {
  margin-left: 20px;
  margin-top: 10px;
}

/* Album page styles - Moved from album.html */
.bloom-header {
  margin-top: 100px;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.bloom-location {
  font-size: 14px;
  color: #cccccc;
  opacity: 0.8;
  margin-bottom: 10px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInLocation 0.8s ease 0.2s forwards;
  opacity: 0;
}

@keyframes fadeInLocation {
  to {
    opacity: 0.8;
    transform: translateY(0);
  }
}

.bloom-title-container {
  position: relative;
  overflow: hidden;
  height: 80px;
  margin-bottom: 15px;
  z-index: 2;
}

.bloom-title-background {
  backdrop-filter: blur(15px);
  border-radius: 45px;
  z-index: -1;
  opacity: 0;
  animation: expandTitleBg 2s ease-out 0.5s forwards;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

@keyframes expandTitleBg {
  0% {
    width: 0;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    border-radius: 45px;
  }
  30% {
    width: 80%;
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.9);
    border-radius: 45px;
  }
  60% {
    width: 150%;
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.95);
    border-radius: 40px;
  }
  100% {
    width: 300vw;
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
    border-radius: 35px;
  }
}

.bloom-main-title {
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  color: white;
  font-family: 'Playfair Display', serif;
  letter-spacing: -2px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateX(-3000px);
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 3;
}

.bloom-main-title.active {
  opacity: 1;
  transform: translateX(0);
}

.bloom-subtitle {
  font-size: 16px;
  color: var(--accent-color);
  opacity: 0;
  margin-bottom: 50px;
  font-weight: 300;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

.bloom-filters-section {
  margin-bottom: 60px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.4s forwards;
}
.bloom-scroll-arrow,
.bloom-scroll-track { display: none; }

.bloom-filters {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.bloom-filter-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.4s ease;
  opacity: 0.7;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  position: relative;
}

.bloom-filter-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.bloom-filter-btn.active {
  opacity: 1;
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.bloom-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
  justify-content: center;
}

.bloom-item {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 1 auto;
  max-width: 100%;
}

.bloom-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.bloom-image {
  display: block;
  height: auto;
  max-height: 500px;
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  transition: transform 0.4s ease;
  object-fit: contain;
}

.bloom-item:hover .bloom-image {
  transform: scale(1.05);
}

/* Photo horizontale pleine largeur (aléatoire) */
.bloom-item.wide {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
}

.bloom-item.wide .bloom-image {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

.bloom-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.9) 100%);
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
}

.bloom-overlay::after {
  content: "©bcwphotography";
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-family: 'Lato', sans-serif;
  pointer-events: none;
}

.bloom-item:hover .bloom-overlay {
  opacity: 1;
}

.bloom-photo-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 5px;
  color: white;
  font-family: 'Playfair Display', serif;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.1s;
}

.bloom-item:hover .bloom-photo-title {
  transform: translateY(0);
}

.bloom-photo-category {
  font-size: 12px;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 300;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.2s;
}

.bloom-item:hover .bloom-photo-category {
  transform: translateY(0);
}

.bloom-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease;
}

.bloom-item:hover .bloom-indicator {
  opacity: 1;
  transform: scale(1);
}

.bloom-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  color: var(--accent-color);
}

.bloom-error {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-color);
  opacity: 0.7;
}

.bloom-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
}

.bloom-lightbox.active {
  display: flex;
  opacity: 1;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
}

.bloom-lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
}

.lightbox-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image-container {
  position: relative;
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  user-select: none !important;
  pointer-events: none !important;
  -webkit-user-drag: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-touch-callout: none !important;
  -webkit-tap-highlight-color: transparent !important;
  /* Removed problematic styles that hide the image */
}

.lightbox-watermark {
  position: absolute;
  bottom: -20px;
  right: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-family: 'Lato', sans-serif;
  pointer-events: none;
  z-index: 10;
  user-select: none;
}

.lightbox-caption {
  text-align: center;
  padding: 10px 20px;
}

.lightbox-model {
  font-size: 18px;
  color: #a86b55;
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  opacity: 0.9;
  user-select: none;
}

/* Album page responsive */
@media (max-width: 1024px) {
  .bloom-main-title { font-size: 48px; }
  .bloom-title-background { height: 70px; border-radius: 35px; }
  .bloom-grid { gap: 15px; }
  .bloom-image { max-height: 400px; }
  .bloom-filters { gap: 25px; }
}

@media (max-width: 768px) {
  .bloom-header { margin-top: 30px; margin-bottom: 15px; }
  .bloom-location { margin-bottom: 4px; font-size: 12px; }
  .bloom-main-title { font-size: 20px; letter-spacing: -1px; white-space: normal; word-wrap: break-word; position: relative; transform: none; }
  .bloom-main-title.active { transform: none; }
  .bloom-title-container { height: auto; min-height: auto; overflow: visible; margin-bottom: 2px; position: relative; }
  .bloom-title-background { display: none; }
  .bloom-subtitle { margin-top: 0; margin-bottom: 10px; font-size: 14px; }
  .bloom-image { max-height: none; width: 100%; }
  .model-name { font-size: 0.85rem; padding: 0.3rem 0.5rem; }
  .portfolio-item { border-radius: 10px; }

  /* Filtres albums : barre horizontale scrollable compacte */
  .bloom-filters-section {
    margin-bottom: 20px;
    position: relative;
  }
  .bloom-scroll-arrow {
    display: flex;
    position: absolute;
    top: 0;
    bottom: 8px;
    width: 44px;
    align-items: center;
    font-size: 20px;
    color: var(--accent-color);
    z-index: 2;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }
  .bloom-scroll-arrow.hidden { display: none; }
  .bloom-scroll-arrow-right {
    right: 0;
    justify-content: flex-end;
    padding: 0 4px 0 0;
    background: linear-gradient(to right, transparent, var(--bg-color) 50%);
    animation: pulseRight 1.5s ease-in-out infinite;
  }
  .bloom-scroll-arrow-left {
    left: 0;
    justify-content: flex-start;
    padding: 0 0 0 4px;
    background: linear-gradient(to left, transparent, var(--bg-color) 50%);
    animation: pulseLeft 1.5s ease-in-out infinite;
  }
  @keyframes pulseRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
  }
  @keyframes pulseLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-4px); }
  }
  .bloom-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding-bottom: 12px;
    padding-left: 35px;
    padding-right: 35px;
    scrollbar-width: none;
  }
  .bloom-filters::-webkit-scrollbar { display: none; }
  /* Track/rail élégant sous les filtres */
  .bloom-scroll-track {
    display: block;
    position: relative;
    height: 2px;
    background: var(--glass-border);
    border-radius: 2px;
    margin-top: 2px;
    overflow: hidden;
  }
  .bloom-scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: left 0.15s ease, width 0.15s ease;
  }
  .bloom-filter-btn {
    font-size: 13px;
    padding: 6px 14px;
    white-space: nowrap;
    flex-shrink: 0;
    border-bottom: none;
    border-radius: 20px;
    margin: 2px 4px;
  }
  .bloom-filter-btn.active {
    background: var(--accent-color);
    color: #fff;
    border-bottom: none;
  }

  /* Grille photos style Pinterest 2 colonnes */
  .bloom-grid {
    display: block;
    columns: 2;
    column-gap: 8px;
    margin-top: 15px;
  }
  .bloom-item {
    break-inside: avoid;
    margin-bottom: 8px;
    display: inline-block;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .bloom-grid { column-gap: 6px; }
  .bloom-item { margin-bottom: 6px; }
}


/* Admin loading styles */
.admin-loading {
  display: none;
}

/* Utility classes for inline styles cleanup */
.spinner-icon {
  font-size: 24px;
}

.error-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.btn-loading-hidden {
  display: none;
}

.message-hidden {
  display: none;
}

.text-muted {
  color: #999;
  text-align: center;
}

.text-error {
  color: red;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--accent-gradient);
  background-size: 200% 200%;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  animation: gradientShift 4s ease infinite;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(168, 107, 85, 0.6);
  background-position: right center;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-button:disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  transform: none !important;
}

.cta-button:disabled:hover {
  background: #ccc !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Sections */
.section {
    padding: 140px 20px 80px 20px; /* top, right, bottom, left */
    max-width: 1800px;
    margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.section-title:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Lazy loading styles */
.portfolio-image.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 25px 50px rgba(168, 107, 85, 0.3);
    border-color: var(--accent-color);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Portfolio avec métadonnées */
.portfolio-content {
    text-align: center;
}

.portfolio-title {
  color: var(--text-color);
  font-size: 1.4rem;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  background: rgba(30, 30, 30, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

/* Style élégant pour les noms des modèles - comme le titre principal */
.model-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
    margin: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 10px;
    /* Removed backdrop-filter to prevent text blur */
}

.portfolio-model {
    color: #e3f2fd;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.portfolio-photo-title {
    color: #b3e5fc;
    font-size: 0.8rem;
    font-style: italic;
}

/* Placeholder pour images manquantes */
.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1f3a;
    color: var(--accent-color);
}

.portfolio-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Photo horizontale pleine largeur */
.portfolio-item.wide {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
  max-height: 500px;
}

.portfolio-item.wide .portfolio-image {
  object-position: center center;
}

/* Portfolio grid responsive */
@media (min-width: 1200px) {
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }
}

@media (max-width: 1199px) {
  .model-name { font-size: 0.85rem; padding: 0.3rem 0.5rem; }
  .portfolio-item { border-radius: 10px; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: rgba(26, 31, 58, 0.95);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(100, 181, 246, 0.3);
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(100, 181, 246, 0.2);
    padding-bottom: 1rem;
}

.lightbox-header h2 {
    color: var(--accent-color);
    margin: 0;
}

.lightbox-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(100, 181, 246, 0.2);
}

.lightbox-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.lightbox-slide {
    text-align: center;
}

.lightbox-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.lightbox-info h3 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.lightbox-info p {
    color: #b0bec5;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.lightbox-info small {
    color: #90a4ae;
    font-size: 0.8rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(183, 110, 121, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 400px;
    background: #1a1f3a;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 4rem;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 16px 14px;
    border: 1px solid rgba(100, 181, 246, 0.3);
    border-radius: 8px;
    background: rgba(26, 31, 58, 0.8);
    color: white;
    transition: border-color 0.3s ease;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364b5f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    width: 30px;
}

/* Scroll to top button */
#scrollToTop {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 50px !important;
  height: 50px !important;
  background: rgba(168, 107, 85, 0.9) !important;
  border: 2px solid var(--accent-color) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#scrollToTop:hover {
  background: var(--accent-color) !important;
  transform: translateY(-3px) !important;
}

#scrollToTop.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Footer */
.footer {
    background: rgba(10, 14, 26, 0.95);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(100, 181, 246, 0.2);
}

.footer-link {
  color: var(--text-color);
  font-size: 0.85rem;
  text-decoration: underline;
  opacity: 0.8;
}

.footer-link:hover {
  color: var(--accent-color);
  opacity: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-hover);
}

/* Gallery & Album */
.masonry-gallery {
    column-count: 3;
    column-gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.masonry-item img:hover {
    transform: scale(1.05);
}

.album-grid {
  column-width: 320px;
  column-gap: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 120px;
}

.album-grid img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  break-inside: avoid;
  transition: transform 0.3s ease;
}

.album-grid img:hover {
  transform: scale(1.03);
}

.album-page main.section {
  margin-top: 60px;
}

.album-page .section-title {
  margin-bottom: 0.1rem;
}

/* Colors & Typography */
h1, h2, h3, .logo, .section-title {
  color: var(--text-color);
}

body,
p,
a,
label {
  color: var(--text-color);
}

img {
  pointer-events: none;
  user-select: none;
}

/* Modern Cursor Styles - DISABLED */

/* Skeleton Loading Animation */
.skeleton-loader {
    background: linear-gradient(90deg, #1e1a1a 25%, #2a2626 50%, #1e1a1a 75%);
    background-size: 400% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Enhanced Loading States */
.loading-portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 20px;
}

.loading-portfolio .fas.fa-spinner {
    font-size: 3rem;
    color: var(--accent-color);
    animation: modernSpin 1s linear infinite;
}

@keyframes modernSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Parallax Hero Enhancement - Override for parallax */
.hero.parallax-active {
    background-attachment: fixed;
    transition: background-size 0.1s linear;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(168, 107, 85, 0.1) 50%, transparent 70%);
    opacity: 0;
    animation: heroShimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroShimmer {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 0.3; transform: translateX(100%); }
}

/* Page Transitions - DISABLED */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile - Responsive menu */
@media (max-width: 768px) {
  .burger {
    display: flex !important;
    width: 30px;
    height: 24px;
    padding: 0;
  }
  .burger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    list-style: none;
  }
  .hero {
    background-size: cover; /* ← Crop les côtés mais remplit l'écran */
    background-position: center 80px; /* ← Décalage pour la navbar */
    min-height: 50vh; /* ← Hauteur que vous pouvez ajuster */
    max-height: 70vh; /* ← Hauteur max que vous pouvez ajuster */
    aspect-ratio: auto; /* ← Libère le ratio sur mobile */
    padding-top: 80px;
  }
  .nav-menu.active {
    display: flex;
    right: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
  }

  .nav-link i {
    font-size: 1.1rem;
  }

  .logo-img {
    max-height: 50px;
    width: auto;
  }

  .navbar {
    padding: 1rem;
  }

  .nav-container {
    padding: 0;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 100px;
  }

  /* Animation burger */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Responsive content */
  .hero-content {
    padding: 0 20px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .masonry-gallery {
    column-count: 1;
  }

  .album-grid {
    padding: 1rem;
  }

  .lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    padding: 1rem;
  }
  
  .lightbox-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body {
    padding-top: 0;
    overflow-x: hidden;
  }
}

.bloom-title-background.animate {
  animation: expandTitleBg 2s ease-out 0.5s forwards;
}
.bloom-title-background {
  background-color: var(--title-bg-color);
  backdrop-filter: blur(15px);
  border-radius: 45px;
  width: 100%;
  height: 90px;
  opacity: 1;
  animation: none;
}

.bloom-lightbox-content {
  text-align: center;
  color: white;
  max-width: 90%;
}

.lightbox-caption {
  margin-top: 20px;
}

.lightbox-title {
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
}

.lightbox-copyright {
  font-size: 14px;
  color: var(--accent-color);
}

.bloom-container {
  padding: 100px 20px 60px;
  max-width: 1800px;
  margin: 0 auto;
}

@media print {
  body {
    display: none !important;
  }
}

/* Search System Styles */
.search-container {
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid rgba(168, 107, 85, 0.3);
    border-radius: 25px;
    background: rgba(30, 26, 26, 0.9);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(168, 107, 85, 0.1);
    background: rgba(30, 26, 26, 1);
}

.search-input::placeholder {
    color: rgba(243, 236, 231, 0.6);
}

.search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-clear:hover {
    background: rgba(168, 107, 85, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid rgba(168, 107, 85, 0.3);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.search-suggestion {
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(168, 107, 85, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-suggestion:hover,
.search-suggestion:focus {
    background: rgba(168, 107, 85, 0.1);
    color: var(--accent-color);
}

.advanced-filters {
    margin-bottom: 1rem;
}

.filter-toggle {
    background: rgba(168, 107, 85, 0.1);
    border: 1px solid rgba(168, 107, 85, 0.3);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-toggle:hover {
    background: rgba(168, 107, 85, 0.2);
    border-color: var(--accent-color);
}

.filter-panel {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(30, 26, 26, 0.9);
    border: 1px solid rgba(168, 107, 85, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: rgba(168, 107, 85, 0.1);
    border: 1px solid rgba(168, 107, 85, 0.3);
    color: var(--text-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    margin: 0.25rem;
}

.filter-btn:hover {
    background: rgba(168, 107, 85, 0.2);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(168, 107, 85, 0.3);
}

.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(243, 236, 231, 0.7);
}

.no-results-content i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.search-results-info {
    color: rgba(243, 236, 231, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0.5rem;
}
