/**
 * Özkuy Studio - Flickering Footer Styles
 * Premium dark footer with flickering canvas animation
 */

/* Footer base */
.site-footer {
    background: #000;
    color: #fff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    z-index: 2;
}

/* Footer brand */
.footer-brand {
    flex: 0 1 380px;
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    flex-shrink: 0;
}

.footer-logo span {
    font-family: 'Chillax', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #fff;
}

.footer-description {
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer nav */
.footer-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    gap: 64px;
}

.footer-col {
    min-width: 0;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col ul li button {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
}

.footer-col ul li a:hover,
.footer-col ul li button:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-col ul li a svg,
.footer-col ul li button svg {
    width: 12px;
    height: 12px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-col ul li a:hover svg,
.footer-col ul li button:hover svg {
    opacity: 1;
    transform: translateX(0);
}

/* Canvas area */
.footer-canvas-wrapper {
    width: 100%;
    height: 260px;
    position: relative;
    margin-top: 60px;
}

.footer-canvas-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #000 0%, transparent 55%);
    z-index: 1;
    pointer-events: none;
}

#footerFlickerCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Woologger badge */
.footer-woologger {
    position: absolute;
    right: 30px;
    bottom: 20px;
    z-index: 5;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-family: 'Chillax', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.footer-woologger:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-woologger .heart {
    color: #ff4d4d;
    font-size: 0.8rem;
    line-height: 1;
}

/* Footer bottom */
.footer-bottom {
    padding: 20px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Tablet */
@media (max-width: 1024px) {
    .site-footer {
        padding-top: 60px;
    }

    .footer-container {
        gap: 36px;
        padding: 0 24px;
    }

    .footer-nav {
        gap: 48px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding-top: 40px;
    }

    .footer-container {
        flex-direction: column;
        gap: 32px;
        padding: 0 20px;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        flex: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-description {
        text-align: center;
        max-width: 320px;
    }

    /* Nav: 2 sütun yan yana, ortalı başlıklar */
    .footer-nav {
        flex: none;
        width: 100%;
        justify-content: center;
        gap: 48px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4 {
        text-align: center;
        margin-bottom: 14px;
    }

    .footer-col ul li a,
    .footer-col ul li button {
        justify-content: center;
    }

    /* Canvas */
    .footer-canvas-wrapper {
        height: 180px;
        margin-top: 36px;
    }

    .footer-woologger {
        right: 12px;
        bottom: 10px;
        font-size: 0.55rem;
        padding: 5px 10px;
        letter-spacing: 1px;
    }

    .footer-bottom {
        padding: 16px 20px;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .footer-nav {
        gap: 32px;
    }

    .footer-canvas-wrapper {
        height: 150px;
    }
}
