* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    text-align: center;
    margin: 40px 0;
    font-size: 2.5rem;
    color: #2c3e50;
}

/* Hizmetler Listesi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.service-title:hover {
    color: #3498db;
}

.service-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.btn-read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-read-more:hover {
    background-color: #2980b9;
}

/* Detay Sayfası */
.btn-back {
    display: inline-block;
    padding: 10px 20px;
    background-color: #95a5a6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.btn-back:hover {
    background-color: #7f8c8d;
}

.detail-header {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.detail-main-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.detail-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.long-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

/* Galeri */
.gallery-hizmet-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-hizmet-section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.gallery-hizmet-grid {
    display: grid;
   /* grid-template-rows: 200px; */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}




.gallery-hizmet-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-hizmet-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-hizmet-item:hover img {
    transform: scale(1.1);
}

.gallery-hizmet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-hizmet-item:hover .gallery-hizmet-overlay {
    opacity: 1;
}

.gallery-hizmet-overlay i {
    color: white;
    font-size: 2rem;
}

/* Sayfalama */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #3498db;
    transition: all 0.3s;
}

.page-link:hover {
    background-color: #3498db;
    color: white;
}

.page-link.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .detail-header h1 {
        font-size: 1.5rem;
    }

    .gallery-hizmet-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}