@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    margin: 0;
    animation: fadeIn 1s ease-in;
}

a {
    color: #ca1a33;
    text-decoration: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

p {
    text-align: left;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: clamp(1.6rem, 3vw, 2rem);
}

h1 {
    font-size: clamp(2.1rem, 8.4vw, 3.5rem);
    font-weight: 500;
    line-height: clamp(2.5rem, 10vw, 3.7rem);
}

h2 {
    font-size: clamp(1.68rem, 6.72vw, 2.8rem);
    font-weight: 700;
    line-height: clamp(2.0rem, 8.4vw, 3.3rem);
}

h3 {
    font-size: clamp(1.4rem, 5.6vw, 2.3rem);
    font-weight: 600;
    line-height: clamp(1.8rem, 7.2vw, 2.9rem);
}

h4 {
    font-size: clamp(1.2rem, 4.8vw, 2rem);
    font-weight: 600;
    line-height: clamp(1.6rem, 6.4vw, 2.6rem);
}

h5 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 2rem;
    margin-top: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #333;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 7%;
    background-color: #f9f9f9;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

header.shrink {
    padding: 10px 7%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background-color: #555;
    transition: 0.3s;
}

#nav-menu {
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 2000;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 300px;
    position: relative;
}

.close-menu {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.mobile-menu-content a:last-child {
    border-bottom: none;
}

.mobile-menu-content a:hover {
    color: #c7384c;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        display: none;
    }
}

.hero {
    position: relative;
    text-align: center;
    padding: 130px 20px 50px;
    color: white;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-app {
    position: relative;
    text-align: center;
    padding: 130px 20px 50px;
    color: white;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.new-container {
    background-color: #c7e1e2;
    padding: 50px 15%;
    max-width: 1500px;
    margin: 0 auto;
}

.new-container h2 {
    font-size: clamp(1.68rem, 6.72vw, 2.8rem);
    text-align: left;
}

.intro {
    text-align: center;
    padding: 70px 15% 70px;
    max-width: 1500px;
    margin: 0 auto;
}

.product {
    text-align: center;
}

.product img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.additional-image img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.applications {
    text-align: center;
    padding: 80px 15% 75px;
}

.aplikace {
    text-align: center;
    padding: 80px 5% 75px;
}

.applications p {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    color: #333;
    line-height: 2.5rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.aplikace {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.app-section {
    flex: 0 1 calc(33.333% - 20px);
    text-align: center;
    margin-bottom: 40px;
}

.app-section img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.app-section p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.app-section {
    transition: transform 0.5s ease;
}

.app-section:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .app-section {
        flex: 0 1 calc(50% - 10px);
    }
}

.neoscan-details {
    padding: 110px 15% 85px;
    max-width: 1500px;
    margin: 0 auto;
}

.newsletter-signup {
    background: linear-gradient(to right, #d9e14e, #7ccbb6);
    padding: 50px 15%;
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
}

.newsletter-signup .cta-link {
    color: #333;
    font-size: 2rem;
    font-weight: 300;
    text-decoration: none;
}

.logo-center {
    text-align: center;
    margin-bottom: 20px;
}

.logo-center img {
    width: clamp(10%, 60vw, 50%);
    height: auto;
    max-width: 400px;
}

.activities {
    padding: 80px 10% 85px;
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.activity-item {
    text-align: center;
}

.activity-item p {
    text-align: center;
}

@media (max-width: 768px) {
    .activity-grid {
        grid-template-columns: 1fr;
    }
}

footer {
    padding: 75px 20px 50px;
    text-align: center;
    background-color: #daecec;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(10px, 4vw, 20px);
}

.footer-nav a {
    font-weight: 600;
    font-size: clamp(1rem, 2.8vw, 1.6rem);
    color: black;
    text-decoration: none;
}

.footer-logo {
    margin: 40px 0;
}

.footer-logo img {
    width: clamp(300px, 42vw, 400px);
    height: auto;
}

.logo img {
    width: clamp(70%, 30vw, 100%);
    height: auto;
    transition: width 0.3s ease;
}

.footer-claim {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
}

.footer-claim img {
    width: 200px;
    height: auto;
    margin-right: 20px;
}

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

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

.button {
    background-color: #c7384c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 25px;
}

.button:contains("Více") {
    padding: 10px 40px;
}

.button:hover {
    background-color: #a52a3a;
}

.scroll-to-top {
    position: fixed;
    bottom: 64px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #001a33;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    color: #daecec;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    padding-top: 0px;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #003366;
    transform: translateY(-2px);
}

.bottom-container {
    background-color: #001a33;
    padding: 10px;
    text-align: center;
    color: white;
}

.bottom-container p {
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
}

h1.produkt {
    font-size: clamp(2.1rem, 8.4vw, 3.5rem);
    font-weight: 500;
    line-height: clamp(2.5rem, 10vw, 3.7rem);
}

h2.produkt {
    font-size: clamp(1.68rem, 6.72vw, 2.8rem);
    font-weight: 700;
    line-height: clamp(2.1rem, 8.4vw, 3rem);
}

h3.produkt {
    font-size: clamp(1.4rem, 5.6vw, 2.3rem);
    font-weight: 600;
    line-height: clamp(1.8rem, 7.2vw, 2.9rem);
}

h4.produkt {
    font-size: clamp(1.2rem, 4.8vw, 2rem);
    font-weight: 600;
    line-height: clamp(1.6rem, 6.4vw, 2.6rem);
}

p.produkt {
    text-align: left;
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: clamp(1.2rem, 3vw, 1.8rem);
}

ul.produkt {
    text-align: left;
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: clamp(1.2rem, 3vw, 1.8rem);
    padding-left: 20px;
}

li.produkt {
    margin-bottom: 10px;
}

table.produkt {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: clamp(1.2rem, 3vw, 1.8rem);
}

table.produkt td {
    padding: 10px 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: none;
    border-right: none;
    text-align: left;
}

table.produkt tr:first-child td {
    border-top: 1px solid #ddd;
}

table.produkt tr:last-child td {
    border-bottom: 1px solid #ddd;
}

table.produkt td:first-child {
    font-weight: 600;
    background-color: #f9f9f9;
}

.product-applications {
    margin: 30px 0;
}

.app-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.app-thumb {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.app-thumb:hover {
    transform: translateY(-5px);
}

.app-thumb img {
    width: 100%;
    max-width: 180px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.app-thumb p {
    margin: 10px 0 0 0;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

@media (min-width: 768px) {
    .app-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sec-vlastnosti,
.sec-aplikace,
.sec-specifikace,
.sec-rentgenovy-zdroj-a-detektor {
    text-align: center;
    padding: 70px 15% 70px;
    max-width: 1500px;
    margin: 0 auto;
}

.sec-aplikace {
    background-color: #daecec;
}

@media (max-width: 767px) {
    .app-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

#filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    background-color: #c7384c;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.filter-btn.active {
    background-color: #a52a3a;
    color: white;
}
