/* Podstawowe ustawienia i kolory (styl industrialny, techniczny) */
:root {
    --primary-color: #004d99; /* Ciemny, techniczny niebieski */
    --secondary-color: #f4f4f9;
    --text-color: #333333;
    --border-color: #dddddd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nagłówek */
.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.phone-link {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    margin-left: 10px;
    background: #003366;
    padding: 5px 15px;
    border-radius: 5px;
}

/* Strona główna - Katalog */
.intro {
    text-align: center;
    padding: 40px 0;
}

.catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--secondary-color);
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
}

.product-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Przyciski */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover { background-color: #003366; }

.btn-large {
    display: block;
    font-size: 1.2rem;
    padding: 15px;
    text-align: center;
    margin-bottom: 10px;
}

.btn-secondary {
    display: block;
    background-color: #555;
    color: white;
    padding: 10px;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
}

/* Strona Produktu */
.back-link {
    display: inline-block;
    margin: 20px 0;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.product-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Tabele z parametrami */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.specs-table th, .specs-table td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}

.specs-table th { background-color: var(--secondary-color); }

.tech-specs-list ul {
    list-style-type: square;
    margin-left: 20px;
}

.tech-specs-list li { margin-bottom: 10px; }

/* Panel boczny (Zadzwoń) */
.order-box {
    background: #e6f2ff;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    height: fit-content;
    text-align: center;
}

.order-box h3 { margin-bottom: 15px; }
.order-box p { margin-bottom: 20px; }
.mail-text { margin: 15px 0 5px 0; font-size: 0.9rem;}

/* Stopka */
.site-footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-contact a { color: #4da6ff; }

/* Responsywność dla telefonów (RWD) */
@media (max-width: 768px) {
    .header-content { flex-direction: column; text-align: center; gap: 15px; }
    .product-details { grid-template-columns: 1fr; }
    .specs-table, .specs-table tbody, .specs-table tr, .specs-table th, .specs-table td {
        display: block; width: 100%;
    }
    .specs-table tr { margin-bottom: 15px; }
    .specs-table th { background: var(--primary-color); color: white; }
    .specs-table td { text-align: right; position: relative; padding-left: 50%; }
    .specs-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
    }
}