:root {
	--primary-color: #2e7d32;
	--secondary-color: #7cb342;
	--accent-color: #c5e1a5;
	--dark-color: #1b5e20;
	--light-color: #f1f8e9;
	--text-color: #212121;
	--text-light: #757575;
	--white: #ffffff;
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}
/* Critical base styles (reset, variables, fonts, header, hero, buttons) were inlined to
   <head> as #critical-fonts to improve first-render performance. Remaining styles keep
   full site styling. */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	color: var(--text-color);
	line-height: 1.6;
	overflow-x: hidden;
	background-color: var(--white);
}
h1 {
    font-size: 2.5rem; /* bazowy rozmiar */
}
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
section {
	padding: 80px 0;
}
/* Header & Navigation */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: var(--shadow);
	transition: var(--transition);
}
header.scrolled {
	padding: 10px 0;
}
.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	padding: 10px 0;
}
.logo {
	font-family: 'Playfair Display', serif;
	font-size: 28px;
	font-weight: 700;
	color: var(--primary-color);
	text-decoration: none;
	display: flex;
	align-items: center;
}
.logo img {
	width: 150px;
	height: 50px;
	margin-right: 10px;
}
.logo i {
	margin-right: 10px;
	color: var(--secondary-color);
}
.nav-menu {
	display: flex;
	list-style: none;
}
.nav-menu li {
	margin-left: 30px;
}
.nav-menu a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 500;
	transition: var(--transition);
	position: relative;
}
.nav-menu a:after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--secondary-color);
	transition: var(--transition);
}
.nav-menu a:hover {
	color: var(--primary-color);
}
.nav-menu a:hover:after {
	width: 100%;
}
.hamburger {
	display: none;
	cursor: pointer;
}
/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)); /* usunięcie url do hero.webp */
}
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 20px;
	color: var(--white);
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.hero p {
	font-size: 1.2rem;
	margin-bottom: 30px;
}
.btn {
	display: inline-block;
	padding: 12px 30px;
	background-color: var(--primary-color);
	color: var(--white);
	text-decoration: none;
	border-radius: 30px;
	font-weight: 600;
	transition: var(--transition);
	border: 2px solid var(--primary-color);
}
.btn:hover {
	background-color: transparent;
	color: var(--primary-color);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-outline {
	background-color: transparent;
	color: white;
	border: 2px solid white;
}
.btn-outline:hover {
	background-color: var(--primary-color);
	color: var(--white);
}
/* About Section */
.about {
	background-color: var(--white);
}
.section-title {
	text-align: center;
	margin-bottom: 50px;
}
.section-title h2 {
	font-size: 2.5rem;
	position: relative;
	display: inline-block;
	padding-bottom: 15px;
}
.section-title h2:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: var(--secondary-color);
}
.about-content {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px;
}
.about-text {
	flex: 1;
	min-width: 300px;
}
.about-image {
	flex: 1;
	min-width: 100px;
	max-width: 300px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow);
}
.about-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: var(--transition);
}
.about-image:hover img {
	transform: scale(1.05);
}
/* Products Section */
.products {
	background-color: var(--light-color);
}
.product-categories {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 40px;
}
.category-btn {
	padding: 10px 20px;
	background-color: var(--white);
	border: 1px solid var(--primary-color);
	border-radius: 30px;
	cursor: pointer;
	transition: var(--transition);
	font-weight: 500;
}
.category-btn.active, .category-btn:hover {
	background-color: var(--primary-color);
	color: var(--white);
}
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}
.product-card {
	background-color: var(--white);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
}
.product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.product-image {
	height: 200px;
	overflow: hidden;
}
.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}
.product-card:hover .product-image img {
	transform: scale(1.1);
}
.product-info {
	padding: 20px;
}
.product-info h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}
.product-info p {
	color: var(--text-light);
	margin-bottom: 15px;
}
.product-price {
	font-weight: 600;
	color: var(--primary-color);
	font-size: 1.2rem;
}
.product-link {
    text-decoration: none;
    color: inherit;
}
/* Special Offers */
.special-offers {
	background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
	color: var(--white);
	text-align: center;
}
.special-offers h2 {
	color: var(--white);
}
.offers-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
}
.offer-card {
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	padding: 30px;
	border-radius: 10px;
	flex: 1;
	min-width: 250px;
	max-width: 350px;
	transition: var(--transition);
}
.offer-card:hover {
	transform: translateY(-5px);
	background-color: rgba(255, 255, 255, 0.2);
}
.offer-icon {
	font-size: 3rem;
	margin-bottom: 20px;
	color: var(--accent-color);
}
/* Contact Section */
.contact {
	background-color: var(--white);
}
.contact-container {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
.contact-info {
	flex: 1;
	min-width: 300px;
}
.contact-form {
	flex: 1;
	min-width: 300px;
}
.info-item {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.info-icon {
	width: 50px;
	height: 50px;
	background-color: var(--light-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	color: var(--primary-color);
	font-size: 1.2rem;
}
.form-group {
	margin-bottom: 20px;
}
.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
}
.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: 'Montserrat', sans-serif;
	transition: var(--transition);
}
.form-control:focus {
	border-color: var(--primary-color);
	outline: none;
	box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}
textarea.form-control {
	min-height: 150px;
	resize: vertical;
}
/* Footer */
footer {
	background-color: var(--dark-color);
	color: var(--white);
	padding: 60px 0 30px;
}
.footer-container {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin-bottom: 40px;
}
.footer-col {
	flex: 1;
	min-width: 200px;
}
.footer-col h4 {
	color: var(--white);
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}
.footer-col h4:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: var(--secondary-color);
}
.footer-col ul {
	list-style: none;
}
.footer-col ul li {
	margin-bottom: 10px;
}
.footer-col ul a {
	color: var(--accent-color);
	text-decoration: none;
	transition: var(--transition);
}
.footer-col ul a:hover {
	color: var(--white);
	padding-left: 5px;
}
.social-icons {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}
.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: var(--white);
	text-decoration: none;
	transition: var(--transition);
}
.social-icons a:hover {
	background-color: var(--secondary-color);
	transform: translateY(-3px);
}
.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Animations */
@keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
.fade-in {
	animation: fadeIn 1s ease forwards;
}
/* Responsive Styles */
@media (max-width: 992px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
    }
    .logo {
        margin-right: auto;
    }
    .hamburger {
        position: relative;
        right: 0;
        margin-left: 12px;
    }
    .nav-menu {
        right: -100%;
        top: 80px;
        width: 100vw;
        min-width: 0;
        padding: 50px 10px;
    }
}
@media (max-width: 600px) {
    .header-container {
        padding: 0 8px;
    }
    .nav-menu {
        padding: 40px 4px;
    }
}
@media (max-width: 992px) {
.hero h1 {
	font-size: 2.8rem;
}
.nav-menu {
	position: fixed;
	top: 80px;
	right: -100%;
	width: 250px;
	height: calc(150vh - 80px);
	background-color: var(--white);
	flex-direction: column;
	align-items: center;
	padding: 50px 20px;
	transition: var(--transition);
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}
.nav-menu.active {
	right: 0;
	margin-top: -100px;
}
.nav-menu li {
	margin: 15px 0;
}
.hamburger {
	display: block;
}
}
@media (max-width: 768px) {
section {
	padding: 60px 0;
}
.hero h1 {
	font-size: 2.2rem;
}
.hero p {
	font-size: 1rem;
}
.section-title h2 {
	font-size: 2rem;
}
.about-content, .contact-container {
	flex-direction: column;
}
}
@media (max-width: 576px) {
.hero h1 {
	font-size: 1.8rem;
}
.btn {
	padding: 10px 20px;
}
.product-grid {
	grid-template-columns: 1fr;
}
}
/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.gallery-grid img:hover {
    transform: scale(1.05);
}
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}
.gallery-modal-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    display: block;
    margin: 0 auto;
	margin-top: 150px;
}
.gallery-modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s;
}
.gallery-modal-close:hover {
    color: #7cb342;
}
.gallery-modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    transition: background 0.2s;
}
.gallery-modal-arrow:hover {
    background: #7cb342;
}
.gallery-modal-arrow-left {
    left: 30px;
}
.gallery-modal-arrow-right {
    right: 30px;
}
.lang-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.lang-btn {
    background: #fff;
    border: 2px solid #7cb342;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.2s;
    padding: 0;
    margin-bottom: 8px;
}
.lang-btn:hover {
    box-shadow: 0 4px 16px rgba(124,179,66,0.25);
    border-color: #2e7d32;
}
.lang-btn img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.lang-list {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    padding: 12px 10px;
    margin-bottom: 8px;
	/* zmniejszona wysokość listy języków, dostosuj wartość (vh lub px) według potrzeby */
	max-height: 40vh;
    overflow-y: auto;
    min-width: 56px;
}
.lang-list.open {
    display: flex;
    animation: fadeInLangList 0.2s;
}
@keyframes fadeInLangList {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.lang-list-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.lang-list-btn img {
    width: 32px;
    height: 25px;
	border-radius: 50%;
	
    transition: box-shadow 0.2s;
}
.lang-list-btn img:hover {
    box-shadow: 0 0 0 2px #7cb342;
}
