/* Česká diaľničná známka - Custom Styles */

/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Root variables */
:root {
    --primary-color: #5397B5;
    --secondary-color: #284E6D;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --light-gray: #f8f9fa;
    --warning-color: #ffc107;
}

/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.bg-warning h5{
    color: #fff;
}
.card-header > h5{
    color: #fff ;
}
 
 
p {
    margin-bottom: 1rem;
    font-size: 16px;
}

strong {
    font-weight: 600;
}

/* Icons in headings */
h1 i, h2 i, h3 i, h4 i, h5 i, h6 i {
    font-size: 1em !important;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Top bar */
.top-bar {
    border-bottom: 1px solid #dee2e6;
}

.logo {
    max-width: 300px;
    max-height: 120px;
    width: auto;
    height: auto;
}

/* Contact info icons in header */
.contact-info i {
    font-size: 1em;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: 500;
    align-items: center;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    padding: 0.75rem 0.75rem;
    font-size: 20px;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.9) !important;
    white-space: nowrap;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    height: 100%;
    line-height: 1;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    color: var(--warning-color) !important;
}

.navbar-nav .nav-link.active {
    background-color: rgba(255,255,255,0.2);
    border-radius: 4px;
    color: var(--warning-color) !important;
}

.navbar-nav .nav-link i {
    font-size: 1em;
    color: white;
    flex-shrink: 0;
}

.navbar-nav .nav-link span {
    line-height: 1;
    flex-shrink: 0;
}

/* Center the navbar content */
.navbar-collapse.justify-content-center {
    flex-grow: 0;
}

/* CTA Button positioning */
.navbar .d-flex {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive menu text visibility */
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 0.5rem;
        font-size: 18px;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 1rem 1rem;
        text-align: left;
        font-size: 20px;
    }
    
    .navbar-nav .nav-link span {
        display: inline !important;
    }
    
    .navbar .d-flex {
        position: static;
        transform: none;
        margin-top: 1rem;
    }
    
    .navbar-collapse.justify-content-center {
        flex-grow: 1;
    }
}

/* Dropdown menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-item i {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    line-height: 1;
    text-align: center;
    min-height: 44px;
}

.btn i {
    font-size: 1em !important;
    vertical-align: baseline;
    line-height: 1;
    display: inline-block;
}

.btn span {
    vertical-align: baseline;
    line-height: 1;
    display: inline-block;
    position: relative;
    top: 0.1em;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: var(--secondary-color);
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: var(--secondary-color);
}

/* CTA Button icon size */
.btn i {
    font-size: 1em;
}

/* Navbar CTA button specific styles */
.navbar .btn-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    white-space: nowrap;
    padding: 0.5rem 1rem;
}

.navbar .btn-warning i {
    font-size: 0.9em !important;
    margin-right: 0.5rem !important;
    vertical-align: baseline;
    line-height: inherit;
}

.navbar .btn-warning span {
    line-height: inherit;
}

/* Pulsing button animation */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Hero section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 78, 109, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Parallax section */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(83, 151, 181, 0.8);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.parallax-content h2 {
    color: white !important;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: var(--light-gray);
}

.section-dark {
    background-color: var(--secondary-color);
    color: white;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.card-header {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
}

/* Icons */
.fa, .fas, .far, .fab {
    font-size: 1em;
    color: var(--primary-color);
}

.icon-large {
    font-size: 4em;
}

.icon-medium {
    font-size: 3em;
}

.icon-small {
    font-size: 2em;
}

/* Tables */
.table {
    font-size: 16px;
}

.table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
}

.table td {
    border-color: #dee2e6;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(83, 151, 181, 0.05);
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    color: var(--secondary-color);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(83, 151, 181, 0.25);
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-color);
}

/* Footer */
.footer {
    margin-top: auto;
}

.footer h5 {
    color: var(--warning-color) !important;
    font-weight: 600;
}

.footer a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--warning-color);
}

/* Footer icons */
.footer i {
    font-size: 1em;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .fa, .fas, .far, .fab {
        font-size: 2.5em;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

/* Price tables */
.price-card {
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.price-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.price-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Calculator styles */
.calculator {
    background-color: var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.calculator input,
.calculator select {
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 16px;
}

.calculator input:focus,
.calculator select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(83, 151, 181, 0.25);
}

/* Timeline styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 1rem;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item::before {
        left: 1rem;
    }
}
.fas.fa-arrow-up {
  color: #fff !important;
}