/* Kwiaciarnia Firmowa — strona główna */
:root {
	--green: #6fb516;
	--green-deep: #5d9f09;
	--green-soft: #7fbe2e;
	--cream: #f9ffeb;
	--white: #ffffff;
	--ink: #2d2d2d;
	--ink-muted: #5c5c5c;
	--shadow: 0 12px 40px rgba(45, 90, 20, 0.12);
	--radius: 14px;
	--font: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	--font-display: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--cream);
}

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

a {
	color: var(--green-deep);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--green-soft);
}

.container {
	width: min(1120px, 100% - 2rem);
	margin-inline: auto;
}

/* ——— Top bar ——— */
.top-bar {
	background: linear-gradient(90deg, var(--green-deep) 0%, var(--green) 50%, var(--green-soft) 100%);
	color: var(--white);
	font-size: 0.875rem;
	padding: 0.5rem 0;
}

.top-bar .container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	justify-content: center;
	align-items: center;
}

.top-bar a {
	color: var(--white);
	opacity: 0.95;
}

.top-bar a:hover {
	opacity: 1;
	text-decoration: underline;
}

/* ——— Header ——— */
.site-header {
	background: var(--white);
	box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1rem 0;
	flex-wrap: wrap;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--ink);
	letter-spacing: 0.02em;
}

.logo img {
	width: 52px;
	height: 52px;
	object-fit: contain;
	border-radius: 10px;
}

.nav-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	opacity: 0;
}

.nav-toggle-label {
	display: none;
	cursor: pointer;
	padding: 0.5rem;
	font-size: 1.5rem;
	color: var(--green-deep);
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.75rem;
	align-items: center;
}

nav a {
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-muted);
}

nav a:hover,
nav a[aria-current="page"] {
	color: var(--green-deep);
}

.header-cta {
	background: var(--green-soft);
	color: var(--white) !important;
	padding: 0.65rem 1.25rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.85rem;
	box-shadow: 0 4px 14px rgba(127, 190, 46, 0.4);
}

.header-cta:hover {
	background: var(--green-deep);
	color: var(--white) !important;
}

@media (max-width: 860px) {
	.nav-toggle-label {
		display: block;
	}

	nav {
		width: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s ease;
	}

	.nav-toggle:checked ~ nav {
		max-height: 320px;
	}

	nav ul {
		flex-direction: column;
		align-items: flex-start;
		padding: 1rem 0 0.5rem;
		gap: 0.75rem;
	}
}

/* ——— Hero ——— */
.hero {
	position: relative;
	min-height: min(72vh, 620px);
	display: grid;
	align-items: center;
	padding: 3rem 0 4rem;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background: url("products/BOU15_05.jpg") center / cover no-repeat;
	z-index: 0;
}

.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		120deg,
		rgba(45, 45, 45, 0.82) 0%,
		rgba(45, 90, 20, 0.55) 45%,
		rgba(111, 181, 22, 0.35) 100%
	);
}

.hero .container {
	position: relative;
	z-index: 1;
}

.hero-content {
	max-width: 36rem;
	color: var(--white);
}

.hero-eyebrow {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	opacity: 0.9;
	margin-bottom: 0.75rem;
}

.hero h1 {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 5vw, 3.35rem);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 1rem;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-lead {
	font-size: 1.1rem;
	opacity: 0.95;
	margin-bottom: 1.75rem;
	max-width: 32ch;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.6rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--green-soft);
	color: var(--white);
	box-shadow: var(--shadow);
}

.btn-primary:hover {
	background: var(--green-deep);
	color: var(--white);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.15);
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(6px);
}

.btn-ghost:hover {
	background: var(--white);
	color: var(--green-deep);
	border-color: var(--white);
}

/* ——— Features ——— */
.features {
	padding: 3rem 0;
	background: var(--white);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

@media (max-width: 768px) {
	.features-grid {
		grid-template-columns: 1fr;
	}
}

.feature {
	text-align: center;
	padding: 1.5rem;
}

.feature-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--cream), var(--white));
	border: 2px solid rgba(111, 181, 22, 0.25);
	display: grid;
	place-items: center;
	font-size: 1.5rem;
}

.feature h2 {
	font-family: var(--font-display);
	font-size: 1.35rem;
	margin: 0 0 0.5rem;
	color: var(--ink);
}

.feature p {
	margin: 0;
	color: var(--ink-muted);
	font-size: 0.95rem;
}

/* ——— Products ——— */
.section-products {
	padding: 4rem 0 4.5rem;
}

.section-head {
	text-align: center;
	max-width: 36rem;
	margin: 0 auto 2.75rem;
}

.section-head h2 {
	font-family: var(--font-display);
	font-size: clamp(1.85rem, 3vw, 2.35rem);
	margin: 0 0 0.75rem;
	color: var(--ink);
}

.section-head p {
	margin: 0;
	color: var(--ink-muted);
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

@media (max-width: 900px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.product-grid {
		grid-template-columns: 1fr;
	}
}

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

.product-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
}

.product-card a {
	color: inherit;
	display: block;
}

.product-card figure {
	margin: 0;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--cream);
}

.product-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.product-card:hover img {
	transform: scale(1.05);
}

.product-card .card-body {
	padding: 1.15rem 1.25rem 1.35rem;
}

.product-card h3 {
	font-family: var(--font-display);
	font-size: 1.2rem;
	margin: 0 0 0.35rem;
	font-weight: 600;
}

.product-card .price {
	color: var(--green-deep);
	font-weight: 700;
	font-size: 0.95rem;
	margin: 0;
}

/* ——— About strip ——— */
.about-strip {
	background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
	color: var(--white);
	padding: 3.5rem 0;
}

.about-strip .inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: center;
}

@media (max-width: 768px) {
	.about-strip .inner {
		grid-template-columns: 1fr;
	}
}

.about-strip h2 {
	font-family: var(--font-display);
	font-size: 2rem;
	margin: 0 0 1rem;
}

.about-strip p {
	margin: 0 0 1rem;
	opacity: 0.95;
}

.about-strip p:last-of-type {
	margin-bottom: 1.5rem;
}

.about-strip .btn-primary {
	background: var(--white);
	color: var(--green-deep);
}

.about-strip .btn-primary:hover {
	background: var(--cream);
	color: var(--green-deep);
}

.about-strip figure {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* ——— Footer ——— */
.site-footer {
	background: #2a3820;
	color: rgba(255, 255, 255, 0.88);
	padding: 3rem 0 1.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

.site-footer h3 {
	font-family: var(--font-display);
	font-size: 1.15rem;
	margin: 0 0 1rem;
	color: var(--white);
}

.site-footer p,
.site-footer li {
	font-size: 0.9rem;
	line-height: 1.65;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
	color: var(--white);
	text-decoration: underline;
}

.social {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}

.social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	font-weight: 700;
	font-size: 0.85rem;
}

.social a:hover {
	background: var(--green-soft);
	text-decoration: none;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 1.25rem;
	font-size: 0.8rem;
	opacity: 0.75;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.btn:hover,
	.product-card:hover,
	.product-card:hover img {
		transform: none;
		transition: none;
	}
}
