body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;

    color: #333;
    line-height: 1.6;
}

/* Navbar stili */
.navbar {
    background-color: #F26101;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #222831;
}

/* Main content */
.content {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #F26101;
    margin-bottom: 40px;
}

.service {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
    /* Animasyon süresini uzattık */
}

.service.reverse {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.service.appear {
    opacity: 1;
    transform: translateX(0);
}

.service-illustration {
    flex: 1;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    /* Köşeleri yuvarladık */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    /* Elevation ekledik */
}

.service-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmi tamamen kaplayacak şekilde ayarladık */
    transition: transform 0.3s ease;
}


.service-illustration::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(35deg);
    pointer-events: none;
    filter: blur(5px);
    transition: all 0.7s ease;
}

.service-illustration:hover::before {
    left: 120%;
    transition: all 0.7s ease;

    .service-illustration:hover::before {
        animation: shine 1s ease;
        opacity: 1;
    }
}

.service-illustration:hover img {
    transform: scale(1.05);

}



@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.service-illustration::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-illustration:hover::before {
    animation: shine 1s ease;
    opacity: 1;
}

.service-content {
    flex: 1;
    padding: 0 40px;
    /* İçerik ile illüstrasyon arasındaki boşluğu artırdık */
}

@media (max-width: 768px) {

    .service,
    .service.reverse {
        flex-direction: column;
    }

    .service-illustration,
    .service-content {
        width: 100%;
    }

    .service-content {
        margin-top: 20px;
        padding: 0 20px;
    }
}

.service h2 {
    color: #F26101;
    margin-bottom: 15px;
}

.service p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #F26101;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #d55401;
}

@media (max-width: 768px) {

    .service,
    .service.reverse {
        flex-direction: column;
    }

    .service-illustration,
    .service-content {
        width: 100%;
    }

    .service-content {
        padding: 30px 0;
    }
}

/* Footer Kısmı */
.site-footer {
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 50px 0 20px;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo,
.footer-links,
.footer-contact {
    flex: 1;
    margin-right: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.5;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
}

.social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-left: 10px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-twitter {
    background-image: url('../assets/img/twitter-icon.png');
}

.icon-facebook {
    background-image: url('../assets/img/facebook-icon.png');
}

.icon-instagram {
    background-image: url('../assets/img/instagram-icon.png');
}

.icon-dribbble {
    background-image: url('../assets/img/dribbble-icon.png');
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-logo,
    .footer-links,
    .footer-contact {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        margin-top: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

.error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    /* Change to white */
    margin: 5px 0;
    transition: 0.4s;
}

@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links-container {
        display: none;
        position: fixed;
        top: 0;
        right: 0;

        width: 40%;
        /* Set to 50% of the screen */
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
    }

    .nav-links-container.active {
        display: block;
    }

    @media screen and (max-width: 768px) {
        .nav-links {
            flex-direction: column;
            padding-top: 60px;
            /* Add space for the logo */
        }

        .nav-links a {
            padding: 15px;
            width: 100%;
            text-align: center;
            color: #000;
            /* Set to black */
            text-decoration: none;
            transition: 0.3s;
        }

        .nav-links a:hover {
            color: #FFA500;
            /* Change to orange on hover */
            background-color: rgba(255, 165, 0, 0.1);
            /* Light orange background */
        }
    }
}

.close-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

/* Hide close-menu button on desktop */
@media screen and (min-width: 769px) {
    .close-menu {
        display: none;
    }
}