:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-green: #27ae60;
    --accent-orange: #f39c12;
    --accent-red: #e74c3c;
    --accent-blue: #3498db;
    --accent-purple: #9b59b6;
    --text-dark: #2c3e50;
    --text-dark: #222;
    --text-light: #7f8c8d;
    --text-light: #333;
    --vysivky-red: #ED1C24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    font-size: 17px;
    color: var(--text-dark);
    overflow-x: hidden;
}
a {
	color: var(--text-dark);
}

h5 {
	margin-bottom: 1.5rem;
}
.color-bar {
    height: 5px;
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-orange) 25%, var(--accent-red) 50%, var(--accent-blue) 75%, var(--accent-purple) 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

@media (min-width: 991px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1300px !important;
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--vysivky-red) !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .logo {
    max-width: 150px;
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    position: relative;
    width: 30px;
    height: 30px;
    z-index: 12000;
    margin-right: 26px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger {
    display: block;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile Menu Overlay */
.navbar-collapse {
/*      background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);*/
}

.logo {
transition: all 0.3s ease;
max-width: 200px;

    filter: drop-shadow(1px 1px 0 #fff) 
         drop-shadow(-1px 1px 0 #fff) 
         drop-shadow(1px -1px 0 #fff) 
         drop-shadow(-1px -1px 0 #fff);

}
@media (min-width: 992px) {
    .services .col-lg {
        flex: 1;
        max-width: 20%;
    }
}

/* Hero Section */
.hero {
    min-height: 70vh;
    background: url('../img/bg/02.jpg');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  /*  background: rgba(44, 62, 80, 0.1);*/
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-hero {
    background: var(--accent-orange);
    background: none;
    color: white;
    padding: 10px 35px !important;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    /* min-width: 259px; */
    font-size: 1.1rem !important;
    border: 3px solid var(--vysivky-red)
}
.btn-hero i{
    color: var(--vysivky-red);
    margin-right: 10px;
}

.btn-hero:hover i{
	color: white !important;
	}


.text-success {
	color: var(--vysivky-red) !important;
}
.btn-primary {
	border: 2px solid var(--vysivky-red);
	color: var(--text-dark);
	border-radius: 30px;
	padding: 10px 25px;
	background: white;
	font-weight: 600;
}
.btn-primary:hover {
	border: 2px solid var(--vysivky-red);
	background: var(--vysivky-red);
	    transform: translateY(-2px);
	    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.nav-link.btn-hero:hover {
    background: var(--vysivky-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.btn-hero.dark {
	margin-top: 20px;
	color: var(--text-dark);
}
.btn-hero.dark:hover {
	  background: var(--vysivky-red);
	color: white;
	 transform: translateY(-2px);
	    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
	
/* Services Section */
.services {
padding: 0 0 100px 0;
background: #f8f9fa;
margin-top: -100px;
scroll-margin-top: 150px;   
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vysivky-red);
    
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.section-title p {
font-size: 1.1rem;
    max-width: 1100px;
    color: var(--text-light);
    font-weight: 400;
    margin: 10px auto;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;

    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-header {
    padding: 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.service-card:hover .service-header::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.service-green { background: linear-gradient(135deg, var(--accent-green), #2ecc71); }
.service-orange { background: linear-gradient(135deg, var(--accent-orange), #f1c40f); }
.service-red { background: linear-gradient(135deg, var(--accent-red), #c0392b); }
.service-blue { background: linear-gradient(135deg, var(--accent-blue), #2980b9); }
.service-purple { background: linear-gradient(135deg, var(--accent-purple), #8e44ad); }

.service-header i {
 font-size: 4rem;
margin-bottom: 2rem;
display: block;
}

.service-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: white;
    height: 40px;
}

.service-body {
    padding: 1rem;
}

.service-body p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 15px;
    
}

.service-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #f8f9fa;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #f8f9fa;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-placeholder {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

.portfolio-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

/* Gallery Styles */
.gallery-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: #f8f9fa;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
}

/* Gallery placeholder pro případy kdy nejsou obrázky */
.gallery-placeholder-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #dee2e6;
}

.gallery-placeholder-content {
    text-align: center;
    color: var(--text-light);
}

.gallery-placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.gallery-placeholder-content span {
    font-size: 1.1rem;
    font-weight: 600;
}

#galleryModal {
	    background: rgba(120, 180, 200, 0.8);
}


/* Modal Gallery Styles */
#galleryModal .modal-dialog {
    max-width: 90vw;
    max-height: 90vh;
}

.gallery-modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 70px;
    height: 70px;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    color: white;
}

.gallery-prev {
    left: 2rem;
}

.gallery-next {
    right: 2rem;
}

.gallery-counter {
    font-size: 1.1rem;
    font-weight: 600;
}




     /* Styly pro filtrační tlačítka */
        .gallery-filters {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }

        .filter-btn {
            background: white;
            border: 2px solid #e0e0e0;
            padding: 12px 25px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 500;
            color: #333;
        }

        .filter-btn i {
            font-size: 1.2rem;
        }

        .filter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .filter-btn.active {
            border-color: var(--vysivky-red);
            background:  var(--vysivky-red);
            color: white;
        }

    /*    .filter-btn.filter-all.active {
            border-color: #2196F3;
            background: #2196F3;
        }

        .filter-btn.filter-vysviky.active {
            border-color: #4CAF50;
            background: #4CAF50;
        }

        .filter-btn.filter-nasivky.active {
            border-color: #FF9800;
            background: #FF9800;
        }

        .filter-btn.filter-textil.active {
            border-color: #f44336;
            background: #f44336;
        }

        .filter-btn.filter-potisky.active {
            border-color: #9C27B0;
            background: #9C27B0;
        } */

        /* Animace pro filtrovací efekt */
        .gallery-item {
            transition: all 0.4s ease;
        }

        .gallery-item.hidden-filter {
            display: none;
        }

        @media (max-width: 768px) {
            .filter-btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            
            .filter-btn span {
                display: none;
            }
            
            .gallery-filters {
                gap: 10px;
            }
        }



















/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text h3, h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vysivky-red);
    margin-bottom: 1.5rem;
}

.about-text p, .about-text h5{
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    overflow: hidden;
    min-height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.about-image img {

    border-radius: 15px;
}

.about-image i {
    font-size: 6rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
}

.contact .section-title h2 {
    color: white;
}

.contact .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--accent-orange);
    width: 30px;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent-orange);
}

/* Upravená patička */
.footer {
    background: white;
    color: var(--text-dark);
    padding: 3rem 0 1.5rem 0;
    border-top: 1px solid #dee2e6;
    position: relative;
}

.footer-content {
    text-align: center;
}

.footer-contact {
    margin-bottom: 2rem;
}

.footer-contact h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer-main-contacts {
display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact-item i {
    font-size: 1.3rem;
    color: var(--vysivky-red);
}

.footer-contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
}

.footer-contact-item a:hover {
    color: var(--vysivky-red);
    text-decoration: none;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-btn {
border: 3px solid var(--vysivky-red);
color: var(--text-dark) !important;
	color: white;
    padding: 12px 74px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 24px;
}
.footer-btn i {
	margin-right: 10px;
	    color: var(--vysivky-red);
}

.footer-btn:hover {
background: var(--vysivky-red);

    transform: translateY(-2px);
    color: white !important;
    text-decoration: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.footer-btn:hover i {
    color: white !important;
}

.footer-company-info {
    /* font-size: 0.9rem; */
    color: var(--text-light);
    /* line-height: 1.4; */
    margin-bottom: 1.5rem;
}

.footer-company-info strong {
    color: var(--text-dark);
}

.footer-copyright {
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .portfolio-grid {
        /*grid-template-columns: 1fr;*/
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
     height: unset;
         margin-bottom: 2rem;
    }
    
    .footer-main-contacts {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-nav {
        padding: 0.8rem;
        font-size: 1.2rem;
    }
    
    .gallery-prev {
        left: 1rem;
    }
    
    .gallery-next {
        right: 1rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sloupce na malých mobilech */
        gap: 1rem;
    }
    
    .gallery-nav {
        padding: 0.6rem;
        font-size: 1rem;
    }
    
    .gallery-prev {
        left: 0.5rem;
    }
    
    .gallery-next {
        right: 0.5rem;
    }
    
    .service-header {
    padding: 1rem;
    }
    .portfolio-item {
    min-height: unset;	
    }
    .portfolio-placeholder {

    padding: 1rem;
}
    .portfolio-placeholder h5 {

font-size: 18px;
}


.list-unstyled {

    font-size: 14px;
}
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        padding: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        font-size: 1.5rem;
        margin: 1rem 0;
        display: block;
    }
    .logo {
        max-width: 150px;
    }
    .hero {
min-height: 70vh;
background: url(../img/bg/02.jpg);
background-size: cover;
background-position: top center;
background-position: -108px 89px;
background-attachment: fixed;
display: flex;
align-items: center;
color: white;
text-align: center;
position: relative;
}
    
    .services {
        padding-top: 50px;
        margin-top: 0;
    }
}


.gallery-item.hidden {
    display: none;
}

.show-more-btn, .show-less-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.show-more-btn:hover, .show-less-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: white;
}



.catalog-link {
    text-decoration: none;
    display: block;
}

.catalog-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.catalog-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.catalog-card:hover img {
    transform: scale(1.05);
}

.catalog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.catalog-overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.catalog-overlay span {
    font-size: 1.1rem;
    font-weight: 600;
}

.catalog-card:hover .catalog-overlay {
    background: linear-gradient(to top, rgba(256, 80, 80, 0.9), transparent);
}