@import "mobile.css";

@font-face {
    font-family: Broadway;
    src: url("font/Broadway.otf") format("opentype");
}

:root {

    --background: #1a1a1a;
}

body {
    height: 200vh;
    width: 100vw;
    margin: 0;
    background-color: black;
}

header {

    margin: 0;
  
    position: sticky;
    top: 0;
    padding: 10px 16px;
    overflow: hidden;
  
  
    color: white;
    height: 50px;

    display: flex;
    background-color: rgba(0,0,0, 0.4);
    backdrop-filter: blur(15px);
    z-index: 100;
    border-bottom: 1px solid #e7cb6e;

    .nav {
        flex: 1;
        margin: 0;
        margin-top: auto;
        margin-bottom: auto;
    
        display: flex;
        flex-direction: row;
        justify-content: right;
        gap: 20px;
    
        a {
            all: unset;
            cursor: pointer;
    
            margin: 0;
            margin-top: auto;
            margin-bottom: auto;
            font-size: 20px;
            color: #d4af37;
            background: linear-gradient(180deg, 
              #e7ce7c 0%,
              #d4af37 30%,
              #c9a961 50%,
              #d4af37 70%,
              #e7ce7c 100%
            );
            -webkit-background-clip: text;
            background-clip: text;
            filter: drop-shadow(0 3px 8px rgba(212, 175, 55, 0.3));
    
            height: fit-content;
            width: fit-content;
            text-align: right;
    
        }
    
        .contact {
            color: black;
            font-weight: bold;
            background: linear-gradient(180deg, 
              #e7cb6e 0%,
              #d4af37 30%,
              #c7a148 50%,
              #d4af37 70%,
              #e7cb6e 100%
            );
            border-radius: 15px;
            height: 35px;
            display: flex;
            padding-right: 15px;
            padding-left: 15px;
            text-align: center;
            justify-content: center;
            align-items: center;
    
    
        }
    }
  
    .title {

        
        all: unset;
        cursor: pointer;
        color: white;
        height: auto;
        display: flex;
        text-align: left;
        flex: 1;
        flex-direction: column;

    }
}


h1, h2 {
    margin: 0;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 20px;
    font-family: Broadway; 
    text-transform: uppercase;
    color: #d4af37;
    background: linear-gradient(180deg, 
    #f4e5b3 0%,
    #d4af37 30%,
    #c9a961 50%,
    #d4af37 70%,
    #f4e5b3 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 3px 8px rgba(212, 175, 55, 0.3));

    height: fit-content;
    position: relative;

}

.landing {
    height: 95vh;
    background-image: url(./assets/pexels-stephen-leonardi-587681991-18353689.jpg);
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    backdrop-filter: blur(15px);
    /* Ajouter Dégradé fou background bas */

    text-shadow: 1px 1px 2px black;

    
    > h1 {        
        font-size: 36px;
        position: absolute;
        bottom: 8%;
        left: 8%;

    }
    > h2 {
        font-size: 28px;
        position: absolute;
        bottom: 5%;
        left: 8%;
        font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;

    }
    > .blur-filter {
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 55%;
        backdrop-filter: blur(128px);
        mask: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%)
      
    }
}

img {
    border: 1px solid white;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;

}

.container {
    max-width: 1100px;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    margin-top: 20px;
    width: 100%;

    > div {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

.content {
    display: flex;

    width: max-content;
    
    padding: 45px;
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box; 
    width: 100%;
}

.card {
	display: flex;

	border: 1px solid var(--border);
	position: relative;
	padding: 1rem;
    border-radius: 10px;
    width: 100%;

}
.card2 {
	display: flex;

	position: relative;
	padding: 1rem;
    width: 100%;

}

.textbox {


    height: 100%;
    width: 100%;

    flex: 1;


	--border: hsl(40, 65%, 80%);
	--text: hsl(40, 70%, 85%);

    p {
        color: #d4af37;
        margin: 0;
        white-space: pre-line;

    }




    .line {
        position: absolute;

        &.top,
        &.bottom {
            height: 10px;

            left: 15px;
            right: 15px;
        }

        &.top {
            top: -0.4rem;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        &.bottom {
            bottom: -0.4rem;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }


        &.right,
        &.left {
            width: 11px;

            top: 15px;
            bottom: 15px;
        }

        &.right {
            right: -0.4rem;
            border-right: 1px solid var(--border);
            border-left: 1px solid var(--border);
        }
        &.left {
            left: -0.4rem;
            border-right: 1px solid var(--border);
            border-left: 1px solid var(--border);
        }
    }



    > .corner {
        border: 1px solid var(--border);
        position: absolute;
        background: var(--color-background);
        filter: drop-shadow(0 3px 4px rgba(212, 175, 55, 0.3));

        &::after,
        &::before {
            content: "";
            position: absolute;
        }
        &::after{
            width: 1rem;
            height: calc(1rem - 1px);

        }
        &::before{
            width: calc(1rem - 1px);
            height: 1rem;

        }

        &.top {
            top: 0.5rem;
            

			&::before {
				top: -1.25rem;
				border-top: 1px solid var(--border);
			}

        }

        &.right {
            right: 0.5rem;

			&::before {
				right: -1.25rem;
				border-right: 1px solid var(--border);
			}
        }
        

        &.bottom {
            bottom: 0.5rem;
            

			&::before {
				bottom: -1.25rem;
				border-bottom: 1px solid var(--border);
			}

        }

        &.left {
            left: 0.5rem;
            
			&::before {
				left: -1.25rem;
				border-left: 1px solid var(--border);
			}

        }

    }

    .card-content{
        --dot-color: hsla(40, 65%, 80%, 0.664);
        --dot-size: 1px;
        --dot-space: 10px;

        padding: 5px;

        height: 100%;
        width: 100%;

        gap: 15px;

        padding: 40px;

        background-origin: content-box;

        -moz-box-sizing: border-box; 
        -webkit-box-sizing: border-box; 
        box-sizing: border-box; 

        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-content: center;

        > h2 {

            font-family: Limelight; 
            text-transform: uppercase;
            color: #d4af37;
            background: linear-gradient(180deg, 
              #f4e5b3 0%,
              #d4af37 30%,
              #c9a961 50%,
              #d4af37 70%,
              #f4e5b3 100%
            );
            -webkit-background-clip: text;
            background-clip: text;
            filter: drop-shadow(0 3px 8px rgba(212, 175, 55, 0.3));
        }
        
        iframe {
            padding-top: 20px;
            border: none;
            width: 100%;
            height: 100%;
        }

        button {
            display: flex;
            all: unset;
            font-family: "Limelight";
            text-align: center;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            height: 2.5rem;
            width: 20rem;
            padding: 0 1rem;
            position: relative;
            text-align: center;
            transition: background 200ms ease-in-out;
        
            margin: 0 2rem;
        
            cursor: pointer;
        
            > h2 {
                top: 0;
                bottom: 0;
                margin: 0;
                padding: 0;
                font-family: Limelight; 
                text-transform: uppercase;
                text-align: center;
                color: #d4af37;
                background: linear-gradient(180deg, 
                  #f4e5b3 0%,
                  #d4af37 30%,
                  #c9a961 50%,
                  #d4af37 70%,
                  #f4e5b3 100%
                );
                -webkit-background-clip: text;
                background-clip: text;
                filter: drop-shadow(0 3px 8px rgba(212, 175, 55, 0.3));
            }
    
    
            .top {
                width: 0.6rem;
                height: 0.6rem;
                top: -1.2rem;
                left: 0px;
                right: 0px;
                margin-right: auto;
                margin-left: auto;

                
                border: 1px solid var(--border);
                position: absolute;
                transform: rotate(45deg);

                &::after,
                &::before {
                    content: "";
                    position: absolute;
                }
                &::after{
                    top: -0.3rem;
                    left: -0.3rem;
                    width: 0.8rem;
                    height: -1rem;
				    border-top: 1px solid var(--border);
        
                }
                &::before{
                    top: -0.3rem;
                    left: -0.3rem;
                    width: -1rem;
                    height: 0.8rem;
				    border-left: 1px solid var(--border);
        
                }
    
            }
            .bottom {
                width: 0.6rem;
                height: 0.6rem;
                bottom: -1.2rem;
                left: 0px;
                right: 0px;
                margin-right: auto;
                margin-left: auto;

                border: 1px solid var(--border);
                position: absolute;
                transform: rotate(45deg);

                &::after,
                &::before {
                    content: "";
                    position: absolute;
                }
                &::after{
                    bottom: -0.3rem;
                    right: -0.3rem;
                    width: 0.8rem;
                    height: -1rem;
				    border-top: 1px solid var(--border);
        
                }
                &::before{
                    bottom: -0.3rem;
                    right: -0.3rem;
                    width: -1rem;
                    height: 0.8rem;
				    border-left: 1px solid var(--border);
        
                }
    
            }
        }
    }

    

	
}

.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 150px;

}

.contact-info {
    min-height: 100%;
    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    h1 {
        margin-bottom: 30px;
    }

    h3 {
        margin-bottom: 0;
    }

    p {
        font-size: larger;
        margin: 5px;
    }
}

.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;

    h1 {
        width: 100%;
        margin: 20px !important;
        margin-bottom: 0px !important;
    }
    .obligatoire {
        width: 100%;
        margin-top: 5px !important;
        margin-bottom: 25px !important;
        font-size: smaller;

    }

    form {

        height: 1000px;
        width: 60%;
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        text-align: center;

        input, textarea {
            all: unset;
            min-height: 40px;
            min-width: 100%;

            border: 1px solid hsl(40, 65%, 80%);
            margin: 5px;
            color: white;
            border-radius: 6px;
        }
        textarea {

            min-height: 300px;
            min-width: 100%;
            text-align: left;
            padding: 15px;
        }

        span {
            color: white;
            margin-top: 15px;
        }
        button {

            all: unset;
            cursor: pointer;
            min-height: 40px;
            min-width: 250px;
            border: 1px solid hsl(40, 65%, 80%);
            margin: 5px;
            color: white;
            border-radius: 6px;


        }

        .form-container {
            display: flex;
            flex-direction: row;
            gap: 10px;

            .form-child {
                display: flex;
                flex-direction: column;
                justify-content: end;

                > span {
                    margin-top: auto;
                }
                > input {
                    margin-bottom: auto;
                }
            }
        }

    }
}


.acordeon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    width: 100%;

	--border: hsl(40, 65%, 80%);
	--text: hsl(40, 70%, 85%);


    .accordion-item {
        margin-top: 30px;
        width: 96%;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;

        > .corner {

            display: none;
            position: absolute;
            filter: drop-shadow(0 3px 4px rgba(212, 175, 55, 0.3));
    
            &::after,
            &::before {
                content: "";
                position: absolute;
            }
            &::after{
                width: 19px;
                height: 20px;
    
            }
            &::before{
                width: 20px;
                height: 19px;
    
            }
    
            &.right {
                right: 0;
    
                &::before {
                    right: 9px;
                    border-right: 1px solid var(--border);
                }
                &::after {
                    right: 0;
                    top: 9px;
                    border-top: 1px solid var(--border);
                }
            }
            
    
            &.bottom {
                bottom: 0;
    
            }
    
            &.left {
                left: 0;
    
                &::before {
                    left: 9px;
                    border-left: 1px solid var(--border);
                }
                &::after {
                    left: 0;
                    top: 9px;
                    border-top: 1px solid var(--border);
                }
    
            }
            &.bottom {
                bottom: 0;
    
            }

    
        }


        .accordion-header {
            width: 100%;
            border-bottom: 1px solid hsl(40, 65%, 80%);
            color: #e0e0e0;
            padding: 16px;
            font-size: 18px;
            cursor: pointer;
            transition: background-color 0.3s ease;

            -moz-box-sizing: border-box; 
            -webkit-box-sizing: border-box; 
            box-sizing: border-box; 

            
        }

        .accordion-content {
            color: #e0e0e0;
            padding: 16px;
            display: none;
            font-size: 16px;
            line-height: 1.6;

            width: 90%;
            text-align: center;


            -moz-box-sizing: border-box; 
            -webkit-box-sizing: border-box; 
            box-sizing: border-box; 

            
        }
    }


    .accordion-item.active .accordion-content {
        display: block;
    }
    .accordion-item.active .corner {
        display: block;
    }

}