﻿/* ===== MODERN FOOTER ===== */
.footer-modern {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 60px 0 30px;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00f2fe, #ec407a, #ffd700, #00f2fe);
    background-size: 300% 100%;
    animation: footerGlow 4s ease infinite;
}

@keyframes footerGlow {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ===== SOL: LOGO VE TELİF HAKKI ===== */
.footer-brand .footer-logo {
    font-family: 'Inter', 'Arial', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #00f2fe, #00d4e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

    .footer-brand .footer-logo span {
        font-size: 1.2rem;
        font-weight: 600;
        letter-spacing: 1px;
        background: linear-gradient(135deg, #ec407a, #f06292);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== ORTA: HESAPLAMA ANİMASYONU ===== */
.footer-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 160px;
}

.calc-container {
    position: relative;
    width: 260px;
    height: 160px;
}

.calc-scale {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #ffd700;
    animation: scalePulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

@keyframes scalePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
    }
}

.calc-symbol {
    position: absolute;
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00f2fe, #00d4e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: floatSymbol 4s ease-in-out infinite;
}

.calc-number {
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ec407a, #f06292);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: floatNumber 5s ease-in-out infinite;
}

.sym-1 {
    top: 0;
    left: 15px;
    animation-delay: 0s;
}

.sym-2 {
    top: 5px;
    right: 20px;
    animation-delay: 0.5s;
}

.sym-3 {
    bottom: 10px;
    left: 10px;
    animation-delay: 1s;
}

.sym-4 {
    bottom: 5px;
    right: 15px;
    animation-delay: 1.5s;
}

.sym-5 {
    top: 50%;
    left: -5px;
    animation-delay: 2s;
}

.num-1 {
    top: 20px;
    left: 65px;
    animation-delay: 0.3s;
}

.num-2 {
    top: 15px;
    right: 70px;
    animation-delay: 0.8s;
}

.num-3 {
    bottom: 25px;
    left: 60px;
    animation-delay: 1.3s;
}

.num-4 {
    bottom: 30px;
    right: 65px;
    animation-delay: 1.8s;
}

@keyframes floatSymbol {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }

    25% {
        transform: translateY(-12px) rotate(5deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-20px) rotate(-3deg);
        opacity: 0.9;
    }

    75% {
        transform: translateY(-10px) rotate(3deg);
        opacity: 1;
    }
}

@keyframes floatNumber {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    33% {
        transform: translateY(-18px) scale(1.15);
        opacity: 1;
    }

    66% {
        transform: translateY(-8px) scale(0.95);
        opacity: 0.8;
    }
}

.calc-container:hover .calc-scale {
    animation: scaleHover 0.5s ease forwards;
}

.calc-container:hover .calc-symbol,
.calc-container:hover .calc-number {
    animation-play-state: paused;
    opacity: 1;
}

@keyframes scaleHover {
    to {
        transform: translate(-50%, -50%) scale(1.3) rotate(5deg);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1));
    }
}

/* ===== SAĞ: YASAL LİNKLER ===== */
.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-title {
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #ccc;
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .footer-links a i {
            color: #00f2fe;
            font-size: 0.85rem;
            width: 18px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .footer-links a:hover {
            color: #00f2fe;
        }

            .footer-links a:hover i {
                transform: scale(1.2);
                color: #ec407a;
            }

/* ===== ALT ÇİZGİ ===== */
.footer-bottom {
    margin-top: 40px;
    text-align: center;
}

.footer-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
    margin-bottom: 20px;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

/* ===== RESPONSİVE - MOBİL ===== */
@media (max-width: 767px) {
    .footer-modern {
        padding: 40px 0 25px;
    }

    .footer-brand,
    .footer-legal {
        align-items: center !important;
        text-align: center !important;
    }

    .footer-links {
        align-items: center;
    }

    .footer-brand .footer-logo {
        font-size: 1.5rem;
    }

        .footer-brand .footer-logo span {
            font-size: 1rem;
        }

    .footer-animation {
        min-height: 130px;
        margin: 15px 0;
    }

    .calc-container {
        width: 200px;
        height: 130px;
    }

    .calc-scale {
        font-size: 3rem;
    }

    .calc-symbol {
        font-size: 1.4rem;
    }

    .calc-number {
        font-size: 1.2rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        margin-top: 25px;
    }
}

/* ===== RESPONSİVE - TABLET ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .calc-container {
        width: 180px;
        height: 120px;
    }

    .calc-scale {
        font-size: 2.5rem;
    }

    .calc-symbol {
        font-size: 1.3rem;
    }

    .calc-number {
        font-size: 1.1rem;
    }
}
