﻿/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 56px; /* Navbar height */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ETİKETLERİN MOBİL GÖRÜNÜMDEKİ AYARLARI */
@media (max-width: 768px) {
    .hero-badges {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

        .hero-badges .badge {
            flex: 0 0 auto;
            min-width: 120px;
            font-size: 0.8rem;
        }
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

    .hero-section h1 {
        font-size: 3rem;
        color: #2c3e50;
        margin-bottom: 20px;
    }

    .hero-section .lead {
        font-size: 1.25rem;
        margin-bottom: 30px;
        color: #4a5568;
    }

.hero-badges {
    margin: 20px 0;
}

    .hero-badges .badge {
        margin-right: 10px;
        font-size: 0.9rem;
        padding: 8px 12px;
    }

/* Service Details */
.service-details {
    padding: 80px 0;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
}

.service-benefits, .service-process {
    list-style-type: none;
    padding-left: 0;
}

    .service-benefits li, .service-process li {
        padding: 8px 0;
        position: relative;
        padding-left: 30px;
    }

        .service-benefits li:before {
            content: "\f00c";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            color: #2ecc71;
            position: absolute;
            left: 0;
        }

    .service-process li {
        counter-increment: step-counter;
    }

        .service-process li:before {
            content: counter(step-counter);
            background-color: #3498db; 
            color: white;
            font-weight: bold;
            border-radius: 50%;
            width: 22px;
            height: 22px;
            text-align: center;
            display: inline-block;
            position: absolute;
            left: 0;
            font-size: 0.8rem;
            line-height: 22px;
        }

/* Technology Cards */
.technology-details {
    padding: 30px 0;
    background-color: #e9ecef !important;
} 

.tech-card .card {
    height: 100%;
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

    .tech-card .card:hover {
        transform: translateY(-5px);
    }

.tech-icon {
    height: 60px;
    margin-bottom: 15px;
}

/* Technology Slider */
.tech-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 30px 0;
}

.tech-slider {
    display: flex;
    width: calc(150px * 12); /* 6 items + 6 duplicates */
    animation: slide 20s linear infinite;
}

.tech-slide {
    width: 150px;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    padding: 2px;
    text-align: center;
}

    .tech-slide img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-bottom: 10px;
        transition: transform 0.3s ease; 
    }

/* TEKNOLOJİLERİN SLİDER'I İÇİN MOBİL GÖRÜNÜM AYARLARI  */
@media (max-width: 767.98px) {
    .tech-slide img {
        height: 350px;
        object-fit: contain;
        margin-bottom: 2px;
        transition: transform 0.3s ease;
    }

    .tech-slide {
        height: 70px; /* Adjust height for smaller screens */
    }
}

.tech-slide:hover img {
    transform: scale(1.1);
} 

/*
.tech-slide p {
    margin: 0;
     font-weight: 600;
     color: #333;
} 
*/

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-150px * 6)); /* Move by 6 items */
    }
}

/* Service Cards */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
    padding: 80px 0;
}

.form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .form-container input,
    .form-container textarea {
        margin-bottom: 20px;
        border: 1px solid #ddd;
    }

        .form-container input:focus,
        .form-container textarea:focus {
            border-color: #3498db;
            box-shadow: none;
        }

    .social-icons a:hover {
        background-color: #3498db;
        transform: translateY(-3px);
    } 
/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
    }

        .hero-section h1 {
            font-size: 2.5rem;
        }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

        .hero-section .col-lg-6:last-child {
            margin-top: 30px;
        }

    .service-card {
        margin-bottom: 20px;
    }

    /* Slider adjustments */
    .tech-slide {
        width: 120px;
        min-width: 120px;
    }

    .tech-slider {
        width: calc(120px * 12);
        animation: slide 15s linear infinite;
    }

    @keyframes slide {
        100% {
            transform: translateX(calc(-120px * 6));
        }
    }

    .tech-slide img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .tech-slide {
        width: 100px;
        min-width: 100px;
        padding: 10px;
    }

    .tech-slider {
        width: calc(100px * 12);
    }

    @keyframes slide {
        100% {
            transform: translateX(calc(-100px * 6));
        }
    }

    .tech-slide img {
        width: 50px;
        height: 50px;
    }
}
