html {
    scroll-behavior: smooth;
}

.section {
    padding-top: 80px;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Team Carousel Styles */
.team-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    touch-action: pan-y;
}

.team-carousel {
    display: flex;
    transition: transform 0.5s ease-out;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    /* iOS'ta daha akıcı kaydırma */
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.team-carousel.dragging {
    cursor: grabbing;
    transition: none;
}

.team-carousel .team-member {
    flex: 0 0 300px;
    margin: 0 15px;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Fotoğrafların ve içeriğin seçilmesini engelle */
.team-carousel .team-member img {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    /* iOS'ta uzun dokunma ile menü çıkmasını engeller */
}

.team-carousel .team-member h3,
.team-carousel .team-member p {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.team-carousel .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .team-carousel .team-member {
        flex: 0 0 80%;
        margin: 0 10px;
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .team-carousel .team-member {
        flex: 0 0 85%;
        margin: 0 7.5px;
        min-width: 220px;
    }
}

.team-carousel-container:hover .team-carousel.auto-scrolling {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-315px * 5));
        /* (width + margin) * (n/2) */
    }
}

@media (max-width: 768px) {
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-270px * 5));
            /* Mobil için adjusted (width + margin) * (n/2) */
        }
    }

    /* Mobil görünümde otomatik kaydırma yok */
    .team-carousel.auto-scrolling {
        animation: none;
    }
}

.auto-scrolling {
    animation: scroll 30s linear infinite;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(59, 130, 246, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 480px) {
    .carousel-button {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

.carousel-button:hover {
    background: rgba(37, 99, 235, 1);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

/* Dil seçim butonları */
.lang-switch {
    padding: 0.4rem 0.8rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-left: 0.5rem;
    font-weight: 500;
}

.lang-switch.active {
    background-color: rgba(37, 99, 235, 1);
    color: white;
}

.lang-switch:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

/* Yeni dil seçimi dropdown stilleri */
.lang-switch-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.lang-switch-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
    min-width: 120px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-origin: top right;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
}

/* Dil menüsünün sadece JavaScript ile açılmasını sağlamak için hover kaldırıldı */
.lang-dropdown.show,
.lang-dropdown:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.lang-option {
    font-weight: 500;
}

@media (max-width: 768px) {
    .lang-name {
        display: none;
    }
    
    .lang-switch {
        padding: 0.3rem 0.5rem;
        margin-left: 0.25rem;
    }
    
    .lang-switch-btn {
        padding: 0.3rem 0.5rem;
    }
    
    .lang-dropdown {
        min-width: 100px;
        z-index: 60; /* Mobil menünün üzerinde görünmesi için */
        right: 0;
        left: auto;
    }
}

/* Loader Styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0f172a;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 150px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

/* Yeni modern spinner stili */
.loader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-spinner .circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.loader-spinner .circle:nth-child(1) {
    width: 60px;
    height: 60px;
    opacity: 0.2;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.loader-spinner .circle:nth-child(2) {
    width: 45px;
    height: 45px;
    opacity: 0.4;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite 0.2s;
}

.loader-spinner .circle:nth-child(3) {
    width: 30px;
    height: 30px;
    opacity: 0.7;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite 0.4s;
}

.loader-spinner .center-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.loader-text {
    color: white;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
    margin-top: 5px;
    position: relative;
}

.loader-text::after {
    content: "";
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: "."; }
    40% { content: ".."; }
    60%, 100% { content: "..."; }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

@keyframes pulse {
    0% { opacity: 0.8; transform: scale(0.97); }
    50% { opacity: 1; transform: scale(1.03); }
    100% { opacity: 0.8; transform: scale(0.97); }
}

.fake-recaptcha-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin: 1rem 0;
}

.fake-recaptcha {
    position: relative;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    width: 300px;
    height: 74px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fake-recaptcha:hover {
    border-color: #b3b3b3;
}

.fake-recaptcha-checkbox {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background: #fff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fake-recaptcha-checkbox i {
    color: #009E55;
    font-size: 16px;
}

.fake-recaptcha-text {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-family: Roboto, helvetica, arial, sans-serif;
    font-size: 14px;
    color: #000;
    user-select: none;
}

.fake-recaptcha-logo {
    position: absolute;
    right: 8px;
    bottom: 18px;
    width: 28px;
    height: 28px;
}

.fake-recaptcha-logo img {
    width: 100%;
    height: auto;
    opacity: 0.5;
}

.fake-recaptcha.verified .fake-recaptcha-checkbox {
    background: #009E55;
    border-color: #009E55;
}

.fake-recaptcha.verified .fake-recaptcha-checkbox i {
    color: #fff;
    opacity: 1;
}

/* Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#recaptchaModal .bg-white {
    animation: modalFadeIn 0.3s ease-out;
} 
