/* Services Page - Minimal Design */

/* Prevent horizontal scrolling on mobile */
body {
    overflow-x: hidden;
}

/* Hero Section */
.services-hero {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-left {
    flex: 1;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 28px;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 60px 20px 80px;
    background-color: var(--background-alt);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--secondary);
    border-radius: var(--radius);
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

/* Service Image Frame */
.service-image-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--background-alt);
    overflow: hidden;
    border: none;
    margin-bottom: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

/* Icon fallback (görsel yoksa) */
.service-image-frame .service-icon-fallback {
    width: 80px;
    height: 80px;
    background: var(--background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-frame .service-icon-fallback i {
    font-size: 36px;
    color: var(--accent);
}

/* Service Content Area */
.service-content {
    padding: 16px;
    text-align: left;
    background: var(--secondary);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.service-tags {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-tags span {
    font-size: 13px;
    color: var(--text);
    font-weight: 400;
    line-height: 1.4;
}

.service-tags span::before {
    content: '• ';
    color: var(--accent);
    font-weight: 700;
}

/* Gizlenen öğeler - sadece görsel ve başlık gösterilecek */
.service-description,
.service-features,
.service-cta,
.service-icon {
    display: none;
}

/* Process Section */
.process-section {
    padding: 80px 20px;
    background-color: var(--secondary);
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    position: relative;
}

.process-step {
    flex: 1;
    min-width: 0;
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: var(--background-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--accent);
}

.step-icon i {
    font-size: 24px;
    color: var(--accent);
    transition: var(--transition);
}

.process-step:hover .step-icon i {
    color: var(--secondary);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.step-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-connector {
    flex: 0 0 40px;
    height: 2px;
    background: var(--border);
    margin-top: 24px;
    position: relative;
}

.process-connector::after {
    content: '→';
    position: absolute;
    right: -8px;
    top: -10px;
    color: var(--text-secondary);
    font-size: 18px;
}

/* CTA Section */
.services-cta {
    padding: 80px 20px;
    background-color: var(--background-alt);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.cta-button.primary {
    background-color: var(--accent);
    color: var(--secondary);
}

.cta-button.primary:hover {
    background-color: #0051C2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.cta-button.secondary {
    background-color: var(--secondary);
    color: var(--accent);
    border: 1px solid var(--border);
}

.cta-button.secondary:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .stat-item {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        flex: 0 0 40px;
        margin: 10px 0;
    }

    .process-connector::after {
        content: '↓';
        right: -8px;
        top: 15px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 20px 20px 15px;
        padding-top: 80px;
        /* Account for fixed header + search bar on mobile */
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .services-section {
        padding: 30px 20px 40px;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .service-title {
        font-size: 15px;
    }

    .process-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .process-step {
        min-width: 100%;
    }

    .services-cta {
        padding: 60px 20px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-text {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .services-container {
        gap: 12px;
    }

    .service-title {
        font-size: 14px;
    }

    .service-image-frame {
        margin-bottom: 10px;
    }

    .cta-title {
        font-size: 24px;
    }
}