/* CSS Variables */
:root {
    --primary-color: #d4c67e;
    --secondary-color: #847f6c;
    --third-color: #171514;
    --fourth-color: #d6d2d2;
    --fifth-color: #e7e7e6;
    --sixth-color: #dad4d4;
    --transition-speed: 0.3s;
    --transition: all 0.3s ease;
    --spacing-unit: clamp(10px, 2vw, 20px);
    --spacing: clamp(15px, 3vw, 30px);
    --border-radius: 8px;
}

/* Font Faces */
@font-face {
    font-family: "Audrey";
    src: url("/site/fonts/Audrey-Bold.otf") format("opentype"),
        url("/site/fonts/Audrey-Normal.otf") format("opentype");
}

@font-face {
    font-family: "FinalSix";
    src: url("/site/fonts/FinalSix Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "FinalSix";
    src: url("/site/fonts/FinalSix Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "FinalSix";
    src: url("/site/fonts/FinalSix Book.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "FinalSix";
    src: url("/site/fonts/FinalSix HairLine.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "FinalSix";
    src: url("/site/fonts/FinalSix Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "FinalSix";
    src: url("/site/fonts/FinalSix Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

/* Base Styles */
a {
    text-decoration: none;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Audrey", Arial, sans-serif;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
    color: var(--third-color);
}

ul {
    list-style-type: none;
}

p {
    font-family: "FinalSix" !important;
    font-weight: 300;
    margin-bottom: 1rem;
}

/* Typography */
h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: clamp(1.5rem, 4vw, 2.5rem) 0;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h5 { font-size: clamp(1rem, 1.8vw, 1.3rem); }
h6 { font-size: clamp(0.9rem, 1.5vw, 1.1rem); }

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--third-color);
    outline: none;
    border: none;
    border-radius: 19px;
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.btn-heart {
    background: none;
    border: 1px solid var(--third-color);
    padding: 10px;
    border-top-right-radius: 0.65rem;
    border-bottom-right-radius: 0.65rem;
    height: 2.6em;
    width: 2.5em;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.btn-heart:hover {
    background-color: var(--third-color);
    color: white;
    transform: scale(1.05);
}

.btn-add-to-selection {
    background-color: var(--third-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-top-left-radius: 0.65rem;
    border-bottom-left-radius: 0.65rem;
    margin-right: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.btn-add-to-selection:hover {
    background-color: var(--primary-color);
    color: var(--third-color);
    transform: translateY(-2px);
}

.btn-add-to-selection::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-to-selection.clicked::after {
    width: 300px;
    height: 300px;
}

.btn-sm {
    padding: 5px;
    font-size: clamp(12px, 1.5vw, 14px);
    transition: var(--transition);
}

.btn-sm:hover {
    background-color: var(--fifth-color);
}

.cont-button {
    transition: all 0.6s;
}

.cont-button:hover {
    background-color: #171514;
    color: #d4c67e;
    box-shadow: 0 0 1px #d4c67e;
    border-radius: 0;
}

.cta-button {
    box-shadow: 0px 0px 2px 1px #ffffff;
    font-size: 1.1em !important;
    transition: 0.7s all;
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
}

.cta-button:hover {
    background-color: #DBC87B;
    color: #100D0C;
    border-radius: 0;
    box-shadow: 0px 0px 2px 1px #100D0C;
}

.sinscrire-button {
    font-size: 1.1em !important;
    background-color: #DBC87B;
    transition: 0.7s all;
    color: #000000;
    border-radius: 0;
}

.sinscrire-button:hover {
    background-color: #000000;
    color: #DBC87B;
    border-radius: 8px;
}

.category-ensavoirplus {
    padding: clamp(8px, 1.5vw, 12px) clamp(20px, 3vw, 30px);
    font-size: clamp(14px, 1.5vw, 16px);
    transition: var(--transition);
    border: 1px solid var(--third-color);
    background: transparent;
    margin: 2rem 0;
}

.category-ensavoirplus:hover {
    background-color: var(--third-color);
    color: var(--primary-color);
}

.contactForm-appointmentButton {
    padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 30px);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    transition: var(--transition);
    border: none;
    background: var(--primary-color);
    color: var(--third-color);
}

.contactForm-appointmentButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 198, 126, 0.3);
}

/* Layout */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 1000vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease-in-out;
    background-color: black;
}

.container {
    padding: clamp(15px, 3vw, 30px);
    max-width: 1400px;
    margin: 0 auto;
}

.container-fluid {
    padding: clamp(15px, 3vw, 30px);
    margin: 0 auto;
}

.container.text-center.my-5 {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    padding: 0 20px;
}
/* IMPROVED NAVBAR STYLES - Replace existing navbar CSS with this */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 20px;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    box-shadow: 2px 0px 6px 0px rgba(0, 0, 0, 0.78);
    position: relative;
}

/* Left section - Menu button with perfect alignment */
.toggle-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.toggle-btn .menu-icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.toggle-btn .menutogg {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Center section - Logo (perfectly centered) */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    height: 94px;
    max-width: 100%;
    object-fit: contain;
}

/* Right section - Navigation links and icons with improved spacing */
.navsl {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.iconsna {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
    order: 1;
}

.iconsna .nav-links {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* FIXED: Navigation links with reduced spacing */
.nav-links {
    display: flex;
    align-items: center;
    gap: 12px; /* Reduced from 15px for tighter spacing */
    margin: 0;
    padding: 0;
    order: 2;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

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

/* Remove Bootstrap margin classes that interfere */
.nav-links.mt-5 {
    margin-top: 0 !important;
}

.iconsna > div {
    margin: 0;
}

/* Icon styling */
.fa-solid {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Keep existing color variants - UNCHANGED */
.absoluteNav .toggle-btn {
    color: #fff;
}

.absoluteNav .nav-links a {
    color: #fff;
}

.absoluteNav .fa-solid {
    color: #fff;
}

.relativeNav .toggle-btn {
    color: #000 !important;
}

.relativeNav .nav-links a {
    color: #000 !important;
}

.relativeNav .fa-solid {
    color: #000 !important;
}

/* Keep existing navbar states - UNCHANGED */
.navbar-transparent {
    background-color: transparent;
    transition: background-color 0.3s;
    top: 0;
    left: 0;
    right: 0;
    padding: 3% 3%;
}

.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    color: rgb(0, 0, 0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.scrolled {
    background-color: #333;
}

/* Keep existing nav styles - UNCHANGED */
nav .nav-links {
    display: ruby-text;
}

nav .nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 3%;
    font-size: 18px;
}

.absoluteNav {
    position: absolute;
    color: #fff;
}

.relativeNav * {
    position: relative;
    color: #000000 !important;
}

.iconsna {
    display: flex;
    justify-content: flex-end;
}

.iconsna div {
    margin: 0 0.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 6px 15px;
    }
    
    .header-logo {
        height: 70px;
    }
    
    .nav-links a {
        font-size: 12px;
    }
    
    .nav-links {
        gap: 10px; /* Even tighter on mobile */
    }
    
    .navsl {
        gap: 6px;
    }
    
    .iconsna {
        gap: 12px;
    }
    
    .toggle-btn {
        font-size: 14px;
    }
    
    .fa-solid {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 6px 10px;
    }
    
    .header-logo {
        height: 60px;
    }
    
    .nav-links a {
        font-size: 10px;
    }
    
    .nav-links {
        gap: 8px; /* Very tight spacing on small screens */
    }
    
    .navsl {
        gap: 4px;
    }
    
    .iconsna {
        gap: 10px;
    }
    
    .fa-solid {
        font-size: 12px;
        width: 12px;
        height: 12px;
    }
    
    .toggle-btn {
        font-size: 12px;
    }
}
/* Navigation 
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 20px;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    box-shadow: 2px 0px 6px 0px rgba(0, 0, 0, 0.78);
    -webkit-box-shadow: 2px 0px 6px 0px rgba(0, 0, 0, 0.78);
    -moz-box-shadow: 2px 0px 6px 0px rgba(0, 0, 0, 0.78);
}*/

.scrolled {
    background-color: #333;
}


/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -272px;
    width: 272px;
    height: 100%;
    background-color: #000000;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar li {
    padding: 10px;
    cursor: pointer;
}

.sidelogo {
    position: relative;
    margin-top: 1.4em;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    align-content: center;
    flex-direction: column;
    padding: 15px 0;
    text-align: center;
}

.sidebaropenl {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebaropenl li {
    padding: 12px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sidebaropenl li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebaropenl hr {
    margin: 8px 15px;
    border-color: rgba(255, 255, 255, 0.1);
}

.close-btn {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 0 20px;
    color: #333;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.secondary-sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #ffffff;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

.secondary-sidebar-header {
    height: 122px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 30px;
    background-color: #f1f1f1;
    padding: 15px;
    text-align: center;
}

.secondary-sidebar.open {
    left: 250px;
}

.return-btn {
    outline: none !important;
    border: none;
    background: none;
    cursor: pointer;
    padding: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ul-secondprod {
    display: block !important;
    padding-left: 0;
    padding-left: 15px !important;
}

/* Sections */
.welcome-section {
    text-align: center;
    color: white;
    padding-top: 17px;
    padding: 60px 20px;
}

.welcome-section p {
    font-family: "FinalSix", sans-serif;
    font-weight: 300;
    margin-top: 2em;
    padding: 0 0em;
    font-size: 1.3em;
    max-width: 1200px;
    margin: 2em auto;
    line-height: 1.6;
}

.collection-section,
.project-section,
.actuality-section {
    padding: 10px 0;
    padding-top: 53px;
}

.collectionhome {
    display: flex;
    align-items: center;
    justify-content: center;
}

.collectionhome,
.projecthome {
    height: 580px;
    background-size: cover;
    background-position: left 66%;
    color: white;
    box-shadow: inset 0 0 340px 124px black;
    background-attachment: fixed;
}

.projecthome {
    padding: 2em 4em;
}

.projecthome small {
    font-size: 1.6em;
    font-family: sans-serif;
}

.projecthome p {
    font-size: 2.5em;
    margin: 0;
}

.maintext {
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 75%;
}

.actuality-section {
    display: flex;
    justify-content: space-evenly;
}

.actuality-home {
    width: 332px;
    height: 412px;
    flex-direction: column-reverse;
    align-items: center;
}

.actuhomeimages {
    height: 200px;
    margin-bottom: 20px;
    background-image: url("../images/slider/home/pg.PNG");
    background-size: cover;
    background-repeat: no-repeat;
    width: 20em;
    height: 20em;
    border-radius: 50%;
    background-position: center;
}

.actuality-title {
    padding: 10px;
    text-align: center;
    color: white;
    font-size: xx-large;
}

.actuality-home:nth-child(1) .actuhomeimages {
    background-image: url("/site/images/slider/home/pg.PNG");
}

.actuality-home:nth-child(2) .actuhomeimages {
    background-image: url("/site/images/slider/home/salone-del-mobile-2024.jpg");
}

.actuality-home:nth-child(3) .actuhomeimages {
    background-image: url("/site/images/slider/home/20d1.jpg");
}

.ACTUALITES {
    padding: 2em 4em;
}

.textInImage {
    font-size: 3em;
    text-shadow: 1px 2px 2px black;
}

/* Images */
.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.main-image.loading {
    opacity: 0.7;
}

.main-image:hover {
    transform: scale(1.02);
}

.thumbnail-gallery {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-top: 15px;
    padding: 5px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
    grid-auto-flow: column;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.thumbnail-gallery::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: var(--fifth-color);
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    scroll-snap-align: start;
}

.thumbnail:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail.active {
    border-color: var(--third-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.thumbnail[data-src] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.full-width-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    min-height: 400px;
}

.full-width-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 80vh;
    object-fit: contain;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-quality;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: opacity 0.3s ease;
}

.full-width-image.loading {
    opacity: 0.7;
}

.image-category {
    width: 100%;
    height: clamp(200px, 30vw, 250px);
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.productimagecategory {
    transition: var(--transition);
}

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

.productimagecategory p {
    font-size: clamp(14px, 1.8vw, 16px);
    margin-top: 1rem;
    color: var(--third-color);
}

.imageService-footer {
    height: clamp(80px, 15vw, 110px);
    width: auto;
    object-fit: contain;
}

.image-section-large {
    height: clamp(400px, 80vh, 800px);
    gap: clamp(10px, 2vw, 20px);
    padding: clamp(10px, 2vw, 20px);
}

.left-image,
.right-images {
    width: 50%;
    height: 100%;
}

.right-images {
    gap: clamp(10px, 2vw, 20px);
}

.right-top-image,
.right-bottom-image {
    height: calc(50% - clamp(5px, 1vw, 10px));
}

.left-image img,
.right-top-image img,
.right-bottom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-section-small {
    display: none;
}

.carousel-item img {
    height: clamp(300px, 60vh, 500px);
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.2);
}

/* Colors */
.color-section {
    margin-bottom: 1.5rem;
}

.color-type-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.color-type-name {
    font-weight: 500;
    min-width: 120px;
}

.color-options {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.color-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    position: relative;
    will-change: transform;
    margin: 0 clamp(3px, 0.5vw, 5px);
    border: 1px solid var(--fourth-color);
}

.color-circle:hover {
    transform: scale(1.1);
    border-color: var(--third-color);
}

.color-circle.selected {
    border-color: var(--third-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.color-circle.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.selected-colors-display {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.selected-colors-display.updated {
    background-color: #e8f5e8;
    transform: scale(1.02);
}

/* Text Utilities */
.text-gold {
    color: #d4c67e;
}

.bold {
    font-weight: bold;
}

.liesSecondsidebar {
    font-size: 0.61em;
    display: block;
    padding: 10px 15px;
    font-size: 13px;
    transition: color 0.2s;
    text-decoration: none;
    color: #333;
}

.sidebaropenl li {
    font-size: 0.87em;
}

/* Services */
.servicesLine {
    background-color: #dad4d4;
    color: #88806c;
    font-family: "FinalSix", sans-serif;
    font-weight: 300;
}

.servicesLine i {
    font-size: 3.5em;
    margin-bottom: 10px;
}

.footer-services {
    padding: clamp(15px, 2vw, 30px) 0;
    height: auto;
    min-height: 120px;
}

/* Secondary Content */
#secondary-content a {
    color: black;
    text-decoration: none;
}

#secondary-content li {
    font-size: 0.82em;
}

#secondary-content a:hover {
    color: #d4c67e;
}

/* Video and Media */
#videoTitle {
    font-size: 2em !important;
    text-shadow: 2px 2px 2px black;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#sinscrire {
    border-radius: 0;
}

.home_search {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 20px;
    border: solid 1px #000000;
    border-radius: 21px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
}

#search-input {
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    margin-bottom: 0 !important;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 20;
    transform: translateY(-50%);
}

.carousel-controls button {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: clamp(40px, 5vw, 50px);
    height: clamp(40px, 5vw, 50px);
    font-size: clamp(20px, 3vw, 26px);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-speed);
}

.carousel-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.play-button {
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    font-size: clamp(20px, 3vw, 25px);
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color var(--transition-speed);
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Filter System */
.filter-container {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 100;
    backdrop-filter: blur(5px);
    padding: clamp(5px, 1vw, 10px) 0;
}

.filter-options {
    margin: 0 clamp(10px, 3vw, 160px);
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 15px;
}

.filter-option {
    padding: clamp(5px, 1vw, 10px);
    font-size: clamp(12px, 1.5vw, 13px);
    white-space: nowrap;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    transition: var(--transition);
}

.dropdown-toggle:hover {
    color: var(--primary-color);
}

.dropdown-menu {
    border-radius: 8px;
    border: 1px solid var(--fourth-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-size: clamp(12px, 1.5vw, 14px);
    padding: 8px 15px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--fifth-color);
}

/* Forms */
.form-control,
.form-select {
    padding: clamp(8px, 1.5vw, 12px);
    border: 1px solid var(--fourth-color);
    border-radius: var(--border-radius);
    margin-bottom: clamp(10px, 2vw, 15px);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 198, 126, 0.2);
}

.form-check-input {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

/* Appointment System */
.appointment-section {
    padding: var(--spacing) 0;
}

.appointment-box,
.contact-box {
    padding: var(--spacing);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.calendar-section {
    padding: var(--spacing);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.calendar-nav {
    margin-bottom: var(--spacing);
}

.calendar-nav button {
    padding: clamp(8px, 1.5vw, 12px);
    border: none;
    background: var(--fifth-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.calendar-nav button:hover {
    background: var(--fourth-color);
}

.calendar-table {
    width: 100%;
    margin-bottom: var(--spacing);
}

.calendar-table th,
.calendar-table td {
    padding: clamp(8px, 1.5vw, 12px);
    text-align: center;
    border: 1px solid var(--fourth-color);
}

.calendar-table th {
    background: var(--fifth-color);
    font-weight: bold;
}

.calendar-table td:not(.disabled) {
    cursor: pointer;
    transition: var(--transition);
}

.calendar-table td:not(.disabled):hover {
    background: var(--primary-color);
    color: var(--third-color);
}

.contactForm-service {
    background: white;
    border-radius: var(--border-radius);
}

/* Contact Information */
.coordonnes {
    padding: var(--spacing-unit) 0;
    background-color: var(--fifth-color);
}

.hours {
    white-space: pre-line;
    line-height: 1.8;
    background: white;
    padding: clamp(15px, 3vw, 25px);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.location-section {
    padding: var(--spacing-unit) 0;
}

.location-iframe {
    width: 90%;
    height: clamp(300px, 50vw, 450px);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: var(--spacing-unit);
}

.store-info {
    padding: var(--spacing);
    background: var(--fifth-color);
    border-radius: var(--border-radius);
    margin-top: var(--spacing);
}

.store-info p {
    margin-bottom: clamp(8px, 1.5vw, 12px);
    line-height: 1.6;
}

.bg-dark {
    background-color: var(--third-color) !important;
    padding: var(--spacing) !important;
}

.bg-dark h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing);
}

.bg-dark p {
    opacity: 0.9;
    margin-bottom: clamp(8px, 1.5vw, 12px);
}

/* Animations */
@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes success {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

.success-animation {
    animation: success 0.6s ease;
}

.img-fluid.loading {
    animation: shimmer 1.5s infinite;
    background: linear-gradient(90deg,
            var(--fifth-color) 0%,
            var(--fourth-color) 50%,
            var(--fifth-color) 100%);
    background-size: 200% 100%;
}

.loading-placeholder {
    background: linear-gradient(90deg,
            var(--fifth-color) 0%,
            var(--fourth-color) 50%,
            var(--fifth-color) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Loading States */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 2px;
    margin-left: 8px;
}

/* Performance optimizations */
.main-image-container,
.color-circle,
.thumbnail {
    contain: layout style paint;
}

/* Scrollbar styling */
.sidebar,
.secondary-sidebar {
    scrollbar-width: thin;
    scrollbar-color: rgba(128, 128, 128, 0.3) transparent;
}

.sidebar::-webkit-scrollbar,
.secondary-sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb,
.secondary-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(128, 128, 128, 0.3);
    border-radius: 2px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .thumbnail,
    .color-circle,
    .btn-heart,
    .btn-add-to-selection {
        transition: none;
    }

    .filter-option {
        padding: 8px 15px;
    }

    .dropdown-item {
        padding: 12px 15px;
    }
}

@media (hover: hover) {
    .left-image img:hover,
    .right-top-image img:hover,
    .right-bottom-image img:hover {
        transform: scale(1.02);
    }
}

/* SweetAlert2 customization */
.swal2-popup {
    font-family: "Audrey", sans-serif !important;
}

.swal2-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
}

.swal2-html-container {
    font-size: clamp(0.9rem, 1.5vw, 1rem) !important;
}

/* Border utilities */
.border-bottom {
    border-color: var(--fourth-color) !important;
    margin: var(--spacing-unit) 0;
}

/* Print styles */
@media print {
    .image-section-large,
    .image-section-small {
        display: none;
    }

    .coordonnes,
    .location-section {
        page-break-inside: avoid;
    }
}