* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

header {
    background: #1d405f;
    position: relative;
    z-index: 100;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    border: 2px solid #fff;
    border-radius: 8px;
    display: block;
    transition: transform 0.25s ease;
    transform-origin: top left !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
    margin-left: 25px;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.menu a:hover {
    color: #cda349;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1d405f;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li {
    margin: 0;
}

.submenu a {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-bar {
        position: relative; 
        min-height: 70px; 
    }
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%; 
        transform: translateY(-50%); 
        z-index: 1001; 
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1d405f;
        padding: 20px 0;
        z-index: 1000;
        list-style: none;
    }

    .menu.active {
        display: flex; 
    }

    .menu li {
        margin: 15px 0;
    }

    .submenu {
        position: static;
        background: #16324a;
    }
}
#home {
    background: #817f7f;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.home-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.home-image img {
    width: 500px;
    height: auto;
    padding: 6px;
    background: #ffffff;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

p img {
    width: 300px;
    height: auto;
    margin: 10px;
}

p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.home-image:hover img {
    transform: scale(1.08);
}

.home-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.home-text p {
    font-size: 18px;
    line-height: 1.6;
}

#home h1 {
    font-size: 3rem;
    color: #817f7f;
    margin-bottom: 15px;
}

#home p {
    font-size: 1.2rem;
}

section {
    padding: 60px 20px;
    background: #fff;
    margin-bottom: 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #1e1e1e;
}

section p {
    max-width: 900px;
    margin: 0 auto 20px auto;
}

#products, #aluminum, #plastic {
    background: #f0f0f0;
    border-left: 4px solid #0056b3;
    padding-left: 20px;
}

#about, #realizace {
    text-align: center;
    border-left: 4px solid #0056b3;
    padding-left: 20px;
}

.kontakt {
    padding: 60px 20px;
    background: #817f7f;
    text-align: center;
}

.kontakt-inner {
    max-width: 900px;
    margin: 0 auto;
}

.kontakt-info,
.kontakt-form {
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .kontakt-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

    .kontakt-info,
    .kontakt-form {
        margin-bottom: 0;
    }
}

form {
    max-width: 600px;
    margin: 30px auto 0 auto;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
}

form textarea {
    height: 150px;
    resize: vertical;
}

form button {
    background: #cda349;
    color: #000;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background: #b18c3e;
}

.gdpr-check {
    display: block;
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.5;
}

.gdpr-check a {
    color: #003a8f;
    text-decoration: underline;
}

footer {
    background: #1d405f;
    color: #aaa;
    text-align: center;
    padding: 20px;
}

.gdpr-page {
    padding: 80px 20px;
}

.gdpr-page .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;   /* všechno na střed */
}

.gdpr-page h1,
.gdpr-page h2,
.gdpr-page p,
.gdpr-page ul,
.gdpr-page li {
    text-align: center;
}

.gdpr-page ul {
    list-style-position: inside; /* odrážky budou také na středu */
    padding: 0;
    margin: 20px 0;
}

.gdpr-page li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    #home h1 {
        color: #817f7f;
        font-size: 2.2rem;
    }
}

.logo img {
    height: 50px;
    border-radius: 8px;
    transition: transform 0.25s ease;
    display: block;
    transform-origin: top left !important;
}

.logo img:hover {
    transform: scale(1.1);
}

#intro-overlay {
    position: fixed;
    inset: 0;
    background: #1d405f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

#intro-logo {
    width: 50vw; 
    max-width: 450px;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 25px;
    transition: transform 1s ease-in-out;
    will-change: transform;
    position: fixed; 
    transform-origin: top left !important; 
}

#intro-logo.fading-out {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0056b3; 
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    background-color: #003d7a;
    transform: translateY(-5px); 
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.back-button {
    padding: 8px 15px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #003d7a;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #003d7a;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

.product-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.product-section h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.product-intro {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0056b3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #0056b3;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.gallery-section h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-section {
    background: #817f7f;
    color: white;
    padding: 50px 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #cda349;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: #b18c3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .home-inner {
        flex-direction: column;
        text-align: center;
    }

    .home-image img {
        width: 250px;
    }

    p img {
        width: 150px;
    }

    p {
        flex-direction: column;
    }

    .breadcrumb-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .product-section h1 {
        font-size: 28px;
    }

    .gallery-item {
        height: 200px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 30px 15px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .home-text h1 {
        font-size: 36px;
    }
}
.email-link {
    color: black;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}
.visually-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.provozni {
  margin: 0 auto;    
  border-collapse: collapse;
}

.provozni td {
  padding: 4px 15px 4px 0;
}
