/* DozoryStaveb.eu – Design System & Stylesheet */

:root {
    --color-primary: #e67e22;          /* stavební oranžová / akcent */
    --color-primary-hover: #d35400;
    --color-primary-light: rgba(230, 126, 34, 0.12);
    --color-secondary: #2c3e50;        /* tmavá technická modř */
    
    --color-dark: #1e252b;             /* seriózní antracit */
    --color-dark-surface: #2b333a;
    --color-dark-card: #343d46;
    
    --color-body: #2d3748;
    --color-muted: #64748b;
    --color-bg-light: #f8fafc;
    --color-bg-card: #ffffff;
    --color-border: #e2e8f0;
    
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
}

body {
    font-family: var(--font-body);
    color: var(--color-body);
    background-color: var(--color-bg-light);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    font-weight: 700;
    color: var(--color-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Top bar */
.top-bar {
    background-color: #151b22;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}
.top-bar a:hover {
    color: var(--color-primary);
}

/* Navbar */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--color-border);
}

.brand-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    text-decoration: none;
    line-height: 1.2;
}

.brand-core-badge {
    background: var(--color-dark);
    color: #fff;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    letter-spacing: 0.05em;
    border-bottom: 3px solid var(--color-primary);
}

.brand-accent {
    color: var(--color-primary);
}

.brand-subtitle-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

.nav-link-custom {
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    transition: all 0.2s ease;
}

.nav-link-custom:hover {
    color: var(--color-primary) !important;
}

.btn-contact-nav {
    background: var(--color-dark);
    color: #fff !important;
    border-radius: 50px;
    padding: 0.5rem 1.3rem !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact-nav:hover {
    background: var(--color-primary);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.35);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, rgba(21, 27, 34, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%),
                url('../img/hero_bg.jpg') center/cover no-repeat;
    color: #ffffff;
    min-height: 82vh;
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 126, 34, 0.15);
    border: 1px solid rgba(230, 126, 34, 0.4);
    color: #fca311;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.btn-primary-custom {
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35);
}
.btn-primary-custom:hover {
    background: var(--color-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.45);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Stats Bar */
.hero-stats-box {
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 24px;
    backdrop-filter: blur(8px);
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}
.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 6px;
    font-weight: 500;
}

/* Quote banner */
.quote-banner {
    background: linear-gradient(135deg, #1e252b 0%, #2b333a 100%);
    border-left: 5px solid var(--color-primary);
    padding: 28px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.quote-text {
    font-size: 1.15rem;
    color: #f1f5f9;
    font-style: italic;
    line-height: 1.7;
}

/* Badges & Section Titles */
.section-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}
.service-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
}
.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 14px;
}
.service-desc {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* About Section */
.about-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}
.cert-badge-box {
    background: #f8fafc;
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-sm);
    padding: 20px;
}

/* Gallery & Cards */
.gallery-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    background: #0f172a;
    transition: all 0.3s ease;
}
.gallery-card img {
    transition: transform 0.5s ease;
}
.gallery-card:hover img {
    transform: scale(1.06);
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Pricing Section */
.price-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all 0.25s ease;
    height: 100%;
}
.price-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}
.price-card-highlight {
    background: #ffffff;
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-soft);
}
.price-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

/* Contact Strip & Footer */
.footer-dark {
    background-color: #151b22;
    color: #cbd5e1;
}
.footer-card-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 30px;
}
.contact-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(230, 126, 34, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* CMS Edit Helpers */
.cms-editable[contenteditable="true"] {
    outline: 1px dashed rgba(230, 126, 34, 0.5) !important;
    background-color: rgba(230, 126, 34, 0.04);
    transition: all 0.2s;
    border-radius: 3px;
    padding: 1px 3px;
}
.cms-editable[contenteditable="true"]:focus {
    outline: 2px solid var(--color-primary) !important;
    background-color: #fff9db;
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.3);
}

.cms-admin-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    background: #1e252b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
