/*===============================================
Základní styl - inspirováno moderním consulting stylem
===============================================*/

/* Základní proměnné a reset */
:root {
    --primary: #0e7930;
    --primary-light: #7fd1a6;
    --dark: #101210;
    --gray: #2d2a2a;
    --light-bg: #f8f9fa;
    --transition: 0.5s;
}
.fw-bold.text-white.mb-4 {
  font-size: 15px !important;
}
.navbar-brand.fw-bold img {
  height: 120px !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.footer-modern img {
  width: 160px !important;
  height: 160px !important;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Moderní navigace */
.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar-modern.sticky {
    background: #fff;
    box-shadow: 0 2px 5px -2px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff !important;
}

.sticky .navbar-brand {
    color: var(--dark) !important;
}

.nav-link-modern {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    font-size: 16px;
}

.sticky .nav-link-modern {
    color: var(--dark) !important;
}

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

.dropdown-menu {
    border: none;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.3);
    border-radius: 0;
    padding: 0;
}

.dropdown-item {
    padding: 12px 20px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary);
    color: #fff !important;
}

.ico-badge {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3);
}

.sticky .ico-badge {
    background: var(--primary) !important;
    color: #fff !important;
}

/* Hero sekce */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1533727937480-da3a97967e95?w=1200');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-title {
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.badge-hero {
    background: rgba(255,255,255,0.25);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
}

.glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Tlačítka */
.btn-modern {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    border: none;
}

.btn-modern-primary {
    background: var(--primary);
    color: #fff;
    border-left: 4px solid var(--primary-light);
    border-right: 4px solid var(--primary-light);
}

.btn-modern-primary:hover {
    color: var(--dark);
    background: var(--primary);
}

.btn-modern-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-light);
    z-index: -1;
    transition: var(--transition);
    transform: scale(0);
}

.btn-modern-primary:hover::before {
    width: 100%;
    transform: scale(1);
}

.btn-modern-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-modern-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Sekce nadpisy */
.section-title-modern {
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-left: 4px solid var(--primary-light);
    border-right: 4px solid var(--primary-light);
    border-radius: 2px;
}

/* Moderní karty */
.modern-card {
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: -1;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
    transition: var(--transition);
    opacity: 0;
}

.modern-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    z-index: -1;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    transition: var(--transition);
    opacity: 0;
}

.modern-card:hover::before,
.modern-card:hover::after {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.card-gradient {
    background: var(--primary);
    color: #fff;
}

.card-gradient::before,
.card-gradient::after {
    border-color: var(--primary-light);
}

.icon-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14,121,48,0.1);
    border-radius: 10px;
}

/* Aktuality karty */
.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.news-image {
    overflow: hidden;
}

.news-image img {
    width: 100%;
    transition: var(--transition);
    transform: scale(1.5);
}

.news-card:hover .news-image img {
    transform: scale(1);
}

.news-content {
    padding: 25px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.news-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
    transform: scale(0);
}

.news-card:hover .news-content::before {
    transform: scale(1);
}

.news-card:hover .news-content h4,
.news-card:hover .news-content p,
.news-card:hover .news-content a {
    color: #fff !important;
}

.news-card:hover .badge {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

/* Swiper úpravy */
.news-swiper {
    padding: 20px 0 60px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

/* Mapa */
.map-modern {
    background: #fff;
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Statistiky */
.stat-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
    transform: scale(0);
}

.stat-item:hover::before {
    transform: scale(1);
}

.stat-item:hover .stat-number,
.stat-item:hover .text-secondary {
    color: #fff !important;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    
}

/* Timeline */
.timeline-item {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(14,121,48,0.2);
}

.timeline-year {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Partner slider */
.partner-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.partner-slide img {
    max-width: 100%;
    filter: none;
    opacity: 1;
    transition: var(--transition);
}

.partner-slide img:hover {
    filter: none;
    opacity: 0.85;
    transform: scale(1.05);
}

/* Footer */
.footer-modern {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
    margin-top: 80px;
}

.footer-modern::before {
    /*! content: ''; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*! background: url('../images/footer.jpg'); */
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.footer-modern a {
    color: rgba(255,255,255,0.7);
}

.footer-modern a:hover {
    color: var(--primary-light);
}

/* Ostatní */
.bg-light {
    background-color: #f8f9fa !important;
}

.text-primary {
    color: var(--primary) !important;
}

hr {
    opacity: 0.2;
}

/* Responsivita */
@media (max-width: 991px) {
    .navbar-modern {
        background: #fff;
    }
    .navbar-modern .navbar-brand {
        color: var(--dark) !important;
    }
    .nav-link-modern {
        color: var(--dark) !important;
    }
    .ico-badge {
        background: var(--primary) !important;
        color: #fff !important;
        margin-top: 10px;
    }
    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .section-title-modern {
        font-size: 28px;
    }
    .hero-title {
        font-size: 36px;
    }
}
