/* krakowskakwiaciarnia.pl — CSS */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --accent: #6b4c3b;
    --accent-light: #8b6f5e;
    --accent-dark: #4a3228;
    --green: #4a6741;
    --green-light: #e8f0e5;
    --bg: #faf8f5;
    --bg-alt: #f2ede7;
    --text: #3a3a3a;
    --text-light: #6e6e6e;
    --white: #fff;
    --border: #e0d8ce;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --radius: 6px;
    --max-w: 1140px;
    --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 16px; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--accent-dark); line-height: 1.3; }
h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.7rem; margin-bottom: .8rem; }
h3 { font-size: 1.3rem; margin-bottom: .6rem; }
p { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1rem 1.5rem; }
li { margin-bottom: .3rem; }

/* HEADER */
.site-header { background: var(--white); border-bottom: 2px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.5rem; }
.site-logo { font-family: var(--font-heading); font-size: 1.5rem; color: var(--accent-dark); font-weight: 700; }
.site-logo span { color: var(--green); }

nav ul { list-style: none; display: flex; gap: 1.8rem; margin: 0; padding: 0; }
nav a { font-size: .95rem; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .5px; padding: .4rem 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
nav a:hover, nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--accent-dark); }

/* HERO */
.hero { position: relative; height: 460px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.55)); display: flex; align-items: flex-end; padding: 2.5rem; }
.hero-text { color: var(--white); max-width: 600px; }
.hero-text h1 { color: var(--white); font-size: 2.5rem; text-shadow: 0 2px 8px rgba(0,0,0,.4); margin-bottom: .5rem; }
.hero-text p { font-size: 1.15rem; text-shadow: 0 1px 4px rgba(0,0,0,.3); margin-bottom: 0; }

/* SECTION */
.section { padding: 3rem 1.5rem; }
.section-alt { background: var(--bg-alt); }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 2rem; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--green); margin: .6rem auto 0; }

/* CARDS GRID */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.2rem 1.4rem; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { font-size: .93rem; color: var(--text-light); margin-bottom: .7rem; }
.card-link { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--accent); }
.card-link:hover { color: var(--green); }

/* TWO-COL LAYOUT */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* INTRO */
.intro { font-size: 1.05rem; max-width: 780px; margin: 0 auto 1.5rem; text-align: center; color: var(--text-light); }

/* PAGE HEADER */
.page-header { background: var(--accent-dark); color: var(--white); padding: 2.5rem 1.5rem; text-align: center; }
.page-header h1 { color: var(--white); margin-bottom: .3rem; }
.page-header p { color: rgba(255,255,255,.8); margin-bottom: 0; }

/* CONTENT */
.content-area { padding: 2.5rem 1.5rem; }
.content-area .container { max-width: 860px; }

/* FEATURES LIST */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.feature { background: var(--white); padding: 1.4rem; border-radius: var(--radius); border-left: 4px solid var(--green); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feature p { font-size: .92rem; color: var(--text-light); margin-bottom: 0; }

/* KONTAKT */
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.contact-box { background: var(--white); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.contact-box h3 { margin-bottom: .5rem; color: var(--green); }
.contact-box p { margin-bottom: 0; color: var(--text-light); }

/* FOOTER */
.site-footer { background: var(--accent-dark); color: rgba(255,255,255,.75); padding: 2rem 1.5rem; text-align: center; font-size: .9rem; }
.site-footer a { color: rgba(255,255,255,.9); }
.site-footer a:hover { color: var(--white); }
.footer-nav { margin-bottom: .8rem; }
.footer-nav a { margin: 0 .8rem; }
.copyright { font-size: .85rem; color: rgba(255,255,255,.55); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 1rem; gap: .5rem; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
    nav ul.open { display: flex; }
    nav a { padding: .5rem 0; }
    .hero { height: 320px; }
    .hero-text h1 { font-size: 1.8rem; }
    .two-col { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
}
