@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import '/assets/scss/variables.css';
@import '/assets/scss/responsive.css';

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    font-family: "Montserrat", serif;
    font-weight: 400;
    font-size: 1rem;
}

.navbar {
    padding: 20px 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
    background-color: white;
}

.loginForm {
    padding: 40px;
    background-color: #eee;
}

a {
    color: #9e501b;

    &:hover {
        color: #cc7338;
    }
}

b {
    font-weight: 600;
}

.logo {
    margin-right: 30px;
}

.mainpage {
    text-align: center;

    b {
        text-decoration: underline;
    }

    .color-span {
        color: #ffcf55;
    }

    .home-title {
        font-size: 3.2rem;
        text-align: center;
        line-height: 1.2;
        font-family: "Pacifico", serif;
        font-weight: 200;
        color: white;
        text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
        margin-bottom: 40px;
    }
}


.modal-body {
    background-color: var(--main-color);
}

.modal-header {
    background-color: hsl(226, 37%, 15%);
    border-bottom: 1px solid #ffcf55;
}


.page {
    background-color: hsl(226, 37%, 15%);
    border-radius: 10px;
    padding: 40px;

    .order-status {
        background-color: var(--secondary-color);
        display: inline-block;
        padding: 10px 20px;
        color: white;
        font-weight: bold;

    }

    .notice {
        font-size: .75rem;

        span {
            color: var(--green);
            font-size: 1rem;
            font-weight: bold;
        }
    }
}

nav {
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        font: bold .875rem sans-serif;
        color: grey;
    }

    ul li {
        padding: 0 .5em .25em;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: .3s;
    }

    ul li:hover {
        color: #fff;
    }

    ul li:before {
        content: "";
        position: absolute;
        inset: calc(100% - 3px) 0 0 0;
        /* 3px = the thickness */
        background: #9e501b;
        /* the color */
        scale: 0 1;
        transition: .3s, translate 0s .3s;
    }

    ul:hover li:before {
        scale: 1;
    }

    ul li:hover:before {
        translate: 0;
        transition: .3s;
    }

    ul:hover li:has(~ li:hover):before {
        translate: 100% 0;
        transition: .2s .2s, scale 0s .4s;
    }

    ul:hover li:hover~li:before {
        translate: -100% 0;
        transition: .2s .2s, scale 0s .4s;
    }
}

.navbar-dark .navbar-toggler {
    color: #222947;
    border-color: #222947;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url('data:image/svg+xml;utf8,<svg height="32px" id="Layer_1" style="enable-background:new 0 0 128 128;" version="1.1" viewBox="0 0 32 32" width="32px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M4,10h24c1.104,0,2-0.896,2-2s-0.896-2-2-2H4C2.896,6,2,6.896,2,8S2.896,10,4,10z M28,14H4c-1.104,0-2,0.896-2,2  s0.896,2,2,2h24c1.104,0,2-0.896,2-2S29.104,14,28,14z M28,22H4c-1.104,0-2,0.896-2,2s0.896,2,2,2h24c1.104,0,2-0.896,2-2  S29.104,22,28,22z"/></svg>') !important;
}

.nav-item a {
    cursor: pointer;
    font-weight: 600;
    color: #000;

    &:hover {
        color: #9e501b;
    }
}

.header-contact {
    color: #9e501b;

    .phone {
        background-image: url('/assets/images/icons/phone.svg');
        background-size: 15px;
        background-repeat: no-repeat;
        padding: 0 30px;
        background-position: 0px 5px;
    }

    .email {
        background-image: url('/assets/images/icons/email.svg');
        background-size: 18px;
        background-repeat: no-repeat;
        padding: 0 30px;
        background-position: 0px 5px;
    }
}

.main-button {
    background-color: white;
    border: 1px solid white;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 25px;
    color: #000;
    text-decoration: none;
}

.main-button:hover {
    box-shadow: rgba(0, 0, 0, .15) 0 3px 9px 0;
    background-color: #9e501b;
    color: white;
}

.main {
    min-height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/images/main_background_image.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    padding: 150px 0;
    color: white;
    padding-bottom: 250px;

    h1 {
        color: var(--white);
        font-weight: 400;
        text-transform: uppercase;
        margin-bottom: 20px;

        span {
            font-weight: 700;
            border-bottom: 4px dotted #fff;
            text-decoration: none;
        }
    }

    p {
        color: var(--white);
    }

}

section.about {
    padding: 40px 0;

    .img-container {
        text-align: center;
        padding: 80px 0px;

        .image {
            width: 250px;
            height: 250px;
            border-radius: 50%;
            border-bottom: 10px solid #9e501b;

            &:hover {
                -webkit-filter: grayscale(0%);
                /* Safari 6.0 - 9.0 */
                filter: grayscale(0%);
            }
        }
    }

    .title h1 {
        text-align: center;
        font-size: 1.75rem;
        font-weight: 300;
        color: #222;
        letter-spacing: 1px;
        display: grid;
        grid-template-columns: 1fr max-content 1fr;
        grid-template-rows: 27px 0;
        grid-gap: 20px;
        align-items: center;
        font-family: "Pacifico", serif;
        font-weight: 400;
    }

    .title h1:after,
    .title h1:before {
        content: " ";
        display: block;
        border-bottom: 1px solid #c50000;
        border-top: 1px solid #c50000;
        height: 5px;
        background-color: #f8f8f8;
    }

    .quote {
        background-color: white;
        padding: 40px 40px 0 40px;
        border-radius: 4px;
        box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
        font-size: 1rem;
        font-weight: 400;
        margin-bottom: 40px;
        font-style: italic;
        border-left: 5px solid #9e501b;
    }

    blockquote {
        font-weight: 400;
        font-size: 1rem;
        line-height: 1.4;
        position: relative;
        margin: 0;
        padding: 3rem;
    }

    blockquote:before,
    blockquote:after {
        position: absolute;
        color: #9e501b;
        font-size: 8rem;
        width: 4rem;
        height: 4rem;
    }

    blockquote:before {
        content: '“';
        left: 0rem;
        top: -2rem;
    }

    blockquote:after {
        content: '”';
        right: 0rem;
        bottom: 3rem;
    }

    .about-me {
        background-color: white;
        padding: 40px;
        border-radius: 4px;
        box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
        font-size: 1rem;
        font-weight: 400;
        margin-bottom: 40px;



        li::marker {
            color: #9e501b;
        }

        p {
            text-align: justify;
        }

        h4 {
            font-family: "Pacifico", serif;
        }
    }

    .small-text {
        font-size: .75rem;
    }

    .phone {
        background-image: url('/assets/images/icons/phone-white.svg');
        background-size: 12px;
        background-repeat: no-repeat;
        padding: 0 30px;
        background-position: 0px 5px;
    }

    .email {
        background-image: url('/assets/images/icons/email_white.svg');
        background-size: 12px;
        background-repeat: no-repeat;
        padding: 0 30px;
        background-position: 0px 5px;
    }

}

section.service-background {
    background-color: #9e501b;
    height: 150px;
}

section.page-header {
    background-color: #9e501b;
    height: 50px;
}

section.services {
    margin-top: -270px;

    .service {
        background-color: white;
        height: 400px;
        width: 100%;
        border-radius: 4px;
        padding: 40px;
        box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
        border-bottom: 5px solid #9e501b;

        .title h1 {
            text-align: center;
            font-size: 16px;
            font-weight: 300;
            color: #222;
            letter-spacing: 1px;
            text-transform: uppercase;
            display: grid;
            grid-template-columns: 1fr max-content 1fr;
            grid-template-rows: 27px 0;
            grid-gap: 20px;
            align-items: center;
            font-weight: bold;
        }

        .title h1:after,
        .title h1:before {
            content: " ";
            display: block;
            border-bottom: 1px solid #c50000;
            border-top: 1px solid #c50000;
            height: 5px;
            background-color: #f8f8f8;
        }

        .text {
            font-size: .875rem;
            line-height: 15px;
            font-weight: 400;
            padding: 10px;
            text-align: justify;
        }

        .read-more {
            padding: 10px;

            a {
                font-size: .875rem;
                color: #9e501b;
                text-decoration: none;

                &:hover {
                    color: #f1995d;
                }
            }
        }
    }
}

footer {
    background-color: white;
    padding: 40px 0 0 0;

    .logo {
        text-align: center;
    }
    
    a {
        color: white;
            &:hover {
                color: #000;
        }
    }

    .title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 20px;
    }

    ul {
        list-style: none;
        padding: 0;

        li {
            padding: 5px 0;

            a {
                font-size: .875rem;
                text-decoration: none;
                color: #9e501b;

                &:hover {
                    color: #f1995d;
                }
            }
        }
    }

    .small-text {
        font-size: .75rem;
    }

    .phone {
        background-image: url('/assets/images/icons/phone-white.svg');
        background-size: 12px;
        background-repeat: no-repeat;
        padding: 0 30px;
        background-position: 0px 5px;
    }

    .email {
        background-image: url('/assets/images/icons/email_white.svg');
        background-size: 12px;
        background-repeat: no-repeat;
        padding: 0 30px;
        background-position: 0px 5px;
    }

    .copyright-text {
        font-size: .875rem;
    }
}

.bottom {
    background-color: #9e501b;
    padding: 20px;
    margin-top: 40px;
    color: white;
}

section.specialist {
    background-color: white;
    padding: 40px 0;

    .title {
        font-size: 2rem;
        text-align: center;
    }

    .subtitle {
        text-align: center;
        margin: 20px 0;
    }

    .button-container {
        text-align: center;
    }
}

.invalid-feedback {
    font-size: 0.8em;
}


#cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 20px;
    right: 0;
    z-index: 99999;
    background-color: rgba(0, 0, 0, .8);
    color: #fff;
    font-size: 0.9rem;
}


section.verificare-autenticitate {
    width: 100%;
    background-color: #9e501b;
    color: white;
    padding: 40px 0;
    margin: 40px 0 0 0;

    .title {
        font-size: 2rem;
        font-family: "Pacifico", serif;
        font-weight: 400;
        margin-bottom: 10px;
    }
}

section.price-redirect {

    .price-container {
        background-color: var(--main-color);
        padding: 10px;
        margin: 20px 0;
        font-size: 24px;

        span {
            display: block;
            font-size: 14px;
        }
    }

    .notice {
        font-size: .75rem;

        span {
            color: var(--green);
            font-size: 1rem;
            font-weight: bold;
        }
    }
}

section.container404 {
    height: 50vh;
    text-align: center;
    margin: 100px 0;

    a {
        text-decoration: none;
        color: #9e501b;

        &:hover {
            color: #f1995d;
        }
    }

    .eroare404 {
        font-size: 5vw;
        padding: 0;
        margin: 0;
    }

    .text404 {
        font-size: 3vw;
        padding: 0;
        margin-top: -50px;
    }
}

.main-button-programare {
    background-color: #9e501b;
    border: 1px solid #9e501b;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    background-image: url('/assets/images/icons/calendar-white.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 15px;
    padding-left: 55px;
}

.main-button-programare:hover {
    box-shadow: rgba(0, 0, 0, .15) 0 3px 9px 0;
    background-color: #a55926;
    color: white;
}


.package-details {
    padding: 0 20px 20px 0;

    .package-title {
        text-transform: uppercase;
        font-size: 1.875rem;
        font-weight: 300;
        letter-spacing: 5px;

        span {
            font-size: 3.125rem;
            font-weight: bold;
            margin: -15px 10px;
            position: absolute;
        }
    }

    ul {
        li {
            padding: 10px 0;
            border-bottom: 1px dotted var(--secondary-color);
        }
    }

    .package-price {
        font-size: 3.125rem;
        font-weight: bold;

        span {
            font-size: 1.25rem;
            font-weight: bold;
            margin: 5px;
            position: absolute;
        }
    }

    .package-payment-icons {
        margin-top: 40px;
        text-align: center;

        .package-payment-icon {
            padding: 10px;
            display: inline;
        }
    }
}

.form-check {
    margin: 10px 0;
    padding: 10px 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.contact-button {
    background-color: #9e501b;
    border: 1px solid #9e501b;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 25px;
    color: white;
    text-decoration: none;
}

.contact-button:hover {
    box-shadow: rgba(0, 0, 0, .15) 0 3px 9px 0;
    background-color: #b16736;
}

section.blog {
    .post {
        background-color: #eee;
        padding: 40px;
        height: auto;
        margin-bottom: 20px;

        &:hover {
            background-color: white;
        }

        .title {
            font-size: 1.2rem;
            color: #9e501b;
            margin-bottom: 20px;
            font-weight: bold;
            cursor: pointer;

            &:hover {
                color: #ce6f31;
            }
        }

        p {
            font-size: .875rem;
        }

        .date {
            margin: 20px 0;
            font-size: 1rem;
        }

        .read-more {
            margin: 20px 0;

            a {
                text-decoration: none;
            }
        }
    }
}