@import "fonts.css";
@import "specks.css";
@import "_colors.css";

html {
    height: 100%;
}

.background {
    position: absolute;
    z-index: -1;

    &:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: url("../../assets/images/bg.png") no-repeat center;
        background-size: cover;
    }
}

main {
    min-height: calc(100% - 56px);

    &.unset-height {
        min-height: auto;
    }
}

/*FONTS*/
body, p {
    font-family: Raleway, serif;
}

h1, h2, h3, h4, h5 {
    font-family: Munday, serif;
    text-transform: uppercase;
}

/*NAVIGATION*/
header {
    background-color: var(--color-main);
    box-shadow: #000000 0px 4px 33px, #000000 0px 51px 66px;
    z-index: 2;

    nav {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 15px;

        .navbar-brand {
            width: 100%;
            height: 170px;
            margin: 40px 0 15px;
            background: url("../../assets/images/logo-l.png") no-repeat center center;
            background-size: contain;
        }

        .navbar-toggler {
            filter: invert(1) sepia(10);
            border: none;

            &:focus {
                box-shadow: none;
            }
        }

        hr {
            width: 40%;
            margin: 0 auto;
            height: 2px;
            z-index: 3;
            position: relative;
            display: block;
            background: var(--color-gold-light);
        }

        .navigation-section {
            width: 100%;

            .navbar-nav {
                padding-top: 10px;
                padding-bottom: 10px;

                .nav-item {
                    .nav-link {
                        color: var(--color-gold-light);
                        padding: 10px 30px;
                    }
                }
            }
        }
    }
}

#admin-header {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100px;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    background: white;

    .navbar-brand {
        width: 100%;
        height: 100px;
        margin: 40px 0 40px;
        background: url("../../assets/images/logo-l.png") no-repeat center center;
        background-size: contain;
    }

    .btn-navigation {
        font-size: 2em;
        color: var(--color-gold-light);
    }
}

.offcanvas {
    max-width: 300px;

    .offcanvas-header {
        align-items: start;
        flex-wrap: wrap;

        .navbar-brand {
            width: 100%;
            height: 150px;
            margin: 40px 0 40px;
            background: url("../../assets/images/logo-l.png") no-repeat center center;
            background-size: contain;
        }
    }

    .offcanvas-body {
        position: relative;

        .nav-item {
            .nav-link {
                color: var(--color-gold);
                padding: 10px 30px;
                font-size: 1.2em;
            }
        }

        &:after {
            content: '';
            position: absolute;
            display: block;
            bottom: 0;
            left: 0;
            height: 150px;
            width: 100%;
            background: url("../images/motive_1.png") center no-repeat;
            background-size: contain;
        }
    }
}

/*CAROUSEL*/
.carousel {
    .carousel-inner {
        .carousel-item {
            position: relative;

            &:before {
                content: '';
                position: absolute;
                display: block;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: radial-gradient(circle, rgba(103, 76, 44, 0) 0%, rgba(51, 35, 15, 0.6) 54%, rgba(20, 14, 14, 1) 100%);
            }

            img {
                height: 500px;
                object-fit: cover;
            }

            .carousel-caption {
                position: absolute;
                display: flex;
                justify-content: center;
                width: 100%;
                bottom: 20%;
                left: 0;

                .carousel-caption-inner {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: flex-start;

                    h1 {
                        font-family: Kugile, serif;
                        font-family: 'Orange', serif;
                        font-family: Rosehot, serif;
                        font-family: Munday, serif;
                        color: var(--color-gold-light);
                        /*text-shadow: 1px 0px 1px #f7f09c;*/
                        width: 100%;
                        font-size: 4em;
                        text-align: start;
                    }

                    h4 {
                        font-family: Raleway, serif;
                        color: var(--color-offwhite);
                        width: 100%;
                        text-align: start;
                        font-weight: 100;
                    }
                }


            }
        }
    }
}

/*SECTIONS*/
.cta-section {
    padding: 150px 0;
    display: flex;
    justify-content: center;
    overflow: hidden;

    h2 {
        color: var(--color-offwhite);
        width: 100%;
        font-family: Munday, serif;
        font-size: 2.6em;
        font-weight: 900;
    }

    h4 {
        color: var(--color-offwhite);
        width: 100%;
        font-size: 1.5em;
        font-family: Raleway, serif;
        font-weight: 100;
    }

    p {
        color: var(--color-offwhite);
    }
}

.features-section {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    .feature {
        margin-top: 5px;
        .features-inner {
            margin: 30px 20px 0px 20px;
            padding: 25px 35px;
            height: 100%;
            display: flex;
            flex-wrap: wrap;

            .feature-icon {
                display: block;
                width: 100%;
                margin-top: -95px;
                height: 100px;
            }

            h3 {
                margin-top: 35px;
                margin-bottom: 20px;
                color: var(--color-offwhite);
            }

            .icon-link {
                text-decoration: none;
                color: var(--color-gold-light);
                display: flex;
                align-content: center;
                margin-top: 15px;

                i {
                    margin-left: 0;
                    transition: all 0.3s ease-in-out;
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    align-content: center;
                }

                &:hover {
                    i {
                        margin-left: 10px;
                        transition: all 0.3s ease-in-out;
                    }

                }
            }

        }
    }
}

.hero-section {
    height: 200px;

    img {
        height: 100%;
        object-fit: cover;
    }
}

.filter-section {
    display: flex;
    justify-content: center;
    z-index: 2;

    form {
        display: flex;
        align-content: flex-end;
        align-items: flex-end;
    }
}

.shop-section, .admin-products-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    .product-container {
        padding: 10px 15px;

        .product-inner {
            cursor: pointer;
            background: transparent; /* 1. Semi-transparent background */
            backdrop-filter: blur(13px); /* 2. The frosted glass effect */
            -webkit-backdrop-filter: blur(13px); /* Vendor prefix for compatibility */
            box-shadow: 0 4px 30px rgb(0 0 0 / 70%), 1px 1px 0px var(--color-gold-light-25);
            color: var(--color-offwhite);
            width: 100%;

            .product-image {
                height: 180px;
                width: 100%;
            }

            .product-info {
                padding: 10px 15px;

                .product-name {
                    padding-top: 10px;
                }

                .product-category {
                    opacity: 0.8;
                    text-transform: uppercase;
                    font-size: 0.8em;
                }

                .product-price {
                    font-weight: 600;
                    font-size: 1.2em;
                }
            }

            .product-btn-container {
                display: flex;
                justify-content: space-evenly;
            }
        }
    }
}

.admin-products-section {
    background: transparent;
}

/*REUSEABLE*/

.dark-gradient-overlay {
    background: radial-gradient(circle, rgba(103, 76, 44, 0) 0%, rgba(51, 35, 15, 0.6) 54%, rgba(20, 14, 14, 1) 100%), linear-gradient(359deg, #000000bf, #0000004a, #000000d9);
}

.dark-block-section {
    background-color: var(--color-main);
}

.plain-blur {
    background: transparent; /* 1. Semi-transparent background */
    backdrop-filter: blur(13px); /* 2. The frosted glass effect */
    -webkit-backdrop-filter: blur(13px); /* Vendor prefix for compatibility */
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    color: var(--color-offwhite);
}

.light-blur {
    background: rgba(255, 255, 255, 0.07); /* 1. Semi-transparent background */
    backdrop-filter: blur(13px); /* 2. The frosted glass effect */
    -webkit-backdrop-filter: blur(13px); /* Vendor prefix for compatibility */
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    color: var(--color-offwhite);
}

.blur-edge {
    box-shadow: #c79e4029 1px 1px 65px, 0px 0px 1px #ffffff26;
}

.section-heading {
    font-size: 2.5em;
    color: var(--color-gold-light);
    margin-bottom: 10px;
    text-align: center;

    &.border-bottom {
        border-bottom: 0.5px solid #dead2b4f !important;
    }
}

.sub-section-heading {
    font-size: 2.1em;
    color: var(--color-gold-light);
    margin-bottom: 10px;
    text-align: center;

    &.border-bottom {
        border-bottom: 0.5px solid #dead2b4f !important;
    }
}

hr {
    width: 40%;
    margin: 0 auto;
    height: 2px;
    z-index: 3;
    position: relative;
    display: block;
    background: var(--color-gold-light);
}

.motive-full {
    height: 470px;
    width: 50%;
    position: absolute;
    top: 0;
    right: -60px;
    transform: rotate(19deg);
    background: url(../../assets/images/motive_3.png) no-repeat center;
    background-size: contain;

    &:after {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: linear-gradient(25deg, black, #0000008f, #000000d1, #000000ab, #00000066, transparent);
    }
}

.motive-horizontal {
    height: 570px;
    width: 90%;
    position: absolute;
    bottom: -100px;
    right: 0;
    transform: rotate(356deg);
    background: url(../../assets/images/motive_1.png) no-repeat center;
    background-size: contain;

    &:after {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: linear-gradient(25deg, black, #0000008f, #000000d1, #000000ab, #00000066, transparent);
    }
}

.motive-horizontal-single {
    height: 570px;
    width: 60%;
    position: absolute;
    top: 0;
    left: -92px;
    transform: rotate(343deg);
    background: url(../../assets/images/motive_2.png) no-repeat center;
    background-size: contain;

    &:after {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: linear-gradient(25deg, black, #0000008f, #000000d1, #000000ab, #00000066, transparent);
    }
}

.admin-body {
    main {
        padding: 100px 20px;
        margin-left: 100px;
    }

}

/*ICONS*/
.icon {
    display: block;
    position: relative;
    width: 150px;
    height: 150px;
    filter: drop-shadow(2px 4px 18px #1e1704);

    &.icon-handmade {
        background: url("../../assets/images/hand1.svg");
        background-size: contain;
    }

    &.icon-custommade {
        background: url("../../assets/images/custom1.svg");
        background-size: contain;
    }

    &.icon-gifting {
        background: url("../../assets/images/gifting1.svg");
        background-size: contain;
    }
}

/*FOOTER*/
footer {
    background-color: var(--color-main);
    color: rgba(255, 255, 255, 0.6);

    a {
        color: white;
        text-decoration: none;
    }
}

/*BUTTONS*/
.btn-primary {
    background: var(--color-main);
    color: var(--color-offwhite);
    border: var(--color-offwhite) 1px solid;
    padding: 11px 15px;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.5s ease-in-out;
    font-weight: 600;
    position: relative;
    font-family: Bentley, sans-serif;

    &:hover {
        background: transparent;
        color: var(--color-offwhite);
        border: transparent 1px solid;
        transition: all 0.3s ease-in-out;
    }

    &::before,
    &::after {
        content: "";
        position: absolute;
        display: block;
        border: 0 solid transparent;
        width: 0%;
        height: 0%;
        transition: all 0.5s ease;
    }

    &::after {
        top: 0;
        left: 0;
        border-top: 2px solid transparent;
        border-left: 2px solid transparent;
    }

    &::before {
        right: 0;
        bottom: 0;
        border-bottom: 2px solid transparent;
        border-right: 2px solid transparent;
    }

    &:hover::before,
    &:hover::after {
        width: 100%;
        height: 100%;
        border-color: var(--color-offwhite);
        border-left: 2px solid transparent;
        border-right: 2px solid transparent;
    }

    &:disabled {
        background: var(--color-main);
        color: var(--color-offwhite);
        border: var(--color-offwhite) 1px solid;
        opacity: 0.5;
    }
}

.btn-secondary {
    background: var(--color-main);
    color: var(--color-gold-light);
    border: var(--color-gold-light) 1px solid;
    padding: 11px 15px;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.5s ease-in-out;
    font-weight: 600;
    position: relative;
    font-family: Bentley, sans-serif;

    &:hover {
        background: transparent;
        color: var(--color-gold-light);
        border: transparent 1px solid;
        transition: all 0.3s ease-in-out;
    }

    &::before,
    &::after {
        content: "";
        position: absolute;
        display: block;
        border: 0 solid transparent;
        width: 0%;
        height: 0%;
        transition: all 0.5s ease;
    }

    &::after {
        top: 0;
        left: 0;
        border-top: 2px solid transparent;
        border-left: 2px solid transparent;
    }

    &::before {
        right: 0;
        bottom: 0;
        border-bottom: 2px solid transparent;
        border-right: 2px solid transparent;
    }

    &:hover::before,
    &:hover::after {
        width: 100%;
        height: 100%;
        border-color: var(--color-gold-light);
        border-left: 2px solid transparent;
        border-right: 2px solid transparent;
    }

    &:disabled {
        background: var(--color-main);
        color: var(--color-gold-light);
        border: var(--color-gold-light) 1px solid;
        opacity: 0.5;
    }
}

.btn-sm {
    padding: 7.5px 10px;
}

.btn-plain {
    color: var(--color-offwhite);
}

.btn-plain-gold {
    color: var(--color-gold-light);
}

/*FORM*/
.form-control {
    border-radius: 0;
    background: var(--color-main);
    border-color: var(--color-gold-light-25);
    color: var(--color-gold-light);

    &:focus {
        background: var(--color-main);
        border-color: var(--color-gold-lighter);
        color: var(--color-gold-lighter);
        box-shadow: 0px 0px 7px var(--color-gold-lighter);
    }

    &:disabled {
        background: var(--color-main);
        opacity: 0.4;
    }
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

label {
    color: var(--color-gold-light-light);
}

.form-label {
    color: var(--color-gold-light);
    margin-bottom: 8px;
}

.form-note {
    color: rgba(255, 255, 255, 0.72);
}

.alert {
    border-radius: 0;
}

/*MODAL*/
.modal {
    .modal-header {
        background: var(--color-offwhite);
        display: flex;
        align-items: center;
        align-content: center;

        .modal-title {
            font-family: 'Orange', sans-serif;
        }
    }

    .modal-content {
        box-shadow: 1px 1px 40px var(--color-gold-light-50);
    }

    .bg-side-faded {
        background: var(--color-main);

        label, p, h5 {
            color: var(--color-offwhite);
        }

        h5 {
            font-weight: 600;
            font-family: 'Orange', sans-serif;
            color: var(--color-gold);
        }

        p {
            strong {

            }
        }

        label {
            color: var(--color-gold-light-light);
        }
    }

    table {
        color: white;
    }

    .modal-footer {
        margin-top: 25px;
        border-color: #ffffff21;
    }
}

.page-hero {
    display: flex;
    justify-content: center;
    padding: 100px 20px 40px;

    .eyebrow {
        color: var(--color-gold-light);
        letter-spacing: 0.25em;
        text-transform: uppercase;
        font-size: 0.85rem;
    }

    .lead-copy {
        color: rgba(255, 255, 255, 0.82);
        font-size: 1.05rem;
        line-height: 1.8;
    }

    &.page-hero-sm {
        padding-top: 90px;
    }
}

.contact-section,
.events-story-section {
    display: flex;
    justify-content: center;
    padding: 10px 20px 90px;
}

/*CONTACT*/

.contact-panel {
    height: 100%;
    border: 1px solid rgba(222, 173, 43, 0.2);
}

.contact-intro {
    color: rgba(255, 255, 255, 0.75);
}

.contact-card-list {
    display: grid;
    gap: 18px;
}

.contact-card-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    a, p {
        color: var(--color-offwhite);
        text-decoration: none;
    }
}

.contact-card-icon {
    height: 48px;
    width: 48px;
    min-width: 48px;
    border: 1px solid rgba(222, 173, 43, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-light);
    font-size: 1.15rem;
}

.contact-card-label {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.contact-hours,
.contact-socials {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-hours p,
.contact-socials a {
    color: var(--color-offwhite);
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    a {
        text-decoration: none;
        border: 1px solid rgba(222, 173, 43, 0.25);
        padding: 10px 14px;
        display: inline-flex;
        gap: 8px;
        align-items: center;
    }
}

.contact-form-wrap {
    min-width: 0;
}

.contact-form .bot-field {
    position: absolute;
    left: -9999px;
}

/*EVENTS*/

.event-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 30px;
    padding: 28px;
    margin-bottom: 32px;
    border: 1px solid rgba(222, 173, 43, 0.16);
}

.event-feature-copy {
    display: flex;
    flex-wrap: wrap;
    align-content: center;

    h3 {
        color: var(--color-offwhite);
    }

    p {
        color: rgba(255, 255, 255, 0.82);
        line-height: 1.85;
    }
}

.event-feature-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.event-gallery-item {
    overflow: hidden;
    min-height: 220px;
    background: rgba(255, 255, 255, 0.03);

    &:first-child {
        grid-column: span 2;
        min-height: 320px;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

.event-feature-reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

/*TABLE*/
.bookings-table {
    thead {
        tr {
            border-bottom: white 1px solid;

            td {

            }
        }
    }
}

@media (max-width: 991px) {
    .event-feature,
    .event-feature-reverse {
        grid-template-columns: 1fr;
    }

    .event-gallery-item {
        min-height: 180px;

        &:first-child {
            min-height: 240px;
        }
    }
}

@media (max-width: 767px) {

    .dark-block-section, .carousel-caption {
        padding-left: 10px;
        padding-right: 10px;
    }

    .carousel .carousel-inner .carousel-item .carousel-caption .carousel-caption-inner h1,
    h1 {
        font-size: 2em;
        text-align: center;
    }

    .cta-section h2, .section-heading, h2 {
        font-size: 1.4em;
        text-align: center;
        font-weight: 500;
    }

    .carousel .carousel-inner .carousel-item .carousel-caption .carousel-caption-inner h4,
    .cta-section h4, h4 {
        font-size: 1.2em;
        text-align: center;
    }
    .carousel {
        .carousel-inner {
            .carousel-item {
                position: relative;

                &:before {
                    background: radial-gradient(circle, rgba(61, 42, 21, 0.7) 0%, rgba(44, 29, 10, 0.83) 54%, rgba(20, 14, 14, 1) 100%);
                }
                img {
                    height: 350px;
                }
            }
        }
    }

    .cta-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .features-section {
        & .feature {
            margin-top:40px;
            .features-inner {
                margin: 30px 0px 0px 0px;
            }
        }
    }

    .page-hero {
        padding: 70px 20px 25px;
    }

    .page-hero .lead-copy {
        font-size: 1rem;
    }

    .contact-section,
    .events-story-section {
        padding-bottom: 60px;
    }

    .event-feature {
        padding: 20px;
    }

    .event-feature-gallery {
        grid-template-columns: 1fr;
    }

    .event-gallery-item:first-child {
        grid-column: auto;
    }

    #admin-header {
        height: 100px;
        width: 100%;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-around;
        .navbar-brand {
            width: 200px;
            height: 100px;
            margin: 0px 0 0px;
        }
    }
    .admin-body {
        main {
            padding: 100px 20px;
            margin-left: 0px;
        }
    }
}
