/* ================= MODERN IDENTITY ================= */
:root {
    --primary: #0E2A47;       /* Tmavá modrá - Autorita */
    --primary-gradient: linear-gradient(135deg, #0E2A47 0%, #1a4a7c 100%);
    --accent: #C5A065;        /* Zlatá - Prestiž */
    --text-dark: #1a1a1a;
    --text-gray: #5a6c7f;
    --bg-soft: #f4f7fa;       /* Moderní velmi světlá modro-šedá */
    --white: #ffffff;
    
    /* Fonty */
    --font-heading: 'Playfair Display', serif; 
    --font-body: 'Manrope', sans-serif; /* Moderní, čitelný font */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-soft);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--primary);
}

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

/* ================= NAVIGACE ================= */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}
.navbar-brand span { color: var(--accent); }
.nav-link { 
    font-weight: 700; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--primary) !important; 
}
.nav-link:hover { color: var(--accent) !important; }

/* ================= HERO SEKCE ================= */
.hero-wrapper {
    background: var(--white);
    border-radius: 0 0 50px 50px; /* Moderní zaoblení dole */
    padding: 160px 0 100px 0;
    box-shadow: 0 20px 40px rgba(14, 42, 71, 0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-badge {
    background: rgba(197, 160, 101, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

/* ================= KARTY A BOXY ================= */
.feature-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 42, 71, 0.08);
    border-color: rgba(197, 160, 101, 0.3);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: var(--bg-soft);
    color: var(--primary);
}

/* Legacy podpora pro icon-box-soft z původních souborů */
.icon-box-soft {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; font-size: 1.5rem;
}
/* Přepsání barevných boxů na čistý styl */
.bg-primary-subtle, .bg-warning-subtle, .bg-success-subtle, .bg-info-subtle, .bg-danger-subtle {
    background-color: var(--bg-soft) !important;
    color: var(--primary) !important;
}

/* ================= LOGA PARTNERŮ (OPRAVA) ================= */
.partner-logo, .partner-grid img, .feature-card img.partner-logo {
    max-height: 60px;       /* Zvětšeno, aby byla loga čitelná */
    width: auto;
    max-width: 100%;
    object-fit: contain;    /* Zabrání ořezu */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto 15px auto;
}

/* Efekt při najetí na kartu */
.feature-card:hover .partner-logo,
.partner-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Grid pro loga v patičce nebo sekci */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

/* ================= FOTKY TÝMU ================= */
.team-photo {
    width: 120px; height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ================= CENÍK ================= */
.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.pricing-header {
    padding: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-body {
    padding: 40px;
}

.pricing-card.popular {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(14, 42, 71, 0.2);
    border: none;
    z-index: 10;
}

.pricing-card.popular h3, 
.pricing-card.popular p, 
.pricing-card.popular span,
.pricing-card.popular i,
.pricing-card.popular small {
    color: var(--white) !important;
}

/* ================= TLAČÍTKA ================= */
.btn-primary-custom, .btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(14, 42, 71, 0.2);
    display: inline-block;
    text-decoration: none;
}

.btn-primary-custom:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(14, 42, 71, 0.3);
    background: #1a4a7c;
    color: var(--white);
}

.btn-outline-custom, .btn-outline-dark, .btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 13px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-custom:hover, .btn-outline-dark:hover, .btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Menší varianty tlačítek – aby btn-sm opravdu zmenšoval i custom tlačítka */
.btn-primary-custom.btn-sm, .btn-primary.btn-sm {
    padding: 8px 18px;
    font-size: .9rem;
}
.btn-outline-custom.btn-sm, .btn-outline-dark.btn-sm, .btn-outline-primary.btn-sm {
    padding: 7px 18px;
    font-size: .9rem;
}


/* ================= UTILITY ================= */
.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.check-list i {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.2rem;
}
.text-magenta { color: #E20074 !important; }

/* ================= PATIČKA ================= */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 40px;
    margin-top: 80px;
}
footer h5, footer h6 { color: var(--white); }
footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
footer a:hover { color: var(--white); }