/*
=========================================================
==============  Default Claus & Gigon Syle  =============
=========================================================
*/

/* Bootstrap Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

/* Google Font Body */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


/* Variables */

:root {
    --primary-color: #340859;
    --secondary-color: #bbc0c1;
    --tertiary-color: #fff4e6;
    --light-grey: #f7f7f7;
    --font-color: #393939;
    --white: #ffffff;
    --body-font: "Open Sans", sans-serif;
    --header-height: 0px;
}


/* Global styles */

html, body {
    font-family: var(--body-font);
    color: var(--font-color);
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.025em;
}

#home {
    margin-top: var(--header-height);
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
}

h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

a {
    color: var(--font-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Transitions */
a, button {
    -webkit-transition: all ease-in 0.2s;
    -ms-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
}

/* Header */

.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 1px solid var(--secondary-color);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.header {
    padding: 1.5rem 0;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .branding {
    width: 200px;
    max-width: 100%;
}

.menu-toggle {
    display: none;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1.35rem;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header .menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header .menu ul li {
    margin-left: 2rem;
}

.header .menu ul li a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.header .menu ul li a:hover,
.header .menu ul li a.active {
    color: var(--primary-color);
    text-decoration: none;
}

/* Home */

.bg-cg {
    background-color: var(--primary-color);
}

.bg-cg h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.bg-cg h4 {
    color: var(--secondary-color);
}

/* Site sections */

.site-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    -webkit-transition: all ease-in 0.2s;
    -ms-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
}

.site-section.light {
    background-color: var(--light-grey);
}

#domaines {
    align-items: flex-start;
}

@media (min-width: 992px) {
    #domaines {
        padding-top: var(--header-height);
    }
}

.section-reveal,
#home > * {
    opacity: 0;
    transform: translateY(24px);
    -webkit-transition: opacity 0.35s ease, transform 0.35s ease;
    -ms-transition: opacity 0.35s ease, transform 0.35s ease;
    -o-transition: opacity 0.35s ease, transform 0.35s ease;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

#home > *.is-revealed,
.section-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

#home > *.is-revealed:nth-child(1),
.section-reveal.is-revealed:nth-child(1) {
    transition-delay: 0.05s;
}

#home > *.is-revealed:nth-child(2),
.section-reveal.is-revealed:nth-child(2) {
    transition-delay: 0.1s;
}

#home > *.is-revealed:nth-child(3),
.section-reveal.is-revealed:nth-child(3) {
    transition-delay: 0.15s;
}

#home > *.is-revealed:nth-child(4),
.section-reveal.is-revealed:nth-child(4) {
    transition-delay: 0.2s;
}

/* Footer */

.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 0;
}

/* Responsive */

@media (min-width: 992px) {
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header .menu.collapse {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        height: auto !important;
        visibility: visible;
    }
}

@media (max-width: 991.98px) {
    body.menu-open {
        overflow: hidden;
    }

    .header {
        padding: 1rem 0;
    }

    .header .branding {
        width: 140px;
    }

    .menu-toggle {
        display: flex;
    }

    .header .menu {
        width: 100%;
    }

    .header .menu.show {
        border-top: 1px solid var(--light-grey);
        margin-top: 1rem;
        padding-top: 0.5rem;
    }

    .header .menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .header .menu ul li {
        margin-left: 0;
        margin-bottom: 0;
    }

    .header .menu ul li a {
        display: block;
        padding: 0.75rem 1rem;
        text-align: center;
        font-size: 1rem;
        color: var(--font-color);
        border-radius: 0.25rem;
    }

    .header .menu ul li a:hover,
    .header .menu ul li a.active {
        color: var(--primary-color);
        background-color: var(--light-grey);
    }

    .bg-cg h1 {
        font-size: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}