@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@400;500&display=swap');

:root {
    --wine: #542b32;
    --ink: #24201e;
    --paper: #f5f0e8;
    --cream: #fbf8f2;
    --sage: #8b927d;
    --line: #d9d0c3;
    --muted: #766f67;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 6vw;
    padding-right: 6vw;
    box-sizing: border-box;
}

.topbar {
    padding: 9px 20px;
    text-align: center;
    background: var(--wine);
    color: white;
    font-size: 11px;
    letter-spacing: .08em;
}

.nav {
    min-height: 96px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.navlinks.right {
    justify-content: flex-end;
}

.navlinks a:hover {
    color: var(--wine);
}

.brand {
    text-align: center;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    line-height: .85;
    letter-spacing: -.02em;
}

.brand small {
    display: block;
    margin-top: 8px;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 8px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.lang {
    display: flex;
    gap: 4px;
}

.lang a {
    padding: 4px 6px;
    border: 1px solid transparent;
}

.lang a.active {
    border-color: var(--line);
    color: var(--wine);
}

.btn {
    display: inline-block;
    padding: 13px 20px;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: .2s ease;
}

.btn:hover {
    border-color: var(--wine);
    color: var(--wine);
}

.btn.dark,
.webshop-cta {
    background: var(--wine);
    border-color: var(--wine);
    color: white;
}

.btn.dark:hover,
.webshop-cta:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: white;
}

.menu {
    display: none;
    border: 0;
    background: transparent;
    font-size: 24px;
}

.hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--cream);
}

.hero-copy {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 70px;
}

.eyebrow {
    color: var(--wine);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero h1,
.pagehero h1 {
    max-width: 680px;
    margin: 15px 0 22px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(54px, 7vw, 92px);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.04em;
}

.hero h1 em,
.pagehero h1 em {
    color: var(--wine);
    font-style: italic;
}

.hero p {
    max-width: 560px;
    color: var(--muted);
    font-size: 16px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.hero-image {
    min-height: 620px;
    background:
        linear-gradient(rgba(38, 27, 23, .05), rgba(38, 27, 23, .2)),
        url("../images/hero.jpg") center / cover no-repeat,
        #d8cbbb;
}

.section {
    padding: 100px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 45px;
}

.title {
    margin: 8px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 400;
    line-height: .95;
}

.intro {
    max-width: 430px;
    color: var(--muted);
}

.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cat {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 30px;
    background: #e6ddd1;
    transition: .25s ease;
}

.cat:hover {
    transform: translateY(-5px);
    background: #ddd2c4;
}

.cat span {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 40px;
}

.cat small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.feature-copy {
    padding: 80px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: var(--wine);
    color: white;
}

.feature-copy .eyebrow {
    color: #d8c7bd;
}

.feature-copy h2 {
    max-width: 600px;
    margin: 14px 0 20px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 58px;
    font-weight: 400;
    line-height: .95;
}

.feature-copy p {
    max-width: 520px;
    color: #e4d9d2;
}

.feature-copy .btn {
    width: fit-content;
    margin-top: 15px;
    color: white;
    border-color: rgba(255,255,255,.35);
}

.feature-art {
    background:
        url("../images/about.jpg") center / cover no-repeat,
        #c8b9a9;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.info-card {
    padding: 32px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.info-card h3 {
    margin: 14px 0 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 32px;
    font-weight: 500;
}

.info-card p {
    color: var(--muted);
    font-size: 14px;
}

.pagehero {
    padding: 90px 0 80px;
    border-bottom: 1px solid var(--line);
}

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.story-art {
    min-height: 520px;
    background:
        url("../images/about.jpg") center / cover no-repeat,
        #c8b9a9;
}

.story p {
    color: var(--muted);
}

.event-list {
    border-top: 1px solid var(--line);
}

.event {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.event-date {
    color: var(--wine);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
}

.event h3 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    font-weight: 500;
}

.event p {
    margin-bottom: 0;
    color: var(--muted);
}

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

.contact p {
    color: var(--muted);
}

form {
    display: grid;
    gap: 12px;
}

form input,
form textarea {
    width: 350px;
    padding: 15px;
    border: 1px solid var(--line);
    background: var(--cream);
    color: var(--ink);
    font: inherit;
}

form textarea {
    min-height: 160px;
    resize: vertical;
}

.footer {
    padding: 60px 0 30px;
    background: #201b19;
    color: #eee6de;
}

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

.footer h3 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 38px;
    font-weight: 400;
}

.footerlinks {
    display: grid;
    gap: 8px;
    font-size: 12px;
}

.footerlinks a:hover {
    color: #d7bdb2;
}

.footer p {
    color: #bdb3ab;
    font-size: 13px;
}

.copyright {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #8f8780;
    font-size: 11px;
}

@media (max-width: 850px) {
    .nav {
        grid-template-columns: 1fr auto;
    }

    .navlinks {
        display: none;
    }

    .navlinks.open {
        position: absolute;
        top: 105px;
        left: 20px;
        right: 20px;
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        background: var(--cream);
        border: 1px solid var(--line);
    }

    .navlinks.right.open {
        top: 105px;
    }

    .brand {
        text-align: left;
        font-size: 30px;
    }


    .menu {
        display: block;
    }

    .hero,
    .feature,
    .story,
    .contact {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .feature-copy {
        padding: 55px 25px;
    }

    .hero-image {
        min-height: 420px;
    }

    .categories,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 100px 0;
    }

    .section-head {
        display: block;
    }

    .story-art {
        min-height: 350px;
    }

    .event {
        grid-template-columns: 1fr;
    }

    .footergrid {
        grid-template-columns: 1fr;
    }
}

.cat:nth-child(1) {
    background:
        linear-gradient(rgba(30, 25, 20, .18), rgba(30, 25, 20, .55)),
        url("../images/cava.jpg") center / cover no-repeat;
    color: white;
}

.cat:nth-child(2) {
    background:
        linear-gradient(rgba(30, 25, 20, .18), rgba(30, 25, 20, .55)),
        url("../images/white-wine.jpg") center / cover no-repeat;
    color: white;
}

.cat:nth-child(3) {
    background:
        linear-gradient(rgba(30, 25, 20, .18), rgba(30, 25, 20, .55)),
        url("../images/red-wine.jpg") center / cover no-repeat;
    color: white;
}

.cat small {
    color: rgba(255, 255, 255, .86);
}


.info-card:nth-child(1) {
    background:
        linear-gradient(rgba(30, 25, 20, .18), rgba(30, 25, 20, .55)),
        url("../images/cava.jpg") center / cover no-repeat;
    color: white;
}

.info-card:nth-child(2) {
    background:
        linear-gradient(rgba(30, 25, 20, .18), rgba(30, 25, 20, .55)),
        url("../images/white-wine.jpg") center / cover no-repeat;
    color: white;
}

.info-card:nth-child(3) {
    background:
        linear-gradient(rgba(30, 25, 20, .18), rgba(30, 25, 20, .55)),
        url("../images/red-wine.jpg") center / cover no-repeat;
    color: white;
}

.webshop-cards .info-card:nth-child(1) {
    background:
        linear-gradient(rgba(30, 25, 20, .18), rgba(30, 25, 20, .55)),
        url("../images/discover.jpg") center / cover no-repeat;
    color: white;
}

.webshop-cards .info-card:nth-child(2) {
    background:
        linear-gradient(rgba(30, 25, 20, .18), rgba(30, 25, 20, .55)),
        url("../images/choose.jpg") center / cover no-repeat;
    color: white;
}

.webshop-cards .info-card:nth-child(3) {
    background:
        linear-gradient(rgba(30, 25, 20, .18), rgba(30, 25, 20, .55)),
        url("../images/order.jpg") center / cover no-repeat;
    color: white;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.facebook-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.facebook-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.facebook-link:hover {
    background: #fff;
    color: #211c19;
    transform: translateY(-2px);
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    background: #f7f4ef;
}

body {
    background: #f7f4ef;
}


.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;

    width: 100%;
    margin: 0;
    padding: 25px;

    background: var(--cream);
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    flex-direction: column;
    gap: 18px;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.mobile-menu:popover-open {
    display: flex;
}

.mobile-menu a {
    color: var(--ink);
    text-decoration: none;
}

.mobile-menu a:hover {
    color: var(--wine);
}

.mobile-menu hr {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--line);
}

.mobile-lang {
    display: flex;
    gap: 10px;
}

.mobile-lang a {
    padding: 5px 8px;
}

.mobile-lang a.active {
    border: 1px solid var(--line);
    color: var(--wine);
}
