/* Natural Oil - style.css */

:root {
    --green: #87906d;
    --green-dark: #596348;
    --cream: #f7f5ef;
    --text: #2d2d2d;
    --white: #ffffff;
    --footer: #48533b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

header {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url("Zdjecia_produktow/slonecznik_250.JPG") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--white);
    text-align: center;
}

.hero {
    width: 100%;
    max-width: 900px;
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin-bottom: 25px;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero h1 {
    margin-bottom: 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 4.5rem;
    line-height: 1.15;
}

.hero p {
    margin-bottom: 35px;
    font-size: 1.3rem;
}

.btn {
    display: inline-block;
    padding: 15px 34px;
    border-radius: 40px;
    background: var(--white);
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

section {
    padding: 80px 10%;
}

.title {
    margin-bottom: 35px;
    color: var(--green-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.6rem;
    line-height: 1.2;
    text-align: center;
}

.about {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: center;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
}

.card {
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.card img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.card > div,
.card-content {
    padding: 20px;
}

.card h3 {
    margin-bottom: 8px;
    color: var(--green-dark);
}

.shop {
    background: var(--green);
    color: var(--white);
    text-align: center;
}

.shop .title {
    color: var(--white);
}

.shop p {
    margin-bottom: 25px;
}

.contact {
    text-align: center;
}

.contact p {
    margin-bottom: 8px;
}

footer {
    padding: 22px;
    background: var(--footer);
    color: var(--white);
    text-align: center;
}

@media (max-width: 768px) {
    header {
        min-height: 85vh;
    }

    .hero-logo {
        width: 130px;
        height: 130px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    section {
        padding: 60px 7%;
    }

    .title {
        font-size: 2rem;
    }

    .card img {
        height: 280px;
    }
}
.product-link {
text-decoration: none;
color: inherit;
display: block;
}
.product-link:hover {
color: inherit;
}
