/* Base Styles */
.modal {
    background-color: rgba(0, 0, 0, 0.8); /* noir avec 80% d'opacité */
}

body {
  font-family: 'Raleway', sans-serif;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #777;
}

/* Navigation */
.navbar {
  padding: 1.5rem 0;
  background-color: #fff;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #333;
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.hero h1 {
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero .lead {
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: #777;
}

/* Carousel Styles */
.artwork-carousel {
  padding: 0;
  margin: 0;
  width: 100%;
}

.carousel-img {
  height: 600px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 5px;
  backdrop-filter: blur(5px);
  max-width: 80%;
  margin: 0 auto;
  left: 10%;
  right: 10%;
  bottom: 30px;
}

.carousel-caption h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.carousel-caption p {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
}

.carousel-indicators {
  margin-bottom: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 10px;
}

/* Artist Statement */
.statement {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #555;
  font-weight: 300;
}

/* Recent Works Section */
.section-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 1px;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
}

.artwork-item {
  transition: transform 0.3s ease;
}

.artwork-item:hover {
  transform: translateY(-5px);
}

.artwork-img-container {
  overflow: hidden;
  position: relative;
}

.artwork-img-container img {
  transition: transform 0.5s ease;
}

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

.artwork-title {
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 1rem;
  font-family: 'Playfair Display', serif;
}

.artwork-item a {
  color: inherit;
  text-decoration: none;
}

/* Gallery Page */
.gallery-tabs {
  margin-bottom: 2rem;
}

.gallery-tabs .nav-link {
  color: #555;
  margin: 0 0.5rem;
  border-radius: 0;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  position: relative;
}

.gallery-tabs .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #333;
  transition: width 0.3s ease;
}

.gallery-tabs .nav-link:hover::after,
.gallery-tabs .nav-link.active::after {
  width: 100%;
}

.gallery-item {
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  padding: 1rem 0;
}

.gallery-caption h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.gallery-caption p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.2rem;
}

/* About Page */
.about-image {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

/* Contact Page */
.contact-info h3 {
  font-weight: 700;
  margin-top: 1.5rem;
}

.form-control {
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 0.8rem;
}

.form-control:focus {
  box-shadow: none;
  border-color: #aaa;
}

.btn {
  border-radius: 0;
  padding: 0.6rem 2rem;
  transition: all 0.3s ease;
}

.btn-dark {
  background-color: #333;
}

.btn-dark:hover {
  background-color: #555;
}

.btn-outline-dark {
  border-color: #333;
  color: #333;
}

.btn-outline-dark:hover {
  background-color: #333;
}

/* Footer */
.footer {
  background-color: #f8f9fa;
  font-size: 0.9rem;
}

.footer-link {
  color: #555;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #000;
  text-decoration: none;
}

/* Page Header */
.page-header {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.fade-in-delay {
  opacity: 0;
  animation: fadeIn 1s forwards 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 767px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .statement {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .carousel-img {
    height: 350px;
  }
  
  .carousel-caption {
    padding: 10px;
    max-width: 90%;
    left: 5%;
    right: 5%;
    bottom: 20px;
  }
  
  .carousel-caption h5 {
    font-size: 1.1rem;
  }
  
  .carousel-caption p {
    font-size: 0.8rem;
  }
}

/* Lightbox Overlay */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.9);
}