/* Reset a základné štýly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Hlavička */
header {
    background-color: #1a1a2e;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00d4ff;
    text-decoration: none;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
}

.search-bar form {
    display: flex;
}

.search-bar input {
    flex: 1;
    padding: 0.7rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-bar button {
    padding: 0.7rem 1.5rem;
    background-color: #00d4ff;
    color: #1a1a2e;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

.search-bar button:hover {
    background-color: #00b8e6;
}

.header-icons {
    display: flex;
    gap: 1.5rem;
}

.header-icons a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.header-icons a:hover {
    color: #00d4ff;
}

/* Navigácia */
nav {
    background-color: #16213e;
    padding: 0;
}

nav ul {
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: background-color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #00d4ff;
    color: #1a1a2e;
}

/* Hlavný obsah */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* Banner na homepage */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.hero-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-banner p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #00d4ff;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #00b8e6;
}

/* Kategórie */
.categories {
    margin: 2rem 0;
}

.categories h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #333;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card-content {
    padding: 1.5rem;
    text-align: center;
}

.category-card h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
}

/* Produkty */
.products {
    margin: 2rem 0;
}

.products h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.product-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
    flex: 1;
}

.product-price {
    font-size: 1.5rem;
    color: #00d4ff;
    font-weight: bold;
    margin-top: auto;
}

/* Detail produktu */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-image {
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-info h1 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.product-info .brand {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.product-info .price {
    font-size: 2.5rem;
    color: #00d4ff;
    font-weight: bold;
    margin: 1.5rem 0;
}

.product-info .description {
    margin: 2rem 0;
    line-height: 1.8;
    color: #555;
}

.product-info .description h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.add-to-cart {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #00d4ff;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: #00b8e6;
}

/* Breadcrumbs */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #00d4ff;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: #999;
}

/* Päta */
footer {
    background-color: #1a1a2e;
    color: white;
    margin-top: 3rem;
    padding: 2rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #333;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responzívny dizajn */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-bar {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .hero-banner h1 {
        font-size: 1.8rem;
    }
    
    .hero-banner p {
        font-size: 1rem;
    }
}

/* Filter sekcia pre kategóriu */
.category-page {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
}

.filters h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.filter-group input {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .category-page {
        grid-template-columns: 1fr;
    }
}
