/* ====================================
   MAVI GÜNEŞ SAHAF - ANIMASYONLAR
   Smooth ve etkileyici animasyonlar
   ===================================== */

/* === SCROLL REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* === FLOATING ANIMATIONS === */
@keyframes floatUp {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatDown {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

@keyframes floatLeftRight {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(30px);
    }
}

.float-up {
    animation: floatUp 4s ease-in-out infinite;
}

.float-down {
    animation: floatDown 4s ease-in-out infinite;
}

.float-left-right {
    animation: floatLeftRight 6s ease-in-out infinite;
}

/* === SHIMMER EFFECTS === */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.shimmer-text {
    background: linear-gradient(90deg, 
        var(--text-primary) 0%, 
        var(--accent-color) 50%, 
        var(--text-primary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

/* === TYPEWRITER EFFECT === */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--accent-color);
    white-space: nowrap;
    margin: 0 auto;
    animation: 
        typewriter 3s steps(40, end),
        blink 0.75s step-end infinite;
}

/* === BOUNCE ANIMATIONS === */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceInDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    60% {
        opacity: 1;
        transform: translateY(30px);
    }
    80% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes bounceInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    60% {
        opacity: 1;
        transform: translateX(25px);
    }
    80% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes bounceInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    60% {
        opacity: 1;
        transform: translateX(-25px);
    }
    80% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

.bounce-in {
    animation: bounceIn 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.bounce-in-down {
    animation: bounceInDown 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.bounce-in-left {
    animation: bounceInLeft 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.bounce-in-right {
    animation: bounceInRight 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

/* === FADE ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.fade-in-down {
    animation: fadeInDown 1s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out;
}

/* === SLIDE ANIMATIONS === */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-down {
    animation: slideInDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === ZOOM ANIMATIONS === */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.5);
    }
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

.zoom-out {
    animation: zoomOut 0.6s ease-out;
}

/* === ROTATE ANIMATIONS === */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-200deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

@keyframes rotateOut {
    from {
        opacity: 1;
        transform: rotate(0);
    }
    to {
        opacity: 0;
        transform: rotate(200deg);
    }
}

.rotate-in {
    animation: rotateIn 1s ease-out;
}

.rotate-out {
    animation: rotateOut 1s ease-out;
}

/* === FLIP ANIMATIONS === */
@keyframes flipInX {
    from {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotateX(-20deg);
    }
    60% {
        transform: perspective(400px) rotateX(10deg);
        opacity: 1;
    }
    80% {
        transform: perspective(400px) rotateX(-5deg);
    }
    to {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

@keyframes flipInY {
    from {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotateY(-20deg);
    }
    60% {
        transform: perspective(400px) rotateY(10deg);
        opacity: 1;
    }
    80% {
        transform: perspective(400px) rotateY(-5deg);
    }
    to {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

.flip-in-x {
    animation: flipInX 1s ease-out;
}

.flip-in-y {
    animation: flipInY 1s ease-out;
}

/* === PULSE ANIMATIONS === */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 107, 120, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(45, 107, 120, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(45, 107, 120, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}

/* === SHAKE ANIMATIONS === */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

.shake {
    animation: shake 0.8s;
}

/* === WOBBLE ANIMATIONS === */
@keyframes wobble {
    0% {
        transform: translateX(0%);
    }
    15% {
        transform: translateX(-25%) rotate(-5deg);
    }
    30% {
        transform: translateX(20%) rotate(3deg);
    }
    45% {
        transform: translateX(-15%) rotate(-3deg);
    }
    60% {
        transform: translateX(10%) rotate(2deg);
    }
    75% {
        transform: translateX(-5%) rotate(-1deg);
    }
    100% {
        transform: translateX(0%);
    }
}

.wobble {
    animation: wobble 1s;
}

/* === LOADING ANIMATIONS === */
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.loading {
    animation: loading 2s linear infinite;
}

.loading-dots {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: loadingDots 1.4s infinite ease-in-out both;
}

.loading-dots:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots:nth-child(2) {
    animation-delay: -0.16s;
}

/* === GRADIENT ANIMATIONS === */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-shift {
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--gold));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* === PARALLAX EFFECTS === */
.parallax-element {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* === HOVER EFFECTS === */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
}

.hover-shrink {
    transition: transform 0.3s ease;
}

.hover-shrink:hover {
    transform: scale(0.95);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-10px);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(45, 107, 120, 0.5);
}

/* === STAGGER ANIMATIONS === */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stagger-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* === MORPHING ANIMATIONS === */
@keyframes morphShape {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.morph-shape {
    animation: morphShape 8s ease-in-out infinite;
}

/* === TEXT EFFECTS === */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(247, 191, 79, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(247, 191, 79, 0.8), 0 0 30px rgba(247, 191, 79, 0.6);
    }
}

.text-glow {
    animation: textGlow 2s ease-in-out infinite alternate;
}

/* === CARD ANIMATIONS === */
.card-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* === BUTTON RIPPLE EFFECT === */
.ripple {
    position: relative;
    overflow: hidden;
}

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

.ripple:active::before {
    width: 300px;
    height: 300px;
}

/* === SCROLL TRIGGERED ANIMATIONS === */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

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

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.scroll-slide-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}

.scroll-slide-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* === INFINITE ANIMATIONS === */
.infinite-bounce {
    animation: bounceIn 2s infinite;
}

.infinite-pulse {
    animation: pulse 3s infinite;
}

.infinite-float {
    animation: floatUp 4s ease-in-out infinite;
}

/* === PERFORMANCE OPTIMIZATIONS === */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* === DELAY CLASSES === */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* === DURATION CLASSES === */
.duration-150 { animation-duration: 0.15s; }
.duration-300 { animation-duration: 0.3s; }
.duration-500 { animation-duration: 0.5s; }
.duration-700 { animation-duration: 0.7s; }
.duration-1000 { animation-duration: 1s; }
.duration-1500 { animation-duration: 1.5s; }
.duration-2000 { animation-duration: 2s; }



/* Mobile menu slide in animation */
@keyframes mobileMenuSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu slide out animation */
@keyframes mobileMenuSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

/* WhatsApp button pulse animation */
@keyframes pulseGreen {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.5), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    }
}

/* WhatsApp icon bounce */
@keyframes bounceX {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-3px) scale(1.1);
    }
    75% {
        transform: translateX(3px) scale(1.1);
    }
}

/* Logo hover animation */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.logo:hover {
    animation: logoFloat 0.6s ease-in-out;
}

/* Brand text gradient animation */
@keyframes brandGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.brand-text h2 {
    background-size: 200% 200%;
    animation: brandGradient 4s ease infinite;
}

/* Navigation link hover ripple effect */
@keyframes navRipple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(45, 107, 120, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.3s ease;
}

.nav-link:active::after {
    width: 100px;
    height: 100px;
    animation: navRipple 0.6s ease-out;
}

/* Button loading animation */
@keyframes buttonLoading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.btn.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: buttonLoading 1s linear infinite;
}

.btn.loading {
    color: transparent;
}

/* Navbar scroll animation */
@keyframes navbarSlideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes navbarSlideUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.navbar.slide-down {
    animation: navbarSlideDown 0.3s ease-out;
}

.navbar.slide-up {
    animation: navbarSlideUp 0.3s ease-out;
}

/* Search input expand animation */
@keyframes searchExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 200px;
        opacity: 1;
    }
}

.search-input.expanding {
    animation: searchExpand 0.4s ease-out;
}

/* Mobile menu items stagger animation */
.nav-links-container.mobile-open .nav-link {
    opacity: 0;
    transform: translateY(20px);
    animation: mobileItemFadeIn 0.3s ease-out forwards;
}

.nav-links-container.mobile-open .nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-links-container.mobile-open .nav-link:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-links-container.mobile-open .nav-link:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-links-container.mobile-open .nav-link:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-links-container.mobile-open .nav-link:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes mobileItemFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA buttons stagger in mobile */
.nav-links-container.mobile-open .nav-cta .btn {
    opacity: 0;
    transform: scale(0.8);
    animation: ctaFadeIn 0.4s ease-out forwards;
}

.nav-links-container.mobile-open .nav-cta .btn:nth-child(1) {
    animation-delay: 0.6s;
}

.nav-links-container.mobile-open .nav-cta .btn:nth-child(2) {
    animation-delay: 0.7s;
}

@keyframes ctaFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Navbar notification badge animation */
@keyframes badgePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    animation: badgePulse 2s infinite;
}

/* Navbar glass effect enhancement */
@keyframes glassShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    background-size: 200% 100%;
    animation: glassShimmer 3s ease-in-out infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar:hover::after {
    opacity: 1;
}

/* Mobile menu toggle animation enhancement */
@keyframes menuToggleRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

.mobile-menu-toggle:active {
    animation: menuToggleRotate 0.3s ease-in-out;
}

/* Navbar brand hover effect */
@keyframes brandHover {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.nav-brand:hover {
    animation: brandHover 0.4s ease-in-out;
}

/* Phone icon animation for call button */
@keyframes phoneRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50%, 70% {
        transform: rotate(-10deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(10deg);
    }
}

.btn-outline:hover .fa-phone {
    animation: phoneRing 0.8s ease-in-out;
}

/* Smooth color transitions for all navbar elements */
.navbar * {
    transition: 
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease;
}

/* High performance animations */
.navbar,
.nav-link,
.btn,
.logo,
.mobile-menu-toggle span {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .navbar *,
    .nav-link::before,
    .btn::before,
    .logo,
    .mobile-menu-toggle span {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
    
    .navbar::after {
        display: none;
    }
}

/* Focus animations for accessibility */
.nav-link:focus,
.btn:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    animation: focusPulse 1s ease-in-out infinite alternate;
}

@keyframes focusPulse {
    0% {
        outline-color: var(--accent-color);
    }
    100% {
        outline-color: var(--primary-color);
    }
}

/* ====================================
   FOOTER ENHANCED ANIMATIONS
   animations.css dosyasına eklenecek
   ===================================== */

/* === FOOTER ENTRANCE ANIMATIONS === */
@keyframes footerSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footerFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.footer {
    animation: footerSlideUp 0.8s ease-out;
}

.footer-content > * {
    animation: footerFadeIn 1s ease-out both;
}

.footer-brand { animation-delay: 0.2s; }
.footer-separator { animation-delay: 0.4s; }
.footer-links { animation-delay: 0.6s; }
.footer-services { animation-delay: 0.8s; }
.footer-contact { animation-delay: 1.0s; }

/* === FOOTER LOGO ANIMATIONS === */
@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.footer-logo {
    animation: logoFadeIn 0.8s ease-out 0.3s both;
}

.footer-logo:hover {
    animation: logoFloat 0.6s ease-in-out;
}

/* === SEPARATOR ANIMATIONS === */
@keyframes separatorGrow {
    0% {
        height: 0;
        opacity: 0;
    }
    100% {
        height: 100%;
        opacity: 1;
    }
}

@keyframes separatorGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translateY(0) skewX(-15deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px) skewX(-15deg);
    }
}

@keyframes separatorPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.footer-separator {
    animation: separatorGrow 1s ease-out 0.4s both;
}

.footer-separator::before {
    animation: separatorGlow 3s ease-in-out infinite;
}

.footer-separator::after {
    animation: separatorPulse 2s ease-in-out infinite;
}

/* === SOCIAL LINKS ANIMATIONS === */
@keyframes socialBounceIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }
    60% {
        opacity: 1;
        transform: scale(1.2) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes socialHover {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.social-links a {
    animation: socialBounceIn 0.6s ease-out both;
}

.social-links a:nth-child(1) { animation-delay: 0.8s; }
.social-links a:nth-child(2) { animation-delay: 0.9s; }
.social-links a:nth-child(3) { animation-delay: 1.0s; }
.social-links a:nth-child(4) { animation-delay: 1.1s; }

.social-links a:hover {
    animation: socialHover 0.4s ease-in-out;
}

/* === FOOTER LINKS STAGGER ANIMATION === */
@keyframes linkSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.footer-links li,
.footer-services li,
.contact-item {
    animation: linkSlideIn 0.4s ease-out both;
}

.footer-links li:nth-child(1) { animation-delay: 0.7s; }
.footer-links li:nth-child(2) { animation-delay: 0.8s; }
.footer-links li:nth-child(3) { animation-delay: 0.9s; }
.footer-links li:nth-child(4) { animation-delay: 1.0s; }
.footer-links li:nth-child(5) { animation-delay: 1.1s; }

.footer-services li:nth-child(1) { animation-delay: 0.9s; }
.footer-services li:nth-child(2) { animation-delay: 1.0s; }
.footer-services li:nth-child(3) { animation-delay: 1.1s; }
.footer-services li:nth-child(4) { animation-delay: 1.2s; }
.footer-services li:nth-child(5) { animation-delay: 1.3s; }

.contact-item:nth-child(1) { animation-delay: 1.1s; }
.contact-item:nth-child(2) { animation-delay: 1.2s; }
.contact-item:nth-child(3) { animation-delay: 1.3s; }
.contact-item:nth-child(4) { animation-delay: 1.4s; }
.contact-item:nth-child(5) { animation-delay: 1.5s; }

/* === FOOTER HEADER ANIMATIONS === */
@keyframes headerGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(247, 191, 79, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(247, 191, 79, 0.6);
    }
}

@keyframes underlineGrow {
    0% {
        width: 0;
    }
    100% {
        width: 40px;
    }
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    animation: headerGlow 3s ease-in-out infinite;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    animation: underlineGrow 0.8s ease-out 0.5s both;
}

/* === FLOATING BUTTONS ENHANCED ANIMATIONS === */
@keyframes floatingPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
}

@keyframes whatsappBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(-2deg);
    }
    75% {
        transform: translateY(-3px) rotate(2deg);
    }
}

@keyframes phoneBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.floating-whatsapp,
.floating-call {
    animation: floatingPulse 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
    animation: whatsappBounce 0.6s ease-in-out;
}

.call-btn:hover {
    animation: phoneBounce 0.4s ease-in-out;
}

/* === FOOTER BACKGROUND ANIMATION === */
@keyframes footerBackgroundShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.footer::before {
    background: linear-gradient(-45deg, #1a202c, #2d3748, #4a5568, #1a202c);
    background-size: 400% 400%;
    animation: footerBackgroundShift 15s ease infinite;
}

/* === CONTACT ITEM HOVER ANIMATIONS === */
@keyframes contactItemSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(5px);
    }
}

@keyframes iconGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(247, 191, 79, 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(247, 191, 79, 0.8);
    }
}

.contact-item:hover {
    animation: contactItemSlide 0.3s ease-out forwards;
}

.contact-item:hover i {
    animation: iconGlow 0.6s ease-in-out;
}

/* === FOOTER BOTTOM ANIMATIONS === */
@keyframes bottomSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-bottom {
    animation: bottomSlideUp 0.8s ease-out 1.6s both;
}

/* === RESPONSIVE ANIMATION ADJUSTMENTS === */
@media (max-width: 768px) {
    .footer-separator {
        animation: none; /* Mobile'da separator animasyonu kapat */
    }
    
    .footer-content > * {
        animation-delay: 0s; /* Mobile'da delay'leri kaldır */
    }
    
    .social-links a,
    .footer-links li,
    .footer-services li,
    .contact-item {
        animation-delay: 0s;
    }
}

/* === REDUCED MOTION SUPPORT === */
@media (prefers-reduced-motion: reduce) {
    .footer,
    .footer-content > *,
    .footer-logo,
    .footer-separator,
    .footer-separator::before,
    .footer-separator::after,
    .social-links a,
    .footer-links li,
    .footer-services li,
    .contact-item,
    .footer-links h4,
    .footer-services h4,
    .footer-contact h4,
    .footer-links h4::after,
    .footer-services h4::after,
    .footer-contact h4::after,
    .floating-whatsapp,
    .floating-call,
    .footer::before,
    .footer-bottom {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* === PRINT STYLES === */
@media print {
    .footer-separator,
    .floating-whatsapp,
    .floating-call {
        display: none !important;
    }
    
    .footer {
        background: white !important;
        color: black !important;
        animation: none !important;
    }
}