/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: black;
}

/* Header Layout */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 1000;
}

/* Logo */
.logo img {
    margin-left: 1rem;
    height: 40px;
}

/* Navigation Menu */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.2s ease-in-out;
}

.main-nav a:hover {
    color: #0077cc;
}

.main-nav a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background-color: #0077cc;
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 0;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hamburger Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: #333;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.line {
    height: 1px; /* grubość kreski */
    background: linear-gradient(to right, transparent, #007bff, transparent);

    margin-top: 100px;
    margin-bottom: 100px;
}

.centered-content {
    text-align: center;
    max-width: 800px;
    margin: 20px auto 100px;
    padding: 0 20px; /* odstępy po bokach na małych ekranach */
}

.new-products {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.p-new {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.p-new:hover {
    text-align: center;
}

.center{
    margin-top: -60px;
    text-align: center;
}

.shop {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.shop:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* produkty */

.products-grid {
    margin-left: 100px;
    margin-right: 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.products-grid a{
    text-decoration: none;
}

.product-card {
    align-self: start;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.product-card img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
}

.product-card h3 {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

.product-description {
    display: none;
    margin-top: 0.5rem;
    color: #444;
}

.toggle-description {
    margin-top: 1rem;
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-description:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .products-grid {
        margin-left: 1rem;
        margin-right: 1rem;
        gap: 1.5rem;
    }

    .product-card {
        padding: 0.75rem;
    }

    .product-card h3 {
        font-size: 1rem;
    }

    .toggle-description {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 462px) {
    .products-grid {
        grid-template-columns: 1fr; /* Jedna kolumna — każda karta na całą szerokość */
    }

    .product-card {
        width: 100%;          /* Karta na całą szerokość kontenera */
        height: 100%;         /* Wyrównanie wysokości */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .product-card img {
        max-height: 140px;
        object-fit: cover;
    }
}



.sec-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5rem;
}

.contact-form {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.contact-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #00ffcc;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #ccc;
}

input, textarea {
    width: 100%;
    padding: 12px;
    background-color: #2b2b2b;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: border 0.3s;
}

input:focus, textarea:focus {
    border-color: #00ffcc;
    outline: none;
}

.form-btn {
    width: 100%;
    padding: 12px;
    background-color: #00ffcc;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-btn:hover {
    background-color: #00ccaa;
}

.message {
    margin-top: 15px;
    font-size: 14px;
}

.success {
    color: #00ffcc;
}

.error {
    color: #ff4444;
}

.footer {
    background-color: #111;
    color: #eee;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 1px solid #444;
    padding-top: 20px;
    gap: 40px;
}

.footer-left, .footer-right {
    flex: 1;
    min-width: 280px;
    margin: 0 10px;
    position: relative;
    padding: 10px 20px;
}

.footer-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 1px;
    height: 100%;
    background-color: #333;
}

.footer-left h2 {
    margin-bottom: 10px;
    color: #fff;
}

.footer-left p {
    margin: 6px 0;
    color: #ccc;
}

.footer-hours {
    margin-top: 10px;
    font-style: italic;
    color: #aaa;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin: 8px 0;
}

.footer-menu a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-social {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.8);
}

.footer-social img:hover {
    transform: scale(1.2);
    filter: brightness(1.1);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-left::after {
        display: none;
    }

    .footer-left, .footer-right {
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

.footer-copyright {
    background-color: #0d0d0d;
    color: #777;
    text-align: center;
    font-size: 14px;
    padding: 15px 10px;
    border-top: 1px solid #222;
}

/* MOBILE MENU — ukryj domyślnie i pokaż po kliknięciu */

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2b2b2b;
        padding: 1rem 2rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: block;
    }
}



