/* Reset a základné štýly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #006699;
    /* Nová modrá farba pozadia */
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px 10px;
}

/* Boxed Container */
.container {
    max-width: 1017px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    /* Zaoblenie 5px */
    overflow: hidden;
}

/* Image gallery styling */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.image-gallery .section-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Adjust container width to required 977px */
.container {
    max-width: 977px;
    padding: 20px;
}

/* Header */
header {
    background: #fff;
    color: #006699;
    /* Nová modrá farba */
    padding: 20px 30px;
    border-bottom: none;
    /* Odstránená linka pod menu */
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo-area a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #006699;
    /* Nová modrá farba */
}

.logo-area img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-area h1 {
    font-size: 28px;
    margin: 0;
    text-shadow: none;
}

/* Navigácia */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #006699;
    /* Nová modrá farba */
    text-decoration: none;
    padding: 10px 18px;
    background: #f5f5f5;
    border-radius: 5px;
    /* Zaoblenie 5px */
    display: block;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e0e0e0;
}

nav ul li a:hover,
nav ul li a.active {
    background: #006699;
    /* Nová modrá farba */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 153, 0.3);
    border-color: #006699;
}

/* Hlavný obsah */
main {
    padding: 40px 20px;
}

/* Grid pre produktové karty */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

/* Produktová karta */
.product-card {
    background: #fff;
    border-radius: 5px;
    /* Zaoblenie 5px */
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: #006699;
}

.product-card h2 {
    background: #006699;
    /* Nová modrá farba */
    color: white;
    font-size: 18px;
    margin: 0;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.product-card h3 {
    background: #005580;
    /* Tmavší odtieň #006699 */
    color: white;
    font-size: 16px;
    margin: 0;
    padding: 10px 15px;
    text-align: center;
    font-weight: 500;
}

.product-card-content {
    padding: 25px 30px;
    /* Zväčšené vnútorné odsadenie z bokov */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-card p {
    color: #555;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
}

.product-card ul {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-card ul li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    color: #333;
    font-size: 13px;
}

.product-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 16px;
}

/* Tlačidlá */
.btn {
    display: block;
    padding: 10px 5px;
    background: linear-gradient(135deg, #FFC107 0%, #FFB300 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 700;
    text-align: center;
    font-size: 10px;
    /* Zmenšené na 10px */
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
}

.btn:hover {
    background: linear-gradient(135deg, #FFB300 0%, #FFA000 100%);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
    transform: translateY(-2px);
}

/* Informačná sekcia */
.info-section {
    background: #f9f9f9;
    border-radius: 5px;
    /* Zaoblenie 5px */
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid #006699;
    /* Nová modrá farba */
}

.info-section h2 {
    color: #006699;
    /* Nová modrá farba */
    font-size: 24px;
    margin-bottom: 20px;
}

.info-section h3 {
    color: #006699;
    /* Nová modrá farba */
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.info-section p {
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.7;
}

.info-section ul {
    list-style: none;
    margin: 15px 0;
}

.info-section ul li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: #333;
    font-size: 15px;
}

.info-section ul li:before {
    content: "➤";
    position: absolute;
    left: 0;
    color: #006699;
    font-weight: bold;
    font-size: 14px;
}

/* Detail stránka produktu */
.product-detail {
    max-width: 800px;
    margin: 0 auto;
}

.product-detail .hero {
    background: #006699;
    /* Nová modrá farba */
    color: white;
    padding: 40px 30px;
    border-radius: 5px;
    /* Zaoblenie 5px */
    margin-bottom: 30px;
    text-align: center;
}

.product-detail .hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.product-detail .hero h2 {
    font-size: 24px;
    color: #FFF59D;
    margin-bottom: 20px;
}

.product-detail .hero p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-detail .features {
    background: white;
    padding: 30px;
    border-radius: 5px;
    /* Zaoblenie 5px */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.product-detail .features h3 {
    color: #006699;
    /* Nová modrá farba */
    font-size: 22px;
    margin-bottom: 20px;
}

.product-detail .features ul {
    list-style: none;
}

.product-detail .features ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #333;
    font-size: 16px;
    border-bottom: 1px solid #f5f5f5;
}

.product-detail .features ul li:last-child {
    border-bottom: none;
}

.product-detail .features ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 18px;
}

.product-detail .cta {
    text-align: center;
    padding: 20px;
}

/* Footer */
footer {
    background: #006699;
    /* Modré pozadie */
    color: white;
    /* Biely text */
    padding: 30px;
    text-align: center;
    border-top: none;
}

footer p {
    margin: 5px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    /* Jemne transparentná biela */
}

footer a {
    color: #FFC107;
    /* Zlato-žltá pre odkazy */
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
    color: #FFB300;
}

/* Responzívnosť */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 stĺpce na tabletoch */
    }

    .container {
        width: 95%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .container {
        width: 100%;
        border-radius: 0;
    }

    header {
        padding: 15px 20px;
    }

    .logo-area img {
        width: 40px;
        height: 40px;
    }

    .logo-area h1 {
        font-size: 20px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        font-size: 13px;
        padding: 8px 15px;
    }

    main {
        padding: 20px 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        /* 1 stĺpec na mobile */
        gap: 20px;
    }

    .product-detail .hero {
        padding: 30px 20px;
    }

    .product-detail .hero h1 {
        font-size: 26px;
    }
}