/* 
 * Kapeks Footer Styles
 * Modern ve şık footer tasarımı
 */

/* Footer Ana Container */
.kapeks-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    margin-top: auto;
    position: relative;
}

.kapeks-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a02c2c 0%, #004499 50%, #a02c2c 100%);
}

/* Footer Main Section */
.footer-main {
    padding: 60px 0 40px;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

/* Footer Sections */
.footer-section {
    height: 100%;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.75rem;
}

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

/* Company Info Section */
.company-info .footer-logo img {
    max-height: 80px;
    filter: brightness(1.1);
}

.footer-brand {
    font-size: 2rem;
    font-weight: 700;
    color: #a02c2c;
    margin-bottom: 1rem;
}

.company-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Social Media */
.social-media {
    margin-top: 2rem;
}

.social-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #a02c2c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.social-link.facebook:hover { background: #1877f2; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.linkedin:hover { background: #0077b5; }
.social-link.youtube:hover { background: #ff0000; }

/* Contact Info */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    color: #a02c2c;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #a02c2c;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-menu a:hover {
    color: #a02c2c;
    transform: translateX(5px);
}

.footer-menu a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #a02c2c;
    transition: width 0.3s ease;
}

.footer-menu a:hover::before {
    width: 8px;
}

/* Legal Menu */
.legal-link {
    text-decoration: none !important;
    color: white;
    font-size: .9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 0.5rem;
}

.legal-icon {
    font-size: 0.85rem;
    color: #a02c2c;
}

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

/* Company Details */
.company-details {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}

.company-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-item {
    margin: 0;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-label {
    color: #aaaaaa;
    font-weight: 500;
}

.meta-value {
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    margin: 0;
    color: #aaaaaa;
    font-size: 0.9rem;
}

.footer-credits {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.korenel-logo img {
    max-height: 15px;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-title::after {
        width: 30px;
    }
    
    .company-info .footer-logo img {
        max-height: 60px;
    }
    
    .footer-brand {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .contact-item {
        gap: 0.75rem;
    }
    
    .social-icons {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-credits {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom .row > div {
        text-align: center;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
    }
}

@media (max-width: 575.98px) {
    .footer-main::before {
        width: 90%;
    }
    
    .company-description {
        font-size: 0.9rem;
    }
    
    .footer-menu a,
    .contact-value {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}