/* Projekt áttekintés */
.project-overview-section {
    margin-top: 220px;
}

.project-overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
}

.project-overview-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 28px;
}

/* A legtöbb logó fekete, átlátszó háttérre tervezve - sötét módban invertálva látszik */
.project-logo {
    filter: invert(var(--logo-invert));
    transition: filter 0.35s ease;
}

/* Néhány márka logója (pl. Juiced) fehér, sötét háttérre tervezve - világos módban invertálva látszik, sötét módban natívan */
.project-logo-invert {
    filter: invert(var(--logo-invert-alt));
}

.project-summary {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

.project-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-faint);
    transition: color 0.2s ease;
}

.project-back-btn:hover {
    color: var(--text);
}

.project-overview-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.35s ease;
}

.project-overview-section.is-visible .project-meta-item {
    opacity: 1;
    transform: translateY(0);
}

.project-overview-section.is-visible .project-meta-item:nth-child(2) {
    transition-delay: 0.12s;
}

.project-overview-section.is-visible .project-meta-item:nth-child(3) {
    transition-delay: 0.24s;
}

.project-meta-label {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.project-meta-value {
    font-size: 15px;
    color: var(--text-muted);
    text-align: right;
}

/* Galéria + lightbox */
.project-gallery-section {
    margin-top: 200px;
}

.project-section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

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

.project-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-elevated);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4 / 3;
    transition: background-color 0.35s ease;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-gallery-item:hover img {
    transform: scale(1.08);
}

.project-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-gallery-item:hover::after {
    opacity: 1;
}

.project-gallery-expand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-elevated);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-gallery-item:hover .project-gallery-expand {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Elvárás vs. eredmény */
.project-compare-section {
    margin-top: 200px;
}

.project-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.project-compare-card {
    padding: 40px;
    border-radius: 10px;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.project-compare-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.1);
}

.project-compare-card p {
    font-size: 18px;
    line-height: 1.6;
}

.project-compare-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.55;
    margin-bottom: 16px;
}

.project-compare-card-outcome {
    background-color: var(--invert-bg);
    color: var(--invert-text);
    border-color: var(--invert-bg);
}

/* Kapcsolatfelvételi űrlap ezen az oldalon */
.project-contact-section {
    display: flex;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 220px;
}

.project-contact-card {
    width: 100%;
    max-width: 560px;
}

@media (max-width: 900px) {
    .project-overview-grid,
    .project-compare-grid {
        grid-template-columns: 1fr;
    }

    .project-overview-right {
        margin-top: 20px;
    }

    .project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .project-compare-card {
        padding: 24px;
    }

    .project-section-title {
        font-size: 26px;
    }
}
