* { margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI',
    sans-serif; }
body { overflow-x: hidden;
    scroll-behavior: smooth; }
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto; }

/* NAVBAR */
header {
    position: fixed; width: 100%; top: 0;
    background: white;
    z-index: 1000;
    transition: 0.4s ease-in-out; }
header.shrink {
    padding: 5px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: 0.4s; }

/* LOGO */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-img-float {
    animation: floatImg 4s ease-in-out infinite;
    margin-right: 15px;
}
.logo-link img {
    height: 60px;
    transition: 0.4s;
}
header.shrink .logo-link img {
    height: 35px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    transition: 0.4s ease-in-out;
}
header.shrink .logo-text-wrapper {
    flex-direction: row;
    gap: 8px; transform: translateY(0);
}

.logo-text-1, .logo-text-2 {
    color: #007aff;
    font-weight: bold;
    font-size: 1.6rem; 
    transition: 0.4s ease-in-out;
    white-space: nowrap;
    display: inline-block;
}

.logo-text-1 {
    animation: float1 3s ease-in-out infinite;
}
.logo-text-2 {
    animation: float2 3.5s ease-in-out infinite;
}

header.shrink .logo-text-1, header.shrink .logo-text-2 {
    font-size: 1.1rem;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(-2deg); }
}

@keyframes floatImg { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* MENU */
nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}
nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
    white-space: nowrap;
}
.animated-link span {
    display: inline-block;
}
.animated-link:hover span {
    animation: shake 0.5s ease-in-out infinite;
    color: #096cd6;
}

@keyframes shake {
    0%, 100% { transform: translate(0,0) rotate(0); }
    25% { transform: translate(-1.5px, -1px) rotate(-3deg); }
    75% { transform: translate(1.5px, 1px) rotate(3deg); }
}

.animated-link span:nth-child(1) { animation-delay: 0.01s; }
.animated-link span:nth-child(2) { animation-delay: 0.08s; }
.animated-link span:nth-child(3) { animation-delay: 0.15s; }
.animated-link span:nth-child(4) { animation-delay: 0.22s; }
.animated-link span:nth-child(5) { animation-delay: 0.29s; }
.animated-link span:nth-child(6) { animation-delay: 0.36s; }
.animated-link span:nth-child(7) { animation-delay: 0.43s; }

/* TABELA I LASER
.cennik-table { 
    width: 100%; max-width: 700px; margin: 40px auto; 
    border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.cennik-table th {
    background: #007aff;
    color: white;
    padding: 15px 20px; }
.th-left {
    text-align: left;
}
.th-right {
    text-align: right;
}

.cennik-row { border-bottom: 1px solid #eee; position: relative; }
.cennik-table td { padding: 20px; position: relative; }
.service { text-align: left; cursor: pointer; font-weight: 500; font-size: 1.1rem; }
.price { text-align: right; font-weight: bold; font-size: 1.2rem; min-width: 100px; }

.laser-beam {
    position: absolute; height: 3px; background: #ff0000; box-shadow: 0 0 15px #ff0000;
    z-index: 5; top: 50%; transform: translateY(-50%); width: 0; pointer-events: none;
    transition: width 0.2s ease-in;
}

.price span { display: inline-block; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.price-hit span { color: #ff0000 !important; transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0.6; } */

/* RESPONSYWNOŚĆ - MOBILNE */
@media (max-width: 768px) {
    .logo-link img { height: 42px; } 
    .logo-text-1, .logo-text-2 { font-size: 1.1rem; }
    header.shrink .logo-link img { height: 25px; }
    header.shrink .logo-text-1, header.shrink .logo-text-2 { font-size: 0.8rem; }
    .logo-img-float { margin-right: 8px; }

    .nav { padding: 10px 0; }
    nav a {
        margin-left: 10px; font-size: 0.9rem; }
    .container { width: 95%; }
}

/* SEKCJE */
.hero{
    padding: 180px 0 100px;
    text-align: center;
    background: #f0f7ff; }

    /* Styl wyszukiwarki */
.search-container {
    margin: 20px auto 40px;
    max-width: 500px;
}
#ofertaSearch {
    width: 100%;
    padding: 15px 25px;
    border: 2px solid #007aff;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.1);
}
#ofertaSearch:focus {
    box-shadow: 0 5px 20px rgba(0, 122, 255, 0.3);
    transform: scale(1.02);
}
/* Ukrywanie kafelków, które nie pasują */
.card.hidden {
    display: none;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px; padding: 20px 0;
}

/* Kafelki */
.card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: help;
    position: relative; /* Potrzebne dla plakietki ceny */
    overflow: hidden;
}

/* Plakietka ceny w kafelku */
.card::after {
    content: attr(data-price);
    position: absolute;
    right: 2px;
    bottom: 2px;
    background: #3700ffa2;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease-in-out;
}

.card:hover::after, .card:active::after {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    background-color: #00ff6a1a;
    transform: translateY(-5px);
    border-color: #7f39ee;
    box-shadow: 0 10px 20px rgba(0, 100, 255, 0.08);
}

.card .icon { font-size: 28px; }
.card strong { display: block;
    font-size: 15px;
    margin-bottom: 3px;
    color: #222; }
.card p { margin: 0;
    font-size: 12px;
    color: #888;
    line-height: 1.4; }

/* Styl Akordeonu */
.accordion-header {
    width: 100%;
    background: #fdfdfd;
    border: 1px solid #eeeeee;
    color: #38065a;
    padding: 15px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 15px;
    transition: 0.3s;
}
.accordion-header:hover {
    background: #127ae2;
    color: white;
}

/* Akordeon na telefonie */
@media (max-width: 768px) {
    .accordion-content {
        display: none;
    }
    .accordion-content.active {
        display: grid;
    }
    .accordion-header::after {
        content: ' +'; float: right;
    }
    .accordion-header.active::after {
        content: ' -';
    }
}

/* Akordeon na komputerze */
@media (min-width: 769px) {
    .accordion-content {
        display: grid !important;
    }
    .accordion-header {
        cursor: default;
        background: none;
        border: none;
        padding-left: 0;
        font-size: 22px;
    }
    .accordion-header:hover {
        background: none;
        color: #38065a;
    }
}

.section {
    padding: 80px 0;
    text-align: center;
}
.map-container { margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; text-align: left;
}
.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.contact-info a {
    color: #007aff;
    text-decoration: none;
}

form { display: flex;
    flex-direction: column;
    gap: 15px;
}
input, textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}
textarea {
    min-height: 120px;
}
button {
    padding: 15px;
    background: #5d06ff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
}
button:hover {
    background: #03cc90;
}

/* Stopka */
footer {
    background: #ffffff;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    letter-spacing: -0.5px;
}

.blue-text {
    color: #007aff;
}

.copyright {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.footer-links {
    font-size: 0.8rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    footer {
        padding: 30px 0;
    }
    .footer-logo {
        font-size: 1.2rem;
    }
}