/* ===== GLOBAL FOOTER STYLES - TÜM SAYFALARDA KULLAN ===== */

/* Body yapısı */
html, body {
    margin: 0;
    padding: 0;
}

/* ===== NORMAL FOOTER TASARIMI (EKRANLA BİRLİKTE HAREKET EDER) ===== */
footer {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, #1a1f3a 0%, #0f1220 100%);
    padding: 50px 0 30px;
    margin: 0;
    border-top: 4px solid #FF7A00;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    animation: footerSlideUp 0.6s ease-out;
}

@keyframes footerSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Footer içerik düzeni */
.footer-content {
    text-align: center;
    position: relative;
}

/* Footer logo */
.footer-logo {
    margin-bottom: 20px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.footer-logo img {
    max-height: 50px;
    filter: brightness(1.2) drop-shadow(0 5px 15px rgba(255, 122, 0, 0.4));
    transition: all 0.4s ease;
}

.footer-logo img:hover {
    filter: brightness(1.5) drop-shadow(0 8px 25px rgba(255, 122, 0, 0.7));
    transform: scale(1.1) rotate(2deg);
}

/* Copyright metni */
.copyright-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.copyright-text:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.copyright-text strong {
    color: #ff511a;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.copyright-text strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff511a, #ff9933);
    transition: width 0.4s ease;
}

.copyright-text:hover strong::after {
    width: 100%;
}

.copyright-text strong:hover {
    color: #fff;
    transform: scale(1.05);
}

/* Credits metni */
.credits-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
    transition: color 0.3s ease;
}

.credits-text:hover {
    color: rgba(255, 255, 255, 0.8);
}

.credits-text a {
    color: #ff511a;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: 500;
    position: relative;
    padding: 2px 6px;
    border-radius: 4px;
}

.credits-text a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(76, 175, 80, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    border-radius: 4px;
    z-index: -1;
}

.credits-text a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.credits-text a:hover {
    color: #FFF;
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(255, 122, 0, 0.3);
}

/* Footer dekoratif efekt */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 122, 0, 0.5) 25%, 
        rgba(76, 175, 80, 0.5) 50%, 
        rgba(255, 122, 0, 0.5) 75%, 
        transparent 100%
    );
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Parıltı efekti */
footer::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 200%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 122, 0, 0.8), 
        transparent
    );
    animation: shine 8s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    footer {
        padding: 40px 0 25px;
    }

    .footer-logo img {
        max-height: 45px;
    }

    .copyright-text {
        font-size: 14px;
    }

    .credits-text {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 35px 15px 20px;
    }

    .footer-logo {
        margin-bottom: 15px;
    }

    .footer-logo img {
        max-height: 40px;
    }

    .copyright-text {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .credits-text {
        font-size: 11px;
        line-height: 1.6;
    }

    .credits-text a {
        display: inline-block;
        margin: 0 3px;
    }
}

/* Print için footer stil */
@media print {
    footer {
        page-break-after: avoid;
    }
}