/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #052b63;
    --primary-blue-light: #0b448f;
    --accent-blue: #14a4e3;
    --accent-blue-medium: #0769bc;
    --accent-orange: #fa8912;
    --accent-red: #f1461a;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #666666;
    --gray-dark: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: visible;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: "Science Gothic", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    overflow: visible;
}

.nav-menu a {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    overflow: visible;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    list-style: none;
    width: 500px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 0;
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 3rem;
    bottom: 0.75rem;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
    display: block;
}

/* "Všechny produkty" - řádek 1, přes oba sloupce */
.dropdown-menu > li:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
}

/* Divider po "Všechny produkty" - řádek 2, přes oba sloupce */
.dropdown-menu > li:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
}

/* "Produkty" section title - řádek 3, sloupec 1 */
.dropdown-menu > li:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

/* Produkty - řádky 4-6, sloupec 1 */
.dropdown-menu > li:nth-child(4) {
    grid-column: 1;
    grid-row: 4;
}

.dropdown-menu > li:nth-child(5) {
    grid-column: 1;
    grid-row: 5;
}

.dropdown-menu > li:nth-child(6) {
    grid-column: 1;
    grid-row: 6;
}

/* Divider před rozšířeními - řádek 7, přes oba sloupce */
.dropdown-menu > li:nth-child(7) {
    grid-column: 1 / -1;
    grid-row: 7;
}

/* "Rozšíření" section title - řádek 3, sloupec 2 (stejný řádek jako "Produkty") */
.dropdown-menu > li:nth-child(8) {
    grid-column: 2;
    grid-row: 3;
}

/* Rozšíření - řádky 4-10, sloupec 2 (začínají na stejném řádku jako produkty) */
.dropdown-menu > li:nth-child(9) {
    grid-column: 2;
    grid-row: 4;
}

.dropdown-menu > li:nth-child(10) {
    grid-column: 2;
    grid-row: 5;
}

.dropdown-menu > li:nth-child(11) {
    grid-column: 2;
    grid-row: 6;
}

.dropdown-menu > li:nth-child(12) {
    grid-column: 2;
    grid-row: 7;
}

.dropdown-menu > li:nth-child(13) {
    grid-column: 2;
    grid-row: 8;
}

.dropdown-menu > li:nth-child(14) {
    grid-column: 2;
    grid-row: 9;
}

.dropdown-menu > li:nth-child(15) {
    grid-column: 2;
    grid-row: 10;
}

/* Divider před rozšířeními - přeskočíme ho, protože rozšíření začínají na řádku 3 */
.dropdown-menu > li:nth-child(7) {
    display: none;
}

/* Všechny dividery přes celou šířku */
.dropdown-menu > li.dropdown-divider-item {
    grid-column: 1 / -1 !important;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    position: relative;
    line-height: 1.4;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: var(--gray-light);
    color: var(--primary-blue);
    padding-left: 1.5rem;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.2s ease;
}

.dropdown-menu a:hover::before {
    width: 5px;
}

.dropdown-divider-item {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.25rem 0;
    padding: 0;
    list-style: none;
    grid-column: 1 / -1;
}

.dropdown-section-title {
    padding: 0.35rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
    margin-bottom: 0.15rem;
}

.dropdown-section-title {
    display: block;
}

.dropdown-section-title:first-of-type {
    margin-top: 0;
}

.dropdown-section-title:last-of-type {
    margin-top: 0;
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-nav:hover {
    background: var(--primary-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 43, 99, 0.3);
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12rem 2rem 3rem;
    background: var(--white);
    position: relative;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero-title {
    font-family: "Science Gothic", sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.5s ease-out 0.1s forwards;
}

.hero-divider {
    width: 500px;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, var(--primary-blue) 15%, var(--primary-blue) 85%, transparent 100%);
    margin: 0.5rem auto 1rem auto;
    max-width: 90%;
    opacity: 0;
    transform: scaleX(0);
    animation: fadeInScale 0.5s ease-out 0.3s forwards;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    font-style: italic;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpSubtitle 0.5s ease-out 0.4s forwards;
}

@keyframes fadeInUpSubtitle {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.85;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out 0.5s forwards;
}

.hero-cta {
    margin: 2rem 0 1rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out 0.6s forwards;
}

.btn-shop {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(5, 43, 99, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    background: var(--primary-blue-light);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(5, 43, 99, 0.5);
    color: var(--white);
}



/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(5, 43, 99, 0.3);
}

.btn-primary:hover {
    background: var(--primary-blue-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(5, 43, 99, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-product {
    width: 100%;
    margin-top: 1.5rem;
}

/* Sections */
.section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    font-family: "Science Gothic", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

/* News Section */
.news-section {
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 0 2rem;
}

.section-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.section-link:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card.news-latest {
    border: 2px solid var(--accent-orange);
    box-shadow: 0 4px 20px rgba(250, 137, 18, 0.15);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-blue);
}

.news-card.news-latest:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 10px 40px rgba(250, 137, 18, 0.25);
}

.news-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
}

.news-date {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.news-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--gray-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.news-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.news-link:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

/* About Preview Section */
.about-preview-section {
    background: var(--white);
}

.about-preview {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.about-preview-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lead {
    font-size: 1.3rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 500;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(5, 43, 99, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

/* Products Section */
.products-section {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    padding: 0 2rem;
}

.products-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.products-cta {
    text-align: center;
    margin-top: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(5, 43, 99, 0.2);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-visual {
    width: 80%;
    height: 80%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.product-visual-1 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.product-visual-2 {
    background: linear-gradient(135deg, rgba(250, 137, 18, 0.3) 0%, rgba(241, 70, 26, 0.2) 100%);
}

.product-visual-3 {
    background: linear-gradient(135deg, rgba(20, 164, 227, 0.3) 0%, rgba(5, 43, 99, 0.2) 100%);
}

.product-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-description {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex: 1;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--gray-dark);
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background: var(--white);
    padding: 2rem 0 !important;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info p {
    font-size: 1rem;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--gray-medium);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(20, 164, 227, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .logo-img {
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    letter-spacing: 2px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        grid-template-columns: 1fr;
        min-width: auto;
    }
    
    .dropdown-menu > li {
        grid-column: 1 !important;
    }
    
    .dropdown-menu::after {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .hero {
        padding: 8rem 1rem 3rem;
    }

    .section {
        padding: 6rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }


    .btn {
        width: 100%;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1.5rem;
    }

    .btn-nav {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.product-card,
.feature-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Page Header */
.page-header {
    padding: 10rem 2rem 4rem;
    background: var(--white);
    text-align: center;
    margin-top: 80px;
}

.page-title {
    font-family: "Science Gothic", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.5s ease-out 0.1s forwards;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out 0.3s forwards;
}

/* Product Section Anchor */
.product-section-anchor {
    position: absolute;
    top: -100px;
}

/* Featured Product */
.product-card.featured {
    border: 2px solid var(--accent-orange);
    position: relative;
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.product-card.small {
    min-height: auto;
    transform: scale(0.85);
    opacity: 0.9;
}

.product-card.small:hover {
    transform: scale(0.87) translateY(-2px);
    opacity: 1;
}

.product-card.small .product-content {
    padding: 1rem 1.2rem;
}

.product-card.small .product-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-card.small .product-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.product-card.small .product-price {
    font-size: 1rem;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card.compact {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card.compact:hover {
    transform: translateY(-3px);
}

.product-image.compact {
    height: 200px;
}

.product-content.compact {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content.compact .product-description {
    margin-bottom: 1rem;
    flex: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .btn {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-content .btn:hover {
    background: var(--accent-orange);
    color: var(--white);
}

/* Rozšíření Section */
.rozsireni-section {
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    padding-bottom: 1.5rem;
}

.rozsireni-section .container {
    max-width: 1000px;
}

.rozsireni-section .section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
}

.subsection-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-medium);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    text-align: center;
}

.subsection-title:first-of-type {
    margin-top: 0;
}

.rozsireni-section .products-grid {
    gap: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.rozsireni-section .products-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.rozsireni-grid {
    max-width: 900px;
    margin: 0 auto;
}

/* Additional Products */
.additional-products {
    margin-top: 8rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* Product Detail Page */
.product-detail-section {
    background: var(--white);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.product-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.product-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
}

.product-detail-description {
    font-size: 1.1rem;
    color: var(--gray-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-detail-content h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.product-detail-content p {
    font-size: 1.05rem;
    color: var(--gray-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.product-specs li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--gray-dark);
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs strong {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.related-products-section {
    background: var(--gray-light);
}

.btn-back-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: var(--gray-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.btn-back-icon:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateX(-3px);
}

/* Values Section */
.values-section {
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    padding: 0 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-item p {
    color: var(--gray-medium);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* News Article */
.news-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-article {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-article:last-child {
    margin-bottom: 0;
}

.news-article .news-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.news-content {
    margin-top: 1.5rem;
}

.news-content p {
    color: var(--gray-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.news-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news-content li {
    color: var(--gray-medium);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.news-content .btn {
    margin-top: 1.5rem;
}

