/* Isı Yalıtım Nasıl Yapılır - Premium Timeline Design */

/* Override subpage-header for this page */
.subpage-header {
    padding: 140px 0 60px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.process-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 80px;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.25) saturate(1.2);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.3) 0%,
            rgba(10, 10, 10, 0.8) 70%,
            rgba(10, 10, 10, 1) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    animation: heroFadeUp 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading-tech);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.process-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

/* ========================================
   SECTION HEADER
   ======================================== */

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(226, 220, 74, 0.15), rgba(184, 179, 58, 0.08));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon svg {
    width: 28px;
    height: 28px;
    color: #E2DC4A;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title-wrap h2,
.section-header h2 {
    font-family: var(--font-heading-tech);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #fff;
}

.header-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #E2DC4A, #b8b33a);
    border-radius: 2px;
    margin-top: 1rem;
}

/* ========================================
   TESTS SECTION
   ======================================== */

.tests-section {
    margin-bottom: 4rem;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.test-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: cardReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.test-card[data-test="1"] {
    animation-delay: 0.1s;
}

.test-card[data-test="2"] {
    animation-delay: 0.2s;
}

.test-card[data-test="3"] {
    animation-delay: 0.3s;
}

.test-card[data-test="4"] {
    animation-delay: 0.4s;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.test-card:hover {
    transform: translateY(-8px);
    border-color: rgba(226, 220, 74, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(226, 220, 74, 0.1);
}

.test-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(226, 220, 74, 0.2);
    margin-bottom: 0.75rem;
    transition: color 0.4s ease;
}

.test-card:hover .test-number {
    color: rgba(226, 220, 74, 0.5);
}

.test-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.test-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.test-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E2DC4A, #b8b33a);
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.test-card:hover .test-line {
    width: 100%;
}

/* ========================================
   FEATURE BANNER
   ======================================== */

.feature-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(226, 220, 74, 0.05), rgba(184, 179, 58, 0.03));
    border: 1px solid rgba(226, 220, 74, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    overflow: hidden;
}

.banner-content h3 {
    font-family: var(--font-heading-tech);
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.banner-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.banner-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.banner-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.banner-visual:hover img {
    transform: scale(1.05);
}

/* ========================================
   TIMELINE SECTION
   ======================================== */

.steps-section {
    margin-bottom: 4rem;
}

.timeline {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    position: relative;
}

.timeline-line {
    position: relative;
    display: flex;
    justify-content: center;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.line-progress {
    position: absolute;
    top: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, #E2DC4A, #b8b33a, #8b9a3a);
    animation: lineGrow 2s ease-out 0.5s forwards;
}

@keyframes lineGrow {
    to {
        height: 100%;
    }
}

.timeline-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-column.left {
    padding-right: 2rem;
}

.timeline-column.right {
    padding-left: 2rem;
    padding-top: 4rem;
}

.step-item {
    position: relative;
    animation: stepReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.step-item[data-step="1"] {
    animation-delay: 0.2s;
}

.step-item[data-step="2"] {
    animation-delay: 0.3s;
}

.step-item[data-step="3"] {
    animation-delay: 0.4s;
}

.step-item[data-step="4"] {
    animation-delay: 0.5s;
}

.step-item[data-step="5"] {
    animation-delay: 0.6s;
}

.step-item[data-step="6"] {
    animation-delay: 0.7s;
}

.step-item[data-step="7"] {
    animation-delay: 0.8s;
}

.step-item[data-step="8"] {
    animation-delay: 0.9s;
}

.step-item[data-step="9"] {
    animation-delay: 1.0s;
}

.step-item[data-step="10"] {
    animation-delay: 1.1s;
}

.step-item[data-step="11"] {
    animation-delay: 1.2s;
}

.step-item[data-step="12"] {
    animation-delay: 1.3s;
}

@keyframes stepReveal {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-column.right .step-item {
    animation-name: stepRevealRight;
}

@keyframes stepRevealRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.step-content:hover {
    border-color: rgba(226, 220, 74, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2),
        0 0 25px rgba(226, 220, 74, 0.08);
}

/* Timeline dots */
.timeline-column.left .step-item::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%) translateX(50%);
    width: 14px;
    height: 14px;
    background: #E2DC4A;
    border: 3px solid #0a0a0a;
    border-radius: 50%;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-column.right .step-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 14px;
    height: 14px;
    background: #E2DC4A;
    border: 3px solid #0a0a0a;
    border-radius: 50%;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover::after,
.step-item:hover::before {
    transform: translateY(-50%) translateX(-50%) scale(1.3);
    box-shadow: 0 0 20px rgba(226, 220, 74, 0.5);
}

.timeline-column.left .step-item:hover::after {
    transform: translateY(-50%) translateX(50%) scale(1.3);
}

.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: #E2DC4A;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .tests-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-banner {
        grid-template-columns: 1fr;
    }

    .timeline {
        grid-template-columns: 30px 1fr;
    }

    .timeline-column.left {
        display: none;
    }

    .timeline-column.right {
        padding-left: 1.5rem;
        padding-top: 0;
    }

    .timeline-column.right .step-item {
        animation-name: stepReveal;
    }
}

@media (max-width: 768px) {
    .process-hero {
        min-height: 50vh;
        padding: 100px 1.5rem 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .process-main {
        padding: 3rem 1.5rem 4rem;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
    }

    .tests-grid {
        grid-template-columns: 1fr;
    }

    .feature-banner {
        padding: 1.5rem;
    }

    .step-content {
        padding: 1.25rem;
    }

    .timeline-column.right .step-item::before {
        left: -1.5rem;
        width: 10px;
        height: 10px;
    }
}