/* General */
:root {
    --footer-height: 120px;
    --footer-bg: #f6f2e9;
    --footer-fg: #06333a;
    --accent: #d9be93;
    --pill-bg: #0b2226;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

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

a {
    text-decoration: none;
}

/* Main */

.main-content {
    display: flex;
    width: 100%;
    height: calc(100dvh - var(--footer-height));
    align-items: center;
    overflow: hidden;
    position: relative;
}

.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.logos {
    display: flex;
    width: 100%;
    height: 100%;
}

.logo-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-area a {
    display: flex;
    justify-content: center;
    width: 100%;
}

.logo-area a img {
    width: 40%;
    transition: 0.2s width ease-in-out;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}

.logo-area a img:hover {
    width: 50%;
}

/* Footer */

.footer-main {
    height: var(--footer-height);
    width: 100%;
    position: relative;
    z-index: 2;
    background: var(--footer-bg);
    padding: 14px 30px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.contact-area {
    text-align: right;
    border-right: 1px solid rgba(6, 51, 58, 0.25);
    padding: 0 20px 0 0;
    margin-top: 10px;
    width: 50%;
}

.mail-phone {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.mail-phone a,
.address label {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--footer-fg);
}

.gurok-brandmark {
    position: absolute;
    left: 30px;
    bottom: 14px;
}

.gurok-brandmark img {
    height: 64px;
    opacity: 0.9;
}

.follow-contact {
    display: flex;
    justify-content: space-between;
    width: 50%;
}

.follow {
    margin-top: 10px;
    padding-left: 20px;
}

.follow-lbl {
    font-size: 14px;
    line-height: 28px;
    color: var(--footer-fg);
}

.follow-ul {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.follow-ul li a svg {
    width: 22px;
    height: 22px;
    color: var(--footer-fg);
    transition: 0.2s opacity;
}

.follow-ul li a:hover svg {
    opacity: 0.7;
}

/* Contact widgets */

.widget a {
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
}

.widget {
    margin-bottom: 8px;
}

.widget-link {
    height: 25px;
    margin: 5px 0;
    position: relative;
    right: -18px;
    width: 0;
    text-align: center;
    overflow: hidden;
    transition: all 0.5s ease;
    background-color: var(--pill-bg);
    box-shadow: rgba(0, 0, 0, 0.25) 0 14px 28px, rgba(0, 0, 0, 0.22) 0 10px 10px;
}

.widget-link label {
    color: #fff;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
    line-height: 25px;
}

.widget:hover .widget-link {
    width: 200px;
    padding: 0 15px;
}

.widget-icon {
    position: relative;
    z-index: 3;
    background-color: var(--pill-bg);
    border-right: 6px solid var(--accent);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.25) 0 14px 28px, rgba(0, 0, 0, 0.22) 0 10px 10px;
}

.widget-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

/* Cookie */

#cookie-banner {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    line-height: 16px;
    width: 300px;
    left: 20px;
    bottom: 20px;
    padding: 20px;
    background: #fff;
    color: #222;
    border-radius: 5px;
    box-shadow: 0 10px 10px #00000050;
    z-index: 10000;
}

#cookie-banner[hidden] {
    display: none;
}

#cookie-banner button {
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: var(--footer-fg);
    padding: 6px 15px;
}

#cookie-banner button:hover {
    opacity: 0.8;
}

/* Media Q */

@media (max-width: 768px) {
    :root {
        --footer-height: 17dvh;
    }

    .main-content::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
    }

    .logos {
        flex-direction: column-reverse;
        position: relative;
    }

    .logo-area a img {
        width: 45%;
        max-width: 220px;
    }

    .logo-area a img:hover {
        width: 50%;
    }

    .footer-main {
        padding: 12px 16px;
        gap: 0;
    }

    .contact-area {
        border-right: none;
        text-align: left;
        width: auto;
        margin-top: 0;
    }

    .mail-phone {
        display: grid;
        justify-content: start;
        gap: 0;
    }

    .mail-phone a,
    .address label {
        font-size: 12px;
        line-height: 18px;
    }

    .address {
        margin-top: 8px;
    }

    .gurok-brandmark {
        left: 16px;
        right: auto;
        bottom: auto;
        top: 12px;
        transform: none;
    }

    .gurok-brandmark img {
        height: 40px;
    }

    .follow-contact {
        width: auto;
    }

    .follow {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding-left: 0;
        margin-top: 0;
    }

    .follow-lbl {
        font-size: 12px;
    }

    .follow-ul {
        margin-top: 0;
    }

    .footer-widgets {
        position: absolute;
        bottom: calc(var(--footer-height) + 12px);
        right: 0;
    }
}
