/* Import czcionki Montserrat z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    background-color: #000000;
    color: white;
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Header */
header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    margin: 10px auto;
    width: 100%;
    max-width: 1200px;
    height: 40px;
    
    background: #4c4e5a;
    background: -webkit-linear-gradient(top, #4c4e5a 0%, #2c2d33 100%);
    background: -moz-linear-gradient(top, #4c4e5a 0%, #2c2d33 100%);
    background: -o-linear-gradient(top, #4c4e5a 0%, #2c2d33 100%);
    background: -ms-linear-gradient(top, #4c4e5a 0%, #2c2d33 100%);
    background: linear-gradient(to bottom, #222 0%, #111 100%);
    
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

/* Logo */
.logo-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
    margin-right: 20px;
}

.logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

/* Navigation Menu */
nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    height: 40px;
    background: transparent;
}

nav ul li {
    position: relative;
    list-style: none;
    float: left;
    display: block;
    height: 40px;
}

/* Menu Links */
nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    margin: 6px 0;
    height: 28px;
    text-decoration: none;
    gap: 6px;
    
    border-left: 1px solid #393942;
    border-right: 1px solid #4f5058;
    
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 13px;
    
    color: #f3f3f3;
    text-shadow: 1px 1px 1px rgba(0,0,0,.6);
    
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

/* Material Icons w menu */
nav ul li a .material-symbols-outlined {
    font-size: 16px;
    line-height: 1;
    vertical-align: middle;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Tekst menu */
nav ul li a .menu-text {
    line-height: 1;
    vertical-align: middle;
}

nav ul li:first-child a { 
    border-left: none; 
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
}

nav ul li:last-child a { 
    border-right: none; 
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
}

/* Hover effects */
nav ul li:hover > a { 
    color: #8fde62; 
}

/* Active state */
nav ul li a.active { 
    color: #ffcc00;
}

/* Sub Menu */
nav ul ul {
    position: absolute;
    top: 40px;
    left: 0;
    opacity: 0;
    visibility: hidden;
    
    background: #1f2024;
    min-width: 150px;
    
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    
    -webkit-transition: opacity .25s ease .1s, visibility .25s ease .1s;
    -moz-transition: opacity .25s ease .1s, visibility .25s ease .1s;
    -o-transition: opacity .25s ease .1s, visibility .25s ease .1s;
    -ms-transition: opacity .25s ease .1s, visibility .25s ease .1s;
    transition: opacity .25s ease .1s, visibility .25s ease .1s;
    
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

nav ul li:hover > ul { 
    opacity: 1; 
    visibility: visible;
}

nav ul ul li {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding: 0;
    
    -webkit-transition: height .25s ease .1s;
    -moz-transition: height .25s ease .1s;
    -o-transition: height .25s ease .1s;
    -ms-transition: height .25s ease .1s;
    transition: height .25s ease .1s;
}

nav ul li:hover > ul li {
    height: 36px;
    overflow: visible;
    padding: 0;
}

nav ul ul li a {
    width: 100%;
    padding: 8px 15px;
    margin: 0;
    border: none;
    border-bottom: 1px solid #353539;
    border-radius: 0;
    
    -webkit-transition: background-color .2s ease;
    -moz-transition: background-color .2s ease;
    -o-transition: background-color .2s ease;
    -ms-transition: background-color .2s ease;
    transition: background-color .2s ease;
}

nav ul ul li:last-child a { 
    border-bottom: none; 
    border-radius: 0 0 5px 5px;
}

nav ul ul li a:hover {
    background-color: #2a2b2f;
}

/* Language Switch */
.lang-switch {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
}

.lang-switch a:hover {
    color: #ffcc00;
}

.lang-switch img {
    width: 24px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
    vertical-align: middle;
}

.lang-switch img:hover {
    transform: scale(1.1);
}

/* Main Content */
main {
    padding: 20px;
    min-height: 400px;
}

/* Footer */
footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    font-weight: 500;
    border-top: 1px solid #333;
    margin-top: 20px;
}

footer p {
    margin: 0;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: yellow;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        gap: 10px;
        padding: 15px 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        height: auto;
    }
    
    nav ul li {
        height: auto;
        margin: 2px;
    }
    
    nav ul li a {
        padding: 8px 12px;
        font-size: 12px;
        margin: 2px 0;
        border-radius: 3px;
        border: none;
        background: rgba(255,255,255,0.1);
    }
    
    nav ul li a .menu-text {
        display: none;
    }
    
    nav ul li a .material-icons {
        font-size: 20px;
    }
    
    nav ul li a {
        min-width: 44px;
        justify-content: center;
        gap: 0;
    }
    
    .container {
        width: 95%;
    }
}

@media (max-width: 480px) {
    nav ul li {
        position: relative;
    }
    
    nav ul li a:hover::after {
        content: attr(title);
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,0.8);
        color: white;
        padding: 4px 8px;
        border-radius: 3px;
        font-size: 10px;
        white-space: nowrap;
        z-index: 1000;
    }
}

/* HOME PAGE STYLES */

/* Główny tytuł */
.main-title {
    text-align: center;
    color: #ffffff;
    font-size: 2em;
    margin: 0px 0;
    font-weight: 600;
}

/* Zdjęcie */
.main-image {
    text-align: center;
    margin: 30px 0;
}

.main-image img {
    border-radius: 15px;
    width: 100%;
    height: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Kontener dla 3 boxów */
.three-boxes-container {
    display: flex;
    justify-content: space-between; /* zamiast center */
    gap: 20px; /* zmniejsz gap */
    margin: 50px 0;
    flex-wrap: wrap;
}

/* Wspólne style dla wszystkich boxów */
.content-box {
    background: linear-gradient(135deg, #1e2a3c 0%, #2c2d33 50%, #4c4e5a 100%);
    border-radius: 15px;
    padding: 30px 25px;
    flex: 1;
    max-width: 350px;
    min-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Kolorowe akcenty na górze */
.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 15px 15px 0 0;
}

.description-box::before {
    background: linear-gradient(90deg, #ffcc00, #8fde62, #60a5fa);
}

.c330-box::before {
    background: linear-gradient(90deg, #ffcc00, #ff9500);
}

.c330wifi-box::before {
    background: linear-gradient(90deg, #8fde62, #4ade80);
}

/* Nagłówki produktów - wspólne dla wszystkich boxów */
.product-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 12px;
    justify-content: center;
}

.product-icon {
    font-size: 32px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 32;
}

.product-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Kolory ikon dla różnych boxów */
.description-box .product-icon {
    color: #60a5fa;
}

.c330-box .product-icon {
    color: #ffcc00;
}

.c330wifi-box .product-icon {
    color: #8fde62;
}

/* Treść produktu - wspólne dla opisu i list */
.product-content {
    font-size: 16px;
    line-height: 1.7;
    color: #e5e5e5;
    font-weight: 400;
    text-align: justify;
}

.product-content p {
    margin: 0;
}

/* Lista cech */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px; /* zmień z 12px na 8px, 6px lub 4px */
    font-size: 15px;
    line-height: 1.5;
    gap: 10px;
}

.features-list li::before {
    content: '✓';
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.c330-box .features-list li::before {
    color: #ffcc00;
}

.c330wifi-box .features-list li::before {
    color: #8fde62;
}

.features-list li span {
    color: #e5e5e5;
    font-weight: 400;
}

/* Responsywność */
@media (max-width: 1024px) {
    .three-boxes-container {
        gap: 20px;
    }
    
    .content-box {
        max-width: 320px;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .three-boxes-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .content-box {
        max-width: 100%;
        min-width: auto;
        width: 100%;
    }
    
    .main-title {
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    .content-box {
        padding: 25px 20px;
    }
    
    .product-icon {
        font-size: 28px;
    }
    
    .product-title {
        font-size: 1.2em;
    }
    
    .product-content,
    .features-list li {
        font-size: 14px;
    }
    
    .product-header {
        flex-direction: column;
        gap: 8px;
    }
}

/* Tytuł dla listy funkcji */
.features-title {
    color: #ffcc00;
    font-size: 1.4em;
    font-weight: 600;
    margin: 10px 0 10px 0;
}