.colorservices {
    background: rgba(10,37,64,1);
    max-width: 100%;
    margin: 0 auto;
    padding-top: 150px;
    padding-bottom: 150px;
}

.services-inner {
    max-width: 1440px;   /* 14” referans genişliği civarı */
    margin: 0 auto;
}

.round-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr)); /* 150px min, esnek max */
    justify-content: center; /* grid ortalanır */
    gap: 75px;
    max-width: 85%;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0px;
    padding-right: 0px;
    box-sizing: border-box;
}

.round-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(242, 246, 252, 0.8);
}

/* Kırmızı filtre overlay */
.round-service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 0, 0); 
    transition: background-color 0.3s ease;
    pointer-events: none; 
    z-index: 2;
}

.round-service-card:hover .round-service-img img {
    filter: none;
}


.round-service-card:active .round-service-img,
.round-service-card.is-pressed .round-service-img {
    box-shadow: 0 0 0 clamp(3px, 0.8vw, 6px) rgba(242, 246, 252, 0.95);
    transform: none;
}


.round-service-card {
    cursor: pointer;
}

.round-service-img {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1; 
    will-change: transform;
    transform: translateZ(0);
}

.round-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) saturate(200%);
    transition: filter 0.5s ease;
}

.round-service-text h2 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 2;
    color: rgba(242, 246, 252, 0.8);
}

.round-service-text p {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5;
    color: rgba(242, 246, 252, 0.8);
}

.round-service-text h2,
.round-service-text p {
    text-decoration: none;
}

.round-service-card:hover .round-service-text h2 {
    text-decoration: underline;
}

.services-footer-text {
    text-align: center;
    color: rgba(242, 246, 252, 0.8);
    font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
    margin-top: 100px;
    padding-left: 50px;
    padding-right: 50px;
    font-weight: 400;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.bullet-break {
    display: inline-block;      
    white-space: nowrap;
    margin: 0 3px;
}

/* Tablet: 1024px altı */
@media (max-width: 1024px) {
    .colorservices {
        padding-top: 125px;
        padding-bottom: 125px;
    }
    .round-services-grid {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
        gap: 65px;
        padding-left: 75px;
        padding-right: 75px;
        max-width: 90%;
    }
    .round-service-text h2 {
        font-size: 1.25rem;
    }
    .round-service-text p {
        font-size: 1rem;
    }
    .services-footer-text {
        font-size: 1.25rem;
        margin-top: 100px;
}
}

/* Telefon: 768px altı */
@media (max-width: 768px) {
    .colorservices {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .round-services-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr)); /* min boyut biraz küçüldü */
        gap: 65px;
        padding-left: 50px;
        padding-right: 50px;
        max-width: 80%;
    }
}

/* Telefon: 425px altı */
@media (max-width: 425px) {
    .round-services-grid {
        grid-template-columns: repeat(2, minmax(90px, 1fr)); /* min boyut biraz küçüldü */
    }
}

/* Telefon: 350px altı */
@media (max-width: 350px) {
    .round-services-grid {
        grid-template-columns: repeat(1, minmax(100px, 1fr)); /* min boyut biraz küçüldü */
        gap: 65px;
        padding-left: 50px;
        padding-right: 50px;
        max-width: 80%;
    }
}

@media (hover: hover) {
    .round-service-card:hover .round-service-img {
        transform: scale(1.05);
        box-shadow:
            0 15px 35px rgba(0,0,0,0.25),
            0 0 0 clamp(4px, 1vw, 8px) rgba(242, 246, 252, 0.9);
    }
}

@media (hover: none) {
    .round-service-img {
        transition: none;
    }
}
