/* ==================  STYLE.GLOBAL  ================== */
:root {
    --bg: #fffefb;
    --accent: #6b1b1b;
    --accent-2: #a23a3a;
    --muted: #7b6f6b;
    --gold: #c9a44a;
    --glass: rgba(255, 255, 255, 0.7);
    --maxw: 1200px;
    --radius: 14px;
    --gap: 24px;
    --ff-serif: 'Playfair Display', serif;
    --ff-sans: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%;
    margin: 0;
    font-family: var(--ff-sans);
    color: #222;
    background: #f8f6f4
}

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

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

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 28px
}

/* ========== HEADER ========== */
header.site-header {
    background: #641424;
    position: fixed; /* Zmienione na fixed */
    top: 0;
    width: 100%;
    z-index: 60;
    transition: height 0.3s ease;
    height: 150px; /* Wysokość początkowa */
    border-bottom: none;
}

header.site-header.scrolled {
    height: 110px; /* Wysokość po scrollowaniu */
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
}

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

.brand img {
    transition: height 0.3s ease, width 0.3s ease;
}

.scrolled .brand img {
    height: 60px;
    width: auto;
}

nav.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px
}

nav.main-nav a {
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    color: #F8EECF;
    transition: color 0.2s ease;
}

nav.main-nav a:hover {
    background: none;
    color: #fff;
}

nav.main-nav a.active {
    color: #fff;
}

.burger {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    border-radius: 8px
}

.burger svg {
    width: 22px;
    height: 22px
}

/* ========== HERO ========== */
.hero-new {
    background-image: url('https://winnicaostrowskich.pl/winogrono1.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 150px; /* Nowy padding, aby treść nie była pod nagłówkiem */
}

.hero-content {
    text-align: center;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 80px;
    color: #F8EECF;
    font-family: var(--ff-serif);
    margin: 0 0 10px 0;
}

.hero-content .ribbon-graphic {
    max-width: 300px;
    margin: 0 auto 20px auto;
}

.hero-lead {
    font-size: 20px;
    line-height: 1.6;
    color: #eee;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    transition: 0.2s;
    margin-top: 20px;
}

.btn.primary {
    background: var(--gold);
    color: #000;
}

.btn.ghost {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
}

.btn.ghost:hover {
    background: #fff;
    color: var(--accent);
}

/* Sekcje */
.section {
    padding: 60px 0;
}

.colored-bg {
    background-color: #FCEDD3;
}

.about-new {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

.about-new h3 {
    font-family: var(--ff-serif);
    font-size: 32px;
}

.about-new p {
    line-height: 1.6;
    color: var(--muted);
}

.about-new {
    display: flex;
    align-items: center; /* wyrównanie w pionie */
    justify-content: space-between;
    gap: 40px;
}

.about-new > div:first-child {
    flex: 3; /* tekst zajmuje 3/4 */
}

.about-new .side {
    flex: 1; /* obrazek zajmuje 1/4 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-new .side img {
    max-width: 100%;
    height: auto;
    display: block;
}






/* NASZA OFERTA */
.offer-section-2 {
    background-color: var(--accent);
}

.offer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    color: #F8EECF;
    text-align: center;
}

.offer-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.offer-card p {
    margin-top: 10px;
    font-size: 1.1em;
}

/* OFERTA 2020 */
.offer-section-3 .offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* GALERIA */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    transition: 0.3s;
    cursor: pointer;
}

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

/* KONTAKT */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contactForm .form-group {
    display: flex;
    flex-direction: column;
}

#contactForm label {
    font-weight: 600;
    margin-bottom: 5px;
}

#contactForm input, #contactForm textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    width: 100%;
}

#contactForm .form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* FOOTER */
footer {
    padding: 40px 0;
    color: #fff;
    background: var(--accent);
    text-align: center;
    border-radius: 20px 20px 0 0;
    margin-top: 40px;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width:900px) {
    .hero-new {
        min-height: auto;
        padding-top: 110px;
    }
    .about-new {
        grid-template-columns: 1fr;
    }
    .offer-cols {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    nav.main-nav {
        display: none;
    }
    .burger {
        display: inline-block;
        color: var(--accent);
    }
}

@media (max-width:520px) {
    .hero-content h1 {
        font-size: 32px
    }
}