/*
Theme Name: Jagiello Art 2026 v13
Theme URI: https://jagiello.art
Author: Daniel
Description: Motyw portfolio dla Dr hab. Katarzyny Anny Jagiełło - projektantki wystaw i ekspozycji. Kompletny motyw z wbudowanym panelem edycji, sortowaniem projektów i pełną obsługą bez wtyczek.
Version: 1.0.0
License: Private
Text Domain: jagiello-kj
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #fff;
    color: #1a1a1a;
    line-height: 1.6;
    font-weight: 300;
}

/* Remove underlines from all section links except explicit buttons */
a {
    text-decoration: none !important;
}

a:hover,
a:visited,
a:active,
a:focus {
    text-decoration: none !important;
}

/* Side Menu */
.side-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    height: 100vh;
    background: #e8e8e8;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    overflow-y: auto;
}

.logo-container {
    padding: 0 30px 30px;
    margin-bottom: 20px;
}

.logo-container img {
    width: 95%;
    height: 95%;
    display: block;
}

.name-title {
    padding: 0 30px 20px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
}

.name-title h1 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.3;
}

.name-title .subtitle {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    font-weight: 300;
    line-height: 1.4;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-menu li {
    padding: 18px 30px;
    transition: background 0.3s ease;
}

.nav-menu li:hover {
    background: #d5d5d5;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 18px;
}

/* Main Content */
.main-content {
    margin-left: 240px;
    min-height: 100vh;
    padding-left: 0;
}

/* Hero Section Wrapper */
.hero-section {
    width: 100%;
    padding: 0 !important;
    margin: 0;
}

/* Hero Text Section */
.hero-text-section {
    width: 100%;
    padding: 100px 0 60px;
    text-align: center;
    background: #000;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #fff;
}

.hero-content .tagline {
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 25px;
    font-weight: 400;
}

.hero-content .description {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 35px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.btn-primary {
    background: #fff;
    color: #1a1a1a;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Hero Slider - Larger */
.hero-slider-section {
    width: 100%;
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.arrow {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 22px;
    backdrop-filter: blur(5px);
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: #fff;
}

/* Micro-copy Section */
.micro-copy {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.micro-copy p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Styles */
section {
    padding: 100px 80px;
}

section:not(.hero-section):not(.hero-text-section):not(.hero-slider-section) {
    padding-left: 80px;
    padding-right: 80px;
}

.section-title {
    font-size: 36px;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    font-weight: 200;
}

/* O Mnie Section */
#omnie {
    background: #fff;
    padding: 100px 80px;
}

.omnie-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.omnie-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.omnie-image {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.btn-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Projects Section */
#projekty {
    background: #f5f5f5;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.project-card,
.project-card:hover,
.project-card:visited,
.project-card:active,
.project-card:focus,
.project-card *,
.project-card h3,
.project-card p,
.project-card span,
.project-card .project-info,
.project-card .project-info *,
.project-card .project-meta {
    text-decoration: none !important;
}

.project-info h3,
.project-info p,
.project-info span,
.project-meta {
    text-decoration: none !important;
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 15px;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.project-info p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 15px;
    font-weight: 200;
}

.project-meta {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

/* Aktualnosci Section */
#aktualnosci {
    background: #fff;
    padding: 100px 80px;
}

#aktualnosci > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.news-card {
    background: #f9f9f9;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-content .news-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.news-content h3 a,
.news-card-large h2 a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.news-content h3 a:hover,
.news-card-large h2 a:hover {
    opacity: 0.7;
}

.news-card > a,
.news-card-large > a {
    display: block;
}

.news-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 15px;
}

.news-link {
    display: inline-block;
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #666;
}

/* Client Logos Section */
#klienci {
    background: #f5f5f5;
    text-align: center;
}

.logos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logo {
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Jak Pracuję Section */
#jakpracuje {
    background: #f5f5f5;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Horizontal line connecting steps */
.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.process-step {
    text-align: center;
    flex: 1;
    max-width: 200px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 20px;
    font-weight: 300;
    border-radius: 50%;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.process-step p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* Oferta Section */
#oferta {
    background: #fff;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.offer-card {
    background: #f9f9f9;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.offer-card h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.offer-card p {
    margin-bottom: 20px;
}

.offer-card ul {
    list-style: none;
    margin-bottom: auto;
    flex-grow: 1;
}

.offer-card li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    line-height: 1.7;
}

.offer-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-size: 20px;
}

.offer-card .btn-link {
    margin-top: 30px;
}

/* Contact Section */
#kontakt {
    background: #f5f5f5;
    color: #1a1a1a;
    padding: 100px 2rem;
}

#kontakt .section-title {
    font-size: 48px;
    margin-bottom: 40px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    color: #666;
    margin-bottom: 15px;
}

.contact-link {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 20px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #666;
}

.contact-form {
    width: 100%;
    background: #fff;
    padding: 40px;
}

/* ==========================================================================
   WPFORMS STYLING - Contact Form (Override all WPForms defaults)
   ========================================================================== */
.contact-form .wpforms-container,
.contact-form .wpforms-container-full {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form .wpforms-field-container {
    padding: 0 !important;
}

.contact-form .wpforms-field {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.contact-form .wpforms-field-label,
.contact-form .wpforms-field-name legend {
    display: block !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    border: none !important;
    float: none !important;
    width: auto !important;
}

.contact-form .wpforms-required-label {
    color: #666 !important;
}

.contact-form .wpforms-field input[type="text"],
.contact-form .wpforms-field input[type="email"],
.contact-form .wpforms-field-textarea textarea {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 14px !important;
    margin: 0 !important;
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
    background: #fff !important;
    color: #333 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

.contact-form .wpforms-field-textarea textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.contact-form .wpforms-field input:focus,
.contact-form .wpforms-field textarea:focus {
    outline: none !important;
    border-color: #1a1a1a !important;
    box-shadow: none !important;
}

/* Name field - side by side */
.contact-form .wpforms-field-name fieldset {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.contact-form .wpforms-field-name .wpforms-field-row {
    display: flex !important;
    gap: 12px !important;
    margin: 0 !important;
}

.contact-form .wpforms-field-name .wpforms-field-row-block {
    flex: 1 !important;
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-form .wpforms-field-sublabel,
.contact-form .wpforms-field-sublabel.after {
    display: none !important;
}

/* Submit button */
.contact-form .wpforms-submit-container {
    margin: 25px 0 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.contact-form .wpforms-submit {
    display: block !important;
    width: 100% !important;
    padding: 16px 30px !important;
    margin: 0 !important;
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    font-family: inherit !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.contact-form .wpforms-submit:hover {
    background: #333 !important;
}

.contact-form .wpforms-submit-spinner {
    display: none !important;
}

/* Hide noscript and hidden fields */
.contact-form noscript,
.contact-form .wpforms-error-noscript,
.contact-form input[type="hidden"] {
    display: none !important;
}

/* Error styling */
.contact-form .wpforms-error {
    border-color: #c00 !important;
}

.contact-form em.wpforms-error {
    display: block !important;
    color: #c00 !important;
    font-size: 12px !important;
    font-style: normal !important;
    margin-top: 4px !important;
}

/* Placeholder styling */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #333;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #888;
    padding: 60px 80px;
    margin-left: 240px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
}

.footer-info p {
    margin-bottom: 8px;
    color: #888;
    font-size: 14px;
}

.footer-contact a {
    display: block;
    color: #888;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #aaa;
}

.footer-legal {
    text-align: right;
}

.footer-legal p {
    color: #888;
    font-size: 16px;
    font-weight: 400;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
}

.footer-legal a:hover {
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 1024px) {
    .process-steps {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        flex: 0 0 calc(33% - 30px);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .side-menu {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .side-menu.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    footer {
        margin-left: 0;
    }

    section {
        padding: 60px 20px;
    }

    section:not(.hero-section):not(.hero-text-section):not(.hero-slider-section) {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-slider-section {
        height: 60vh;
    }

    .omnie-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .omnie-image {
        max-width: 100%;
        height: 300px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 250px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #kontakt .section-title {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-legal {
        text-align: center;
    }

    .process-step {
        flex: 0 0 100%;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    #omnie {
        padding: 60px 20px !important;
    }

    #aktualnosci {
        padding: 60px 20px !important;
    }

    #aktualnosci > div {
        grid-template-columns: 1fr !important;
    }

    footer {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   SUBPAGE: O MNIE (About)
   ========================================================================== */

/* Page Header - Dark background */
.page-header {
    background: #1a1a1a;
    color: #fff;
    padding: 120px 80px 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 56px;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #fff;
}

.page-header p {
    font-size: 18px;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content Section */
.content-section {
    padding: 100px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Back Button */
.btn-back {
    display: inline-block;
    padding: 15px 30px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 60px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #333;
    color: #fff;
}

/* Content Grid - Two Columns */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Main Content Text */
.content-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.content-text h2 {
    font-size: 28px;
    font-weight: 400;
    color: #1a1a1a;
    margin-top: 35px;
    margin-bottom: 15px;
}

/* Content Text Lists - zgodnie z HTML template */
.content-text ul {
    margin: 20px 0 30px 0;
    padding-left: 20px;
}

.content-text li {
    font-size: 16px;
    line-height: 1.3;
    color: #444;
    margin-bottom: 4px;
}

/* Projects List */
.projects-list {
    margin: 60px 0;
}

.projects-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 40px;
}

.projects-list li {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    break-inside: avoid;
}

.projects-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a1a1a;
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: 40px;
    align-self: start;
}

.sidebar-image {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    display: block;
}

/* Sidebar Boxes */
.sidebar-box {
    background: #f9f9f9;
    padding: 30px;
    margin-bottom: 20px;
}

.sidebar-box h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.sidebar-box p {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
}

.sidebar-box p:last-child {
    margin-bottom: 0;
}

.sidebar-box a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
}

.sidebar-box a:hover {
    text-decoration: underline !important;
}

/* CTA Section */
.cta-section {
    background: #f9f9f9;
    padding: 80px;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 200;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.cta-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Responsive - O mnie subpage */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }
    
    .page-header {
        padding: 60px 40px 40px;
    }
    
    .content-section {
        padding: 0 40px 60px;
    }
    
    .cta-section {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-sidebar {
        position: static;
        order: -1;
        max-width: 300px;
    }
    
    .page-header {
        padding: 40px 20px 30px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 18px;
    }
    
    .content-section {
        padding: 0 20px 40px;
    }
    
    .content-text h2 {
        font-size: 24px;
        margin-top: 40px;
    }
    
    .projects-list ul {
        columns: 1;
    }
    
    .cta-section {
        padding: 50px 20px;
    }
    
    .cta-section h2 {
        font-size: 26px;
    }
}

/* ==========================================================================
   SUBPAGE: JAK PRACUJĘ (How I Work)
   ========================================================================== */

.process-step-detailed {
    margin-bottom: 80px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
}

.step-number-large {
    width: 100px;
    height: 100px;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 200;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.step-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.individual-approach-section {
    background: #f5f5f5;
    padding: 40px;
    margin: 60px 0;
    border-left: 4px solid #000;
}

.individual-approach-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.individual-approach-section p {
    margin-bottom: 15px;
}

.methodology-section {
    background: #f9f9f9;
    padding: 80px;
    margin: 80px 0;
}

.methodology-section h2 {
    font-size: 36px;
    font-weight: 200;
    margin-bottom: 40px;
    text-align: center;
}

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

.methodology-item {
    background: #fff;
    padding: 30px;
    text-align: center;
}

.methodology-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
}

img.methodology-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

.methodology-item h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.methodology-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.closing-note {
    background: #fff;
    padding: 60px;
    text-align: center;
    margin: 80px 0;
}

.closing-note p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    max-width: 900px;
    margin: 0 auto 30px;
}

/* ==========================================================================
   SUBPAGE: OFERTA (Offer)
   ========================================================================== */

.offer-page .content-section {
    max-width: 1400px;
}

.offer-section {
    margin-bottom: 100px;
}

.offer-section:nth-child(even) {
    background: #f9f9f9;
    padding: 80px;
    margin-left: -80px;
    margin-right: -80px;
}

.offer-header {
    margin-bottom: 40px;
}

.offer-header h2 {
    font-size: 42px;
    font-weight: 200;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.offer-header p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.offer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.offer-details ul {
    list-style: none;
    margin: 30px 0;
}

.offer-details li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    border-bottom: 1px solid #eee;
}

.offer-details li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-size: 24px;
}

.offer-details li:last-child {
    border-bottom: none;
}

.offer-sidebar {
    background: #fff;
    padding: 40px;
}

.offer-section:nth-child(even) .offer-sidebar {
    background: #fff;
}

.offer-sidebar h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.offer-sidebar p {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.btn-cta {
    display: inline-block;
    padding: 15px 30px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-cta:hover {
    background: #333;
    transform: translateY(-2px);
}

/* ==========================================================================
   SUBPAGE: PORTFOLIO (Full Portfolio)
   ========================================================================== */

.portfolio-full {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* ==========================================================================
   SUBPAGE: AKTUALNOŚCI (News Listing)
   ========================================================================== */

.news-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.news-card-large {
    background: #f9f9f9;
    overflow: hidden;
}

.news-card-large .news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-card-large .news-content {
    padding: 30px;
}

.news-card-large h2 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.news-card-large h2 a {
    color: inherit;
    text-decoration: none;
}

.news-card-large h2 a:hover {
    color: #666;
}

.news-card-large p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

/* ==========================================================================
   SINGLE PROJECT PAGE
   ========================================================================== */

.project-header .project-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: #666;
    margin-top: 15px;
    font-style: italic;
}

.project-header .project-meta-header {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* Project Scope List */
.project-scope-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.project-scope-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.project-scope-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: bold;
}

/* Project Detail Page - Main Image (pixel perfect z HTML: height: 642px) */
body.single-projekt .project-image,
.single-projekt .content-section .project-image,
.project-detail .project-image,
.project-hero-image,
.project-main-image {
    width: 100% !important;
    height: 642px !important;
    object-fit: cover !important;
    margin-bottom: 40px !important;
    border-radius: 2px !important;
    display: block !important;
}

@media (max-width: 992px) {
    body.single-projekt .project-image,
    .single-projekt .content-section .project-image,
    .project-detail .project-image,
    .project-hero-image,
    .project-main-image {
        height: 450px !important;
    }
}

@media (max-width: 768px) {
    body.single-projekt .project-image,
    .single-projekt .content-section .project-image,
    .project-detail .project-image,
    .project-hero-image,
    .project-main-image {
        height: 300px !important;
    }
}

.project-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.project-description h2 {
    font-size: 32px;
    font-weight: 200;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.project-description h3 {
    font-size: 24px;
    font-weight: 300;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.project-description p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.project-gallery {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

/* Gallery Section - REMOVED DUPLICATE - see below */

/* ==========================================================================
   GUTENBERG BLOCKS STYLING - dla treści projektu
   Kasia dodaje bloki w edytorze, CSS automatycznie je styluje
   ========================================================================== */

/* Project Content Wrapper */
.project-content {
    max-width: 100%;
}

.project-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.project-content h2 {
    font-size: 28px;
    font-weight: 400;
    color: #1a1a1a;
    margin-top: 35px;
    margin-bottom: 15px;
}

.project-content h3 {
    font-size: 22px;
    font-weight: 400;
    color: #1a1a1a;
    margin-top: 25px;
    margin-bottom: 12px;
}

/* Lists (Zakres prac) */
.project-content ul,
.project-content ol {
    margin: 20px 0 30px 0;
    padding-left: 20px;
}

.project-content li {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 6px;
}

/* GUTENBERG GALLERY BLOCK → Grid */
.project-content .wp-block-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
    padding: 0;
    list-style: none;
}

.project-content .wp-block-gallery .wp-block-image {
    margin: 0 !important;
    width: 100% !important;
}

.project-content .wp-block-gallery .wp-block-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.project-content .wp-block-gallery figcaption {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 8px;
}

/* GUTENBERG SINGLE IMAGE BLOCKS → też w grid jeśli są obok siebie */
.project-content > .wp-block-image {
    margin: 30px 0;
}

.project-content > .wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-content > .wp-block-image figcaption {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 8px;
}

/* Gallery Section (jeśli używany nagłówek "Wizualizacje projektu") */
.project-content h2 + .wp-block-gallery,
.project-content h2 + .wp-block-image {
    margin-top: 20px;
}

/* Columns block support */
.project-content .wp-block-columns {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.project-content .wp-block-column {
    flex: 1;
}

@media (max-width: 768px) {
    .project-content .wp-block-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .project-content .wp-block-columns {
        flex-direction: column;
    }
    
    .project-content h2 {
        font-size: 24px;
        margin-top: 30px;
    }
}

.project-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.project-navigation a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.project-navigation a:hover {
    color: #666;
}

.all-projects {
    padding: 12px 25px;
    background: #1a1a1a;
    color: #fff !important;
}

.all-projects:hover {
    background: #333;
}

/* Project Navigation - zgodnie z projekt-farma-aleksa-FIXED-FINAL.html */
.project-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.project-nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.project-nav a:hover {
    color: #666;
}

.project-nav .nav-prev::before {
    content: "← ";
}

.project-nav .nav-next::after {
    content: " →";
}

.project-nav .nav-disabled {
    visibility: hidden;
    width: 150px;
}

.project-nav .btn-portfolio-center {
    text-align: center;
    color: #333 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    letter-spacing: 1px;
}

.project-nav .btn-portfolio-center:hover {
    color: #000 !important;
}

.project-nav .btn-portfolio-center svg {
    transition: transform 0.3s ease;
}

.project-nav .btn-portfolio-center:hover svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .project-nav {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .project-nav .nav-disabled {
        display: none;
    }
    
    .project-nav .btn-portfolio-center {
        order: -1;
    }
}

/* ==========================================================================
   SINGLE NEWS PAGE
   ========================================================================== */

.news-date-header {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 15px;
}

.news-hero-image {
    margin-bottom: 60px;
}

.news-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.news-article-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-article-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 25px;
}

.news-article-content h2,
.news-article-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.related-project {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

.related-project h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
}

.project-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.project-link:hover {
    color: #666;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.news-navigation a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.news-navigation a:hover {
    color: #666;
}

.all-news {
    padding: 12px 25px;
    background: #1a1a1a;
    color: #fff !important;
}

.all-news:hover {
    background: #333;
}

/* ==========================================================================
   ADDITIONAL RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
    .process-step-detailed {
        grid-template-columns: 80px 1fr;
        gap: 30px;
    }
    
    .step-number-large {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
    
    .offer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .offer-section:nth-child(even) {
        padding: 60px 40px;
        margin-left: -40px;
        margin-right: -40px;
    }
    
    .project-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .process-step-detailed {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-number-large {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
    
    .methodology-section {
        padding: 60px 20px;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
    }
    
    .closing-note {
        padding: 40px 20px;
    }
    
    .offer-section:nth-child(even) {
        padding: 40px 20px;
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .offer-header h2 {
        font-size: 28px;
    }
    
    .news-grid-full {
        grid-template-columns: 1fr;
    }
    
    .project-navigation,
    .news-navigation {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
}

/* =====================================================
   GALLERY SECTION - PIXEL PERFECT from HTML reference
   ===================================================== */
.gallery-section { 
    margin-top: 50px; 
    padding-top: 50px; 
    border-top: 1px solid #e0e0e0; 
}
.gallery-section h2 { 
    font-size: 28px; 
    font-weight: 400; 
    margin-bottom: 30px; 
}
.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); 
    gap: 30px; 
    max-width: 1600px; 
}
.gallery-item img { 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    margin-bottom: 10px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.gallery-item img:hover {
    opacity: 0.9;
}
.gallery-item p { 
    font-size: 14px; 
    color: #666; 
    text-align: center; 
}

/* Lightbox - simple fullscreen on click */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 100000;
    line-height: 1;
}
.lightbox-close:hover {
    color: #ccc;
}

/* Project Navigation */
.project-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 60px; 
    padding: 40px 0; 
    border-top: 1px solid #e0e0e0; 
}
.project-nav .nav-link { 
    color: #1a1a1a; 
    text-decoration: none; 
    font-size: 14px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.project-nav .nav-link:hover { 
    color: #666; 
}
.project-nav .nav-center {
    text-align: center;
    font-size: 12px;
}
.project-nav .nav-disabled {
    visibility: hidden;
    width: 150px;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .project-nav {
        flex-direction: column;
        gap: 20px;
        padding: 30px 0;
    }
}

/* Gutenberg gallery fallback (if someone adds gallery in content) */
.project-content .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.project-content .wp-block-gallery .wp-block-image {
    margin: 0;
}

.project-content .wp-block-gallery img {
    width: 100%;
    height: auto;
}

/* =====================================================
   PAGE CONTENT - Podstrony (O mnie, Jak pracuję, Oferta)
   ===================================================== */
.page-content {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.page-content h2 {
    font-size: 28px;
    font-weight: 400;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.page-content h3 {
    font-size: 22px;
    font-weight: 400;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul {
    margin: 20px 0 30px 25px;
    padding: 0;
}

.page-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

.page-content a {
    color: #333;
    text-decoration: underline;
}

.page-content a:hover {
    color: #000;
}

/* Privacy page specific - pixel perfect from polityka-prywatnosci-kopia.html */
.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
}

.privacy-content h1 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.privacy-content h2 {
    font-size: 24px;
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 20px;
}

.privacy-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.privacy-content ul {
    margin-bottom: 20px;
    margin-left: 30px;
}

.privacy-content li {
    margin-bottom: 10px;
}

.privacy-content a {
    color: #000;
    text-decoration: underline;
}

.privacy-content a:hover {
    opacity: 0.7;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .page-content {
        font-size: 15px;
    }
    
    .page-content h2 {
        font-size: 24px;
        margin-top: 40px;
    }
}
