/* =========================================
   KRYSTAL BRUK - style.css
   ========================================= */

:root {
    --yellow: #FFD60A;
    --yellow-dark: #F5C400;
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --gray: #6c757d;
    --light: #f8f9fa;
}

/* ============ BASE ============ */
body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section {
    padding: 90px 0;
}

.section-tag {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255, 214, 10, 0.15);
    color: var(--yellow);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title.light {
    color: #fff;
}

.section-sub {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-sub.light {
    color: rgba(255, 255, 255, 0.7);
}

.section-dark {
    background: var(--black);
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.section-subtitle.light {
    color: #fff;
}

.section-divider {
    max-width: 80px;
    margin: 0 auto 1.5rem;
    border: 0;
    border-top: 3px solid var(--yellow);
    opacity: 1;
}

/* ============ BUTTONS ============ */
.btn-yellow {
    background: var(--yellow);
    color: var(--black);
    border: 2px solid var(--yellow);
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 28px;
    transition: all 0.3s ease;
}

.btn-yellow:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 214, 10, 0.4);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    border-width: 2px;
}

.btn-dark {
    background: var(--black);
    border-color: var(--black);
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
}

.btn-outline-dark {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    border-width: 2px;
}

/* ============ NAVBAR ============ */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.brand-text {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--black);
}

#navbar .nav-link {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: color 0.3s;
}

#navbar .nav-link:hover {
    color: var(--yellow-dark);
}

/* ============ FLOATING BUTTONS ============ */
.float-btn {
    position: fixed;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.3s;
    animation: floatIn 0.5s ease;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-call {
    bottom: 95px;
    background: var(--yellow);
    color: var(--black);
}

.float-fb {
    bottom: 20px;
    background: #1877f2;
    font-weight: bold;
    color: white;
}

@keyframes floatIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============ HERO ============ */
.hero {
    position: relative;
    background: var(--black);
    color: white;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 20% 50%, rgba(255, 214, 10, 0.15), transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 214, 10, 0.1), transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 214, 10, 0.15);
    color: var(--yellow);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Anton', sans-serif;
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title .accent {
    color: var(--yellow);
}

.hero-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-logo {
    max-width: 380px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(255, 214, 10, 0.2));
}

/* ============ STATY ============ */
.stats-section {
    background: var(--black);
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============ SERVICE CARDS ============ */
.service-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--yellow);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    border-color: var(--yellow);
    background: linear-gradient(135deg, #fffbea, #ffffff);
}

.badge-pop {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--black);
    color: var(--yellow);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-list li {
    padding: 6px 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '✓';
    color: var(--yellow-dark);
    font-weight: 700;
    margin-right: 8px;
}

/* ============ SLIDER PRZED/PO ============ */
.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    cursor: grab;
    user-select: none;
}

.image-container:active {
    cursor: grabbing;
}

.image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: width 0.2s ease-out;
}

.overlay img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
}

.divider {
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: white;
    transition: left 0.2s ease-out;
    pointer-events: none;
}

.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--yellow);
    pointer-events: none;
}

.circle::after {
    content: '⇄';
    font-size: 16px;
    display: block;
    text-align: center;
    line-height: 39px;
    color: var(--black);
    font-weight: 700;
}

.label {
    position: absolute;
    top: 20px;
    padding: 6px 14px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 3;
}

.label.left { left: 20px; }
.label.right { right: 20px; }

/* ============ VIDEO (pionowy format) ============ */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    background: #000;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============ PROCES (STEPS) ============ */
.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-num {
    width: 70px;
    height: 70px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(255, 214, 10, 0.3);
}

.step-card h5 {
    margin-bottom: 8px;
}

.step-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============ CENNIK - TABELA ============ */
.pricing-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #fff;
    gap: 1rem;
    transition: background 0.2s ease;
}

.pricing-row-alt {
    background: #f5f5f5;
}

.pricing-row:not(.pricing-header):not(.pricing-featured):hover {
    background: #fafafa;
}

.pricing-header {
    padding: 1rem 2rem;
    background: transparent;
    color: #888;
    font-size: 0.9rem;
}

.pricing-header .pricing-range {
    text-align: left;
}

.pricing-service h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: #222;
}

.pricing-note {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #888;
}

.pricing-price {
    font-weight: 600;
    font-size: 1rem;
    color: #222;
}

.pricing-featured {
    background: #111;
    color: #fff;
    position: relative;
}

.pricing-featured .pricing-service h5,
.pricing-featured .pricing-price {
    color: #fff;
}

.pricing-featured .pricing-note {
    color: #bbb;
}

.pricing-badge {
    display: inline-block;
    background: transparent;
    color: var(--yellow);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* ============ OPINIE ============ */
.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-top: 16px;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.rating-text {
    font-weight: 700;
}

.review-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    height: 100%;
    transition: 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stars {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.review-author {
    font-weight: 700;
    font-size: 14px;
    margin-top: 16px;
}

/* ============ FAQ ============ */
.faq-accordion {
    max-width: 800px;
}

.faq-accordion .accordion-item {
    border: none;
    background: white;
    margin-bottom: 12px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    padding: 20px 24px;
    background: white;
    box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--yellow);
    color: var(--black);
}

.faq-accordion .accordion-button:focus {
    border-color: transparent;
}

.faq-accordion .accordion-body {
    padding: 0 24px 24px;
    color: var(--gray);
    line-height: 1.7;
}

/* ============ CTA ============ */
.cta {
    background: var(--yellow);
    color: var(--black);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ FORM ============ */
.contact-form {
    max-width: 700px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.2);
    border-color: var(--yellow);
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.contact-form .form-check-label a {
    color: var(--black);
    text-decoration: underline;
}

/* ============ OBSZAR ============ */
.section-area {
    background: var(--black);
    color: white;
    padding: 60px 0;
}

.section-area h3 {
    color: white;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.area-list span {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 214, 10, 0.2);
}

/* ============ FOOTER ============ */
footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.8;
}

.footer-link:hover {
    color: var(--yellow-dark);
}

.footer-link-small {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-link-small:hover {
    color: var(--yellow);
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-area {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .image-container {
        height: 280px;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 24px;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    .float-btn {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    /* Cennik - karty na mobile */
    .pricing-header {
        display: none;
    }

    .pricing-row {
        grid-template-columns: 1fr;
        padding: 1.25rem 1.5rem;
        gap: 0.75rem;
    }

    .pricing-service {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .pricing-featured .pricing-service {
        border-bottom-color: rgba(255, 255, 255, 0.15);
    }

    .pricing-price {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .pricing-price::before {
        content: attr(data-label);
        font-weight: 400;
        color: #888;
        font-size: 0.9rem;
    }

    .pricing-featured .pricing-price::before {
        color: #bbb;
    }

    /* Video - mniejsze na mobile */
    .video-wrapper {
        max-width: 260px;
    }
}
