/* Isı Yalıtım - Educational / Technical Theme */
/* Distinct from Corporate Editorial Style */

/* --- Educational Header --- */
/* --- Educational Header (Matches Kurumsal Badge Design) --- */
.tech-header {
    position: relative;
    background-color: var(--color-bg-alt);
    background-image: url('../../assets/images/ısı_yalıtım_badge.png');
    /* Clean home/insulation feel */
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: var(--space-xl) 0;
    z-index: 1;
    /* Text align left by default like Kurumsal */
}

.tech-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

.tech-header h1,
.tech-header p {
    position: relative;
    z-index: 2;
}

.tech-headline {
    font-size: var(--h1-size);
    font-weight: 700;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.tech-subhead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #D0D0D0;
    max-width: 1100px;
    margin-bottom: 0;
}

/* --- Awareness Stats (The "Why") --- */
.stats-section {
    padding: 100px 0 200px;
    /* Added top padding, kept large bottom separation */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* --- Zig-Zag Explanation Blocks --- */
.zigzag-wrapper {
    margin-bottom: var(--space-xxl);
}

.zigzag-block {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

/* Alternate order for even items */
.zigzag-block:nth-child(even) {
    flex-direction: row-reverse;
}

.zigzag-content {
    flex: 1;
}

.zigzag-visual {
    flex: 1;
    position: relative;
    height: 400px;
}

.zigzag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    filter: grayscale(20%) contrast(1.1);
    /* Slightly technical look */
}

.zigzag-title {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.zigzag-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-accent);
}

.zigzag-text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* --- Visual Diagram Section --- */
/* --- Visual Diagram Section --- */
.diagram-section {
    background: transparent;
    /* Match page background as requested */
    padding: var(--space-xxl) 0;
    margin-bottom: var(--space-xxl);
    /* Borders removed to blend in fully */
    text-align: center;
}

.diagram-section .tech-subhead {
    margin: 0 auto;
    /* Force centering for this section */
    float: none;
    text-align: center;
}

.diagram-container {
    max-width: 1000px;
    margin: 0 auto;
}

.diagram-img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    /* Keep diagram aspect ratio */
    margin-top: var(--space-sm);
    opacity: 0.9;
    mix-blend-mode: screen;
    /* Standard for removing black */
    filter: contrast(1.5) brightness(0.8);
    /* Crush dark grays to black so blending works perfectly */
}

/* --- Technical Highlights --- */
.tech-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xxl);
}

.tech-card {
    background: transparent;
    border-left: 2px solid var(--color-accent);
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.02), transparent);
}

.tech-card h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.tech-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Nav Pills (Subpage Links) --- */
.nav-pills-section {
    text-align: center;
    margin-bottom: 100px;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-pills-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    display: block;
}

.nav-pills-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.nav-pill {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 12px 30px;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-pill:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.02);
}

.nav-pill i {
    font-style: normal;
    font-size: 1.2em;
}

/* Responsive */
@media (max-width: 900px) {

    .zigzag-block,
    .zigzag-block:nth-child(even) {
        flex-direction: column;
        text-align: left;
        gap: 30px;
        margin-bottom: 80px;
    }

    .zigzag-visual {
        width: 100%;
        height: 300px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .tech-header {
        padding: var(--space-xl) var(--space-md);
    }

    .tech-headline {
        font-size: 2rem;
    }
}