/* Hizmetler Kartları İçin Özel Stiller */

/* Hizmetler Bölümü */
.what-we-do-section {
    position: relative;
    padding: 100px 0;
    background-color: #0F172A;
    background-image: linear-gradient(to bottom, #1E293B, #0F172A);
    overflow: hidden;
    z-index: 1;
    color: #fff;
}

/* Laptop Görünümü */
.laptop-showcase {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 100px auto;
}

.laptop-device {
    position: relative;
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    z-index: 5;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    z-index: 10;
}

.laptop-screen {
    width: 100%;
    background: #1E1E1E;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: relative;
    padding-bottom: 62.5%; /* 16:10 aspect ratio */
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.3);
    transform-origin: bottom center;
    animation: openLaptop 2s ease forwards;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

@keyframes openLaptop {
    0% {
        transform: rotateX(-90deg);
    }
    100% {
        transform: rotateX(0);
    }
}

.laptop-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1E1E1E;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.website-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12%;
    background: linear-gradient(90deg, #4F46E5 0%, #06B6D4 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    z-index: 2;
}

.website-controls {
    display: flex;
    gap: 5px;
}

.website-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.website-control.red {
    background-color: #ff5f56;
}

.website-control.yellow {
    background-color: #ffbd2e;
}

.website-control.green {
    background-color: #27c93f;
}

.website-body {
    position: absolute;
    top: 12%;
    left: 0;
    width: 100%;
    height: 88%;
    padding: 20px;
}

.website-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
}

.website-mockup {
    width: 100%;
    height: 100%;
}

.laptop-base {
    width: 110%;
    height: 15px;
    background: #CCC;
    margin: 0 -5%;
    border-radius: 0 0 10px 10px;
    position: relative;
    background: linear-gradient(to bottom, #BDC3C7, #7F8C8D);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.laptop-base::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 10px;
    background: #7F8C8D;
    border-radius: 0 0 5px 5px;
}

/* Hizmet Kartları */
.service-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.service-card-item {
    position: absolute;
    width: 280px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 1px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    z-index: 4;
    transform: translateZ(0);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    contain: layout style paint;
}

.service-card-item:hover {
    transform: translateY(-12px) scale(1.03) translateZ(0);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.5);
    background: rgba(255, 255, 255, 0.1);
    will-change: transform;
}

.service-card-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
}

.service-card-item:hover::before {
    opacity: 1;
    animation: shine 1.5s forwards;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.service-card-item.top-left {
    top: 5%;
    left: -100px;
}

.service-card-item.top-right {
    top: 5%;
    right: -100px;
    text-align: right;
}

.service-card-item.bottom-left {
    bottom: 25%;
    left: -100px;
}

.service-card-item.bottom-right {
    bottom: 25%;
    right: -100px;
    text-align: right;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: none;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card-item.top-right .service-card-icon,
.service-card-item.bottom-right .service-card-icon {
    margin-left: auto;
}

.service-card-icon i {
    font-size: 28px;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card-item:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #6366F1 0%, #0891B2 100%);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.service-card-item:hover .service-card-icon i {
    transform: scale(1.2);
}

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.service-card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: 400;
}

/* İçerik Dalgası */
.wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: #0F172A;
    opacity: 0.8;
}

/* Mobil Responsive */
@media (max-width: 991.98px) {
    .laptop-device {
        width: 90%;
    }
    
    .service-card-item {
        width: 180px;
        padding: 20px;
    }
    
    .service-card-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 767.98px) {
    .what-we-do-section {
        padding: 70px 0;
    }
    
    .laptop-showcase {
        height: auto;
        margin-bottom: 350px;
    }
    
    .service-card-item {
        position: static;
        margin: 15px auto;
        width: 90%;
        max-width: 300px;
    }
    
    .service-cards {
        position: relative;
        display: flex;
        flex-direction: column;
        margin-top: 30px;
    }
}