/* General Setup */

:root {
    --dark: #111;
    --cream: #F8F4EB;
    --cream-shade: #D7CDB8;
    --white: #FFF;
    --dark-cream: #716B5E;
}
  
*{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, h6, p{
	margin: 0;
	padding: 0;
}

/* Teaser */

@keyframes teaser-fade-in {
    from{
        opacity: 0;
        transform: translate(-50%, 100%);

    }
    to{
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

#teaser{
    width: 100vw;
    height: 100vh;
    background: var(--dark);
    padding: 16px;
    display: flex;
    flex-direction: column;
    color: var(--cream);
}

#teaser img{
    width: 100%;
}

/* Font Setup */

@font-face {
    font-family: SuisseIntl;
    src: url(fonts/suisse.woff2) format('woff2');
    font-weight: normal;
}

@font-face {
    font-family: SuisseIntlItalic;
    src: url(fonts/suisse-italic.woff2) format('woff2');
    font-weight: normal;
}

@font-face {
    font-family: ArizonaFlare;
    src: url(fonts/arizona-flare.woff2) format('woff2');
    font-weight: normal;
}

@font-face {
    font-family: ArizonaFlareItalic;
    src: url(fonts/arizona-flare-italic.woff2) format('woff2');
    font-weight: normal;
}

.suisse-italic{
    font-family: SuisseIntlItalic;
    font-weight: normal;
}

.arizona{
    font-family: ArizonaFlare;
    font-weight: normal;
    letter-spacing: normal;
}

.arizona-italic{
    font-family: ArizonaFlareItalic;
    font-weight: normal;
    letter-spacing: normal;
}

/* Primary Elements */

@keyframes loader-logo {
    0%{
        transform: translateY(50%);
        opacity: 0;
    }
    100%{
        transform: translatey(0);
        opacity: 1;
    }
}


@keyframes loader-fade {
    0%{
        top: 0;
    }
    50%{
        top:0;
    }
    100%{
        top: -100lvh;
    }
}

#loader{
    width: 100%;
    height: 100lvh;
    background: var(--dark);
    z-index: 10;
    position: fixed;
    display: flex;
    flex-direction: column;
    padding: 16px;
    align-items: center;
    top: -100lvh;
    animation: loader-fade 1s ease;
}

#loader img{
    width: 100%;
    animation: loader-logo 0.5s ease;
}

body{
    font-family: SuisseIntl, sans-serif;
    font-size: 13px;
    letter-spacing: 3%;
    color: var(--dark);
    overflow: visible;
    overflow-x: hidden;
    background: var(--dark);
}

.light-primary{
    display: inline-flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--dark);
    border-radius: 4px;
    text-decoration: none;
    padding: 0 24px;
    transition: 0.4s ease;
    cursor: pointer;
}

.light-primary:hover{
    background: var(--cream-shade);
    transition: 0.4s ease;
}

.light-secondary{
    display: inline-flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    border: 2px solid var(--cream);
    border-radius: 4px;
    text-decoration: none;
    padding: 0 24px;
    transition: 0.4s ease;
    cursor: pointer;
}

.light-secondary:hover{
    color: var(--dark);
    background: var(--cream);
    border: var(--cream);
    transition: 0.4s ease;
}


.vertical-border-light{
    border: var(--cream);
    border-left: 1px solid;
    width: 1px;
}


/* Hero Unit */

#hero{
    position: relative;
    margin: 0;
    width: 100%;
    height: 100dvh;
    background: var(--dark);
    background: url(img/hero-background.webp);
    background-size: cover;
    background-position: center;
    color: var(--cream);
}

#logo{
    position: absolute;
    left: 16px;
    top: 16px;
}

#hero h1, #hero h2{
    font-family: ArizonaFlare;
    font-weight: normal;
    letter-spacing: normal;
    font-size: 32px;
}

.hero-content{
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.40) 22.64%, #000 88.83%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 0;
    padding: 48px;
}

#event-date{
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 12px;
}

#event-date .vertical-border-light{
    height: 48px;
}

#hero-cta{
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 32px;
}

#hero-cta .dropdown{
    position: relative;
}

#hero-cta .dropdown-toggle{
    border: none;
    font: inherit;
    width: 240px;
    position: relative;
    padding-right: 44px;
}

#hero-cta .dropdown-toggle::after{
    content: "▾";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    line-height: 1;
}

#hero-cta .dropdown.is-open .dropdown-toggle::after{
    content: "▴";
}

#hero-cta .dropdown-menu{
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 240px;
    background: var(--cream);
    border-radius: 4px;
    overflow: hidden;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 5;
}

#hero-cta .dropdown.drop-up .dropdown-menu{
    top: auto;
    bottom: calc(100% + 8px);
}

#hero-cta .dropdown.is-open .dropdown-menu{
    display: flex;
    flex-direction: column;
}

#hero-cta .dropdown-menu a{
    width: 100%;
    text-decoration: none;
    color: var(--dark);
    padding: 12px 16px;
    line-height: 1.4;
    text-align: left;
}

#hero-cta .dropdown-menu a:hover{
    background: var(--cream-shade);
}

#hero-cta a{
    width: 240px;
    
}

@media (max-width: 768px) {
    .hero-content{
        padding: 24px 16px 16px 16px;
    }
    #hero h2{
        font-size: 24px;
    }
    #event-date{
        gap: 12px;
    }
    #event-date .vertical-border-light{
        height: 32px;
    }
    #hero-cta{
        margin-top: 24px;
        flex-direction: column;
        width: 100%;
    }
    #hero-cta .dropdown,
    #hero-cta .dropdown-toggle,
    #hero-cta .dropdown-menu{
        width: 100%;
    }
    #hero-cta a{
        width: 100%;
    }
}

/* Aukcja i wyprzedaz */

#sale{
    padding: 100px 0;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    gap: 100px;
}

#sale .header{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

#sale .header p{
    color: var(--dark-cream);
}

#sale .header h1{
    font-family: ArizonaFlare;
    font-weight: normal;
    letter-spacing: normal;
    font-size: 32px;
    max-width: 680px;
}

#sale .carousel{
    overflow: hidden;
    width: 100%;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

#sale .carousel.is-dragging{
    cursor: grabbing;
}

#sale .carousel img{
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

#sale .carousel-track{
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: max-content;
    will-change: transform;
}

.gallery-item img{
    aspect-ratio: 4/5;
    width: calc(20vw - 12px);
}

.gallery-item h3{
    font-weight: normal;
    font-size: 13px;
}

.gallery-item p{
    font-family: SuisseIntlItalic;
    font-weight: normal;
    margin-bottom: 4px;
    margin-top: 8px;
    color: var(--dark-cream);
}

@media (max-width: 768px) {
    #sale{
        padding: 64px 0;
        gap: 64px;
    }

    #sale .header{
        padding: 0 24px;
        gap: 12px;
    }

    #sale .header h1{
        font-size: 24px;
    }

    .gallery-item img{
        aspect-ratio: 4/5;
        width: calc(70vw);
    }
}

/* Footer */

#footer{
    background: var(--dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px;
}

#footer > div:first-child{
    border-bottom: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 80px 0px 100px 0px;
    align-items: center;
    text-align: center;
}

#footer h2{
    font-family: ArizonaFlare;
    font-weight: normal;
    letter-spacing: normal;
    font-size: 32px;
}

#footer > div:nth-child(2){
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding-top: 50px;
}

#footer-collumns{
    display: flex;
    flex-direction: row;
    gap: 12px;
}

#footer-collumns > div{
    flex: 1;
}

#footer > div:nth-child(2) a{
    color: var(--white);
    text-decoration: none;
}

#footer > div:nth-child(2) a:hover{
    text-decoration: underline;
    text-underline-offset: 25%;
}

#footer h4{
    font-weight: normal;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 12px;
}

#footer ul{
    list-style-type: none;
    text-indent: 0;
    margin: 0;
    padding: 0;
    margin-bottom: 24px;
}


#copyright{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

@media (max-width: 768px) {
    #footer-collumns{
        flex-direction: column;
    }
}



