:where([class^="ri-"])::before { content: "\f3c2"; }
body { font-family: 'Inter', sans-serif; }

/* Geçici menü gizleme */
.mobile-menu-init {
    visibility: hidden;
}

/* Mobil menü animasyonu */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.hidden {
    display: none;
}

@media (max-width: 768px) {
    #mobile-menu:not(.hidden) {
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
        background: white;
        border-top: 1px solid rgba(0,0,0,0.1);
    }

    .nav-link {
        padding: 0.5rem 0;
    }
}

/* Temel animasyonlar */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll indicator animasyonu */
.scroll-indicator { 
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Timeline progress bar */
.timeline-progress {
    height: 2px;
    background: #1e40af;
    position: fixed;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
    z-index: 100;
}

/* Hover efektleri */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Card animasyonları */
.card-animate {
    transition: all 0.3s ease;
}

.card-animate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .card-animate:hover {
        transform: none;
    }
}

/* Navbar animasyonu */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #1e40af;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-link::after {
        display: none;
    }
}

/* Buton animasyonları */
.btn-animate {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

@media (min-width: 640px) {
    .btn-animate {
        width: auto;
    }
}

.btn-animate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-animate:hover::before {
    width: 300px;
    height: 300px;
}

/* Form input animasyonları */
.input-animate {
    transition: all 0.3s ease;
}

.input-animate:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* İkon animasyonları */
.icon-animate {
    transition: transform 0.3s ease;
}

.icon-animate:hover {
    transform: rotate(10deg) scale(1.1);
}

@media (max-width: 768px) {
    .icon-animate:hover {
        transform: none;
    }
}

/* Container padding ayarları */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Responsive tipografi */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    p {
        font-size: 1rem;
        line-height: 1.5;
    }
} 