/* Genel stiller */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: #D9E8F5;
    color: #F26101;
}

/* 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;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #F7813B, #F76E5C);
    color: white;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 2rem auto;
}

.spline-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(45deg, #F7813B, #F76E5C);
    color: #D9E8F5;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}



.spline-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hizmetler bölümü */
.services {
    padding: 5rem 10%;
    background: linear-gradient(to bottom, #303841, #222831);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.button-container {
    text-align: center;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(to right, #F26101, #FF8C00);
    color: #D9E8F5;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.2rem;
    /* Font büyütme */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* Ok işareti için gerekli */
}

.view-all-button::after {
    content: '➔';
    /* Ok işareti */
    margin-left: 10px;
}

.view-all-button:hover {
    background: linear-gradient(to right, #FF8C00, #FFA500);
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}



.card {
    background: linear-gradient(to left, #F66765, #F68827);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}


.card-illustration {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
}

.card-subtitle {
    color: #ffffff8c;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card-description {
    font-size: 1rem;
    color: #fff;
}

/* Yumuşak geçiş için ek stil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(242, 97, 1, 0.9), rgba(145, 190, 212, 0));
    z-index: 999;
    pointer-events: none;
}

/* Yaratıcı Düşünce bölümü */
.creative-thinking {
    display: flex;
    align-items: center;
    padding: 5rem 10%;
    background: linear-gradient(to bottom right, #303841, #473d39);
}

.creative-content {
    flex: 1;
    padding-right: 5%;
}

.creative-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #F26101;
}

.creative-content p {
    font-size: 1.1rem;
    color: #F26101;
}

.creative-image {
    flex: 1;
}

.creative-image img {
    width: 100%;
    border-radius: 10px;
}

/* Referanslar bölümü */
.references {
    padding: 5rem 5%;
    /* Yanlardaki boşluğu azalttık */
    background: linear-gradient(to right, #473d39, #f05454);
    position: relative;
}

.references h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #F26101;
}

.carousel-container {
    overflow: hidden;
    margin-bottom: 3rem;
    position: relative;
    padding: 0 40px;
}

.image-carousel {
    display: flex;
    transition: transform 0.5s ease;
    margin: 0 -10px;
    /* Negative margin to pull items closer */
}

.carousel-item {
    flex: 0 0 calc(100% / var(--items-per-view));
    max-width: calc(100% / var(--items-per-view));
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel-nav.prev {
    left: 5px;
}

.carousel-nav.next {
    right: 5px;
}

@media (max-width: 1200px) {
    .carousel-container {
        padding: 0 35px;
    }

    .image-carousel {
        margin: 0 -8px;
    }

    .carousel-item {
        padding: 0 8px;
    }
}

@media (max-width: 992px) {
    .carousel-container {
        padding: 0 30px;
    }

    .image-carousel {
        margin: 0 -6px;
    }

    .carousel-item {
        padding: 0 6px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 25px;
    }

    .image-carousel {
        margin: 0 -4px;
    }

    .carousel-item {
        padding: 0 4px;
    }
}

.carousel-item {
    flex: 0 0 calc(100% / var(--items-per-view));
    max-width: calc(100% / var(--items-per-view));
    padding: 0 10px;
    /* Padding to create space between items */
    box-sizing: border-box;
    transition: transform 0.5s ease;
}

.carousel-item:first-child {
    margin-left: 10px;
    /* Compensate for negative margin on the left */
}

.carousel-item:last-child {
    margin-right: 10px;
    /* Compensate for negative margin on the right */
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.view-all-button {
    display: block;
    width: max-content;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #F26101;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .image-carousel {
        --items-per-view: 3;
        margin: 0 -5px;
        /* Smaller negative margin for mobile */
    }

    .carousel-item {
        padding: 0 5px;
        /* Smaller padding for mobile */
    }

    .carousel-item:first-child {
        margin-left: 5px;
    }

    .carousel-item:last-child {
        margin-right: 5px;
    }

    .carousel-container {
        padding: 0 30px;
        /* Smaller padding for mobile */
    }
}


.carousel-pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.pagination-dot.active {
    background: #F26101;
}

/* İletişim Hero bölümü */
.contact-hero {
    position: relative;
    background-image: url('assets/img/bg-contact-16.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.contact-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.contact-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff4757;
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0.5;
    animation: rise 10s infinite ease-in;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
}

.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0s;
}

.bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 55%;
    animation-duration: 6s;
    animation-delay: 1s;
}

.bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 65%;
    animation-duration: 8s;
    animation-delay: 3s;
}

.bubble:nth-child(7) {
    width: 90px;
    height: 90px;
    left: 70%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.bubble:nth-child(8) {
    width: 25px;
    height: 25px;
    left: 80%;
    animation-duration: 6s;
    animation-delay: 2s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }

    50% {
        transform: translate(100px, -500px);
    }

    100% {
        bottom: 1080px;
        transform: translateX(-200px);
    }
}

/* 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('path/to/twitter-icon.png');
}

.icon-facebook {
    background-image: url('path/to/facebook-icon.png');
}

.icon-instagram {
    background-image: url('path/to/instagram-icon.png');
}

.icon-dribbble {
    background-image: url('path/to/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;
    }
}

@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }


    .nav-links {
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .nav-links a {
        margin: 0.5rem 0;
    }

    .logo {
        max-width: 50%;
        /* Adjust as needed */
    }

    .logo img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 3rem 5%;
    }

    .services h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .creative-thinking {
        flex-direction: column;
        padding: 3rem 5%;
    }

    .creative-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .creative-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .references {
        padding: 3rem 3%;
    }

    .references h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-content h2 {
        font-size: 2rem;
    }

    .contact-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding-left: 5%;
        padding-right: 5%;
    }
}

.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%;
        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;
    }

    .nav-links {
        flex-direction: column;
        padding-top: 60px;
    }

    .nav-links a {
        padding: 15px;
        width: 100%;
        text-align: center;
        color: #000;
        text-decoration: none;
        transition: 0.3s;
    }

    .nav-links a:hover {
        color: #FFA500;
        background-color: rgba(255, 165, 0, 0.1);
    }

    .close-menu {
        display: block;
        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;
    }
}