:root {
    --cream: #fbfaf5;
    --paper: #fffdf8;
    --soft: #f3f1e6;
    --soft2: #efeee2;

    --green: #567b35;
    --green-dark: #3d5d26;
    --green-light: #8ea86c;

    --ink: #25271f;
    --muted: #6b6c63;
    --line: #dfdfd3;

    --shadow: 0 18px 50px rgba(49, 57, 33, 0.09);

    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    background: rgba(255, 253, 248, 0.97);
    border-bottom: 1px solid rgba(85, 123, 53, 0.1);

    transition: 0.25s;
}

.site-header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.nav-wrap {
    min-height: 76px;

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

    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-mark img {
    height: 80px;
}

.brand-text {
    display: flex;
    flex-direction: column;

    font-family: var(--serif);
    line-height: 0.9;
}

.brand-text strong {
    font-size: 24px;
    font-weight: 700;
}

.brand-text em {
    font-size: 19px;
    color: var(--green);
    font-style: italic;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;

    font-size: 14px;
    font-weight: 500;
}

.main-nav > a:not(.btn) {
    position: relative;
    padding: 28px 0;
}

.main-nav > a:not(.btn):hover {
    color: var(--green);
}

.main-nav > a:not(.btn):first-child::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;

    height: 2px;
    background: var(--green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 46px;
    padding: 11px 20px;

    border: 1px solid transparent;
    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.2s;
}

.btn img {
    width: 17px;
    height: 17px;
}

.btn-primary {
    background: var(--green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: var(--green);
    background: transparent;
    color: var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: #fff;
}

.nav-cta {
    min-height: 42px;
    padding-inline: 23px;
}

.menu-toggle {
    display: none;

    border: 0;
    background: none;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 575px;

    overflow: hidden;

    background: #24321d;
}

.hero-photo {
    position: absolute;
    inset: 0;

    background:
        url("../images/hero-budynek.jpg")
        center 55% / cover
        no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(17, 19, 14, 0.95) 0%,
            rgba(17, 19, 14, 0.88) 31%,
            rgba(17, 19, 14, 0.18) 59%,
            rgba(17, 19, 14, 0.02) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;

    max-width: 1180px;
    padding-top: 95px;

    color: #fff;
}

.eyebrow {
    margin: 0 0 9px;

    color: #fff;

    font-family: var(--serif);
    font-size: 19px;
    font-style: italic;

    letter-spacing: 0.2px;
}

.eyebrow.green {
    color: var(--green);
}

h1,
h2,
h3 {
    margin: 0;

    font-family: var(--serif);
    line-height: 1.02;
}

h1 {
    max-width: 570px;

    font-size: 70px;
    font-weight: 700;
}

.hero h1 span {
    color: #91b66a;
}

.hero-copy {
    max-width: 475px;

    margin: 22px 0 28px;

    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 27px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-weight: 600;
}

.play-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;

    font-size: 12px;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 92px 0;
}

.intro {
    background: var(--paper);
}

.section-heading {
    max-width: 750px;

    margin: 0 auto 42px;
}

.section-heading.centered {
    text-align: center;
}

.section-heading.compact {
    margin-bottom: 35px;
}

.section-heading h2,
h2 {
    font-size: 48px;
}

.section-heading > p:last-child {
    max-width: 700px;

    margin: 17px auto 0;

    color: var(--muted);
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin: 12px 0;
}

.ornament span {
    width: 45px;
    height: 1px;

    background: #c7cbb9;
}

.ornament img {
    width: 18px;
    height: 18px;
}

/* =========================================================
   FEATURES
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.feature {
    padding: 16px 10px;

    text-align: center;
}

.icon-circle {
    width: 74px;
    height: 74px;

    display: grid;
    place-items: center;

    margin: 0 auto 18px;

    border: 1px solid #cbd3bd;
    border-radius: 50%;
}

.icon-circle img {
    width: 32px;
    height: 32px;
}

.feature h3 {
    margin-bottom: 8px;

    font-size: 22px;
}

.feature p {
    margin: 0;

    color: var(--muted);
    font-size: 14px;
}

.center-button {
    margin-top: 22px;

    text-align: center;
}

/* =========================================================
   CARDS
   ========================================================= */

.section-soft {
    background: #f0efe3;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.image-card {
    overflow: hidden;

    background: #fbfaf3;

    border: 1px solid #e4e3d7;
    border-radius: 12px;

    box-shadow: 0 12px 30px rgba(64, 68, 40, 0.06);
}

.card-image {
    height: 230px;

    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.card-image.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.card-image.split img {
    min-width: 0;
}

.card-body {
    padding: 24px;

    text-align: center;
}

.card-body h3 {
    margin-bottom: 8px;

    font-size: 27px;
}

.card-body p {
    margin: 0 0 10px;

    color: var(--muted);
    font-size: 14px;
}

.card-body strong {
    color: var(--green-dark);
    font-size: 13px;
}

/* =========================================================
   FOOD
   ========================================================= */

.food {
    background: #fffdf8;
}

.split-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    align-items: center;

    gap: 70px;
}

.large-photo {
    overflow: hidden;

    border-radius: 13px;

    box-shadow: var(--shadow);
}

.large-photo img {
    width: 100%;

    aspect-ratio: 1.35;

    object-fit: cover;
}

.split-copy h2 {
    margin: 0 0 16px;
}

.split-copy > p:not(.eyebrow) {
    max-width: 560px;

    color: var(--muted);
}

.check-list {
    margin: 22px 0 28px;
    padding: 0;

    list-style: none;
}

.check-list li {
    position: relative;

    margin: 10px 0;
    padding-left: 28px;

    font-size: 14px;
}

.check-list li::before {
    content: "✓";

    position: absolute;
    top: 1px;
    left: 0;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: #e3ecd8;
    color: var(--green);

    font-weight: 800;
    text-align: center;
    line-height: 18px;
}

/* =========================================================
   EVENTS
   ========================================================= */

.section-cream {
    background: #f3f1e6;
}

.events-layout {
    display: grid;
    grid-template-columns: 250px 1fr;

    align-items: center;

    gap: 45px;
}

.event-list > div {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 9px 0;

    font-weight: 600;
}

.event-list > div img {
    width: 27px;
    height: 27px;
}

.event-list .btn {
    margin-top: 20px;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}

.event-gallery img {
    width: 100%;
    height: 245px;

    border-radius: 10px;

    object-fit: cover;
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
    background: #fffdf8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;

    grid-auto-rows: 190px;

    gap: 15px;
}

.gallery-grid figure {
    margin: 0;

    overflow: hidden;

    border-radius: 10px;
}

.gallery-grid figure:first-child {
    grid-row: span 2;
}

.gallery-grid figure:last-child {
    grid-column: 2 / 4;
}

.gallery-grid img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.35s;
}

.gallery-grid figure:hover img {
    transform: scale(1.03);
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
    position: relative;

    overflow: hidden;

    padding: 58px 0;

    background: #27341e;
    color: #fff;
}

.cta-bg {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(30, 42, 23, 0.72),
            rgba(30, 42, 23, 0.86)
        ),
        url("../images/ogrod.jpg") center / cover;
}

.cta-inner {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    align-items: center;

    gap: 60px;
}

.cta h2 {
    margin: 4px 0 24px;

    font-size: 43px;
}

.contact-card {
    padding: 25px 30px;

    background: rgba(82, 119, 50, 0.96);

    border-radius: 12px;

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.contact-card h3 {
    margin-bottom: 15px;

    font-size: 31px;
}

.contact-item {
    display: flex;
    align-items: center;

    gap: 12px;

    margin: 12px 0;

    font-size: 14px;
}

.contact-item img {
    width: 19px;
    height: 19px;

    filter: brightness(0) invert(1);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    border-top: 1px solid #e1e0d4;

    background: #fffdf8;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 28px 0;
}

.footer-top nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 22px;

    color: #55574f;
    font-size: 13px;
}

.footer-top nav a:hover {
    color: var(--green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 15px 0;

    border-top: 1px solid #e5e4db;

    color: #77786f;
    font-size: 11px;
}

.site-footer .brand-mark img {
    
    height: 42px;
}

.site-footer .brand-text strong {
    font-size: 20px;
}

.site-footer .brand-text em {
    font-size: 15px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {
    .main-nav {
        gap: 14px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-section {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .events-layout {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .event-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .event-list .btn {
        width: max-content;
    }

    .cta-inner {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
    .container {
        width: min(100% - 30px, 1180px);
    }

    .nav-wrap {
        min-height: 68px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;

        gap: 5px;

        padding: 8px;
    }

    .menu-toggle span {
        display: block;

        width: 24px;
        height: 2px;

        background: var(--ink);
    }

    .main-nav {
        position: absolute;
        top: 68px;
        right: 15px;
        left: 15px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 15px;

        background: #fffdf8;

        border: 1px solid var(--line);
        border-radius: 0 0 12px 12px;

        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a:not(.btn) {
        padding: 10px;
    }

    .main-nav > a:not(.btn):first-child::after {
        display: none;
    }

    .nav-cta {
        margin-top: 4px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(15, 17, 12, 0.95) 0%,
                rgba(15, 17, 12, 0.82) 58%,
                rgba(15, 17, 12, 0.25) 100%
            );
    }

    .hero-content {
        padding-top: 72px;
    }

    .hero h1 {
        font-size: 53px;
    }

    .hero-copy {
        font-size: 15px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;

        gap: 17px;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading h2,
    h2 {
        font-size: 39px;
    }

    .feature-grid,
    .card-grid.three {
        grid-template-columns: 1fr;
    }

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

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

    .event-gallery img {
        height: 210px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;

        grid-auto-rows: 160px;
    }

    .gallery-grid figure:first-child {
        grid-row: span 2;
    }

    .gallery-grid figure:last-child {
        grid-column: auto;
    }

    .cta h2 {
        font-size: 36px;
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-top nav {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
    .brand-text strong {
        font-size: 20px;
    }

    .brand-text em {
        font-size: 15px;
    }

    .brand-mark img {
        width: 42px;
        height: 42px;
    }

    .feature-grid {
        gap: 10px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 190px;
    }

    .gallery-grid figure:first-child {
        grid-row: auto;
    }

    .cta-inner {
        gap: 30px;
    }

    .contact-card {
        padding: 22px;
    }
}
