@import url("https://use.typekit.net/tba3mjp.css");

*{
    margin: 0;
    padding: 0;
    font-family: politica, sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3{
    font-family: boucherie-block, sans-serif;
    font-style: italic;
    margin: 50px 0;
}

/* A szekciócímek h2-k, a bornevek h3-k lettek. A Bootstrap 4 mérete
   a régi szinthez van rögzítve, ezért a tördelés nem változik. */
.introduction_section h2,
.wine_section > div > h2{
    font-size: 2.5rem;
}

.wine_section .row h3{
    font-size: 2rem;
}

a{
    color: #F3F3F3;
}

p{
    font-size: larger;
}

body{
    background: black;
    min-height: 1500px;
    font-family: politica, sans-serif;
    font-weight: 400;
    font-style: normal;
}

section{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

section:before{
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, black, transparent);
    z-index: 10000;
}

section:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

section img{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

#text{
    position: relative;
    margin-top: -20%;
    /* margin-top: -600px; */
    color: #F3F3F3;
    font-size: 10em;
    z-index: 1;
}

@media (max-width: 700px){
    #text{
        font-size: 5em;
        margin-top: -60%;
    }
}

#road{
    z-index: 2 ;
}

.wine_section{
   --bottle-w: 5.15rem;
   --bottle-out: calc(var(--bottle-w) / 2);
   --bottle-up: 0.8rem;
   --bottle-h: calc(var(--bottle-w) * 4.051);
   background-color: transparent;
   color: #f6f0e6;
   padding: 6.5rem 0.95rem 3.6rem;
   width: 100%;
   overflow: visible;
   position: relative;
   isolation: isolate;
}

/* A kupola külön réteg: magassága a szélesség fele, ezért a
   50% / 100% elliptikus radius teljes félkör. Az alsó téglalap
   szögletes, a két réteg egy bordó felület. */
.wine_section::before,
.wine_section::after{
   content: "";
   position: absolute;
   z-index: 0;
   left: 0;
   right: 0;
   background: #2D1117;
   pointer-events: none;
}

.wine_section::before{
   top: 0;
   height: 50vw;
   border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.wine_section::after{
   top: calc(50vw - 1px);
   bottom: 0;
   border-radius: 0;
}

.wine_section > *{
   position: relative;
   z-index: 1;
}

.introduction_section{
    margin-top: 100px;
    margin-bottom: 100px;
    color: #F3F3F3;
}

.contact_section{
    margin-top: 100px;
    margin-bottom: 100px;
    color: #F3F3F3;
}

.footer{
    text-align: center;
    color: #F3F3F3;
}

.social-icon{   
    text-decoration: none !important;
}

.social-icon img{
    width: 65px;
    margin-right: 15px;
    margin-top: 5px;
}

.wine-image{
    width: 100%;
    margin-bottom: 20px;
}

#swipe{
    z-index: 1000;
    position: absolute;
    bottom: 50px;
    width: 50px;
    height: 50px;
}

#swipe image{
    width: 50px;
    height: 50px;
}

.wine-price{
    font-family: politica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0;
    float: none;
}

.wine_section .row{
    margin: 50px 0;
}

@media (max-width: 769px){
    .wine_section h2{
        text-align: center;
    }
    .wine_section h3{
        float: none;
        text-align: center;
    }
    .wine_section .wine-price{
        float: none;
        text-align: center;
    }
    .wine-card h3,
    .wine-card .wine-price{
        text-align: left;
    }
    .intro{
        text-align: center;
    }
}

.wine-heading{
    color: #f6f0e6;
    text-align: center;
    font-size: clamp(2.7rem, 6.6vw, 5.35rem);
    line-height: 0.92;
    letter-spacing: 0.035em;
    margin: 0.35rem auto 0.15rem;
    padding: 0 0.5rem;
}

.wine-heading-rose{
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-top: 2.5rem;
    letter-spacing: 0.03em;
}

/* Rozé és fehér borok a bordó kupola alatt. A vízszintes beljebb
   húzás a vörös szekcióé, hogy a rács és a kilógó palack egy vonalban maradjon. */
.wine-follow{
    padding: 0 0.95rem 3.6rem;
}

.wine-follow > .wine-heading{
    margin-top: 2.5rem;
}

@media (min-width: 840px){
    .wine-follow{
        padding: 0 1.5rem 4.3rem;
    }
}

@media (min-width: 1180px){
    .wine-follow{
        padding: 0 1.85rem 4.9rem;
    }
}

.wine-grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: calc(var(--bottle-up) + 2.15rem);
    column-gap: calc(var(--bottle-out) + 1.4rem);
    max-width: 76rem;
    margin: 0 auto;
    padding: calc(var(--bottle-up) + 1.6rem) 0.15rem 0.5rem var(--bottle-out);
    align-items: stretch;
    overflow: visible;
}

@media (min-width: 840px){
    .wine_section{
        --bottle-w: 5.45rem;
        --bottle-up: 0.95rem;
        padding: 6.4rem 1.5rem 4.3rem;
    }
    .wine-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: calc(var(--bottle-up) + 2.45rem);
        column-gap: calc(var(--bottle-out) + 1.55rem);
        max-width: 58rem;
    }
}

@media (min-width: 1180px){
    .wine_section{
        --bottle-w: 5.85rem;
        --bottle-up: 1.05rem;
        padding: 7rem 1.85rem 4.9rem;
    }
    .wine-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: calc(var(--bottle-up) + 2.7rem);
        column-gap: calc(var(--bottle-out) + 1.7rem);
        max-width: 76rem;
    }
}

.wine-card{
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: calc(var(--bottle-h) - var(--bottle-up));
    background: #f4efe4;
    color: #16110e;
    padding: 1.25rem 1.1rem 1.2rem calc(var(--bottle-out) + 0.95rem);
}

.wine-card-copy{
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 100%;
}

.wine-bottle{
    position: absolute;
    z-index: 2;
    left: calc(var(--bottle-out) * -1);
    top: calc(var(--bottle-up) * -1);
    width: var(--bottle-w);
    height: auto;
    max-width: none;
    margin: 0;
    pointer-events: none;
    user-select: none;
}

.wine-card h3{
    font-family: boucherie-block, sans-serif;
    font-style: italic;
    font-size: clamp(1.38rem, 1.55vw, 1.72rem);
    line-height: 1.05;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    margin: 0 0 0.85rem;
    color: #16110e;
}

.wine-card p{
    font-family: politica, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: #241c18;
}

.wine-card .wine-price{
    float: none;
    text-align: left;
    font-family: politica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.2;
    letter-spacing: 0.045em;
    color: #16110e;
    margin: 0;
    margin-top: auto;
    padding-top: 1.45rem;
}

:root{
    --site-header-h: 4.25rem;
}

.site-header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 12000;
    height: var(--site-header-h);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1.75rem;
    background: #2D1117;
    transform: translateY(0);
    transition: transform 0.28s ease;
}

.site-header.is-hidden{
    transform: translateY(-100%);
    pointer-events: none;
}

.site-header-nav{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem 1.65rem;
}

.site-header-nav a{
    font-family: boucherie-block, sans-serif;
    font-style: italic;
    font-weight: 400;
    font-synthesis: none;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #f6f0e6;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.15rem 0.1rem;
}

.site-header-nav a:hover,
.site-header-nav a:focus{
    color: #f6f0e6;
    text-decoration: underline;
    text-underline-offset: 0.28em;
}

.site-header-nav a:focus-visible,
.site-header-toggle:focus-visible{
    outline: 1px solid #f6f0e6;
    outline-offset: 3px;
}

.site-header-toggle{
    display: none;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f6f0e6;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.site-header-bars,
.site-header-bars:before,
.site-header-bars:after{
    display: block;
    width: 1.3rem;
    height: 2px;
    background: currentColor;
    position: relative;
}

.site-header-bars:before,
.site-header-bars:after{
    content: "";
    position: absolute;
    left: 0;
}

.site-header-bars:before{
    top: -6px;
}

.site-header-bars:after{
    top: 6px;
}

#felso{
    scroll-margin-top: 0;
}

#rolunk,
#boraink{
    scroll-margin-top: var(--site-header-h);
}

@media (max-width: 720px){
    :root{
        --site-header-h: 3.25rem;
    }
    .site-header{
        padding: 0 0.75rem;
    }
    .site-header-toggle{
        display: inline-flex;
    }
    .site-header-nav{
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
        padding: 0.15rem 0.85rem 0.65rem;
        background: #2D1117;
    }
    .site-header.is-open .site-header-nav{
        display: flex;
    }
    .site-header-nav a{
        font-size: 1.07rem;
        letter-spacing: 0.06em;
        min-height: 42px;
    }
}

@media (prefers-reduced-motion: reduce){
    .site-header{
        transition: none;
    }
}

.site-nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 2rem;
    padding: 1.25rem 1rem 0;
}

.site-nav a{
    font-family: boucherie-block, sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.35rem;
    line-height: 1.2;
    color: #F3F3F3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.4rem;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"]{
    color: #F3F3F3;
    text-decoration: underline;
    text-underline-offset: 0.28em;
}

.site-nav a:focus-visible{
    outline: 1px solid currentColor;
    outline-offset: 3px;
}

.page-tasting{
    --tasting-gutter: clamp(1.25rem, 4.6vw, 4.25rem);
    --tasting-cream: #faf3e8;
    --tasting-ink: #1b1415;
    --tasting-title: #f4ece0;
    background: #2D1117;
    color: var(--tasting-title);
    min-height: 100vh;
    padding-top: var(--site-header-h);
}

.page-tasting .tasting{
    margin: 0;
    padding: 0;
}

.tasting-hero{
    position: relative;
    display: block;
    height: auto;
    min-height: clamp(34rem, 72vw, 88vh);
    overflow: hidden;
    background: #14080a;
}

.tasting-hero-media{
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
}

.tasting-hero-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 42%;
    display: block;
}

.tasting-hero::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.3);
}

.tasting-hero::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to top, #2D1117 0, rgba(45, 17, 23, 0) 6.5rem),
        linear-gradient(90deg, rgba(12, 4, 6, 0.58) 0%, rgba(12, 4, 6, 0.28) 30%, rgba(12, 4, 6, 0.06) 54%, rgba(12, 4, 6, 0) 70%);
}

.tasting-hero-copy{
    position: relative;
    z-index: 2;
    width: min(100%, 80rem);
    margin: 0 auto;
    padding: clamp(4.75rem, 14vh, 8.5rem) var(--tasting-gutter) clamp(3rem, 8vh, 5rem);
}

.tasting-hero h1{
    margin: 0 0 1.15rem;
    color: var(--tasting-title);
    font-family: boucherie-block, sans-serif;
    font-style: italic;
    font-weight: 400;
    font-synthesis: none;
    font-size: clamp(2.35rem, 6.4vw, 5.45rem);
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.tasting-hero-copy p{
    max-width: 34rem;
    margin: 0;
    color: var(--tasting-title);
    font-family: politica, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.8;
}

.tasting-hero-copy p + p{
    margin-top: 1.05rem;
}

.tasting-offer{
    position: relative;
    background: #2D1117;
    padding: clamp(0.4rem, 1.5vw, 1rem) 0 clamp(2.2rem, 4vw, 3.4rem);
}

.tasting-offer-inner{
    width: min(100%, 80rem);
    margin: 0 auto;
    padding: 0 var(--tasting-gutter);
}

.tasting-offer-grid{
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 1.8vw, 1.55rem);
    align-items: stretch;
}

.tasting-card{
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    background: var(--tasting-cream);
    color: var(--tasting-ink);
    padding: 1.35rem 1.25rem 1.35rem;
    min-width: 0;
    min-height: 16.5rem;
    border-radius: 0;
}

.tasting-card h2,
.tasting-book h2{
    font-family: boucherie-block, sans-serif;
    font-style: italic;
    font-weight: 400;
    font-synthesis: none;
    color: var(--tasting-ink);
}

.tasting-card h2{
    margin: 0 0 0.9rem;
    font-size: clamp(1.6rem, 2.15vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.tasting-card p{
    margin: 0;
    color: #241c18;
    font-family: politica, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.02rem;
    line-height: 1.55;
}

.tasting-card p + p{
    margin-top: 0.55rem;
}

.tasting-card .tasting-meta{
    margin-top: auto;
    padding-top: 1.35rem;
}

.tasting-price{
    white-space: nowrap;
}

.tasting-photo{
    position: relative;
    z-index: 0;
    grid-column: 1 / -1;
    justify-self: end;
    width: min(78%, 22rem);
    margin: 0.35rem 0 0;
    overflow: hidden;
    background: #2a0810;
    aspect-ratio: 3 / 4;
    min-height: 0;
}

.tasting-photo picture{
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
}

.tasting-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 58%;
    display: block;
}

.tasting-book{
    max-width: 38rem;
    margin-top: clamp(1.8rem, 3.5vw, 2.8rem);
    padding-top: clamp(1.35rem, 2.5vw, 1.9rem);
    border-top: 1px solid rgba(244, 236, 224, 0.22);
}

.tasting-book h2{
    margin: 0 0 0.75rem;
    color: var(--tasting-title);
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    line-height: 1.05;
}

.tasting-book p{
    margin: 0 0 0.35rem;
    color: var(--tasting-title);
    font-family: politica, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.05rem;
    line-height: 1.5;
}

.tasting-book a{
    color: var(--tasting-title);
    text-underline-offset: 0.18em;
}

.tasting-book a:hover,
.tasting-book a:focus{
    color: #fffaf3;
}

.page-tasting .footer{
    padding: 0.35rem 1rem 1.75rem;
}

.page-tasting a[href^="tel:"]{
    white-space: nowrap;
}

/* Álló boroskártyák (157×241), a vörös és a rozé rácson is.
   A kártya mérete változatlan; csak az oszlopköz nagyobb. */
.wine-grid-red{
    --red-card-max: 20.5rem;
    align-items: start;
    justify-content: center;
    justify-items: stretch;
    grid-template-columns: minmax(0, var(--red-card-max));
    column-gap: 1.5rem;
    row-gap: 1.7rem;
    max-width: 68rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.7rem 0.7rem 0.35rem 2.85rem;
}

.wine-grid-red .wine-card{
    width: 100%;
    aspect-ratio: 157 / 241;
    min-height: 0;
    height: auto;
    align-self: start;
    padding: 0;
    overflow: visible;
    background: #faf3e8;
    container-type: inline-size;
}

.wine-grid-red .wine-card-copy{
    height: 100%;
    min-height: 100%;
    margin: 0;
    /* A százalék a kártya szélességéhez képest: a 241/157 arány mellett
       a cím a magasság ~25%-ánál, a szövegoszlop a szélesség ~30%-ánál indul. */
    padding: 38% 10% 14% 30%;
    box-sizing: border-box;
}

.wine-grid-red .wine-bottle{
    width: 33.8%;
    height: auto;
    max-width: none;
    left: -16%;
    top: 5.8%;
}

.wine-grid-red .wine-card h3{
    font-size: clamp(1.5rem, 11cqi, 2rem);
    line-height: 0.96;
    letter-spacing: 0.012em;
    margin: 0 0 0.85rem;
    text-wrap: balance;
}

.wine-grid-red .wine-card p{
    font-size: clamp(0.9rem, 4.45cqi, 1.02rem);
    line-height: 1.4;
}

.wine-grid-red .wine-card .wine-price{
    font-size: clamp(0.98rem, 5.15cqi, 1.16rem);
    letter-spacing: 0.045em;
    margin-top: auto;
    padding-top: 0.85rem;
}

@media (min-width: 700px){
    .tasting-offer-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tasting-card{
        min-height: 17rem;
    }

    .tasting-photo{
        width: min(52%, 20rem);
        aspect-ratio: 3 / 4;
    }
}

@media (min-width: 740px){
    .wine-grid-red{
        --red-card-max: 16.6rem;
        grid-template-columns: repeat(2, minmax(0, var(--red-card-max)));
        column-gap: 5.6rem;
        row-gap: 2rem;
        padding: 1.9rem 0.4rem 0.45rem 2.7rem;
    }
}

@media (min-width: 1080px){
    .wine-grid-red{
        --red-card-max: 15.5rem;
        grid-template-columns: repeat(3, minmax(0, var(--red-card-max)));
        column-gap: 6.8rem;
        row-gap: 2.2rem;
        max-width: 74rem;
        padding: 2.05rem 0.25rem 0.5rem 2.6rem;
    }

    .tasting-hero-img{
        object-position: 66% 40%;
    }

    .tasting-offer-grid{
        grid-template-columns: repeat(3, minmax(0, 16.75rem));
        justify-content: center;
        padding-right: 0;
    }

    .tasting-card{
        aspect-ratio: 262 / 352;
        min-height: 18rem;
        padding: 1.45rem 1.3rem 1.35rem;
    }

    .tasting-photo{
        position: absolute;
        z-index: 0;
        grid-column: auto;
        top: -1.25rem;
        bottom: -1.5rem;
        right: calc((var(--tasting-gutter) + max(0px, (100vw - 80rem) / 2)) * -1);
        width: min(34rem, 40vw);
        height: auto;
        aspect-ratio: auto;
        margin: 0;
    }

    .tasting-photo img{
        object-position: 64% 60%;
    }
}

.wine-grid-red:has(> :only-child){
    grid-template-columns: minmax(0, var(--red-card-max));
}

@media (max-width: 420px){
    .tasting-hero h1{
        font-size: clamp(2.05rem, 10.6vw, 2.7rem);
    }
}
