/* ---------------------------------------
   SHARED STYLE � ChatGPT_Website
---------------------------------------- */

/* Global */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

.admin-content {
    flex-grow: 1;
}


.nolink {
    font-weight: 500;
 	text-decoration: none;
    color: #0d6efd;

}

.nolink:hover {
    color: #065481;
    text-decoration: underline;
}


/* ------------------------------
   NAVBAR
-------------------------------- */
.navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
}




/* ------------------------------
   HERO SECTION
-------------------------------- */
.hero {
    position: relative;
    background:   url('../img/logo_header.jpg') center/cover no-repeat;
    color: white;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    animation: heroZoomFade 1.5s ease-in-out forwards;
}

@keyframes heroZoomFade {
    0% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.hero h1 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    animation: fadeInDown 0.8s ease-in-out 0.3s both;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-in-out 0.5s both;
}

/* Fade animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 600px) {
    .hero {
        height: 340px;
        padding: 60px 20px;
    }
}


/* ------------------------------
   OWNER SECTION
-------------------------------- */

.pjlink {
  color: #cccccc;

}
.pjlink:hover,
.pjlink.active {
  color: #fff;
}

.text-description {
  color: #333333;
  font-size:1.25em;
}


/* ------------------------------
   OWNER SECTION
-------------------------------- */
.owner-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


.owner-section .col-md-7 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}




/* ------------------------------
   CARD STYLING
-------------------------------- */

.card,
.card img { transition: none !important; transform: none !important; }



.carousel-item img {
    border-radius: 0.5rem;
    object-fit: cover;
    height: 250px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* Featured cards */
.featured-card {
    transition: transform .3s ease, box-shadow .3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

.featured-card img {
    transition: transform .3s ease;
}

.featured-card:hover img {
    transform: scale(1.03);
}

.featured-card .card-text {
    height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ------------------------------
   SOLD (product-card)
-------------------------------- */

.ribbon-sold {
   position: absolute;
    top: 10px;
    right: -40px;
    width: 140px;
    background: #c30000;
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 5px 0;
    transform: rotate(45deg);
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 20;
}

.sold-out-img {
  filter: grayscale(100%) brightness(100%);
}

/* Top full-width ribbon banner */
/*
.sold-banner {
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: 6px 0;
background: rgba(153, 0, 0, 0.95);
color: #fff;
text-align:center;
font-weight: 700;
font-size: 0.9rem;
z-index: 5;
letter-spacing: 1px;
}
*/


/* Circular badge */
/*
.sold-badge {
position: absolute;
bottom: 12px;
right: 12px;
background: #cc0000;
color: white;
font-weight: bold;
font-size: 0.8rem;
padding: 10px 14px;
border-radius: 50%;
z-index: 5;
box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.sold-out-img {
  filter: grayscale(0%) brightness(100%);
}

*/


/* ------------------------------
   SIDEBAR (Catalog page)
------------------------------- */
#sidebarMenu {
    background-color: #f8f9fa;
    min-height: 100vh;           /* hauteur pleine */
    border-right: 1px solid #dee2e6;
}

.sidebar {
  min-height: 100vh;
  border-right: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}


.sidebar h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}
.sidebar .nav-link {
  color: #333;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  transition: background 0.2s, color 0.2s;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background-color: #0d6efd;
  color: #fff;
}

.sidebar {
  transition: transform 0.3s ease;
}


#sidebarMenu {
  position: sticky;
  top: 70px; /* adjust to match your navbar height */
  height: calc(100vh - 70px);
  overflow-y: auto;
}

#sidebarMenu .nav-link {
    color: #212529;
    border-radius: .375rem;
    margin-bottom: 2px;
}

#sidebarMenu .nav-link:hover {
    background-color: #0d6efd;
}

#sidebarMenu .nav-link.active {
    background-color: #0d6efd;
    font-weight: 600;
}

/* Mobile sidebar */
@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        top: 56px;
        left: -250px;
        width: 250px;
        height: calc(100% - 56px);
        z-index: 1050;
        transform: translateX(0);
    }

    .sidebar.show {
        left: 0;
    }
}

/* Offcanvas menu: specific overrides */
#mobileOffcanvas .offcanvas-body .nav-link {
    padding: 0.5rem 1rem;
    color: #212529 !important;       /* ensure default text is dark */
    font-weight: 500;
    border-bottom: 1px solid #e5e5e5;
    background-color: transparent !important;
    transition: background-color 0.2s, color 0.2s;
}

#mobileOffcanvas .offcanvas-body .nav-link:hover {
    background-color: #f8f9fa !important;
    color: #0d6efd !important;
}

#mobileOffcanvas .offcanvas-body .nav-link.active {
    background-color: #e9ecef !important;
    color: #0d6efd !important;
    font-weight: 700;
}


.footer-admin-bar {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}

.footer-admin-bar .admin-link {
    color: #999;
    text-decoration: none;
}

.footer-admin-bar .admin-link:hover {
    text-decoration: underline;
}

.footer-admin-bar .sep {
    margin: 0 0.5rem;
    color: #aaa;
}


/* ------------------------------
   FOOTER
-------------------------------- */
footer {
    background-color: #000;
    color: #ddd;
    text-align: center;
    padding: 1rem 0;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* ------------------------------
   BUTTONS
-------------------------------- */
.btn-primary,
.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary {
    color: #0d6efd;
}

.btn-outline-primary:hover {
    color: white;
}

/* ------------------------------
   UTILITY
-------------------------------- */
section {
    scroll-margin-top: 70px;
}




/* Magazine / Editorial Layout */

.owner-section .owner-photo {
    max-width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

/* Thin divider + subtitle */
.mag-subtitle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mag-subtitle span {
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.mag-subtitle h5 {
    margin: 0;
    font-weight: 600;
    letter-spacing: 2px;
    color: #888;
}

/* Drop-cap first letter */
.editorial-text .dropcap {
    float: left;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 700;
    margin-right: 12px;
    color: #333333;
    font-family: 'Georgia', serif;
}

/* Paragraph rhythm */
.editorial-text p {
    text-align: justify;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Decorative Divider */
.divider {
    display: flex;
    justify-content: center;
    align-items: center;

}

.divider span {
    display: inline-block;
    height: 2px;
    border-radius: 2px;
    background: #cccccc;
}


.divider span:nth-child(1) { width: 380px; opacity: 1; }




.exhibition-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover desktop uniquement */
@media (hover: hover) {
  .exhibition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,.15);
  }
}

/* Image – comportement par défaut (desktop) */
.exhibition-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* 🔑 MOBILE FIX */
@media (max-width: 768px) {
  .exhibition-img {
    height: auto;       /* ⬅️ clé */
    object-fit: contain;/* ⬅️ clé */
  }
}

.tracking-wide {
  letter-spacing: .15em;
}

.testimonial-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #444;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-size: 3rem;
  color: #ccc;
  position: absolute;
  left: -10px;
  top: -20px;
}

.testimonial-author {
  font-weight: 600;
  color: #777;
  font-size: .9rem;
}

.testimonial-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
}

.testimonial-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eee;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #444;
  margin: 1rem 0 1.25rem;
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-size: 3rem;
  color: #ccc;
  position: absolute;
  left: -8px;
  top: -18px;
}

.testimonial-author {
  font-weight: 600;
  color: #777;
  font-size: .9rem;
}

