@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0&');

:root {
    --accent: #ffdb28;
    --accent-shadow: #ffdb2850;
    --text-primary: #000000;
    --text-alt: #ededed;
    --background: #e2e2e2;
    --background-alt: #000000;
    --background-dim: #f6f6f6;
    --border: rgba(255, 255, 255, 0.06);
    --crust: rgb(238, 238, 238);
}

@keyframes arrow--scrolling {
    0% { transform: translateY(0); opacity: 1; }
    25% { transform: translateY(10px); opacity: 0; }
    50% { transform: translateY(-10px); opacity: 0; }
    75% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;

    font-family: 'Open Sans', sans-serif;
}

*::selection {
    background-color: var(--accent-shadow);
}

hr {
    color: var(--crust);
}

a:not(.navbar__contact-link) .material-symbols-rounded {
    transform: translateY(7px);
}

.material-symbols-rounded {
    cursor: default;
}

.material-symbols-rounded::selection {
    background-color: #00000000;
}

.leaflet-control-attribution svg {
    display: none !important;
}

.no-marker {
    padding: 0;
    list-style: none;
    color: inherit;
    text-decoration: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 80px;
    
    display: flex;
    justify-content: center;
    transition: height 0.5s, background-color 0.25s, padding-top 0.35s;
}

html:not([data-scroll-progress="0.000"]) .navbar, body:has(.burger__trigger:checked) .navbar  {
    padding-top: 0px;
    background-color: white;
    height: 90px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}

html:not([data-scroll-progress="0.000"]) .navbar__logo {
    color: black;
}

html:not([data-scroll-progress="0.000"]) .navbar__link, html:not([data-scroll-progress="0.000"]) .navbar__contact-link {
    color: var(--text);
}

html:not([data-scroll-progress="0.000"]) .burger__button {
    color: var(--text-primary);
}

.navbar__container {
    padding-inline: 50px;
    width: 1500px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.navbar__item:nth-child(3) {
    display: flex;
    justify-content: end;
}

.navbar-link__container {
    padding: 0;
    margin: 0;
}

.navbar__links {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.navbar__link {
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: var(--text-alt);
    font-size: 1.2rem;
    font-weight: 700;
}

.navbar__link::before, .footer__link::before {
    content: '';
    position: absolute;
    width: 0px;
    height: 3px;
    background-color: var(--accent);
    transition: width 0.5s;
    transform: translateY(26px);
}

.navbar__item:not(:has(.navbar__contact)) .navbar__link:hover::before, .footer__link:hover::before {
    width: 40px;
    transition: width 0.5s;
}

.navbar__logo, .footer__logo {
    line-height: 0;
    font-size: 36px;
    font-family: "Quicksand", sans-serif;
    font-weight: 800;
    color: white;
}

.navbar__quick-contact {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar__contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-alt);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.2s;
}

.navbar__contact-link:hover {
    color: var(--accent);
}

.navbar__quick-contact .material-symbols-rounded {
    font-size: 1.3em;
    color: var(--accent);
    margin-right: 4px;
    vertical-align: middle;
}

.navbar__burger {
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    width: 40px;
    height: 100%;
    border-radius: 8px;
    backdrop-filter: blur(1rem);
    background-color: var(--border);
}

.burger {
    display: none;
    position: fixed;
    top: -100%;
    left: 0;

    width: calc(100% - 60px);
    padding: 10px;
    padding-inline: 30px;
    height: min-content;
    background-color: white;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);

    transition-duration: 0.2s;
}

.burger__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.burger__link {
    color: inherit;
    text-decoration: none;
    font-size: 1.7rem;
}

body:has(.burger__trigger:checked) .burger {
    top: 0%;
}

.burger__button {
    color: var(--text-alt);
}

body:has(.burger__trigger:checked) .burger__open {
    display: none;
}

.burger__close {
    color: var(--text-primary);
    display: none;
}
body:has(.burger__trigger:checked) .burger__close {
    display: initial;
}

.burger__trigger {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.logo--tint {
    color: var(--accent);
}

.button {
    all: initial;
    text-decoration: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    padding-block: 12px;
    padding-inline: 30px;
    border-radius: 4px;
    background-color: var(--accent);
    cursor: pointer;
}

.button--alt {
    background-color: white;
    color: var(--text) !important;
}

.main {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.section {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
}

.section--hero {
    height: 100vh;
     background:
        linear-gradient(
          rgba(0, 0, 0, 0.1), 
          rgba(0, 0, 0, 0.95)
        ), url('/static/images/hero.png');
    background-size: cover;
    background-blend-mode: darken;
    color: var(--text-alt);
}

.section--alt {
    padding-block: 50px;
    color: var(--text-alt);
    background-image: url('/static/images/polka.svg');
}

.section--contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    justify-items: center;
    align-items: center;
}

.article {
    width: 100%;
    height: 100%;
    padding-inline: 50px;
    max-width: 1500px;
}

.article--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article--justified {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article__header {
    font-size: 2rem;
    margin-bottom: 50px;
}

.hero__header {
    font-size: 5rem;
    font-weight: 700;
}

.hero__header--alt {
    line-height: 0;
    font-family: "Pacifico", cursive;
    color: var(--accent);
    font-weight: 1000;
}

.hero__text {
    padding-block: 4px;
    font-size: 1.35rem;
}

.hero__text--underline {
    text-decoration: underline 2px var(--accent);
}

.hero__grid {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
}

.hero-grid__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__crumbs {
    display: flex;
    justify-content: space-around;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    background-color: var(--background-alt);
    border: 1px solid var(--border);
}

.crumbs__arrow {
    position: absolute;
    transform: translateY(-40px);
    padding: 15px;
    line-height: 0;
    color: var(--text);
    background-color: var(--background-alt);
    border-radius: 100%;
    border: 1px solid var(--border);
}

.arrow {
    animation: arrow--scrolling 1.5s ease infinite;
}

.crumb {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-alt);
}

.crumb:not(:last-child) {
    border-right: 1px solid var(--border);
}

.crumb__head, .crumb__text {
    margin: 0;
}

.crumb__head {
    font-size: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card {
    padding: 30px;
    text-align: left;
    border-radius: 8px;
    border: 1px solid var(--crust);
    box-shadow: 0px 5px 10px 5px ghostwhite;
    background-color: white;
    transition: transform 0.5s;
}

.card:hover {
    transform: translateY(-10px);
}

.icon-box {
    border-radius: 8px;
    padding: 10px;

    background-color: rgba(0, 0, 0, 0.05);
    color: rgb(80, 80, 80);
}

.gallery__icon {
    transform: translateY(3px);
    margin-bottom: auto;
}

.yellow {
    background-color: rgba(255, 235, 59, 0.1);
    color: #fbc02d;
}

.purple {
    background-color: rgba(156, 39, 176, 0.1);
    color: #7b1fa2;
}

.red {
    background-color: rgba(244, 67, 54, 0.1);
    color: #c62828;
}

.green {
    background-color: rgba(76, 175, 80, 0.1);
    color: #388e3c;
}

.blue {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2190ff;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 3rem;
}

.gallery:not(:last-of-type) {
    margin-bottom: 4rem;
}

.gallery__media {
    position: sticky;
    top: 140px;
    background-size: cover;
    background-position: center;
    width: 100%;
    aspect-ratio: 0.8;
    height: min-content;
    border-radius: 30px;
}

.gallery__body {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
}

.gallery__header {
    margin: 0;
}

.gallery__footer {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    gap: 20px;
    border-radius: 30px;
    background-color: var(--background-alt);
    color: var(--text-alt);
}

.gallery-footer__header {
    margin: 0;
}

.gallery__item {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    font-weight: 600;
}

.gallery__text {
    margin: 0;
}

.contact__header {
    max-width: 1500px;
    padding-inline: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 4rem;
}

.contact__card {
    height: 100%;
    min-width: 100%;
    text-align: left;
}

.contact__map {
    z-index: 0;
    pointer-events: all;
    width: 100%;
    height: 100%;
}

.contact__form {
    width: 100%;
    padding-block: 100px;
}

.form__header {
    width: 100%;
    display: flex;
    justify-content: left;
    text-align: left;
}

.form__title {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.fieldset {
    border: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0;
    margin-bottom: 10px;
}

.form__control:not(:has(input[type="checkbox"])) {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input {
    accent-color: var(--accent);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 400;
    color: #404040;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    resize: vertical;
}

.input:focus {
    outline: 1px solid var(--accent);
    box-shadow: 0px 0px 0px 3px var(--accent-shadow);
}

.input[type="checkbox"] {
    padding: 0;
    transform: scale(150%) translateX(1px);
    margin: 10px;
    margin-top: 6px;
    margin-left: 0px;
    outline: none;
}

.footer {
    padding: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    color: var(--text-alt);
    background-color: var(--background-alt);
}

.footer__cell {
    width: 100%;
}

.footer__cell:last-child {
    display: flex;
    justify-content: space-between;
    grid-column: 1 / all;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer__socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer__social-link img {
    transform: scale(1.4) translateY(2px);
}

.footer__map {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__link {
    color: inherit;
    text-decoration: none;
}

@media screen and (max-width: 1500px) {
    .contact__form {
        width: 90%;
    }
}

@media screen and (max-width: 1290px) {
    .navbar__quick-contact li:nth-child(2) {
        display: none;
    }
}

@media screen and (max-width: 1180px) {
    .hero-grid__card {
        text-align: center;
    }

    .navbar__container {
        padding-inline: 20px;
    }

    .navbar__links {
        display: none;
    }

    .navbar__quick-contact {
        display: none;
    }

    .navbar__burger {
        display: flex;
    }

    .burger {
        display: initial;
    }

    .hero__crumbs {
        width: 90%;
    }

    .crumb:nth-child(3) {
        border: none;
    }

    .crumb:nth-child(2), .crumb:nth-child(4) {
        display: none;
    }

    .article {
        padding-inline: 10px;
    }

    .contact__header {
        padding-inline: 10px;
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery__media {
        display: none;
    }

    .section--contact {
        display: flex;
        flex-direction: column;
    }

    .contact__map {
        height: 50vh;
    }

    .contact__form {
        width: calc(100% - 20px);
        padding-top: 0;
        padding-inline: 10px;
    }

    .article:has(.contact__form) {
        margin-right: 0 !important;
    }

    .footer {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .footer__cell {
        grid-column: 1 / all;
    }
}

@media screen and (max-width: 530px) {
    .hero__header {
        font-size: 4rem;
    }

    .contact__header {
        display: flex;
    }

    .contact__card {
        grid-column: 1 / all;
        text-align: center;
    }

    .fieldset {
        display: flex;
        flex-direction: column;
    }

    .footer__social-helper {
        display: none;
    }
}