/* Styles généraux */
body {
    font-family: 'Karla', 'Lato', sans-serif;
    color: #141414;
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Styles pour les icônes sociales */
.social-icons ion-icon {
    font-size: 24px;
    color: white;
    transition: color 0.3s ease;
}

.social-icons a:hover .facebook-icon {
    color: #1877f2;
}

.social-icons a:hover .twitch-icon {
    color: #9146ff;
}

.social-icons a:hover .snapchat-icon {
    color: #fffc00;
}

.social-icons a:hover .instagram-icon {
    color: #ff0000;
}

.social-icons a:hover .youtube-icon {
    color: #ff0000;
}

/* Styles pour la navbar */
.navbar-desctop .position-relative {
    display: flex;
    align-items: center;
    height: 80px;
}

.navbar-desctop .navbar-brand {
    margin: 0;
    display: flex;
    align-items: center;
}

.navbar-desctop .navbar-brand img {
    width: 160px !important;
    transition: all 0.3s ease;
}

.navbar-desctop .navbar-brand:hover img {
    width: 180px !important;
    transform: scale(1.05);
}

.navbar-desctop .container.d-block {
    display: flex !important;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.navbar-desctop .phone,
.navbar-desctop .email {
    margin: 0 !important;
}

.navbar-desctop .phone a,
.navbar-desctop .email a {
    color: white !important;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.navbar-desctop .phone a:hover,
.navbar-desctop .email a:hover {
    color: #ff0000 !important;
    text-shadow: 0 0 10px rgba(255,0,0,0.3);
}

.navbar-desctop .phone a::after,
.navbar-desctop .email a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff0000;
    transition: width 0.3s ease;
}

.navbar-desctop .phone a:hover::after,
.navbar-desctop .email a:hover::after {
    width: 100%;
}

/* Style amélioré pour le lien bionickmédia */
.navbar-mobile-footer a {
    color: white;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-mobile-footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.navbar-mobile-footer a:hover {
    color: #ff0000;
}

.navbar-mobile-footer a:hover::after {
    width: 100%;
    background-color: #ff0000;
}

/* Style pour le header au scroll */
.navbar-desctop {
    transition: all 0.3s ease;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar-desctop.scrolled {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-desctop.scrolled .navbar-brand img,
.navbar-desctop.scrolled .phone a,
.navbar-desctop.scrolled .email a {
    opacity: 0.9;
}

/* Style pour les points de navigation */
#pp-nav {
    z-index: 1000;
}

#pp-nav li .active span, 
.pp-slidesNav .active span {
    background-color: #ff0000 !important;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

#pp-nav span, 
.pp-slidesNav span {
    border: none !important;
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    margin: 8px 0;
    transition: all 0.3s ease;
}

#pp-nav li:hover span {
    background-color: #ff0000 !important;
    transform: scale(1.1);
}

/* Style pour l'icône hamburger */
.navbar-toggler {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 1100;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.hamburger-menu {
    width: 30px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #ff6b00;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-menu span:nth-child(1) {
    top: 0px;
}

.hamburger-menu span:nth-child(2) {
    top: 8px;
}

.hamburger-menu span:nth-child(3) {
    top: 16px;
}

.navbar-desctop.navbar-is-white .hamburger-menu span {
    background: #141414;
}

.navbar-desctop.scrolled .hamburger-menu span {
    background: #ff6b00 !important;
}

/* Style pour le menu mobile */
.navbar-mobile {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1500;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.menu-is-open .navbar-mobile {
    opacity: 1;
    visibility: visible;
}

.navbar-nav-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-nav-mobile li {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: 0.1s;
}

body.menu-is-open .navbar-nav-mobile li {
    opacity: 1;
    transform: translateY(0);
}

body.menu-is-open .navbar-nav-mobile li:nth-child(1) { transition-delay: 0.1s; }
body.menu-is-open .navbar-nav-mobile li:nth-child(2) { transition-delay: 0.2s; }
body.menu-is-open .navbar-nav-mobile li:nth-child(3) { transition-delay: 0.3s; }
body.menu-is-open .navbar-nav-mobile li:nth-child(4) { transition-delay: 0.4s; }
body.menu-is-open .navbar-nav-mobile li:nth-child(5) { transition-delay: 0.5s; }

.navbar-nav-mobile a {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    display: inline-block;
    transition: all 0.3s ease;
}

.navbar-nav-mobile a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #ff6b00;
    transition: all 0.3s ease;
}

.navbar-nav-mobile a:hover, .navbar-nav-mobile a.active {
    color: #ff6b00;
}

.navbar-nav-mobile a:hover::after, .navbar-nav-mobile a.active::after {
    width: 100%;
    left: 0;
}

.close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1600;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: #ff6b00;
}

.navbar-mobile-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
}

/* Style pour le footer (navbar-bottom) */
.navbar-bottom {
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 80px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.navbar-bottom.scrolled {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.navbar-bottom .social {
    display: flex;
    align-items: center;
    margin: 0;
}

.navbar-bottom .copy {
    margin: 0;
    display: flex;
    align-items: center;
}

.navbar-bottom .social-icons {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    position: relative;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ff0000;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1.0s;
}

@keyframes sk-bounce {
    0%, 100% { 
        transform: scale(0.0);
    } 50% { 
        transform: scale(1.0);
    }
}

/* Sections */
.section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.section.text-white {
    color: white;
}

.section .intro {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Masthead */
#home {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.text-typed {
    color: #ff0000;
    font-weight: 700;
}

.line {
    width: 100px;
    height: 3px;
    background-color: #ff0000;
    margin: 30px 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease;
}

.line.active {
    transform: scaleX(1);
}

/* About section */
#about {
    background-color: #fff;
    min-height: 100vh;
}

.experience-info {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background-color: transparent;
    color: black;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.experience-number {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: #ff6b00;
    margin-right: 10px;
}

.experience-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Experience section */
#experience {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.row-experience {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.row-experience:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Contact section */
#contact {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 15px;
    margin-bottom: 15px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn {
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.message {
    display: none;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

#success-message {
    background-color: rgba(0, 255, 0, 0.2);
    color: #00cc00;
}

#error-message {
    background-color: rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

/* Animations */
.animate {
    animation: fadeInUp 1s ease;
}

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

/* Styles responsifs */
@media (max-width: 768px) {
    /* Header mobile */
    .navbar-desctop .navbar-brand img {
        width: 120px !important;
    }
    
    .navbar-desctop .navbar-brand:hover img {
        width: 130px !important;
    }

    /* Titres responsifs */
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    /* Ajustements des sections */
    .section {
        padding: 60px 0;
    }

    /* Ajustements des expériences */
    .row-experience {
        margin-bottom: 30px;
        padding: 15px;
    }

    .row-experience .col-md-4 {
        margin-bottom: 15px;
    }

    /* Contact responsif */
    .contact-info {
        margin-bottom: 30px;
    }

    /* Navigation points */
    #pp-nav {
        right: 5px;
    }

    /* Footer mobile */
    .navbar-bottom {
        padding: 0 15px;
    }

    .social-icons {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    /* Ajustements pour les petits écrans */
    .projet {
        width: 100%;
    }
    
    #home h1 {
        font-size: 3.2rem;
    }
    
    .experience-info {
        right: 0;
    }
    
    .navbar-desctop .container.d-block {
        display: none !important;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    #home h1 {
        font-size: 4rem;
    }
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Styles pour les sections et le pagePiling */
#pagepiling {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.section {
    width: 100%;
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pp-scrollable {
    overflow-y: scroll;
    height: 100%;
}

.intro {
    width: 100%;
    height: 100%;
    padding: 120px 0 0;
}

.scroll-wrap {
    padding-top: 80px;
    padding-bottom: 80px;
}

.text-primary {
    color: #ff6b00 !important;
    position: relative;
    display: inline-block;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 107, 0, 0.8);
    }
}

.text-white {
    color: #ffffff !important;
}

.line {
    width: 0;
    height: 3px;
    background-color: #ff0000;
    margin: 30px 0;
    transition: width 1.5s ease;
}

.line.active {
    width: 80px;
}

/* Styles pour la section Accueil */
#home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

#home h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.5s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

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

/* Styles pour la section À propos */
#about {
    background-color: #ffffff;
}

#about h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

#about h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.experience-info {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background-color: transparent;
    color: black;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.experience-number {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: #ff6b00;
    margin-right: 10px;
}

.experience-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Styles pour la section Expériences */
#experience {
    color: white;
}

.row-experience {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.row-experience:last-child {
    border-bottom: none;
}

.row-experience h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Styles pour la section Contact */
#contact {
    color: white;
}

#contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

#contact h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

#contact h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0;
    padding: 15px;
    color: white;
    margin-bottom: 20px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.message {
    display: none;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

#success-message {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

#error-message {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Styles pour la section Réalisations - SUPPRIMÉ */

/* Animation pour les sections */
.pp-section {
    transition: all 0.7s ease;
}

.pp-section.active .intro {
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Styles pour les projets et réalisations */
.categorie-titre {
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.projets-liste {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.projet {
    width: calc(33.333% - 30px);
    margin: 0 15px 30px;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .projet {
        width: calc(50% - 30px);
    }
}

@media (max-width: 576px) {
    .projet {
        width: 100%;
    }
    
    #home h1 {
        font-size: 2.5rem;
    }
    
    .experience-info {
        right: 0;
    }
    
    .navbar-desctop .container.d-block {
        display: none !important;
    }
}

/* Styles pour le loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    position: relative;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ff0000;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: bounce 2s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1.0s;
}

@keyframes bounce {
    0%, 100% { 
        transform: scale(0.0);
    } 
    50% { 
        transform: scale(1.0);
    }
}
