:root {
    --primary-color: #007bff;
    --text-color: #333333;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

header {
    background: #ffffff;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.header-logo {
    max-height: 60px;
    width: auto;
}

.header-title-box {
    text-align: center;
}

.header-title-box h1 {
    margin: 0;
    font-size: 2rem;
}

.header-title-box p {
    margin: 5px 0 0;
    color: #666;
}

nav.main-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

nav.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 20px;
    background: #e9ecef;
    font-weight: 500;
    transition: all 0.2s ease;
}

nav.main-nav a.active, nav.main-nav a:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    border: none;
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.gallery-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-card:hover {
    transform: translateY(-4px);
}

.thumb-wrapper {
    width: 100%;
    padding-top: 100%; /* Proporcje 1:1 */
    position: relative;
    background: #eee;
}

.thumb-wrapper img, .thumb-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    padding: 12px;
    font-size: 0.9rem;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img, .lightbox-content video {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 15px;
    font-size: 1.1rem;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    background: rgba(0,0,0,0.4);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Section Content Layouts */
.content-section {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 15px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.pricing-card img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 10px 0;
}

.process-step {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    align-items: center;
}

@media(max-width: 768px) {
    .process-step {
        flex-direction: column;
    }
}

.process-media {
    flex: 1;
    max-width: 400px;
    width: 100%;
}

.process-media img, .process-media video {
    width: 100%;
    border-radius: 8px;
}

.process-info {
    flex: 2;
}

footer {
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
}
