
@font-face {
    font-family: 'Gilroy';
    src: url('../gilroy/Gilroy-Light.ttf') format('truetype');
    font-weight: 300; /* Light */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../gilroy/Gilroy-Regular.ttf') format('truetype');
    font-weight: 900; 
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #1e608b;
    --background-color-servis: #f7f7f7; 
    --card-background: #ffffff;
    --text-color-servis: #343a40;
    --light-text-color-servis: #6c757d;
    --border-color-servis: #dee2e6;
}

body {
    font-family: 'Gilroy', sans-serif;
    font-weight: 300;
    background-color: var(--background-color-servis);
    margin: 0;
    padding: 0;
}


.servisler-sayfasi {
    
    padding-top: 20px; 
    padding-bottom: 80px;
    overflow-x: hidden;
}

.servisler-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
}


.servisler-header {
    text-align: center;
    
    margin-bottom: 50px; 
}

.servisler-header h2 {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 900;
}

.servisler-header p {
    font-size: 1.1rem;
    color: var(--light-text-color-servis);
    max-width: 700px;
    margin: 0 auto;
}


.servisler-grid {
    display: grid;
    
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch; 
}


.servis-card {
    display: flex;
    flex-direction: column;
    background-color: var(--card-background);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    height: 100%;
    
    text-decoration: none;
    color: inherit;
    cursor: pointer;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    opacity: 0;
    transform: translateY(30px);
    animation: revealOnScroll 0.8s forwards;
}

.servis-card:nth-child(2) { animation-delay: 0.1s; }
.servis-card:nth-child(3) { animation-delay: 0.2s; }
.servis-card:nth-child(4) { animation-delay: 0.3s; }
.servis-card:nth-child(5) { animation-delay: 0.4s; }

@keyframes revealOnScroll {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.servis-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(30, 96, 139, 0.1);
}

.servis-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.servis-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.servis-card:hover .servis-card-image img {
    transform: scale(1.05);
}

.servis-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.servis-card-content h3 {
    font-size: 1.4rem;
    margin: 0 0 15px 0;
    color: var(--text-color-servis);
    font-weight: 900;
}

.servis-card-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-text-color-servis);
    margin: 0;
    flex-grow: 1;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .servisler-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .servisler-sayfasi {
        padding-top: 30px;
        padding-bottom: 60px;
    }
    
    .servisler-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .servis-card-image {
        height: 220px;
    }
}