/* ============================================================
   Pohřební služba Bína – Krémový elegantní design
   Inspirováno: lilie, teplé tóny, zlaté akcenty
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-cream: #f5f0e8;
    --color-cream-light: #faf7f2;
    --color-cream-dark: #e8e0d0;
    --color-gold: #b8960c;
    --color-gold-light: #d4af37;
    --color-gold-dark: #8a7209;
    --color-gold-glow: rgba(212,175,55,0.25);
    --color-text: #4a3f2f;
    --color-text-light: #7a6f5f;
    --color-text-muted: #a09080;
    --color-white: #ffffff;
    --color-dark: #2a2318;
    --color-dark-mid: #3d3428;
    --color-border: #ddd5c5;
    --color-success: #5a8a4a;
    --color-error: #8b4a3a;
    --color-info: #5a7a8a;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(42,35,24,0.06);
    --shadow-md: 0 6px 24px rgba(42,35,24,0.1);
    --shadow-lg: 0 12px 40px rgba(42,35,24,0.14);
    --radius: 8px;
    --radius-lg: 14px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- Alerts --- */
.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.95rem; }
.alert-success { background: rgba(90,138,74,0.1); color: var(--color-success); border: 1px solid rgba(90,138,74,0.2); }
.alert-error { background: rgba(139,74,58,0.1); color: var(--color-error); border: 1px solid rgba(139,74,58,0.2); }
.alert-info { background: rgba(90,122,138,0.1); color: var(--color-info); border: 1px solid rgba(90,122,138,0.2); }

/* --- Top Bar --- */
.top-bar { display: none; }

/* --- Header / Nav --- */
.header {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(245,240,232,0.95) 100%),
        var(--color-cream);
    box-shadow: 0 2px 20px rgba(42,35,24,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }

.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img {
    height: 55px;
    width: auto;
    transition: opacity var(--transition);
}
.logo:hover .logo-img { opacity: 0.8; }

.nav > ul { list-style: none; display: flex; gap: 0; }
.nav a {
    display: block;
    padding: 10px 18px;
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all var(--transition);
    border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold-light);
}

/* Dropdown */
.has-dropdown { position: relative; display: flex; align-items: center; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-cream-light);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    min-width: 260px;
    z-index: 200;
    flex-direction: column;
    border-top: 2px solid var(--color-gold-light);
}
.has-dropdown:hover > .dropdown,
.has-dropdown.dropdown-open > .dropdown { display: flex; }
.dropdown li a {
    padding: 12px 22px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}
.dropdown li a:hover { background: rgba(212,175,55,0.08); padding-left: 28px; color: var(--color-gold-dark); }
.dropdown li:last-child a { border-bottom: none; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* --- Hero --- */
.hero {
    background: url('/assets/images/pozadi.png') center/cover no-repeat;
    color: var(--color-dark);
    padding: 100px 0 90px;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    color: var(--color-dark);
}
.hero p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--color-border);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    color: var(--color-gold-dark);
    font-weight: 600;
}
.hero-badge svg { color: var(--color-gold); }
.hero-phone {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #fff;
    padding: 16px 44px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(184,150,12,0.3);
}
.hero-phone:hover {
    background: linear-gradient(135deg, var(--color-dark), var(--color-dark-mid));
    color: var(--color-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(42,35,24,0.25);
}

/* --- Sections --- */
.section {
    padding: 70px 0;
    position: relative;
}
.section-alt {
    background: linear-gradient(180deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
}
.section-dark {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 35%),
        linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-mid) 50%, #4a3f2f 100%);
    color: var(--color-cream-light);
    position: relative;
    overflow: hidden;
}
.section-dark::before {
    content: '';
    position: absolute;
    top: -30%; left: 0; right: 0; bottom: -30%;
    background: url('/assets/images/services-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    opacity: 0.06;
}
.section-dark .section-title { color: var(--color-cream-light); }
.section-dark .section-subtitle { color: rgba(245,240,232,0.7); }
.section-dark .quick-service {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}
.section-dark .quick-service:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(212,175,55,0.2);
}
.section-dark .quick-service h3 { color: var(--color-cream-light); }
.section-dark .quick-service p { color: rgba(245,240,232,0.6); }
.section-dark .quick-service-icon {
    background: rgba(212,175,55,0.12);
    border-color: rgba(212,175,55,0.2);
    color: var(--color-gold-light);
}
.section-dark .quick-service::before {
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-dark);
    margin-bottom: 12px;
    text-align: center;
}
.section-subtitle {
    color: var(--color-text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}
.section-divider {
    width: 300px;
    max-width: 80%;
    height: 40px;
    background: url('/assets/images/linka01.png') center/contain no-repeat;
    margin: 18px auto 30px;
    border: none;
}

/* --- Page Header --- */
.page-header {
    background: url('/assets/images/pozadi.png') center/cover no-repeat;
    color: var(--color-dark);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-dark);
}
.breadcrumb { margin-top: 14px; font-size: 0.9rem; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-gold); }
.breadcrumb a:hover { color: var(--color-gold-dark); }

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--color-gold-light);
}
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 28px; }
.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 12px;
}
.card-body p { color: var(--color-text-light); font-size: 0.95rem; line-height: 1.7; }

/* --- Service list --- */
.service-list { list-style: none; }
.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 24px;
    margin-bottom: 8px;
    border-radius: var(--radius);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.service-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
    border-color: var(--color-gold-light);
}
.service-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: url('/assets/images/odrazka01.png') center/contain no-repeat;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}
.service-icon svg { display: none; }
.service-item h3 { font-size: 1.05rem; color: var(--color-dark); margin-bottom: 4px; }
.service-item p { font-size: 0.92rem; color: var(--color-text-light); }

/* --- Product grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition);
    text-align: center;
    border: 1px solid var(--color-border);
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--color-gold-light);
}
.product-card-img { position: relative; overflow: hidden; }
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover img { transform: scale(1.06); }
.product-card-img::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}
.product-card:hover .product-card-img::after { left: 130%; }
.product-card-body { padding: 16px; }
.product-card-body h4 { font-size: 0.95rem; color: var(--color-dark); }

/* Category cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background: var(--color-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    position: relative;
    min-height: 200px;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-image, none) center/cover no-repeat;
    opacity: 0.5;
    transition: all var(--transition);
}
.category-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(42,35,24,0.7) 0%, rgba(42,35,24,0.1) 50%, rgba(255,255,255,0.05) 100%);
}
.category-card:hover::before { opacity: 0.7; transform: scale(1.08); }
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-cream-light);
    position: relative;
    z-index: 1;
    padding: 20px 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.category-card .category-shine {
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    z-index: 2;
    pointer-events: none;
}
.category-card:hover .category-shine { left: 130%; }
.category-card-icon { display: none; }

/* --- Contact page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}
.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-cream-dark);
}
.contact-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-row svg { flex-shrink: 0; color: var(--color-gold); margin-top: 2px; }
.contact-row strong { display: block; margin-bottom: 2px; }
.contact-row a { color: var(--color-gold); font-weight: 600; }

/* Forms */
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--color-dark);
}
.form-control {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition);
    background: var(--color-white);
}
.form-control:focus {
    outline: none;
    border-color: var(--color-gold-light);
    box-shadow: 0 0 0 4px var(--color-gold-glow);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }

/* GDPR checkbox */
.form-group-checkbox { margin-bottom: 22px; }
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-text-light);
}
.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold, #8b7355);
}
.checkbox-label a { color: var(--color-gold, #8b7355); text-decoration: underline; }

.btn {
    display: inline-block;
    padding: 13px 34px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    box-shadow: 0 3px 12px rgba(184,150,12,0.2);
}
.btn:hover {
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184,150,12,0.3);
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-dark), var(--color-dark-mid));
    box-shadow: 0 3px 12px rgba(42,35,24,0.2);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-dark-mid), var(--color-dark));
    box-shadow: 0 6px 20px rgba(42,35,24,0.3);
}
.btn-sm { padding: 9px 22px; font-size: 0.88rem; }
.btn-block { display: block; width: 100%; }

/* --- CTA Section --- */
.cta-section {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 35%),
        linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-mid) 50%, #4a3f2f 100%);
    color: var(--color-cream-light);
    text-align: center;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -40%; left: 0; right: 0; bottom: -40%;
    background: url('/assets/images/cta-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    opacity: 0.08;
}
.cta-section::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 500px; height: 500px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
}
.cta-section p { opacity: 0.8; margin-bottom: 28px; font-size: 1.1rem; }
.cta-phone {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: #fff;
    padding: 16px 44px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all var(--transition);
    box-shadow: 0 4px 25px rgba(212,175,55,0.3);
}
.cta-phone:hover {
    background: var(--color-cream-light);
    color: var(--color-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(42,35,24,0.25);
}

/* --- Content --- */
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--color-dark); margin: 36px 0 14px; }
.content-block h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-dark); margin: 28px 0 10px; }
.content-block p { margin-bottom: 16px; }
.content-block ul, .content-block ol { margin: 12px 0 20px 8px; list-style: none; }
.content-block li {
    margin-bottom: 10px;
    padding-left: 36px;
    background: url('/assets/images/odrazka03.png') left 2px/24px no-repeat;
}

/* Steps */
.steps { counter-reset: step; list-style: none; max-width: 700px; margin: 0 auto; }
.step {
    counter-increment: step;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--color-border);
}
.step:last-child { border-bottom: none; background-image: none; }
.step {
    border-bottom: none;
    background: url('/assets/images/linka02.png') center bottom/250px no-repeat;
    padding-bottom: 36px;
}
.step::before {
    content: counter(step);
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 18px rgba(184,150,12,0.25);
}
.step h3 { font-size: 1.1rem; color: var(--color-dark); margin-bottom: 6px; }
.step p { font-size: 0.95rem; color: var(--color-text-light); line-height: 1.7; }

/* Quick services on homepage */
.quick-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.quick-service {
    padding: 36px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
.quick-service::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
    opacity: 0;
    transition: opacity var(--transition);
}
.quick-service:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--color-gold-light);
}
.quick-service:hover::before { opacity: 1; }
.quick-service-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(184,150,12,0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--color-gold);
    border: 2px solid rgba(212,175,55,0.15);
}
.quick-service h3 { font-size: 1.05rem; color: var(--color-dark); margin-bottom: 8px; }
.quick-service p { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.6; }

/* --- Parallax divider --- */
.parallax-section { position: relative; overflow: hidden; }
.parallax-bg {
    position: absolute;
    top: -30%; left: 0; right: 0; bottom: -30%;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.parallax-divider {
    height: 350px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.parallax-divider::before {
    content: '';
    position: absolute;
    top: -50%; left: 0; right: 0; bottom: -50%;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
.parallax-divider::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 35%),
        linear-gradient(160deg, rgba(42,35,24,0.8) 0%, rgba(61,52,40,0.65) 50%, rgba(74,63,47,0.7) 100%);
}
.parallax-divider-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-cream-light);
    padding: 0 20px;
}
.parallax-divider-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 14px;
}
.parallax-divider-content p { font-size: 1.1rem; opacity: 0.85; max-width: 500px; margin: 0 auto; }

.section-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212,175,55,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74,63,47,0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Image hover effects */
.glow-hover { transition: all var(--transition); }
.glow-hover:hover { box-shadow: 0 0 20px var(--color-gold-glow), var(--shadow-lg); }

/* Dekorativní lilie jako oddělovač */
.deko-lilie {
    display: block;
    width: 220px;
    max-width: 60%;
    height: auto;
    margin: 0 auto;
    opacity: 0.7;
}
.deko-lilie-section {
    text-align: center;
    padding: 20px 0;
}

/* Footer horní dekorace */
.footer-deko {
    text-align: center;
    padding: 30px 0 0;
    background: var(--color-cream);
}
.footer-deko img {
    width: 250px;
    max-width: 60%;
    margin: 0 auto;
    opacity: 0.6;
}

/* Linka oddělovač v contact-info-card */
.contact-info-card h3 {
    background: url('/assets/images/linka02.png') center bottom/200px no-repeat;
    padding-bottom: 20px;
    border-bottom: none;
}

/* --- Floating phone --- */
.floating-phone {
    position: fixed;
    bottom: 28px; right: 28px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #fff;
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(184,150,12,0.35);
    z-index: 999;
    transition: all var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
}
.floating-phone:hover {
    background: linear-gradient(135deg, var(--color-dark), var(--color-dark-mid));
    transform: scale(1.12);
    color: var(--color-gold-light);
    box-shadow: 0 6px 30px rgba(42,35,24,0.35);
    animation: none;
}
.floating-phone span { font-size: 0.55rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(184,150,12,0.35); }
    50% { box-shadow: 0 4px 30px rgba(184,150,12,0.5), 0 0 0 8px rgba(184,150,12,0.08); }
}

/* --- Footer --- */
.footer {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 30%),
        linear-gradient(180deg, var(--color-dark) 0%, #1a1510 100%);
    color: rgba(245,240,232,0.75);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent);
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; position: relative; z-index: 1; }
.footer h3 {
    font-family: var(--font-heading);
    color: var(--color-gold-light);
    font-size: 1.15rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--color-gold);
}
.footer-subtitle { font-size: 0.85rem; opacity: 0.5; margin-bottom: 14px; }
.footer a { color: rgba(245,240,232,0.75); transition: all var(--transition); }
.footer a:hover { color: var(--color-gold-light); padding-left: 4px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-nonstop {
    margin-top: 16px;
    padding: 12px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-gold-light);
}
.footer-bottom {
    margin-top: 45px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    font-size: 0.83rem;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}
.footer-provozovatel { margin-top: 4px; font-size: 0.8rem; opacity: 0.7; }
.footer-compliance { margin-top: 6px; font-size: 0.78rem; opacity: 0.6; }
.footer-compliance a { color: rgba(255,255,255,0.8); text-decoration: underline; }

/* Cookie bar */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-dark, #2c3e50);
    color: var(--color-cream-light, #fafaf8);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-bar-inner p {
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    min-width: 200px;
}
.cookie-bar-inner a { color: var(--color-gold-light, #d4af37); text-decoration: underline; }
.btn-sm {
    padding: 8px 24px;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Content narrow */
.content-narrow { max-width: 800px; margin: 0 auto; }

/* --- Responsive --- */
@media (max-width: 980px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-cream-light); box-shadow: var(--shadow-lg); }
    .nav.open { display: block; }
    .nav ul { flex-direction: column; }
    .nav a { padding: 14px 20px; border-bottom: 1px solid var(--color-border); }
    .dropdown { position: static; box-shadow: none; border-top: none; }
    .has-dropdown:hover > .dropdown,
    .has-dropdown.dropdown-open > .dropdown { display: flex; }
    .dropdown li a { padding-left: 36px; }

    .hero { padding: 60px 0 50px; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-phone { font-size: 1.1rem; padding: 14px 32px; }

    .section { padding: 50px 0; }
    .section-title { font-size: 1.7rem; }

    .card-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .quick-services { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .quick-services { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.6rem; }
}

/* --- Parte / Smuteční oznámení --- */
.parte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.parte-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition);
    text-decoration: none;
    border: 1px solid var(--color-border);
    text-align: center;
}
.parte-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-gold-light, var(--color-accent));
}
.parte-card-foto { position: relative; overflow: hidden; }
.parte-card-foto img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}
.parte-card:hover .parte-card-foto img { transform: scale(1.04); }
.parte-card-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0ede8, #e8e0d0);
    color: #b0a590;
}
.parte-card-body { padding: 20px; }
.parte-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-dark, var(--color-primary));
    margin-bottom: 6px;
}
.parte-card-dates {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 4px;
}
.parte-card-funeral {
    font-size: 0.85rem;
    color: var(--color-gold, var(--color-secondary));
    font-weight: 600;
}

/* Parte miniatura - zmenšené A4 parte */
.parte-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.parte-mini {
    display: block;
    text-decoration: none;
    aspect-ratio: 210 / 297;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}
.parte-mini:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}
.parte-mini-inner {
    background: url('/assets/images/pozadi.png') center/cover no-repeat;
    padding: 8%;
    height: 100%;
}
.parte-mini-border {
    border: 1.5px solid #c9a96e;
    border-radius: 5px;
    padding: 8% 6%;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pm-cross { font-size: 1.2rem; color: #8a7209; margin-bottom: 2px; }
.pm-subtitle { font-size: 0.42rem; color: #8a7a5a; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.pm-linka { width: 60%; margin: 3px auto; }
.pm-name { font-family: 'Playfair Display',serif; font-size: 0.72rem; font-weight: 700; color: #2a2318; margin: 3px 0; line-height: 1.3; }
.pm-dates { font-size: 0.45rem; color: #5a4f3f; margin: 2px 0; }
.pm-foto { width: 40px; height: 50px; object-fit: cover; border-radius: 3px; border: 1px solid #c9a96e; margin: 5px auto; }
.pm-funeral { font-size: 0.45rem; color: #2a2318; margin: 4px 0; font-weight: 600; }
.pm-footer { margin-top: auto; font-size: 0.38rem; color: #a09080; padding-top: 4px; }

/* Parte detail */
.parte-detail {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.parte-detail-header {
    text-align: center;
    margin-bottom: 30px;
}
.parte-detail-cross {
    font-size: 2.5rem;
    color: var(--color-gold, var(--color-secondary));
    margin-bottom: 10px;
}
.parte-detail-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-dark, var(--color-primary));
    margin-bottom: 8px;
}
.parte-detail-dates {
    font-size: 1.1rem;
    color: var(--color-text-light);
    letter-spacing: 1px;
}
.parte-detail-foto {
    margin: 20px auto;
    text-align: center;
}
.parte-detail-foto img {
    max-width: 200px;
    border-radius: var(--radius);
    border: 2px solid var(--color-border);
}
.parte-detail-text {
    text-align: center;
    font-style: italic;
    color: var(--color-text-light);
    margin: 20px 0;
    line-height: 1.8;
    padding: 20px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.parte-detail-funeral {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212,175,55,0.06), rgba(184,150,12,0.04));
    border-radius: var(--radius);
}
.parte-detail-funeral h3 {
    font-family: var(--font-heading);
    color: var(--color-gold-dark, var(--color-secondary));
    margin-bottom: 8px;
}
.parte-detail-family {
    text-align: center;
    font-style: italic;
    color: var(--color-text-muted);
    margin-top: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination a, .pagination-current {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
}
.pagination a {
    background: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    text-decoration: none;
    transition: all var(--transition);
}
.pagination a:hover {
    border-color: var(--color-gold-light, var(--color-accent));
    color: var(--color-gold, var(--color-secondary));
}
.pagination-current {
    background: var(--color-gold, var(--color-secondary));
    color: #fff;
}

/* --- Parte generátor (veřejný i admin) --- */
.parte-gen-page {
    max-width: 700px;
    margin: 0 auto;
    background: #fff url('/assets/images/pozadi.png') center/cover no-repeat;
    padding: 40px 50px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}
.parte-gen-border {
    border: 2px solid #c9a96e;
    border-radius: 8px;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.parte-gen-cross {
    font-size: 2.8rem;
    color: #8a7209;
    margin-bottom: 12px;
    line-height: 1;
}
.parte-gen-subtitle {
    font-size: 0.85rem;
    color: #8a7a5a;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.parte-gen-linka {
    width: 220px;
    max-width: 80%;
    margin: 12px auto;
}
.parte-gen-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #2a2318;
    margin: 8px 0;
    line-height: 1.3;
}
.parte-gen-dates {
    font-size: 1.05rem;
    color: #5a4f3f;
    margin: 8px 0;
    letter-spacing: 1px;
}
.parte-gen-foto {
    width: 130px;
    height: 165px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #c9a96e;
    margin: 18px 0;
}
.parte-gen-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.95rem;
    color: #5a4f3f;
    max-width: 400px;
    line-height: 1.8;
    margin: 12px auto;
}
.parte-gen-funeral {
    margin: 18px 0;
    font-size: 0.95rem;
    color: #2a2318;
    line-height: 1.8;
}
.parte-gen-funeral strong {
    display: block;
    font-size: 1.02rem;
    margin-bottom: 3px;
}
.parte-gen-family {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.92rem;
    color: #6a5f4f;
    margin-top: 20px;
    max-width: 350px;
    line-height: 1.7;
}
.parte-gen-footer {
    margin-top: 30px;
    padding-top: 15px;
    font-size: 0.78rem;
    color: #a09080;
}

@media (max-width: 768px) {
    .parte-gen-page { padding: 20px; }
    .parte-gen-border { padding: 25px 18px; }
    .parte-gen-name { font-size: 1.5rem; }
}

/* --- Lightbox --- */
#lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
#lightbox.lb-open { display: flex; }
.lb-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(6px);
}
.lb-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lb-img {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 60px rgba(0,0,0,0.5);
    object-fit: contain;
}
.lb-close {
    position: absolute;
    top: -40px; right: -10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 2;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.5rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-prev { left: -70px; }
.lb-next { right: -70px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.2); }
.lb-caption {
    color: rgba(255,255,255,0.85);
    margin-top: 14px;
    font-size: 1rem;
    text-align: center;
}
.lb-counter {
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .lb-prev { left: 10px; }
    .lb-next { right: 10px; }
    .lb-close { top: -35px; right: 5px; }
}

/* --- Admin styles --- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 250px;
    background: linear-gradient(180deg, var(--color-dark), #1a1510);
    color: var(--color-cream-light);
    padding: 20px 0;
    flex-shrink: 0;
}
.admin-sidebar h2 {
    font-size: 1rem;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-family: var(--font-heading);
    color: var(--color-gold-light);
}
.admin-nav { list-style: none; margin-top: 10px; }
.admin-nav a {
    display: block;
    padding: 12px 20px;
    color: rgba(245,240,232,0.7);
    font-size: 0.92rem;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,0.05);
    color: var(--color-cream-light);
    border-left-color: var(--color-gold);
}

.admin-content { flex: 1; padding: 30px; background: var(--color-cream); }
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-cream-dark);
}
.admin-header h1 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--color-dark); }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.admin-table th {
    background: var(--color-cream-dark);
    padding: 13px 16px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-table td { padding: 13px 16px; border-top: 1px solid var(--color-border); font-size: 0.92rem; }
.admin-table tr:hover td { background: var(--color-cream); }

.admin-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

/* Login page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/assets/images/pozadi.png') center/cover no-repeat;
}
.login-card {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    padding: 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-gold-light);
}
.login-card h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 24px;
}
