/* Kwiaciarnia u Krysi — style.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary: #365b61;
    --secondary: #ad9683;
    --accent: #84a7ad;
    --dark: #614f40;
    --light: #ddbe9d;
    --bg-light: #f9f6f2;
    --text: #333;
    --white: #fff;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary); }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}
.site-logo span { color: var(--secondary); }

/* NAV */
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text);
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
    background: var(--bg-light);
    color: var(--primary);
}

/* DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7em; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 6px;
    min-width: 220px;
    padding: 8px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 200;
}
.dropdown-menu a {
    display: block;
    padding: 8px 18px;
    font-size: 0.88rem;
    border-radius: 0;
}
.nav-dropdown:hover .dropdown-menu { display: block; }

/* HAMBURGER */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 5px;
}

/* HERO */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(54,91,97,0.55), rgba(54,91,97,0.75));
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}
.hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 12px;
}
.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* SECTIONS */
section { padding: 60px 0; }
section:nth-child(even) { background: var(--bg-light); }

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    margin: 12px auto 0;
}

/* CATEGORY GRID */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.category-card:hover img { transform: scale(1.05); }
.category-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(54,91,97,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.category-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
}

/* TESTIMONIALS */
.testimonials { text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.testimonial {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
    text-align: left;
}
.testimonial p { font-style: italic; margin-bottom: 12px; color: #555; }
.testimonial .author { font-weight: 600; color: var(--primary); font-size: 0.9rem; }

/* FEATURES */
.features { display: flex; justify-content: center; gap: 50px; text-align: center; padding: 40px 0; }
.feature { flex: 0 1 200px; }
.feature-icon { font-size: 2rem; margin-bottom: 10px; color: var(--secondary); }
.feature h4 { font-size: 1rem; margin-bottom: 5px; }
.feature p { font-size: 0.85rem; color: #777; }

/* PAGE HEADER */
.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}
.page-header h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 8px; }
.page-header p { opacity: 0.8; font-size: 1rem; }

/* PAGE CONTENT */
.page-content {
    padding: 50px 0;
}
.page-content p { margin-bottom: 16px; }
.page-content h2 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 30px 0;
}
.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

/* PAGE IMAGE */
.page-image {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
}
.page-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

/* CONTACT INFO */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.contact-block { padding: 25px; background: var(--bg-light); border-radius: 10px; }
.contact-block h3 { font-size: 1.2rem; margin-bottom: 12px; }
.contact-block p { margin-bottom: 8px; font-size: 0.95rem; }

/* FOOTER */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    padding: 35px 0 20px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 12px;
}
.footer-col a {
    color: rgba(255,255,255,0.7);
    display: block;
    font-size: 0.88rem;
    margin-bottom: 6px;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 10px;
        border-bottom: 1px solid #eee;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }
    .main-nav.open { display: flex; }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
    }
    .nav-dropdown:hover .dropdown-menu { display: block; }

    .hero { height: 45vh; min-height: 300px; }
    .hero h1 { font-size: 1.8rem; }

    .category-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .features { flex-direction: column; align-items: center; gap: 25px; }
    .contact-info { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .category-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.5rem; }
    .section-title { font-size: 1.5rem; }
}
