
.main-footer {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 0;
}

.footer-reveal-trigger {
    position: absolute;
    top: -200px;
    left: 0;
    width: 100%;
    height: 1px;
    pointer-events: none;
}

.footer-main {
    position: relative;
    padding: 100px 5% 60px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    margin: 80px;
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: 10px;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.footer-brand {
    opacity: 0;
    transform: translateY(30px);
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item i {
    color: #FFD700;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #FFD700;
}

/* Footer Columns */
.footer-col {
    opacity: 0;
    transform: translateY(30px);
}

.footer-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 24px 0;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 32px;
    height: 2px;
    background: #FFD700;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.footer-links li a i {
    color: rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #FFD700;
    transform: translateX(4px);
}

.footer-links li a:hover i {
    color: #FFD700;
}

.footer-social-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.social-link:hover {
    background: #FFD700;
    color: #0a0a0a;
    transform: translateY(-4px);
    border-color: #FFD700;
}

/* Newsletter */
.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    color: #ffffff;
    font-size: 13px;
    transition: all 0.3s ease;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #FFD700;
}

.newsletter-btn {
    width: 48px;
    height: 48px;
    background: #FFD700;
    border: none;
    border-radius: 2px;
    color: #0a0a0a;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

.footer-bottom {
    padding: 15px 5%;
    background: #0a0a0a;
    margin: 0 40px 20px;
    border-radius: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    font-family: 'Roboto Mono', monospace;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #FFD700;
}

.footer-developer {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.developer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.developer-link i {
    color: #FFD700;
}

.developer-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        margin: 40px 0 10px;
        padding: 60px 20px 50px;
        border-radius: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: none;
    }
    
    .footer-brand {
        grid-column: auto;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 8px;
    }
    
    /* Mobil: link sütunları açılır-kapanır */
    .footer-col:not(.footer-brand) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    /* Başlık: chevron (kare) sağda, metin ile kesişmesin */
    .footer-col:not(.footer-brand) .footer-title {
        cursor: pointer;
        padding: 16px 52px 16px 0;
        margin: 0;
        position: relative;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        display: block;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer-col:not(.footer-brand) .footer-title::before {
        display: none !important;
    }
    
    /* Mobilde sadece chevron (sarı çizgi yok), tam sağda */
    .footer-col:not(.footer-brand) .footer-title::after {
        content: '';
        position: absolute;
        right: 16px;
        top: 50%;
        margin-top: -6px;
        width: 10px;
        height: 10px;
        bottom: auto;
        left: auto;
        background: transparent;
        border-right: 2px solid rgba(255, 255, 255, 0.85);
        border-bottom: 2px solid rgba(255, 255, 255, 0.85);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        box-sizing: border-box;
    }
    
    .footer-col:not(.footer-brand).is-open .footer-title::after {
        transform: rotate(-135deg);
        margin-top: -2px;
    }
    
    .footer-col .footer-links {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0 0 0 0;
        margin: 0;
        gap: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease;
    }
    
    .footer-col.is-open .footer-links {
        max-height: 380px;
        opacity: 1;
        padding: 0 0 16px 0;
        gap: 12px;
    }
    
    .footer-col .footer-links li a {
        padding: 8px 0;
        gap: 12px;
        min-width: 0;
    }
    
    /* Link ikonları (kareler) metnin üstüne gelmesin – sabit alan */
    .footer-col .footer-links li a i {
        flex-shrink: 0;
        width: 1.25em;
        min-width: 1.25em;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Bizi Takipte Kalın sütunu - sarmalı içerik JS ile eklenir */
    .footer-col.footer-social .footer-col-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    
    .footer-col.footer-social.is-open .footer-col-content {
        max-height: 420px;
    }
    
    .footer-col.footer-social .footer-title {
        margin-bottom: 0;
    }
    
    .footer-col.footer-social.is-open .footer-social-desc {
        margin-top: 12px;
    }
    
    .footer-bottom {
        margin: 0 0 20px;
        padding: 16px 20px;
        border-radius: 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        align-items: center;
    }
    
    .footer-developer {
        padding-top: 0;
        margin-top: 0;
        font-size: 12px;
        line-height: 1.5;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 6px;
    }
    
    .footer-developer span {
        white-space: nowrap;
    }
    
    .footer-bottom-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }
    
    .footer-bottom-links a {
        font-size: 12px;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    .footer-newsletter {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-main {
        margin: 24px 0 10px;
        padding: 40px 16px 36px;
    }
    
    .footer-bottom {
        padding: 16px 16px 20px;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .developer-link {
        font-size: 11px;
    }
    
    /* Linkler yan yana kalsın */
    .footer-bottom-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }
}
