:root {
    --font-size-base: 17.5px;

    --font-size-small: calc(var(--font-size-base) * 0.857);           /* 15px    */
    --font-size-mid: calc(var(--font-size-base) * 1.143);             /* 20px    */
    --font-size-small-title: calc(var(--font-size-base) * 1.353);       /* 23px  */
    --font-size-title: calc(var(--font-size-base) * 1.514);           /* 26.5px  */
    --font-size-mid-title: calc(var(--font-size-base) * 1.714);       /* 30px    */
    --font-size-big-title: calc(var(--font-size-base) * 1.957);       /* 34.25px */
    --font-size-bigger-title: calc(var(--font-size-base) * 2.286);    /* 40px    */
    --font-size-biggest-title: calc(var(--font-size-base) * 2.471);   /* 43.2px  */


    --primary: #1B2445;
    --accent: #151934;
    --accent-transparent: rgba(21, 25, 52, 0.8);
    --secondary: #FFFFFF;
    --tertiary: #B69375;
    --tetriary-accent-light: #BFA089;
    --tetriary-accent-dark: #805839;
}
::selection {
    background: var(--secondary);
    color: var(--primary);
}


/*            Cleanups        */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-moz-selection {
    background: var(--primary);
    color: var(--secondary);
}


html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit !important;
    text-decoration: none !important;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul,
ol,
li {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0 !important;
    margin: 0 !important;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: 1px solid transparent;
}

input:focus {
    outline: none;
    border: 1px solid transparent;
}



/*                    Real Styles Start             */
body {
    font-family: Helvetica, Arial, sans-serif;

    font-size: var(--font-size-base);

    position: relative;
    background-color: var(--primary);
    color: var(--secondary);
}
.relative
{
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex
{
    display: flex;
}
.flex.center,
.flex-col.center
{
    justify-content: center;
    align-items: center;
}
.flex-col
{
    display: flex;
    flex-direction: column;
}

/*                      HEADER                          */
.left-side-bar
{
    position: fixed;
    left: 0;
    top: 0;
    width: 53px;
    height: 100vh;
    z-index: 999;
    background-color: var(--accent-transparent);
}
.left-side-bar .instagram
{
    position: absolute;
    top: 10%;
    cursor: pointer;
    left: 50%;
    transform: translate(-50%, -50%);
}
.left-side-bar .contacts 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column-reverse;
    width: 100%;
    height: 33.333%;
    
}
.left-side-bar .contacts > *
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    height: max-content;
    transform: rotate(-90deg);
    gap: 0.5em;
    font-size: var(--font-size-base);
}
.header-blur
{
    width: 100%;
    height: 10vh;
    position: fixed;
    top: -5vh;
    left: 0;
    filter: blur(5vh);
    z-index: 999;
    background-color: rgba(0, 0, 0, 1);
    will-change: background-color;
    transition: all 0.5s ease-out;
}
.header-blur.white
{
    background-color: rgba(255, 255, 255, 0.6);
}


.header-logo
{
    position: fixed;
    top: 7.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 168px;
    z-index: 1000;
    height: fit-content;
}

.header-logo img
{
    width: 100%;
    height: auto;
    will-change: filter, -webkit-filter;
    transition: all 0.5s ease-out 0.05s;
}
.header-logo.shadow
{
    box-shadow: none !important;
}
.header-logo.shadow img
{
    -webkit-filter: drop-shadow(3px 3px 7px rgba(0, 0, 0, 1)) drop-shadow(3px 3px 12px rgba(0, 0, 0, 1));
    filter: drop-shadow(3px 3px 7px rgba(0, 0, 0, 1)) drop-shadow(3px 3px 12px rgba(0, 0, 0, 1));
}

.menu-toggle {
    position: fixed;
    right: 100px;
    top: 7.5%;
    transform: translate(50%, -50%);
    z-index: 1001;
}

.menu-toggle .hamburger-inner,
.menu-toggle .hamburger-inner::after,
.menu-toggle .hamburger-inner::before {
    background-color: #fff !important;
    will-change: background-color, transform;
    transition: transform 0.3s ease 0.1s, background-color 0.5s ease-out 0.15s;
}

.menu-toggle .hamburger-inner::after
{
    transition: transform 0.3s ease 0.1s, background-color 0.5s ease-out 0.1s;
}
.menu-toggle .hamburger-inner::before
{
    transition: transform 0.3s ease 0.1s, background-color 0.5s ease-out 0.2s;
}

.menu-toggle .hamburger-inner.black,
.menu-toggle .hamburger-inner.black::after,
.menu-toggle .hamburger-inner.black::before {
    background-color: black !important;
}
.menu-toggle .hamburger-inner::after
{
    transition: transform 0.3s ease 0.1s, background-color 0.5s ease-out 0.2s;
}
.menu-toggle .hamburger-inner::before
{
    transition: transform 0.3s ease 0.1s, background-color 0.5s ease-out 0.1s;
}

.menu-toggle.is-active
{
    .hamburger-inner,
    .hamburger-inner::after,
    .hamburger-inner::before {
        transition-duration: 0.3s;
        transition-delay: 0.2s;
    }
}

.menu-toggle.is-active .hamburger-inner.black,
.menu-toggle.is-active .hamburger-inner.black::after,
.menu-toggle.is-active .hamburger-inner.black::before {
    background-color: white !important;
}

.menu-drawer {
    position: fixed;
    z-index: 1000;
    top: calc(7.5% - 50px);
    right: -100%;
    width: 100%;
    max-width: 300px;
    background-color: #0f1b3d;
    will-change: right;
    transition: right 0.35s ease-in-out;
}

.menu-drawer,
.menu-drawer *
{
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;         /* Standard */
}

.menu-drawer.open {
    right: 0;
}

.menu-drawer .drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    will-change: opacity;
    transition: opacity 0.3s ease;
}

.menu-drawer .drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-drawer .drawer-content {
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-drawer .drawer-close {
    display: flex;
    align-items: center;
    gap: 1em;
    cursor: pointer;
    font-size: var(--font-size-mid);
    width: 100%;
}

.menu-drawer .drawer-toggle
{
    gap: 1em;
}

.menu-drawer .drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}


.menu-drawer .drawer-nav > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.menu-drawer .drawer-item {
    font-size: var(--font-size-mid);
    color: var(--secondary);
    opacity: 0;
    transform: translateX(30px);
    will-change: opacity;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-drawer .drawer-item.visible {
    opacity: 1;
    transform: translateX(0);
}


.menu-drawer .drawer-nav a {
    color: var(--secondary);
    text-decoration: none;
    font-size: var(--font-size-mid);
    display: block;
    will-change: color;
    transition: color 0.2s ease;
}

.menu-drawer .drawer-nav a:hover {
    color: var(--tertiary, #B69375);
}

.menu-drawer .drawer-dropdown {
    position: relative;
}

.menu-drawer .drawer-dropdown > span {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
}

.menu-drawer .drawer-dropdown ul {
    margin-top: 12px !important;
    margin-left: 12px !important;
    font-size: 12px;
    gap: 12px;
    font-weight: 300;
    display: none;
    flex-direction: column;
}

.menu-drawer .drawer-dropdown.active ul {
    display: flex;
}

.menu-drawer .drawer-dropdown ul li a {
    font-size: var(--font-size-base);
    display: block;
}

.menu-drawer .drawer-dropdown i.bi-chevron-down
{
    will-change: transform;
    transition: all 0.3s ease-out;
}

.menu-drawer .drawer-dropdown.active i.bi-chevron-down
{
    transform: rotate(-180deg);
}
.value-items-wrapper ul,
.bottom-item ul
{
    display: block;
    list-style-type: disc;
    padding-left: 1em !important;
    text-align: left;
}
.value-items-wrapper ul li,
.bottom-item ul li
{
    display: list-item;
    unicode-bidi: isolate;
    list-style: disc;
    text-align: left;
}
/*                      FOOTER                          */
footer {
    background: linear-gradient(to right, #805839 0%, #BFA089 54%, #A58267 100%);
    color: white;
    font-family: 'Arial', sans-serif;
    padding: 40px 120px;
    box-shadow: 0 5px 37px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;

}

footer .footer-top {
    text-align: center;
    width: 410px;
    margin: 0 auto;
    margin-bottom: 40px;
}

footer .footer-heading {
    font-size: 16px;
    margin-bottom: 15px !important;
}

footer .footer-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    position: relative;
}

footer .footer-form input {
    padding: 10px 20px;
    border-radius: 15px;
    border: none;
    outline: none;
    width: 100%;
}

footer .footer-form button {
    border-radius: 10px;
    background-color: #0f1b3d;
    color: white;
    border: none;
    cursor: pointer;
    position: absolute;
    transform-origin: center right;
    right: 10px;
    padding: 5px 10px;
    top: 50%;
    transform: translateY(-50%);
}

footer .footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1%;
    margin-top: 40px;
}

footer .footer-column
{
    width: calc((96% - 347px) / 3);
    font-size: 14px;
    line-height: 1.6;
}
footer .footer-column.brand
{
    width: 347px;
}
footer .footer-column.brand img
{
    width: 201px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 40px;
}

footer .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-column ul li {
    margin-bottom: 7px !important;
    font-size: var(--font-size-small);
}

footer .footer-column p {
    font-size: var(--font-size-base);
}

footer .footer-column.contact
{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
footer .footer-column.contact .contact-info
{
    display: flex;
    gap: 10px;
    .info-name
    {
        display: flex;
        gap: 10px;
    }
}

.footer-bottom {
    display: flex;
    padding: 20px 140px;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    background-color: #fff ;
    color: var(--primary);
    position: relative;
    z-index: 0;
}

.footer-beranet-logo {
    display: flex;
    align-items: center;
}
.transparent-linear-filter
{
    background: linear-gradient(
        to left, 
        rgba(0, 0, 0, 0.75) 0%, 
        rgba(20, 25, 47, 0.86) 61%, 
        rgba(28, 30, 37, 0.27) 100%
    );

}


/*               Hero Design               */
.hero
{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    z-index: 5;
}
.hero .image
{
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}
.hero .image img
{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100vh;
    left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
}
.hero .image .transparent-linear-filter
{
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100vh;
    left: 50%;
    transform: translateX(-50%);
}
.title-box
{
    position: relative;
    z-index: 1;
    padding: 15px;
}
.title-box h2
{
    font-weight: bold;
    font-size: var(--font-size-bigger-title);
}
.title-box::before
{
    content: "";
    position: absolute;
    inset: 0;
    --mask-size: 4px;

    --mask:
        /* Top line: from left, stops 40px before the right */
        linear-gradient(to right, white 100%, transparent 0),
        /* Left line: full */
        linear-gradient(to bottom, white 100%, transparent 0),
        /* Bottom line: starts 40px after left, ends before right */
        linear-gradient(to right, white 0px, white 50%, transparent 0);
        ;

    padding: var(--mask-size);

    background: linear-gradient(to bottom left, #B69375, #70492A);

    -webkit-mask-image:var(--mask);
    
    -webkit-mask-size: 100% var(--mask-size), var(--mask-size) 100%, 100% var(--mask-size);
    -webkit-mask-position: top left, top left, bottom left;
    -webkit-mask-repeat: no-repeat;

    mask-image:var(--mask);

    mask-size: 100% var(--mask-size), var(--mask-size) 100%, 100% var(--mask-size);
    mask-position: top left, top left, bottom left;
    mask-repeat: no-repeat;

    z-index: 1;
    pointer-events: none;
}
