.project-hero {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.project-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.project-content {
    padding: 5rem 0;
    background: #fff;
}

.project-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.project-main h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.project-main h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.project-main p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-features {
    list-style: none;
    margin: 1.5rem 0;
}

.project-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.project-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
    font-size: 1.25rem;
}

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

.project-info-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

.project-info-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #4b5563;
}

.info-item span {
    color: #dc2626;
    font-weight: 600;
}

.document-list {
    list-style: none;
}

.document-list li {
    margin-bottom: 0.75rem;
}

.document-list a {
    color: #dc2626;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.document-list a:before {
    content: "📄";
    margin-right: 0.5rem;
}

.document-list a:hover {
    color: #b91c1c;
}

.project-sections {
    padding: 5rem 0;
    background: #f8f9fa;
}

.sections-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    position: relative;
}

.sections-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.sections-nav {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sections-nav h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 700;
}

.sections-menu {
    list-style: none;
}

.sections-menu li {
    margin-bottom: 0.5rem;
}

.section-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #6b7280;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    border-left: 3px solid transparent;
}

.section-link:hover {
    background: #f3f4f6;
    color: #dc2626;
}

.section-link.active {
    background: #fee2e2;
    color: #dc2626;
    border-left-color: #dc2626;
    font-weight: 600;
}

.sections-mobile-nav {
    display: none;
    margin-bottom: 2rem;
}

.mobile-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
    background: #f9fafb;
}

.mobile-nav-toggle svg {
    fill: #6b7280;
    flex-shrink: 0;
}

.mobile-nav-toggle .chevron {
    transition: transform 0.3s ease;
}

.sections-mobile-nav.active .mobile-nav-toggle .chevron {
    transform: rotate(180deg);
}

.mobile-sections-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.sections-mobile-nav.active .mobile-sections-menu {
    max-height: 500px;
}

.mobile-section-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.mobile-section-link:hover {
    background: #f9fafb;
    color: #dc2626;
}

.mobile-sections-menu li:last-child .mobile-section-link {
    border-bottom: none;
}

.sections-content {
    min-height: 400px;
}

.project-section {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 100px;
}

.project-section:last-child {
    margin-bottom: 0;
}

.project-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.section-body {
    color: #4b5563;
    line-height: 1.8;
}

.section-body h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-body h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.section-body p {
    margin-bottom: 1rem;
}

.section-body ul,
.section-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.section-body li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.section-body a {
    color: #dc2626;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-body a:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.section-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.section-body th,
.section-body td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.section-body th {
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.section-body blockquote {
    border-left: 4px solid #dc2626;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f9fafb;
    font-style: italic;
    color: #6b7280;
}

@media (max-width: 992px) {
    .sections-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sections-sidebar {
        display: none;
    }

    .sections-mobile-nav {
        display: block;
    }

    .project-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .project-hero h1 {
        font-size: 2rem;
    }

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

    .project-sidebar {
        order: -1;
    }

    .project-sections {
        padding: 3rem 0;
    }

    .project-section {
        padding: 1.5rem;
    }

    .project-section h2 {
        font-size: 1.5rem;
    }
}
