@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap');

:root {
    --color-body: #0F0326;
    --color-heading: #274c68;
    /*couleur des titres etc*/
    --color-base: #fffcf7;
    /*couleur des encadrés etc*/
    --color-base2: #F2EFEA;
    /*couleur fond du site*/
    --color-brand: #887904;
    /*couleur de chat with my AI etc*/
    --color-brand2: #302b45;
    /*couleur de contact me*/
    --color-suggestion: #333351;

    --gradient-sidebar: rgba(255, 255, 255, 0.8);


    --sidbar-width: 240px;
    --font-base: "Bai Jamjuree";
}

.lang-btn {
    border: none;
    border-radius: 10px;
    background-color: var(--color-base2);
    color: var(--color-body);
}

.lang-btn:hover {
    background-color: var(--color-suggestion);
    color: var(--color-base2);
}

.active-lang {
    background-color: var(--color-suggestion);
    color: var(--color-base2);

}



.fixed-button {
    display: inline-block;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}




body {
    background-color: var(--color-base2);
    color: var(--color-body);
    font-family: var(--font-base), sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--color-body);
    transition: all 0.4s ease;
}

a:hover {
    color: var(--color-brand);
}

img {
    width: 100%;
}

.text-brand {
    color: var(--color-brand);
}

.text-suggestion {
    color: var(--color-suggestion);
}

.bg-base {
    background-color: var(--color-base);
}

.bg-base2 {
    background-color: var(--color-base2);
}

.bg-brand {
    background-color: var(--color-brand);
}


.full-height {
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
    border-bottom: 2px solid white;
}

.shadow-effect {
    transition: all 0.5s;
}

.shadow-effect:hover {
    box-shadow: -6px 6px 0 0 var(--color-brand);
}

.shadow-effect-heading {
    transition: all 0.5s;
}

.shadow-effect-heading:hover {
    box-shadow: -6px 6px 0 0 var(--color-heading);
}


.iconbox {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background-color: var(--color-brand);
    color: var(--color-base);
}

.iconbox-c {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background-color: var(--color-heading);
    color: var(--color-base);
}

/* NAVBAR */


/* Specific Navbar button */
#free-test {
    display: inline-block;
    padding: 10px 10px;
    color: white;
    /* Text color */
    background-color: var(--color-brand);
    /* Button background color */
    border-radius: 20px;
    /* Slightly rounded corners */
    text-align: center;
    text-decoration: none;
    /* Remove underline */
    font-size: 16px;
    font-weight: light;
    transition: background-color 0.3s ease;
    /* Smooth transition */
}

/* Hover effect */
#free-test:hover {
    background-color: var(--color-base);
    color: var(--color-brand);
    /* Darker shade on hover */
}



.navbar .nav-link {
    font-weight: 400;
    /*text-transform: uppercase;*/
    color: var(--color-body);
}

.navbar .nav-link:hover {
    color: var(--color-brand);
}

.navbar .nav-link.active {
    color: var(--color-brand);
}


.navbar {
    transition: all 0.5s ease-in-out;
}

.navbar-sticky {
    opacity: 1;
    background-color: var(--color-base2);
    box-shadow: 0 0 10px rgba(3, 63, 71, 0.5);
}


#home {
    /*background: linear-gradient(var(--gradient-sidebar), var(--gradient-sidebar)), url(https://images.pexels.com/photos/33493/windrader-wind-power-fichtelberg-wind-park.jpg?auto=compress&cs=tinysrgb&w=800);*/
    /* background: url(../images/josh.jpg);*/
    background: linear-gradient(var(--gradient-sidebar), var(--gradient-sidebar)), url(https://images.pexels.com/photos/1939485/pexels-photo-1939485.jpeg?auto=compress&cs=tinysrgb&w=800);

    background-size: cover;

}



#pricing {
    background-size: cover;

}

/* color base is the gradient */


/* BTN */
.btn {
    padding: 12px 28px;
    font-weight: 700;
}

.btn-brand {
    background-color: var(--color-brand);
    border-color: var(--color-brand);
    color: var(--color-base);
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--color-brand2);
    color: var(--color-base);
    border-color: var(--color-brand2);
}

.link-custom {
    font-weight: 700;
    position: relative;
}

.link-custom::after {
    content: "";
    width: 0%;
    height: 2px;
    background-color: var(--color-brand);
    position: absolute;
    left: 0;
    top: 110%;
    transition: all 0.4s;
}

.link-custom:hover::after {
    width: 100%;
}


.suggestions-transition {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}


/* CARD */
.card-custom .card-custom-image {
    overflow: hidden;
}

.card-custom .card-custom-image img {
    height: 195px;
    object-fit: cover;

}

#work .card-custom .card-custom-image img,
#agg img {
    filter: grayscale(100%);
}


#work .card-custom:hover img,
#agg:hover img {
    filter: none;
}


.card-custom .card-custom-image img,
#agg img {
    transition: all 0.4s ease;
}

.card-custom:hover .card-custom-image img {
    transform: scale(1.1);
}


.scale-effect:hover {
    transition: all 0.4s ease;
    transform: scale(1.03);
}


.move-effect {
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.move-effect:hover {
    transform: rotateY(10deg) rotateX(-10deg) translateZ(10px);
}



/* CONTACT */
#skills_modal4 .form-control {
    background-color: var(--color-base2);
    border-color: var(--color-base);
    color: var(--color-body);
}

.form-control:focus {
    border-color: var(--color-brand);
    box-shadow: none;
}

.form-control::placeholder {
    color: var(--color-body);
}

input.form-control {
    height: 44px;
}


.form-control {
    background-color: var(--color-base);
    border-color: var(--color-base);
    border: none;
    color: var(--color-body);
    resize: none;
}

.form-control:focus {
    background-color: var(--color-base);
    border: none;
    box-shadow: none;
    color: var(--color-body);
}

.form-control::placeholder {
    color: var(--color-body);
}

.form-icon {
    font-size: 28px;
}

.brand-button,
.light-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.brand-button {
    background-color: var(--color-base2);
    color: var(--color-brand);
}

.light-button {
    background-color: var(--color-base2);
    color: var(--color-heading);
}


.brand-button:hover {
    background-color: var(--color-brand);
    color: var(--color-base);
}

.light-button:hover {
    color: var(--color-base2);
    background-color: var(--color-heading);

}




/* SOCIAL ICONS */
.social-icons {}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-base);
    border-radius: 100px;
    font-size: 24px;
}

.skills-icons {
    font-size: 32px;
    background-color: var(--color-base2);
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;

}

.navbar-toggler {
    border-color: var(--color-brand);
}

.navbar-toggler-icon {
    background-color: transparent;
    color: var(--color-brand);
}

.skills-icons:hover {
    color: var(--color-brand);
}

.custom-number {
    background-color: #F2EFEA;
    /* Couleur de fond du cercle */
    color: var(--color-brand);
    /* Couleur du texte '1' */
    border: 2px solid var(--color-brand2);
    /* Bordure de la même couleur que le texte */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Ombre portée légère */
    font-weight: bold;
    /* Texte en gras */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    /* Largeur du cercle */
    height: 50px;
    /* Hauteur du cercle */
}

.hidden {
    display: none;
}