/* --- PALETA BARW I ZMIENNE --- */
:root {
    --primary-green: #81B60C;
    --dark-green: #123416;
    --light-bg: #EBF0E3;
    --dark-text: #2C3338;
    --accent-green: #73B21A;
    --white: #ffffff;
    --transition: all 0.6s ease-in-out;
}

/* --- RESET I BAZA --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--dark-text); background-color: var(--light-bg); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- NAGŁÓWEK --- */
#header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    transition: var(--transition); 
    background-color: transparent; 
}

/* EFEKT SZKLANY (GLASSMORPHISM) PO PRZEWINIĘCIU */
#header.scrolled { 
    background-color: rgba(18, 52, 22, 0.7); /* Półprzeźroczysta zieleń */
    backdrop-filter: blur(15px); /* Rozmycie tła pod menu */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Delikatna linia efektu szkła */
}

.top-bar { 
    background-color: rgba(255, 255, 255, 0.1); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 8px 0; 
    color: var(--white); 
    font-size: 0.85rem; 
    transition: var(--transition); 
}

.top-bar-container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left a { color: var(--white); text-decoration: none; }
.separator { margin: 0 10px; opacity: 0.3; }
.social-icon { color: var(--white); }

/* Ukrycie paska przy skrolowaniu, by menu było "lekko" */
#header.scrolled .top-bar { 
    margin-top: -40px; 
    opacity: 0; 
    visibility: hidden;
}

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; max-width: 1400px; margin: 0 auto; }
.logo img { height: 60px; transition: 0.3s; }
#header.scrolled .logo img { height: 50px; }

.nav-links { display: flex; list-style: none; }
.nav-links li a { color: var(--white); text-decoration: none; margin: 0 15px; font-weight: 500; font-size: 0.9rem; text-transform: uppercase; transition: 0.3s; }
.nav-links li a:hover { color: var(--primary-green); }

.btn-call { 
    background-color: var(--primary-green); 
    color: var(--white); 
    padding: 10px 22px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: 0.3s; 
}

/* --- ANIMOWANY HERO SLIDER --- */
.hero-slider { position: relative; height: 100vh; width: 100%; overflow: hidden; background-color: #000; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; display: flex; align-items: center; justify-content: center; }
.slide.active { opacity: 1; z-index: 1; }
.hero-content { text-align: center; color: var(--white); max-width: 800px; padding: 0 20px; }

.slide.active h2 { animation: fadeInUp 1s both 0.5s; }
.slide.active p { animation: fadeInUp 1s both 0.8s; }
.slide.active .section-tag { animation: fadeInDown 1s both 0.3s; }
.slide.active .hero-btns { animation: fadeInUp 1s both 1.1s; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }

.hero-content h2 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 20px; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }
.section-tag { display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; }
.section-tag.light { background: rgba(255,255,255,0.1); color: var(--accent-green); }
.btn-primary { background: var(--primary-green); color: white; padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.3s; display: inline-block; }

/* --- OFERTA --- */
.offer-section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--dark-green); }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.offer-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.05); transition: 0.3s; }
.offer-card:hover { transform: translateY(-10px); }
.card-img { height: 250px; background-size: cover; background-position: center; }
.card-content { padding: 30px; }
.offer-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; border-top: 1px solid #eee; padding-top: 20px; }
.price { font-weight: 700; color: var(--primary-green); font-size: 1.2rem; }