/* Základní nastavení a plynulé rolování pro záložky */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
body { font-family: 'Open Sans', sans-serif; line-height: 1.6; color: #333; background: #fff; }
.container { max-width: 1100px; margin: auto; padding: 0 20px; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; text-transform: uppercase; margin-bottom: 20px; }
section { padding: 60px 0; }
.bg-light { background: #f4f4f4; }
.bg-dark { background: #2d3436; color: #fff; }

/* Navigace a logo */
nav { background: #54B435; color: #fff; padding: 10px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 90px; width: auto; max-width: 350px; color: white; font-weight: bold; font-size: 1.2rem; }
nav ul { display: flex; list-style: none; flex-wrap: wrap; }
nav ul li { margin-left: 20px; }
nav ul li a { color: #fff; text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; transition: color 0.3s; }
nav ul li a:hover { color: #d1f2c9; }

/* Hero Sekce */
.hero { position: relative; background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover; height: 85vh; color: #fff; display: flex; justify-content: center; align-items: center; text-align: center; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 150px; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 10; padding-bottom: 50px; }
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 15px; }
.hero .podnadpis { font-size: 2rem; color: #54B435; }
.hero .motto { font-size: 1.5rem; font-style: italic; margin-bottom: 40px; }
.btn { background: #54B435; color: #fff; padding: 15px 35px; text-decoration: none; border-radius: 5px; font-weight: bold; font-size: 1.1rem; transition: background 0.3s; text-transform: uppercase; display: inline-block;}
.btn:hover { background: #3e8e23; }

/* Služby */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { position: relative; border-radius: 10px; overflow: hidden; background-size: cover; background-position: center; color: #fff; min-height: 300px; display: flex; align-items: flex-end; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%); z-index: 1; }
.card-content { position: relative; z-index: 2; padding: 30px; width: 100%; }
.service-card h3 { color: #54B435; margin-bottom: 10px; }

.card-domy { background-image: url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=600&q=80'); }
.card-lesy { background-image: url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=600&q=80'); }
.card-zahrady { background-image: url('https://images.unsplash.com/photo-1584738766473-61c083514bf4?auto=format&fit=crop&w=600&q=80'); }

/* Galerie */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.gallery-item { height: 300px; background-size: cover; background-position: center; border-radius: 8px; cursor: pointer; transition: transform 0.3s; }
.gallery-item:hover { transform: scale(1.03); }
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr 2fr 1fr; }
    .gallery-item { height: 250px; }
}

/* -------------------------------------- */
/* CENÍK STYLY (převzato z tvého kódu) */
/* -------------------------------------- */
.cenik-wrapper { display: flex; flex-direction: column; align-items: center; font-family: 'Inter', sans-serif; color: #1e293b; }
.a4-page { max-width: 210mm; width: 100%; background: white; padding: 15mm 20mm; box-shadow: 0 10px 25px rgba(0,0,0,0.1); position: relative; display: flex; flex-direction: column; overflow-x: auto; }
.header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 3px solid #166534; padding-bottom: 12px; margin-bottom: 20px; flex-wrap: wrap; gap: 15px;}
.header-content h1 { font-family: 'Playfair Display', serif; font-size: 36px; color: #166534; line-height: 1.1; margin-bottom: 5px; text-transform: none; }
.header-content p { font-size: 16px; color: #475569; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.contact-info { text-align: right; font-size: 11px; color: #334155; }
.contact-info p { margin-bottom: 3px; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.contact-info i { color: #166534; width: 12px; text-align: center; }
.vat-info { font-weight: 700; color: #166534; margin-top: 5px; font-size: 12px; }

.cenik-section { margin-bottom: 15px; width: 100%; }
.section-title { font-size: 14px; font-weight: 700; color: #ffffff; background-color: #166534; padding: 6px 12px; border-radius: 4px; display: inline-block; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

.table-responsive { width: 100%; overflow-x: auto; }
.cenik-wrapper table { width: 100%; border-collapse: collapse; font-size: 11px; margin-bottom: 5px; min-width: 450px;}
.cenik-wrapper th { text-align: left; padding: 6px 8px; font-weight: 600; color: #475569; border-bottom: 2px solid #cbd5e1; background-color: #f8fafc; }
.cenik-wrapper td { padding: 6px 8px; border-bottom: 1px solid #e2e8f0; color: #1e293b; }
.num-col { text-align: right; white-space: nowrap; }
.price-vat { font-weight: 700; color: #166534; }
.sub-row td { background-color: #f1f5f9; font-style: italic; color: #475569; }
.addon-row td { background-color: #f0fdf4; color: #15803d; font-weight: 500; }
.note { font-size: 9px; color: #64748b; font-style: italic; margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid-2 .cenik-section { margin-bottom: 0; }
.cenik-footer { margin-top: auto; padding-top: 15px; border-top: 1px solid #cbd5e1; text-align: center; font-size: 10px; color: #64748b; }

.download-btn { background-color: #166534; color: white; border: none; padding: 12px 24px; border-radius: 8px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(22, 101, 52, 0.3); display: flex; align-items: center; gap: 10px; transition: all 0.2s; margin-bottom: 20px; }
.download-btn:hover { background-color: #14532d; transform: translateY(-2px); }

/* Kontakt */
.contact-flex { display: flex; gap: 40px; flex-wrap: wrap; }
.contact-info, .map { flex: 1; min-width: 300px; }
.ozvete-se { font-size: 1.2rem; color: #54B435; }
#kontakt .contact-info a { color: #54B435; text-decoration: none; font-weight: bold; }
#kontakt .contact-info a:hover { text-decoration: underline; }

footer { text-align: center; padding: 25px; background: #1e2425; color: #888; font-size: 0.9rem; }

/* Mobilní zobrazení */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero .podnadpis { font-size: 1.4rem; }
    nav .container { flex-direction: column; gap: 15px; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; margin-left: 0; padding: 0; }
    nav ul li { margin: 0; }
    .logo-img { height: 70px; }
    .grid-2 { grid-template-columns: 1fr; }
    .header { flex-direction: column; align-items: flex-start; }
    .contact-info p { justify-content: flex-start; }
    .a4-page { padding: 15px; }
}

/* Nastavení pro samotný TISK (Vytiskne se pouze ceník) */
@media print {
    @page { size: A4 portrait; margin: 0; }
    body { background: white; padding: 0; }
    .no-print { display: none !important; }
    #cenik { padding: 0; }
    .cenik-wrapper { padding: 0; }
    .a4-page { box-shadow: none; width: 100%; min-height: 100vh; padding: 15mm 20mm; }
}