/* miniflowers.pl — studio florystyczne Kraków */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --accent: #7da36a;
    --accent-dark: #5c8454;
    --text: #333;
    --text-light: #636363;
    --bg: #fff;
    --bg-light: #f8f8f8;
    --bg-footer: #e0e0e0;
    --bg-footer-bottom: #e8e8e8;
    --max-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .3s; }
a:hover { color: var(--accent-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.site-logo img { height: 55px; width: auto; }

nav ul { list-style: none; display: flex; gap: 28px; }
nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width .3s;
}
nav a:hover { color: var(--accent); }
nav a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--text);
}

/* Hero */
.hero {
    position: relative;
    height: 90vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/hero.webp') center/cover no-repeat;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}
.hero h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.hero h1 span { font-weight: 600; }
.hero p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}
.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent);
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background .3s;
}
.btn:hover { background: var(--accent-dark); color: #fff; }

/* Sections */
section { padding: 80px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}
.section-title p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}
.section-title .accent-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
}

/* Oferta grid */
.oferta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.oferta-card {
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.oferta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.oferta-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.oferta-card-body {
    padding: 24px;
}
.oferta-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.oferta-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Portfolio */
.portfolio-section { background: var(--bg-light); }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.portfolio-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity .3s;
}
.portfolio-grid img:hover { opacity: 0.85; }

/* O mnie */
.about-section .about-inner {
    display: flex;
    gap: 50px;
    align-items: center;
}
.about-text { flex: 1; }
.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 15px;
}

/* Opinie */
.testimonials-section { background: var(--bg-light); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}
.testimonial blockquote {
    font-style: italic;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}
.testimonial cite {
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
}

/* Kontakt */
.kontakt-inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}
.kontakt-info { flex: 1; }
.kontakt-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}
.kontakt-info p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 15px;
}
.kontakt-map {
    flex: 1;
    min-height: 300px;
    min-width: 300px;
    background: var(--bg-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Footer */
.site-footer {
    background: var(--bg-footer);
    padding: 30px 0;
    text-align: center;
}
.site-footer p {
    color: var(--text-light);
    font-size: 13px;
}
.footer-bottom {
    background: var(--bg-footer-bottom);
    padding: 16px 0;
    text-align: center;
}
.footer-bottom p {
    color: #2d2d2d;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    .oferta-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .about-section .about-inner { flex-direction: column; }
    .kontakt-inner { flex-direction: column; }
    .hero h1 { font-size: 36px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .oferta-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    nav ul { display: none; }
    nav.open ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 12px;
    }
    .menu-toggle { display: block; }
    .hero { height: 70vh; min-height: 400px; }
    .hero h1 { font-size: 28px; }
    section { padding: 50px 0; }
}
