/* Dukovany Project Page Styles */

/* Project Hero Section */
.project-hero {
    background: linear-gradient(
        rgba(0, 0, 0, 0.7), 
        rgba(0, 0, 0, 0.5)
    ), url('../../images/projects-backgrounds/dukovany-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--text-light);
    padding: 140px 0 80px;
    text-align: center;
    margin-top: 65px;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 186, 68, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.project-hero .container {
    position: relative;
    z-index: 2;
}

.project-breadcrumb {
    margin-bottom: 2rem;
    font-size: 1rem;
    opacity: 0.98;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.project-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    font-weight: 800;
}

.project-breadcrumb a:hover {
    color: var(--text-light);
    text-decoration: none;
}

.project-breadcrumb a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ff8a00);
    border-radius: 9999px;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.project-breadcrumb a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    opacity: 0.65;
}

.current-page {
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.project-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.project-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.project-status-large {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.status-badge-large {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a00 100%);
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(255, 186, 68, 0.3);
    animation: pulse 2s infinite;
}

.project-date {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Project Overview */
.project-overview {
    padding: 100px 0;
    background: var(--background-color);
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 3rem;
}

.project-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 186, 68, 0.05) 0%, rgba(249, 193, 66, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 186, 68, 0.1);
    transition: var(--transition-fast);
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 186, 68, 0.15);
    border-color: rgba(255, 186, 68, 0.2);
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.highlight-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.highlight-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.highlight-item-investor {
    position: relative;
    overflow: hidden;
}

.highlight-item-investor .highlight-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
}

.highlight-item-investor .partner-logo {
    display: block;
    width: min(100%, 420px);
    height: auto;
    opacity: 1;
}

/* Project Details */
.project-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.details-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.details-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.details-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.details-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ff8a00);
    border-radius: 2px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.details-list strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Timeline */
.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 40px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(180deg, var(--primary-color), transparent);
}

.timeline-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 186, 68, 0.3);
}

.timeline-item.completed .timeline-marker {
    background: #28a745;
}

.timeline-item.active .timeline-marker {
    background: var(--primary-color);
    animation: pulse 2s infinite;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Project Gallery */
.project-gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-headline {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.project-gallery h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.gallery-intro {
    margin: 0;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

.gallery-sections {
    display: grid;
    gap: 2rem;
}

.gallery-section {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.gallery-section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.8rem 1.25rem;
    margin-bottom: 1.3rem;
}

.gallery-section-header h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--secondary-color);
}

.gallery-section-header p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: start;
    gap: 14px;
}

.gallery-card {
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.gallery-item {
    width: 100%;
    height: 180px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: zoom-in;
    padding: 0;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
    border-color: rgba(255, 186, 68, 0.35);
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.84rem;
    color: #666;
}

.gallery-photo-title {
    color: var(--secondary-color);
    font-weight: 600;
}

.gallery-photo-date {
    white-space: nowrap;
}

.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: linear-gradient(135deg, rgba(255, 186, 68, 0.05) 0%, rgba(249, 193, 66, 0.02) 100%);
    border: 2px dashed rgba(255, 186, 68, 0.3);
    border-radius: 12px;
}

.placeholder-content {
    text-align: center;
    color: #666;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.placeholder-content p {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.gallery-guide {
    margin-top: 1.25rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 186, 68, 0.25);
    background: rgba(255, 186, 68, 0.06);
    color: #555;
    font-size: 0.92rem;
}

.gallery-guide p {
    margin: 0;
}

.gallery-guide p + p {
    margin-top: 0.45rem;
}

.gallery-guide code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
}

/* Cinematic gallery */
.project-gallery.project-gallery--cinematic {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 186, 68, 0.14) 0%, rgba(255, 186, 68, 0) 42%),
        radial-gradient(circle at 82% 14%, rgba(255, 168, 76, 0.12) 0%, rgba(255, 168, 76, 0) 38%),
        linear-gradient(165deg, #101821 0%, #141d2a 48%, #192436 100%);
}
.project-gallery.project-gallery--cinematic::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 130px 130px;
    opacity: 0.16;
}
.project-gallery.project-gallery--cinematic .gallery-headline { max-width: 880px; margin: 0 auto 2rem; text-align: center; }
.project-gallery.project-gallery--cinematic .gallery-kicker {
    display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 0.9rem;
    padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid rgba(255, 196, 92, 0.42);
    background: rgba(255, 196, 92, 0.1); color: #ffd59a; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.project-gallery.project-gallery--cinematic .gallery-headline h2 { margin-bottom: 0.8rem; color: #fefefe; text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.project-gallery.project-gallery--cinematic .gallery-intro { margin: 0 auto; max-width: 760px; color: rgba(236, 240, 246, 0.88); font-size: 1.06rem; line-height: 1.75; }
.project-gallery.project-gallery--cinematic .gallery-headline-pills { margin-top: 1.2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.7rem; }
.project-gallery.project-gallery--cinematic .gallery-headline-pills span {
    padding: 0.42rem 0.8rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06); color: rgba(240, 244, 251, 0.88); font-size: 0.82rem; font-weight: 600;
}
.project-gallery.project-gallery--cinematic .gallery-sections { position: relative; display: grid; gap: 1.4rem; max-width: 1120px; margin: 0 auto; padding-left: 3.2rem; }
.project-gallery.project-gallery--cinematic .gallery-sections::before {
    content: ""; position: absolute; left: 1.3rem; top: 0.5rem; bottom: 0.5rem; width: 2px;
    background: linear-gradient(180deg, rgba(255, 210, 138, 0.95) 0%, rgba(255, 210, 138, 0.32) 35%, rgba(255, 210, 138, 0.08) 100%);
    box-shadow: 0 0 16px rgba(255, 194, 93, 0.33);
}
.project-gallery.project-gallery--cinematic .gallery-section {
    position: relative; background: rgba(14, 23, 34, 0.8); border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px; box-shadow: 0 24px 55px rgba(2, 8, 20, 0.45); padding: 1.35rem; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}
.project-gallery.project-gallery--cinematic .gallery-section::before {
    content: ""; position: absolute; left: -2.62rem; top: 1.45rem; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255, 214, 150, 0.95); background: radial-gradient(circle at 30% 30%, #fff8ea 0%, #ffc96f 60%, #ffb449 100%);
    box-shadow: 0 0 0 6px rgba(255, 196, 92, 0.12), 0 0 24px rgba(255, 182, 76, 0.42);
}
.project-gallery.project-gallery--cinematic .gallery-section-header { display: grid; gap: 0.68rem; margin-bottom: 1rem; }
.project-gallery.project-gallery--cinematic .gallery-stage-meta {
    display: inline-flex; align-items: center; gap: 0.55rem; width: fit-content; padding: 0.32rem 0.62rem 0.32rem 0.36rem;
    border-radius: 999px; border: 1px solid rgba(255, 211, 133, 0.34); background: rgba(255, 208, 128, 0.1);
}
.project-gallery.project-gallery--cinematic .stage-index {
    display: inline-flex; align-items: center; justify-content: center; min-width: 1.8rem; height: 1.8rem; border-radius: 999px;
    color: #2c1b05; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; background: linear-gradient(135deg, #ffe3b8 0%, #ffc96f 100%);
}
.project-gallery.project-gallery--cinematic .stage-label { color: #ffe2b0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.project-gallery.project-gallery--cinematic .gallery-section-header h3 { margin: 0; color: #ffdfa8; font-size: 1.32rem; line-height: 1.25; }
.project-gallery.project-gallery--cinematic .gallery-section-header p { margin: 0; color: rgba(236, 240, 248, 0.78); font-size: 0.95rem; line-height: 1.65; }
.project-gallery.project-gallery--cinematic .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.8rem; }
.project-gallery.project-gallery--cinematic .gallery-item {
    width: 100%; height: 198px; position: relative; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3); transform-origin: center;
}
.project-gallery.project-gallery--cinematic .gallery-item::before {
    content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8, 14, 24, 0.06) 8%, rgba(8, 14, 24, 0.34) 62%, rgba(8, 14, 24, 0.66) 100%);
    opacity: 0.92; pointer-events: none; transition: opacity 0.25s ease;
}
.project-gallery.project-gallery--cinematic .gallery-item::after {
    content: "Otevřít foto"; position: absolute; left: 0.65rem; bottom: 0.65rem; padding: 0.28rem 0.62rem; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.46); background: rgba(12, 20, 34, 0.44); color: rgba(255, 255, 255, 0.9);
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.03em; opacity: 0.9; pointer-events: none; transition: transform 0.25s ease, opacity 0.25s ease;
}
.project-gallery.project-gallery--cinematic .gallery-item:hover { transform: translateY(-5px) scale(1.012); box-shadow: 0 22px 36px rgba(0, 0, 0, 0.42); }
.project-gallery.project-gallery--cinematic .gallery-item:hover::before { opacity: 0.38; }
.project-gallery.project-gallery--cinematic .gallery-item:hover::after { transform: translateY(-2px); opacity: 1; }
.project-gallery.project-gallery--cinematic .gallery-item img { filter: saturate(1.03) contrast(1.02); }
.project-gallery.project-gallery--cinematic .gallery-card { margin: 0; display: block; }
.project-gallery.project-gallery--cinematic .gallery-card .gallery-meta { display: none; }
.project-gallery.project-gallery--cinematic .gallery-showcase-wrap { width: 100%; }
.project-gallery.project-gallery--cinematic .gallery-showcase-top { display: grid; grid-template-columns: 1.45fr 0.95fr; gap: 0.7rem; align-items: stretch; }
.project-gallery.project-gallery--cinematic .gallery-showcase-actions { margin-top: 0.8rem; display: flex; justify-content: flex-end; }
.project-gallery.project-gallery--cinematic .gallery-showcase-cta {
    border: 1px solid rgba(255, 210, 138, 0.62); background: rgba(8, 15, 26, 0.45); color: #ffe4b4; height: 44px; padding: 0 1.1rem;
    border-radius: 999px; cursor: pointer; font-size: 1.06rem; font-weight: 500; letter-spacing: 0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.project-gallery.project-gallery--cinematic .gallery-showcase-cta::after { content: "→"; margin-left: 0.5rem; font-size: 1rem; }
.project-gallery.project-gallery--cinematic .gallery-showcase-cta:hover { transform: translateY(-2px); background: rgba(12, 20, 34, 0.72); border-color: rgba(255, 220, 165, 0.95); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.33); }
.project-gallery.project-gallery--cinematic .gallery-card--lead .gallery-item,
.project-gallery.project-gallery--cinematic .gallery-card--side .gallery-item { height: 240px; }
.project-gallery.project-gallery--cinematic .gallery-more-badge {
    position: absolute; right: 0.7rem; bottom: 0.7rem; padding: 0.34rem 0.62rem; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(8, 12, 22, 0.64); color: #ffffff; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; pointer-events: none;
}
.project-gallery.project-gallery--cinematic .gallery-showcase-extra-grid { margin-top: 0.78rem; display: none; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.7rem; }
.project-gallery.project-gallery--cinematic .gallery-showcase-wrap.is-expanded .gallery-showcase-extra-grid { display: grid; }
.project-gallery.project-gallery--cinematic .gallery-card--extra .gallery-item { height: 180px; }
.project-gallery.project-gallery--cinematic .placeholder { background: linear-gradient(135deg, rgba(255, 189, 78, 0.14) 0%, rgba(255, 189, 78, 0.03) 100%); border: 1px dashed rgba(255, 211, 139, 0.35); }
.project-gallery.project-gallery--cinematic .placeholder-content { color: rgba(247, 249, 253, 0.82); }
.project-gallery.project-gallery--cinematic .placeholder::after { content: none; }
.project-gallery.project-gallery--cinematic .placeholder-icon { opacity: 0.85; }

/* Mobile bottom project nav (styles moved to global styles.css) */

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.94);
}

.lightbox.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lb-stage img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.lb-close,
.lb-prev,
.lb-next {
    position: fixed;
    z-index: 9100;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.lb-close {
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.lb-prev,
.lb-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.6rem;
}

.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lb-prev.hidden,
.lb-next.hidden {
    opacity: 0;
    pointer-events: none;
}

.lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    background: rgba(0,0,0,0.45);
    padding: 6px 16px;
    border-radius: 20px;
    z-index: 9100;
}

.lb-hint {
    position: fixed;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.45);
    font-size: 0.78rem;
    white-space: nowrap;
    z-index: 9100;
}

/* Technical Specifications */
.technical-specs {
    padding: 80px 0;
    background: var(--background-color);
}

.technical-specs h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.spec-category {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.spec-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.spec-category h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.spec-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ff8a00);
    border-radius: 2px;
}

.spec-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-category li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

.spec-category li:last-child {
    border-bottom: none;
}

.spec-category li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Project Team */
.project-team {
    padding: 80px 0;
    background: #f8f9fa;
}

.project-team h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #ff8a00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 186, 68, 0.3);
}

.team-member h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.team-member p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Project Contact */
.project-contact {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background: url("./images/contact-bg.png") center/cover no-repeat;
    text-align: center;
}

.project-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 196, 77, 0.82) 0%, rgba(255, 188, 60, 0.56) 45%, rgba(255, 255, 255, 0.36) 100%);
}

.project-contact::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.36), transparent 42%);
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.5rem);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 24px 70px rgba(28, 44, 70, 0.22);
    backdrop-filter: blur(5px);
}

.contact-tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #7a4f00;
    background: rgba(255, 186, 68, 0.25);
    border: 1px solid rgba(255, 186, 68, 0.45);
}

.contact-content h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.18;
    color: #1f2f46;
    text-wrap: balance;
}

.contact-content p {
    max-width: 730px;
    margin: 0 auto 1.6rem;
    font-size: 1.08rem;
    line-height: 1.75;
    color: #334155;
}

.contact-trust-points {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-trust-points span {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 47, 70, 0.2);
    background: rgba(255, 255, 255, 0.76);
    color: #1f2f46;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-buttons .cta-primary,
.project-contact .contact-buttons .cta-secondary { background: #111827; color: #ffffff; border-color: #111827; }

.contact-buttons .cta-primary {
    background: linear-gradient(135deg, #ffba44 0%, #f59e0b 100%);
    color: #1f2f46;
    border-color: #f59e0b;
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.34);
}

.contact-buttons .cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 30px rgba(245, 158, 11, 0.42);
}

.project-contact .contact-buttons .cta-secondary { background: #111827; color: #ffffff; border-color: #111827; }

.project-contact .contact-buttons .cta-secondary:hover { background: #000000; color: #ffffff; border-color: #000000; transform: translateY(-3px); }

/* Animations */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 186, 68, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 186, 68, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-hero {
        padding: 100px 0 60px;
        margin-top: 55px;
    }
    
    .project-hero h1 {
        font-size: 2.5rem;
    }
    
    .project-subtitle {
        font-size: 1.1rem;
    }
    
    .project-status-large {
        flex-direction: column;
        gap: 1rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-content h2,
    .project-gallery h2,
    .technical-specs h2,
    .project-team h2 {
        font-size: 2rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .project-gallery.project-gallery--cinematic { padding: 68px 0; }
    .project-gallery.project-gallery--cinematic .gallery-headline h2 { font-size: 2rem; }
    .project-gallery.project-gallery--cinematic .gallery-intro { font-size: 1rem; }
    .project-gallery.project-gallery--cinematic .gallery-headline-pills span { font-size: 0.76rem; }
    .project-gallery.project-gallery--cinematic .gallery-sections { padding-left: 2.5rem; }
    .project-gallery.project-gallery--cinematic .gallery-sections::before { left: 0.95rem; }
    .project-gallery.project-gallery--cinematic .gallery-section { padding: 1rem; border-radius: 16px; }
    .project-gallery.project-gallery--cinematic .gallery-section::before { left: -2.05rem; width: 14px; height: 14px; }
    .project-gallery.project-gallery--cinematic .gallery-section-header h3 { font-size: 1.18rem; }
    .project-gallery.project-gallery--cinematic .gallery-section-header p { font-size: 0.92rem; }
    .project-gallery.project-gallery--cinematic .gallery-item { height: 180px; }

    .gallery-section {
        padding: 1rem;
    }

    .gallery-section-header h3 {
        font-size: 1.15rem;
    }

    .gallery-meta {
        flex-direction: column;
        gap: 0.2rem;
    }

    .gallery-photo-date {
        white-space: normal;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-content {
        border-radius: 22px;
    }

    .contact-trust-points span {
        width: 100%;
        max-width: 320px;
    }
    
    .contact-buttons .cta-primary,
    .project-contact .contact-buttons .cta-secondary { background: #111827; color: #ffffff; border-color: #111827; }
}

@media (max-width: 480px) {
    .project-hero h1 {
        font-size: 2rem;
    }
    
    .project-subtitle {
        font-size: 1rem;
    }
    
    .status-badge-large,
    .project-date {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .overview-content h2,
    .project-gallery h2,
    .technical-specs h2,
    .project-team h2 {
        font-size: 1.8rem;
    }

    .project-contact {
        padding: 90px 0;
    }
    
    .details-card,
    .spec-category,
    .team-member {
        padding: 1.5rem;
    }
}

@media (max-width: 560px) {
    .project-gallery.project-gallery--cinematic .gallery-headline { margin-bottom: 1.5rem; }
    .project-gallery.project-gallery--cinematic .gallery-kicker { font-size: 0.72rem; }
    .project-gallery.project-gallery--cinematic .gallery-sections { padding-left: 0; gap: 1rem; }
    .project-gallery.project-gallery--cinematic .gallery-sections::before,
    .project-gallery.project-gallery--cinematic .gallery-section::before { display: none; }
    .project-gallery.project-gallery--cinematic .gallery-stage-meta { margin-bottom: 0.1rem; }
    .project-gallery.project-gallery--cinematic .gallery-grid { gap: 0.65rem; }
    .project-gallery.project-gallery--cinematic .gallery-showcase-top { grid-template-columns: 1fr; }
    .project-gallery.project-gallery--cinematic .gallery-card--lead .gallery-item,
    .project-gallery.project-gallery--cinematic .gallery-card--side .gallery-item { height: 190px; }
    .project-gallery.project-gallery--cinematic .gallery-card--extra .gallery-item { height: 170px; }
    .project-gallery.project-gallery--cinematic .gallery-showcase-actions { margin-top: 0.7rem; justify-content: stretch; }
    .project-gallery.project-gallery--cinematic .gallery-showcase-cta { width: 100%; height: 42px; font-size: 0.98rem; }
    .project-gallery.project-gallery--cinematic .gallery-item { height: 178px; border-radius: 14px; }
    .project-gallery.project-gallery--cinematic .gallery-item::after { font-size: 0.7rem; bottom: 0.5rem; left: 0.5rem; }
}

/* Dukovany: скрыть глобальную навигацию main-nav только на десктопе */
@media (min-width: 1025px) {
	.header .main-nav { display: none !important; }
}
