/* --- ZMIENNE --- */
:root {
    --primary-green: #0a4d2e;
    --dark-green: #052b19;
    --accent-gold: #c5a059;
    --text-dark: #333333;
    --white: #ffffff;
    --bg-gray: #f4f4f4;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-gray);
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    color: var(--primary-green);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-padding { padding: 60px 0; }
.bg-light { background-color: var(--white); }

/* HEADER */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
.logo-img { height: 90px; width: auto; }

/* NAWIGACJA */
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; color: var(--primary-green); }
.nav-links a:hover { color: var(--accent-gold); }
.employee-link a {
    border: 1px solid var(--primary-green);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9em;
}
.employee-link a:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* HAMBURGER */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--primary-green); }

/* HERO */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    /* Tutaj wczytywane jest tło */
    background: url('../assets/hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Przyciemnienie zdjęcia */
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}
.hero-content h1 {
    color: var(--white);
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}
.slogan {
    font-size: 1.6rem;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 40px;
    font-weight: 600;
}

/* PRZYCISKI */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    margin: 10px;
}
.btn-primary { background: var(--accent-gold); color: var(--dark-green); }
.btn-primary:hover { background: #d4b065; }
.btn-accent { border: 2px solid var(--white); color: var(--white); }
.btn-accent:hover { background: var(--white); color: var(--primary-green); }
.btn-big {
    background: var(--primary-green);
    color: var(--white);
    font-size: 1.1rem;
    padding: 15px 40px;
    margin-top: 30px;
}

/* KARTY PRODUKTÓW */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-5px); }
.product-img-box {
    width: 100%;
    height: 220px;
    background: #ddd;
}
.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content { padding: 20px; text-align: center; }
.card-content h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card-content p { color: #666; font-size: 0.95rem; }

/* FOOTER */
.footer-dark {
    background: #111;
    color: #aaa;
    padding-top: 50px;
    border-top: 5px solid var(--accent-gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-dark h4 { color: var(--white); margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 10px; display: inline-block; }
.footer-phones a, .worker-link { color: var(--accent-gold); font-weight: bold; }
.footer-bottom { background: #000; padding: 20px; font-size: 0.8rem; }

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .hero-content h1 { font-size: 1.8rem; }
    .slogan { font-size: 1.2rem; }
}

