@import url('https://fonts.googleapis.com/css2?family=Hind+Madurai:wght@300;400;500;600;700&family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #e7b13c;
    --primary-dark: #a67b25;
    --secondary: #fad97e;
    --shade1: #1A1A1A;
    --shade2: #222;
    --shade3: #333;
    --shade4: #444;
    --light: #fff;
}

html,
body {
    height: 100%;
    margin: 0;
    font-size: 18px;
    line-height: 1.6em;
    font-family: Hind Madurai, Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 300;
    background-color: var(--shade1);
    color: var(--light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2em;
    font-family: Montserrat;
}

h1,
h2,
h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

h4,
h5,
h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h1 {
    font-size: 46px;
    font-weight: 600;
}

h2 {
    font-size: 38px;
    font-weight: 600;
}

h3 {
    font-size: 28px;
    font-weight: 500;
}

h4 {
    font-size: 22px;
    font-weight: 500;
}

h5 {
    font-size: 15px;
    font-weight: 700;
}

h6 {
    font-size: 15px;
    font-weight: 500;
}

p {
    margin-bottom: 1.6em;
}

a {
    text-decoration: none;
    color: var(--secondary);
}

a:hover {
    text-decoration: underline;
    color: var(--primary);
}

button {
    position: relative;
    height: 44px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    background-color: transparent;
    color: var(--light);
    z-index: 1;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5;
    font-family: Montserrat;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    transition: left 0.3s ease;
    z-index: -1;
}

button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: -2;
}

button:has(> a) {
    padding-left: 0;
    padding-right: 0;
    height: auto;
}

button>a {
    display: block;
    line-height: 43px;
    text-decoration: none;
    color: inherit;
    height: 44px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

button:hover::before {
    left: 0;
}

button>a:hover {
    text-decoration: none;
    color: inherit;
}

section {
    padding-top: 120px;
    padding-bottom: 120px;
}

@media (max-width: 780px) {
    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}


/* Default Classes */

.container {
    width: 100%;
    max-width: 1200px;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.container.flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.subtitle {
    font-family: Montserrat;
    text-transform: uppercase;
    margin-bottom: -10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.subtitle:before {
    content: "";
    display: block;
    height: 1px;
    width: 30px;
    background-color: var(--light);
}

.button_dark:before {
    background-color: var(--shade3);
}

.button_dark:after {
    background-color: var(--shade1);
}

@media (max-width: 780px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .container.flex {
        flex-direction: column;
    }
}


/* Navigation */

.navigation {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 100;
    background-color: #000000b8;
}

.navigation>.container {
    justify-content: space-between;
    display: flex;
}

.navigation>.container img {
    height: 30px;
}

@media (max-width: 780px) {
    .navigation {
        height: 60px;
        position: fixed;
        top: 0;
        width: 100%;
    }

    .navigation>.container {
        flex-direction: row;
    }

    .navigation__menu_button {
        display: flex;
    }

    .navigation__menu>li {
        width: 100%;
    }

    .navigation__menu>li>button {
        margin-left: 0px;
    }

    .navigation__menu {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        position: fixed;
        top: 0;
        background: var(--shade1);
        width: 100%;
        right: 0px;
        padding: 20px;
        padding-top: 80px;
        padding-bottom: 40px;
        box-sizing: border-box;
        overflow: scroll;
        box-shadow: var(--box-shadow);
        transition: transform 0.3s ease-in-out;
        transform: translateY(-100%);
    }

    .navigation__menu.menu_open {
        transform: translateX(0);
    }
}


/* Classes */

.hero {
    background: url('/assets/hero.jpg');
    background-position: center;
    background-size: cover;
    padding-top: 160px;
}

.hero .container div {
    width: 500px;
    background-color: #000000e4;
    padding: 40px;
    border-radius: 8px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.grid div {
    background-color: var(--shade3);
    padding: 20px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.colored {
    background-color: var(--primary) !important;
}

.colored-text {
    color: var(--primary) !important;
}

.mb-40 {
    margin-bottom: 40px;
}

.bg-dark {
    background-color: #000000d9;
    overflow: hidden;
}

.flex {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: space-between;
}

.flex-left {
    width: 49%
}

.flex-right {
    width: 49%;
    position: relative;
}

.flex-right img {
    position: absolute;
    height: 100%;
    border-radius: 20px;
}


@media (max-width: 1000px) {
    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}


@media (max-width: 780px) {
    .flex {
        flex-direction: column;
    }

    .flex-left {
        width: 100%;
    }

    .flex-right {
        width: 100%;
    }

    .grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding-top: 100px;
    }


    .hero .container div {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Contact */

.contact {
    background-color: var(--shade1);
}

.contact>.container {
    flex-direction: column;
}

.contact_title_wrapper {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

form {
    width: 100%;
    background-color: var(--shade3);
    border-radius: 8px;
    padding: 40px;
    max-width: 700px;
    box-sizing: border-box;
}

form>div,
form>div>div {
    width: 100%;
    box-sizing: border-box;
}

form>div {
    margin-bottom: 20px;
}

.form__flex {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

input,
select,
textarea {
    width: 100%;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 4px;
    padding: 10px 20px;
    color: var(--light);
    box-sizing: border-box;
}

.checkbox {
    display: flex;
    flex-direction: row;
}

.checkbox>input {
    width: auto;
    margin-right: 10px;
}


/* Footer */

footer {
    background: #000000;
}

.footer__top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer__logo {
    width: 200px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.footer__logo>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__menu {
    font-family: Montserrat;
    letter-spacing: 0.5;
}

.footer__menu>ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer__menu>ul>li>a {
    text-transform: uppercase;
    color: var(--light);
}

.footer__menu>ul>li>a:hover {
    color: var(--secondary);
    text-decoration: none;
}

.footer__contact_info {
    margin-top: 10px;
    margin-bottom: 20px;
}

.footer__bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--shade4)
}

@media (max-width: 780px) {
    .footer__top {
        flex-direction: column;
        padding-top: 40px;
        gap: 20px;
        align-items: start;
    }

    .footer__menu>ul {
        flex-direction: column;
        align-items: start;
    }
}