/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.feature-image img {
	aspect-ratio: 3/4;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* Top Navigation */
.top-nav {
    background: #000;
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.nav-brands {
    display: flex;
    animation: scroll-brands 30s linear infinite;
}

.brand-text {
    font-size: 14px;
    font-weight: 400;
    margin-right: 60px;
    color: #fff;
}

@keyframes scroll-brands {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('fotky/Blansko\ po\ reko\ -\ profi/DSC07483.jpg') center center/cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
}

/* Hero overlay for better text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Floating Background Words */
.floating-words-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.floating-row {
    display: flex;
    white-space: nowrap;
    margin-bottom: 80px;
    animation: float-left 30s linear infinite;
    will-change: transform;
}

.floating-row:nth-child(even) {
    animation: float-right 35s linear infinite;
    animation-delay: -17.5s;
}

.floating-row:nth-child(3n) {
    animation-delay: -10s;
}

.floating-word {
    font-size: 140px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.1);
    margin-right: 100px;
    letter-spacing: -3px;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

@keyframes float-left {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(150%); }
}

@keyframes float-right {
    0% { transform: translateX(150%); }
    100% { transform: translateX(-50%); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 0;
}

.hero-title {
    font-size: 96px;
    font-weight: 900;
    color: #ffffff;
    line-height: 0.95;
    margin: 0;
    letter-spacing: -4px;
    font-family: 'Inter', sans-serif;
    text-rendering: optimizeLegibility;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Full Width Image */
.hero-fullwidth-image {
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-fullwidth-img {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-fullwidth-image:hover .hero-fullwidth-img {
    transform: scale(1.02);
}

/* Legacy hero image styles (keeping for potential reuse) */
.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image:hover .hero-img {
    transform: scale(1.02);
}

/* Main Content Section */
.main-content {
    padding: 120px 0 100px;
    background: #ffffff;
}

.content-subtitle {
    font-size: 35px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -1px;
    font-family: 'Inter', sans-serif;
}

.content-description {
    font-size: 20px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Responsive breakpoints for Owl Carousel */
@media (max-width: 768px) {

    
    .feature-image {
        height: 500px;
    }

    .feature-title {
        font-size: 1rem;
    }

    .owl-nav button {
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 576px) {



    .feature-title {
        font-size: 0.95rem;
        height: 45px;
    }

    .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
        margin: 0 5px !important;
    }
}
.stats-section {
    padding: 100px 0 120px;
    background: #ffffff;
}

.stat-block {
    text-align: left;
    margin-bottom: 80px;
    padding: 0 20px;
}

.stat-number {
    font-size: 96px;
    font-weight: 900;
    color: #000000;
    line-height: 0.9;
    margin: 0 0 30px 0;
    letter-spacing: -3px;
    font-family: 'Inter', sans-serif;
}

.stat-text {
    font-size: 18px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
    max-width: 350px;
    font-weight: 400;
}

/* Features Section with Owl Carousel */
.features-section {
    padding: 100px 0 0;
    background: #ffffff;
    overflow: hidden;
}

.features-owl {
    padding: 20px 0;
}

.feature-card {
    text-align: center;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}


.feature-image {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 10px;
    flex: 1;
    display: flex;
    align-items: center;
    height: 580px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: flex;

}

/* Owl Carousel Custom Styling */
.owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.owl-nav button {
    background: #007bff !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 10px !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
}

.owl-nav button:hover {
    background: #0056b3 !important;
    transform: scale(1.1) !important;
}

.owl-nav button.disabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
}

/* Mobile carousel styling for partial visibility */
@media (max-width: 576px) {
    .features-section {
        padding: 80px 0 100px;
    }

    .features-owl {
        padding: 20px 0;
    }

    .owl-stage-outer {
        overflow: visible;
    }
}

.feature-card {
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
}



.feature-image {
    overflow: hidden;
    border-radius: 10px;
}

.feature-image img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}



/* Feature item legacy support (kept for backwards compatibility) */
.feature-item {
    margin-bottom: 50px;
    padding: 0 20px;
}

.feature-item h4 {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
}

/* Data Analysis Section */
.data-section {
    padding: 120px 0 0;
    background: #ffffff;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #000000;
    line-height: 1.15;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: -1.5px;
    font-family: 'Inter', sans-serif;
}

.section-description {
    font-size: 17px;
    color: #555555;
    line-height: 1.65;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tags-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tag {
    background: #f5f5f5;
    color: #333333;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    letter-spacing: -0.2px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #eeeeee;
    transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio-section {
    position: relative;
    padding: 50px 0 140px;
    background: #ffffff;
    overflow: visible; /* Změněno z hidden na visible pro sticky positioning */
}

.portfolio-sticky-label {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: inline-block;
}

.portfolio-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.portfolio-bg-row {
    display: flex;
    white-space: nowrap;
    animation: float-portfolio 35s linear infinite;
    will-change: transform;
}

.portfolio-bg-word {
    font-size: 100px;
    font-weight: 100;
    color: #f5f5f5;
    margin-right: 150px;
    letter-spacing: -5px;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

@keyframes float-portfolio {
    0% { transform: translateX(-30%); }
    100% { transform: translateX(130%); }
}

.portfolio-content {
    position: relative;
    z-index: 10;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 30px;
}

.portfolio-label {
    font-size: 16px;
    font-weight: 700;
    color: #999999;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.portfolio-title {
    font-size: 48px;
    font-weight: 800;
    color: #000000;
    text-align: center;
    margin: 30px 0 40px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    font-family: 'Inter', sans-serif;
}

.portfolio-link-section {
    text-align: center;
    margin: 40px 0 60px;
}

.all-projects-link {
    font-size: 18px;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
    padding: 12px 30px;
    border: 2px solid #007bff;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: -0.2px;
}

.all-projects-link:hover {
    background: #007bff;
    color: #ffffff;
    transform: translateY(-2px);
}

.projects-label {
    font-size: 18px;
    font-weight: 600;
    color: #666666;
    margin: 0 0 50px 0;
    letter-spacing: -0.3px;
}



.project-title {
    margin: 0;
}

.project-title-link {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    line-height: 1.3;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.project-title-link:hover {
    color: #555555;
}

/* Contact Section */
.contact-section {
    padding: 100px 0 80px;
    background: #ffffff;
}

.contact-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 50px;
    letter-spacing: -1px;
    font-family: 'Inter', sans-serif;
}

.contact-info {
    text-align: center;
}

.company-name {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.company-address,
.company-id,
.company-email {
    font-size: 18px;
    color: #666666;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.5;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: #000000;
    color: #ffffff;
}

.footer-text {
    font-size: 16px;
    color: #888888;
    margin: 0 0 15px 0;
    font-weight: 400;
}

.footer-link {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .floating-word {
        font-size: 120px;
        margin-right: 80px;
    }

    .portfolio-bg-word {
        font-size: 180px;
        margin-right: 120px;
    }

    .hero-title {
        font-size: 84px;
    }

    .stat-number {
        font-size: 84px;
    }



    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    .carousel-control-prev {
        left: -25px;
    }

    .carousel-control-next {
        right: -25px;
    }
}

@media (max-width: 1200px) {
    .floating-word {
        font-size: 100px;
        margin-right: 60px;
        letter-spacing: -2px;
    }

    .portfolio-bg-word {
        font-size: 160px;
        margin-right: 100px;
        letter-spacing: -4px;
    }

    .hero-title {
        font-size: 72px;
        letter-spacing: -3px;
    }

    .hero-content {
        margin-bottom: 0;
    }

    .hero-section {
        background-position: center center;
        background-size: cover;
    }

    .hero-img {
        height: 450px;
    }

    .content-subtitle {
        font-size: 36px;
    }

    .section-title,
    .portfolio-title {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .stat-number {
        font-size: 72px;
        letter-spacing: -2px;
    }



    .feature-title {
        font-size: 28px;
    }

    .feature-content {
        padding: 30px 20px;
    }
}

@media (max-width: 992px) {
    .floating-word {
        font-size: 80px;
        margin-right: 50px;
    }

    .portfolio-bg-word {
        font-size: 140px;
        margin-right: 80px;
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-content {
        margin-bottom: 0;
    }

    .hero-section {
        background-position: center center;
        background-size: cover;
        min-height: 80vh;
    }

    .content-subtitle {
        font-size: 32px;
    }

    .section-title,
    .portfolio-title {
        font-size: 38px;
    }

    .stat-number {
        font-size: 64px;
    }

    .main-content,
    .stats-section,
    .features-section {
        padding: 80px 0;
    }

    .data-section {
        padding: 100px 0 120px;
    }

    .portfolio-section {
        padding: 50px;
    }





    .feature-title {
        font-size: 26px;
    }

    .feature-content {
        padding: 30px 15px;
        margin-top: 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 768px) {
    .floating-word {
        font-size: 60px;
        margin-right: 40px;
    }

    .portfolio-bg-word {
        font-size: 120px;
        margin-right: 60px;
    }

    .hero-title {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .hero-section {
        padding: 100px 0 60px;
        background-position: center center;
        background-size: cover;
        min-height: 70vh;
    }

    .hero-section::before {
        background: rgba(0, 0, 0, 0.5);
    }

    .content-subtitle {
        font-size: 28px;
    }

    .section-title,
    .portfolio-title {
        font-size: 34px;
    }

    .stat-number {
        font-size: 56px;
    }

    .main-content,
    .stats-section,
    .features-section {
        padding: 60px 0;
    }

    .data-section {
        padding: 80px 0 100px;
    }

    .portfolio-section {
        padding: 100px 0 80px;
    }

    .feature-item h4 {
        font-size: 22px;
    }

    .project-title-link {
        font-size: 24px;
    }



    .section-description {
        font-size: 18px;
    }

    .stat-text {
        font-size: 16px;
    }



    .feature-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .feature-description {
        font-size: 16px;
    }

    .feature-content {
        padding: 20px 15px;
    }

    .carousel-indicators {
        bottom: -50px;
    }

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

@media (max-width: 576px) {
    .floating-word {
        font-size: 45px;
        margin-right: 30px;
    }

    .portfolio-bg-word {
        font-size: 100px;
        margin-right: 50px;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-section {
        padding: 80px 0 40px;
        min-height: 60vh;
    }

    .hero-section::before {
        background: rgba(0, 0, 0, 0.6);
    }

    .content-subtitle {
        font-size: 24px;
    }

    .section-title,
    .portfolio-title {
        font-size: 30px;
    }

    .stat-number {
        font-size: 48px;
    }

    .main-content,
    .stats-section,
    .features-section {
        padding: 50px 0;
    }

    .data-section {
        padding: 60px 0 80px;
    }

    .portfolio-section {
        padding: 80px 0 60px;
    }

    .feature-item h4 {
        font-size: 20px;
    }

    .project-title-link {
        font-size: 22px;
    }


    .section-description {
        font-size: 16px;
    }

    .content-description {
        font-size: 18px;
    }

    .stat-text {
        font-size: 15px;
    }

    .contact-title {
        font-size: 28px;
    }

    .company-name {
        font-size: 20px;
    }

    .company-address,
    .company-id,
    .company-email {
        font-size: 16px;
    }

    .tag {
        padding: 10px 20px;
        font-size: 14px;
    }

    .tags-container {
        gap: 15px;
    }



    .feature-title {
        font-size: 22px;
    }

    .feature-description {
        font-size: 15px;
    }

    .feature-content {
        padding: 15px 10px;
    }
}

/* Ultra small screens */
@media (max-width: 400px) {
    .hero-title {
        font-size: 36px;
    }

    .content-subtitle {
        font-size: 22px;
    }

    .section-title,
    .portfolio-title {
        font-size: 26px;
    }

    .stat-number {
        font-size: 40px;
    }

    .floating-word {
        font-size: 35px;
        margin-right: 25px;
    }

    .portfolio-bg-word {
        font-size: 80px;
        margin-right: 40px;
    }



    .feature-title {
        font-size: 20px;
    }

    .feature-description {
        font-size: 14px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .floating-words-bg,
    .portfolio-bg {
        display: none;
    }
}
