/**
 * Custom Styles for BAB Conciergerie Theme
 * Emplacement: assets/css/custom.css
*/

@import "tailwindcss";

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/************************************************************************/
/**************************** CONFIG GLOBALE ****************************/
/************************************************************************/
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #17202E;
}

.roboto,
a, input, textarea, p {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6, .montserrat {
    font-family: 'Montserrat', sans-serif;
}

h1.roboto {
    font-family: 'Roboto', sans-serif;
}

#wpadminbar {
  display: none !important;
}

#go-down {
    animation: bounce 1s infinite;
}

.floating-anim {
    animation: float 3s ease-in-out infinite;
}

.fade-blue-bg {
    background-color: rgba(23, 32, 46, .2);
}

.fade-orange-bg {
    background-color: rgba(206, 137, 69, .2);
}

.fade-lightblue-bg {
    background-color: rgba(77, 106, 170, .2);
}

.btn-w-arrow:hover i {
    transform: translateX(5px);
}

.inner-shadow {
    box-shadow: inset 0 0 50px rgba(0,0,0,0.1);
}

.custom-shadow {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.card {
    background: #fff;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cursor-trail {
    position: fixed;
    width: 10px;
    height: 10px;
    background: rgba(206, 137, 69, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.5s ease;
    transform: scale(1);
}

* {
    will-change: auto;
}

.from-wp h2 {
    font-size: 40px;
    font-weight: bold;
}

.from-wp p {
    margin-top: 50px;
    font-size: 20px;
}

@media screen and (max-width: 1200px) {
    .from-wp {
        padding: 0 25px 15rem;
    }

    .from-wp h2 {
        font-size: 20px;
    }

    .from-wp p {
        font-size: 17px;
    }
}
/************************************************************************/
/****************************** NINJA FORM ******************************/
/************************************************************************/
#nf-form-title-2 {
    display: none;
}

#nf-form-2-cont {
    max-width: 600px;
    margin: 0;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    font-family: 'Roboto', sans-serif;
}

#nf-form-2-cont input[type="text"],
#nf-form-2-cont input[type="email"],
#nf-form-2-cont input[type="tel"],
#nf-form-2-cont textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #17202E;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#nf-form-2-cont input[type="text"],
#nf-form-2-cont input[type="email"],
#nf-form-2-cont input[type="tel"] {
    border-radius: 9999px;
}

#nf-form-2-cont textarea {
    border-radius: 20px;
}

#nf-form-2-cont input:focus,
#nf-form-2-cont textarea:focus {
    outline: none;
    border-color: #17202E;
    box-shadow: 0 0 8px rgba(0,115,230,0.2);
}

#nf-form-2-cont .nf-field-label label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

#nf-form-2-cont input[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #17202E;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

#nf-form-2-cont input[type="submit"]:hover {
    background-color: #4D6AAA;
    transform: translateY(-2px);
}

#nf-form-2-cont .nf-error-msg {
    color: #d93025;
    font-size: 13px;
    margin-top: 5px;
}

@media (max-width: 640px) {
    #nf-form-2-cont {
        padding: 20px;
    }
}

/************************************************************************/
/****************************** ANIMATIONS ******************************/
/************************************************************************/
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

@keyframes fadeInChar {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/************************************************************************/
/******************************** NAVBAR ********************************/
/************************************************************************/
.navbar {
    background: transparent;
    transition: background .3s ease-in;
}

.navbar .links li {
    position: relative;
}

.navbar .links li::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -5px;
    display: block;
    width: 0;
    height: 3px;
    background: #CE8945;
    transition: width .3s;
    border-radius: 9999px;
}

.navbar .links li:hover::after {
    width: 40px;
}

.navbar .links li:last-child::after {
    display: none;
}

.navbar.scrolled {
    background: #17202E;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 1024px) {
    .hamburger {
        z-index: 100;
    }

    .links.mobile-menu.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0px;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 2rem;
        gap: 2rem;
        width: 100%;
        height: 100vh;
        font-size: 2rem;
        animation: fadeIn 0.5s forwards;
    }

    .navbar .links li:hover::after {
        width: 70px;
    }
}

/************************************************************************/
/******************************** FOOTER ********************************/
/************************************************************************/
footer {
    word-break: break-all;
    word-wrap: break-word;
}