/* Isı Yalıtım Çeşitleri - Premium Modern Design */

/* Override subpage-header for this page */
.subpage-header {
    padding: 140px 0 60px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.cesitler-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 100px;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.25) saturate(1.3);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.4) 0%,
            rgba(10, 10, 10, 0.7) 60%,
            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(50px);
    }

    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;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(245, 158, 11, 0.1);
    }
}

.hero-title {
    font-family: var(--font-heading-tech);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        height: 40px;
    }

    50% {
        opacity: 1;
        height: 60px;
    }
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.cesitler-main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
}

/* ========================================
   SECTION HEADER
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.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: 1rem;
}

.section-header h2 {
    font-family: var(--font-heading-tech);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.header-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #E2DC4A, #b8b33a);
    margin: 0 auto;
    border-radius: 2px;
}

/* ========================================
   APPLICATION TYPES CARDS
   ======================================== */

.types-section {
    margin-bottom: 6rem;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.type-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: cardReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.type-card[data-index="1"] {
    animation-delay: 0.1s;
}

.type-card[data-index="2"] {
    animation-delay: 0.2s;
}

.type-card[data-index="3"] {
    animation-delay: 0.3s;
}

.type-card[data-index="4"] {
    animation-delay: 0.4s;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.type-card:hover {
    transform: translateY(-10px);
    border-color: rgba(226, 220, 74, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(226, 220, 74, 0.1);
}

/* Card number */
.card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.1em;
}

/* Card icon */
.card-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;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: #E2DC4A;
    transition: transform 0.5s ease;
}

.type-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(226, 220, 74, 0.3), rgba(184, 179, 58, 0.15));
}

.type-card:hover .card-icon svg {
    transform: scale(1.1);
}

.type-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    transition: transform 0.4s ease;
}

.type-card:hover h3 {
    transform: translateX(5px);
}

.type-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Card glow effect */
.card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #E2DC4A, #b8b33a, #E2DC4A);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.type-card:hover .card-glow {
    transform: scaleX(1);
    animation: glowMove 2s linear infinite;
}

@keyframes glowMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* ========================================
   FEATURE IMAGE SECTION
   ======================================== */

.feature-image-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
}

.feature-content .section-tag {
    margin-bottom: 1.5rem;
}

.feature-content h2 {
    font-family: var(--font-heading-tech);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.feature-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.feature-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-image:hover img {
    transform: scale(1.05);
}

.image-frame {
    position: absolute;
    inset: -1px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), transparent, rgba(239, 68, 68, 0.3)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ========================================
   MATERIALS SECTION
   ======================================== */

.materials-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.showcase-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.showcase-image:hover img {
    transform: scale(1.05);
}

.materials-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.material-item {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.material-item:hover {
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.material-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.material-badge {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.material-badge.neopor {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.material-badge.xps {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.material-badge.rockwool {
    background: linear-gradient(135deg, #84cc16, #10b981);
}

.material-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.material-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.material-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);
}

.material-item:hover .material-line {
    width: 100%;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .feature-image-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .materials-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-image {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .cesitler-hero {
        min-height: 60vh;
        padding: 100px 1.5rem 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .cesitler-main {
        padding: 3rem 1.5rem 4rem;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .type-card {
        padding: 1.5rem;
    }

    .feature-image-section {
        padding: 2rem;
    }

    .material-item {
        padding: 1.25rem;
    }
}