/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: 'Poppins', sans-serif;
    color: #333333;
    background-color: #ffffff;
    margin: 0;
    padding-top: 80px; /* Spacing to prevent overlap with fixed header */
}

a {
    color: #f98b2d;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f98b2d; /* Garder la couleur constante au survol */
}

.text-color {
    color: #f98b2d;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: #060606;
    padding: 15px 0;
    transition: all 0.5s;
}

#header .logo {
    font-size: 28px;
    color: #ff9d49;
    font-weight: 700;
}

/* Prévenir le changement de couleur au survol pour le logo */
#header .logo a {
    color: #ff9d49 !important;
    text-transform: uppercase;
    text-decoration: none;
    pointer-events: auto;
}

#header .logo a:hover,
#header .logo a:focus {
    color: #ff9d49 !important;
    text-decoration: none;
}

#header .navmenu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

#header .navmenu ul li {
    margin-left: 30px;
}

#header .navmenu a {
    color: #f98b2d;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

/* Supprimer le hover pour les liens de navigation */
#header .navmenu a:hover {
    color: #f98b2d !important;
}

#header .mobile-nav-toggle {
    display: none;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
}

@media (max-width: 991px) {
    #header .navmenu ul {
        display: none;
    }
    #header .mobile-nav-toggle {
        display: inline;
    }
}

/*--------------------------------------------------------------
# Page Title Section
--------------------------------------------------------------*/
.page-title {
    background-color: #181717;
    background-size: cover;
    color: #ffffff;
    text-align: center;
    padding: 60px 0;
}

.page-title h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 18px;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs ol li {
    display: inline-block;
}

.breadcrumbs ol li + li:before {
    content: " / ";
    margin: 0 8px;
    color: #ffffff;
}

.breadcrumbs a {
    color: #cde1f8;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #cde1f8;
}

.breadcrumbs .current {
    color: #ffffff;
    text-decoration: none;
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
    padding: 40px 0;
}

.portfolio-details-slider {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.portfolio-details-slider .swiper-slide {
    height: auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-details-slider .slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-details-slider img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.portfolio-details-slider .swiper-button-next,
.portfolio-details-slider .swiper-button-prev {
    width: 45px;
    height: 45px;
    background: rgba(249, 139, 45, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.portfolio-details-slider .swiper-button-next:hover,
.portfolio-details-slider .swiper-button-prev:hover {
    background: rgba(249, 139, 45, 0.2);
}

.portfolio-details-slider .swiper-pagination-bullet {
    background: rgba(249, 139, 45, 0.2);
}

.portfolio-details-slider .swiper-pagination-bullet-active {
    background: #f98b2d;
}

.portfolio-info {
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.portfolio-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ff9d49;
}

.portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
    color: #555;
}

.portfolio-info ul li + li {
    margin-top: 10px;
}

.portfolio-description {
    margin-top: 30px;
}

.portfolio-description h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f98b2d;
}

.portfolio-description p {
    font-size: 15px;
    color: #444;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background-color: #060606;
    color: #ffffff;
    text-align: center;
    padding: 40px 0;
}

#footer .sitename {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ff9d49;
}

#footer p {
    font-size: 14px;
    color: #dddddd;
}

#footer .social-links a {
    font-size: 18px;
    margin: 0 10px;
    color: #ffffff;
    transition: color 0.3s;
}

#footer .social-links a:hover {
    color: #ffffff;
}

#footer .copyright,
#footer .credits {
    font-size: 13px;
    color: #dddddd;
    margin-top: 10px;
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #0078ff;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    display: none;
    transition: background-color 0.3s;
}

.scroll-top:hover {
    background-color: #005bb5;
}

.scroll-top.active {
    display: flex;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#preloader:before {
    content: "";
    width: 60px;
    height: 60px;
    border: 6px solid #f2f2f2;
    border-top: 6px solid #0078ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}
