/* ═══════════════════════════════════════════════════════════
   Altura — project-single.css
   ═══════════════════════════════════════════════════════════ */

.project-page * {
    box-sizing: border-box;
}

.project-container {
    width: min(1141px, calc(100% - 45px));
    margin: 0 auto;
}

/* ── Project Hero V2 ── */
.project-hero-v2 {
    background: var(--altura-light);
    color: var(--altura-white);
    overflow: hidden;
}

.project-hero-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
}

.project-hero-row-title {
    background: var(--altura-secondary);
}

.project-hero-image,
.project-details-image {
    height: 680px;
}

.project-hero-image img,
.project-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.project-hero-content {
    background: var(--altura-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 70px;
}

.project-back {
    align-self: flex-start;
    font-family: 'Cousine', monospace;
    font-size: 23px;
    line-height: 18px;
    color: var(--altura-white);
    opacity: .7;
    text-decoration: none;
    margin-bottom: 80px;
    transition: opacity var(--altura-transition);
}

.project-back:hover {
    opacity: 1;
}

.project-hero-content h1 {
    font-family: 'Cousine', monospace;
    font-size: 70px;
    line-height: 68px;
    font-weight: 400;
    letter-spacing: .01em;
    color: var(--altura-white);
    margin: 0 0 55px;
}

.project-location {
    font-family: 'Cousine', monospace;
    font-size: 34px;
    line-height: 38px;
    color: var(--altura-white);
    margin: 0;
}

.project-hero-row-details {
    background: var(--altura-secondary);
}

.project-details-content {
    background: var(--altura-secondary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 90px 80px 80px;
}

.project-icons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 34px;
    align-items: start;
}

.project-icon-item {
    display: grid;
    gap: 28px;
    justify-items: start;
    font-family: 'Cousine', monospace;
    font-size: 24px;
    line-height: 32px;
    color: var(--altura-white);
}

.project-icon-item svg {
    width: 47px;
    height: 47px;
    stroke: var(--altura-white);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-icon-item span {
    display: block;
    white-space: pre-line;
}

.project-description {
    max-width: 630px;
    font-family: 'TikTokSans', sans-serif;
    font-size: 24px;
    line-height: 24px;
    font-weight: 400;
    color: var(--altura-white);
}

@media(max-width:1024px) {
    .project-hero-row {
        min-height: 560px;
    }

    .project-hero-image,
    .project-details-image {
        height: 560px;
    }

    .project-hero-content {
        padding: 50px;
    }

    .project-hero-content h1 {
        font-size: 54px;
        line-height: 52px;
    }

    .project-location {
        font-size: 28px;
        line-height: 32px;
    }

    .project-details-content {
        padding: 60px 45px;
    }

    .project-icons-grid {
        gap: 20px;
    }

    .project-icon-item {
        font-size: 22px;
        line-height: 25px;
    }

    .project-description {
        font-size: 26px;
        line-height: 29px;
    }
}

@media(max-width:768px) {
    .project-hero-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .project-hero-row-title {
        display: flex;
        flex-direction: column;
    }

    .project-hero-image,
    .project-details-image {
        height: 390px;
    }

    .project-hero-content {
        padding: 55px 22px;
        min-height: 420px;
    }

    .project-back {
        margin-bottom: 45px;
        font-size: 23px;
    }

    .project-hero-content h1 {
        font-size: 42px;
        line-height: 41px;
        margin-bottom: 28px;
    }

    .project-location {
        font-size: 22px;
        line-height: 26px;
    }

    .project-hero-row-details {
        display: flex;
        flex-direction: column-reverse;
    }

    .project-details-content {
        padding: 45px 22px 60px;
    }

    .project-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 20px;
        margin-bottom: 80px;
    }

    .project-icon-item {
        font-size: 18px;
        line-height: 20px;
        gap: 14px;
    }

    .project-icon-item svg {
        width: 36px;
        height: 36px;
    }

    .project-description {
        font-size: 24px;
        line-height: 27px;
    }
}

/* ── FAQ Section ── */
.project-faq-section {
    background: var(--altura-primary);
    padding: 75px 0 95px;
}

.trust-list {
    display: grid;
    gap: 24px;
    padding-left: 20px;
}

.trust-item {
    display: grid;
}

.trust-list button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    padding: 0 25px 16px 0;
    color: var(--altura-white);
    font-family: 'TikTokSans', sans-serif;
    font-size: clamp(24px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: opacity var(--altura-transition);
}

.trust-list button:hover {
    opacity: .7;
}

.trust-list span {
    font-size: clamp(26px, 4vw, 50px);
    line-height: 1;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform var(--altura-transition);
}

.trust-list button.open span {
    transform: rotate(45deg);
}

.trust-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: var(--altura-white);
    font-family: 'Cousine', monospace;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.6;
    padding: 0 25px 0 0;
    transition: max-height 300ms ease-out, opacity 250ms ease-out, padding 250ms ease-out;
}

.trust-panel.open {
    max-height: fit-content;
    opacity: 1;
    padding: 15px 25px 0 0;
}

/* ── Gallery ── */
.project-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.project-gallery img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
    grid-column: 1 / -1;
}

/* 2η + 3η και 4η + 5η → 50/50 */
.project-gallery img:nth-child(2),
.project-gallery img:nth-child(3),
.project-gallery img:nth-child(4),
.project-gallery img:nth-child(5) {
    grid-column: auto;
}

/* ── Responsive 768px ── */
@media (max-width: 768px) {
    .project-container {
        width: calc(100% - 45px);
    }

    .project-top-grid {
        display: block;
        min-height: 1120px;
    }

    .project-image-left {
        width: 50%;
        height: 220px;
        left: 0;
        top: 0;
    }

    .project-image-right {
        width: 50%;
        height: 230px;
        right: 0;
        top: 250px;
    }

    .project-info {
        top: 520px;
        left: 22px;
        right: 22px;
        width: auto;
        transform: none;
    }

    .project-info h1 {
        font-size: 40px;
        line-height: 39px;
        margin-bottom: 28px;
    }

    .project-meta {
        font-size: 16px;
        line-height: 21px;
    }

    .project-faq-section {
        padding: 50px 0 65px;
    }

    .trust-list {
        padding-left: 0;
        gap: 16px;
    }

    .trust-list button {
        padding: 0 16px 12px 0;
    }

    .trust-panel {
        padding: 0 16px 0 0;
    }

    .trust-panel.open {
        padding: 15px 16px 0 0;
    }
	
	.project-gallery { 
		grid-template-columns: 1fr; 
	}
	
    .project-gallery img,
    .project-gallery img:nth-child(2),
    .project-gallery img:nth-child(3),
    .project-gallery img:nth-child(4),
    .project-gallery img:nth-child(5) {
        grid-column: 1 / -1;
        height: 100vh;
    }
}