:root {
    --bg-color: #121212;
    --bg-light: #1e1e1e;
    --accent-color: #FF6B00;
    --accent-hover: #e66000;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --font-family: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

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

/* Włączenie płynnego przewijania po kliknięciu w kotwice w menu */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset na wysokość nagłówka */
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.accent {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.15rem;
}

.btn-full {
    display: block;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    font-weight: 700;
}

/* --- NAGŁÓWEK --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    background: transparent;
}

/* Klasa dodawana przez JS podczas scrollowania */
header.sticky {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Przycisk menu mobilnego */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at top center, #262626 0%, var(--bg-color) 70%);
    position: relative;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 45px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.contact-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* --- JAK TO DZIAŁA --- */
.how-it-works {
    padding: 100px 0;
    background-color: var(--bg-color);
}

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

.step-card {
    background-color: var(--bg-light);
    padding: 50px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: rgba(255, 107, 0, 0.3);
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--accent-color);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- PORTFOLIO --- */
.portfolio {
    padding: 100px 0;
    background-color: #161616;
}

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

.portfolio-item {
    background-color: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.3);
}

.portfolio-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.portfolio-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-overlay span {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    transform: translateY(20px);
    transition: var(--transition);
    text-align: center;
    padding: 0 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay span {
    transform: translateY(0);
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 45px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* --- CENNIK --- */
.pricing {
    padding: 120px 0;
    background-color: var(--bg-color);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--bg-light) 0%, #161616 100%);
    border-radius: 24px;
    padding: 50px 45px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 50px rgba(255, 107, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 60px rgba(255, 107, 0, 0.25);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--accent-color);
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 700;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: block;
    margin-top: 10px;
}

.features-list {
    list-style: none;
    margin-bottom: 45px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #e0e0e0;
}

.icon-check {
    color: var(--accent-color);
    font-weight: 800;
    font-style: normal;
    background: rgba(255, 107, 0, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- STOPKA --- */
.footer {
    background-color: #080808;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- SEKCJA KONTAKT --- */
.contact-section {
    padding: 100px 0;
    background-color: #161616;
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
}

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

.contact-email a {
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-phone a {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.2;
}

.contact-email a:hover,
.contact-phone a:hover {
    color: var(--accent-hover);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    margin-top: 15px;
    margin-bottom: 5px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

.contact-note {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom a,
.footer-brand a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover,
.footer-brand a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* --- RESPONSIVE DESIGN (MOBILE FIRST + DESKTOP TWEAKS) --- */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        backdrop-filter: blur(15px);
    }
    
    nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero h2 {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .pricing-card {
        padding: 40px 25px;
    }

    .price {
        font-size: 3rem;
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
}
