/* --- CINEMATIC HERO SECTION --- */
.cinematic-hero {
    position: relative;
    height: 85vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(11,11,11,1) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 20px;
    margin-top: 40px;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.dot { color: var(--accent); }

/* --- CONTENT LAYOUT --- */
.case-study-content {
    background: var(--bg-color);
    position: relative;
    z-index: 2;
    margin-top: -5px;
}

.cs-section {
    padding: 100px 8%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.intro-section { padding-top: 60px; }

.cs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.cs-label {
    display: block;
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cs-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
    line-height: 1.1;
    color: var(--text-main);
}

.cs-text-block p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
}

.cs-text-block strong { color: var(--text-main); }

/* --- META GRID --- */
.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
}

.meta-item h3 {
    font-size: 1rem;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.sub-meta {
    font-size: 0.85rem;
    opacity: 0.7;
    display: block;
    margin-top: 5px;
}

/* --- DETAILS GRID --- */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.col-left p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.outcome-list { list-style: none; }
.outcome-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--accent);
    color: var(--text-light);
    line-height: 1.6;
}
.outcome-list strong { color: var(--text-main); }

@media(max-width: 768px) {
    .grid-2-col { grid-template-columns: 1fr; gap: 40px; }
    .cinematic-hero { height: 70vh; }
}

/* --- MEDIA & DOWNLOAD --- */
.media-section { text-align: center; }

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    margin-bottom: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-radius: 4px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* New Elegant Link Style */
.download-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.doc-link-elegant {
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.doc-link-elegant::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.doc-link-elegant:hover {
    color: var(--text-main);
}

.doc-link-elegant:hover::after {
    width: 100%;
}

.link-arrow {
    color: var(--accent);
    transition: transform 0.3s ease;
}

.doc-link-elegant:hover .link-arrow {
    transform: translateX(5px);
}

/* --- PROJECT NAVIGATION (Footer Style) --- */
.project-navigation {
    background-color: #050505; /* Slightly darker than main bg */
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 8%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    width: 45%;
    transition: all 0.3s ease;
}

.nav-item.prev { align-items: flex-start; text-align: left; }
.nav-item.next { align-items: flex-end; text-align: right; }

.nav-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 10px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.nav-title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: white;
    font-weight: 600;
}

/* Hover Effects */
.nav-item:not([style*="default"]):hover .nav-label { opacity: 1; color: var(--accent); }
.nav-item:not([style*="default"]):hover .nav-title { opacity: 0.8; }

/* Divider line for Desktop */
.nav-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .nav-item {
        width: 100%;
        align-items: center !important;
        text-align: center !important;
    }

    .nav-divider {
        width: 60px;
        height: 1px;
    }
}