/* ==========================================
   FOOTER STYLES
   ========================================== */

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #c8102e 0%, #c8102e 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.18);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    cursor: pointer;
    z-index: 9999;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #c8102e 0%, #c8102e 100%);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.28);
    transform: translateY(-3px) scale(1.08);
}

/* Site Lock Admin Button */
.site-admin-btn {
    position: fixed;
    left: 100px; /* Logout butonunun sağında */
    bottom: 32px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 99999;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}

.site-admin-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
    transform: translateY(-3px) scale(1.08);
}

/* Site Lock Logout Button */
.site-logout-btn {
    position: fixed;
    left: 32px;
    bottom: 32px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 99999;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}

.site-logout-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
    transform: translateY(-3px) scale(1.08);
}

@media (max-width: 600px) {
    .scroll-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .site-admin-btn {
        left: 72px; /* Mobilde daha yakın */
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .site-logout-btn {
        left: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* Footer Main */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #c8102e;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #c8102e;
}

/* Footer Logo Styles */
.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo img {
    max-height: 40px;
    max-width: 180px;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    align-items: flex-start;
}

.footer-logo-premium {
    font-size: 1.6rem;
    font-weight: 900;
    color: #c8102e;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #c8102e, #c8102e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: -2px;
}

.footer-logo-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.8px;
    text-transform: lowercase;
    font-style: italic;
    margin-left: 2px;
}

.footer-description {
    color: #ccc;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-year {
    color: #999;
    font-size: 0.9rem;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Footer Contact */
.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    color: #007bff;
    width: 16px;
    text-align: center;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #007bff;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.social-link.whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-2px);
}

.social-link.phone {
    background: linear-gradient(135deg, #c8102e, #c8102e);
    color: white;
}

.social-link.phone:hover {
    background: linear-gradient(135deg, #c82333, #c8102e);
    transform: translateY(-2px);
}

/* Footer Badges Section - Clean Rectangle Design */
.footer-badges {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.badges-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    align-items: center;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
}

.badge-item i {
    color: #c8102e;
    font-size: 1.1rem;
    min-width: 16px;
    text-align: center;
}

.badge-text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

/* SSL Badge Special Styling */
.ssl-badge i {
    color: #28a745;
}

.ssl-badge:hover {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
}

/* Footer Contact & Company Info - Simplified */
.footer-contact-simple,
.footer-company-simple {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.contact-item,
.company-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ccc;
    font-size: 0.9rem;
}

.contact-item i,
.company-item i {
    color: #c8102e;
    width: 14px;
    text-align: center;
    font-size: 0.9rem;
}

.contact-item a,
.company-item a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover,
.company-item a:hover {
    color: #c8102e;
}

/* Footer Cities Section */
.footer-cities {
    padding: 2rem 0;
    border-top: 1px solid #555;
}

.footer-cities-title {
    text-align: center;
    color: #ccc;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.footer-regions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.footer-region {
    margin-bottom: 1rem;
}

.region-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.region-cities {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.city-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.15rem 0;
    transition: all 0.3s ease;
    display: block;
    border-bottom: 1px solid transparent;
}

.city-link:hover {
    color: #c8102e;
    text-decoration: none;
    padding-left: 0.5rem;
}

.city-link::after {
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.city-link.available::after {
    content: "🚗";
    color: #28a745;
}

.city-link.unavailable::after {
    content: "⏳";
    opacity: 0.8;
}

.city-link:hover {
    background: linear-gradient(145deg, rgba(220, 53, 69, 0.2), rgba(200, 35, 51, 0.1));
    border-color: rgba(220, 53, 69, 0.4);
    transform: translateX(8px) scale(1.02);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

.city-link:hover::before {
    transform: scaleY(1);
}

.city-link:hover::after {
    transform: scale(1.2) rotate(5deg);
}

.city-link.available:hover {
    background: linear-gradient(145deg, rgba(40, 167, 69, 0.2), rgba(34, 139, 58, 0.1));
    border-color: rgba(40, 167, 69, 0.4);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.city-link.available:hover::before {
    background: linear-gradient(to bottom, #28a745, #1e7e34);
}

.city-link.unavailable {
    opacity: 0.85;
}

.city-link.unavailable:hover {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.2), rgba(227, 172, 6, 0.1));
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.city-link.unavailable:hover::before {
    background: linear-gradient(to bottom, #dc3545, #e3ac06);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.footer-logo-small {
    color: #c8102e;
    font-weight: 600;
}

/* Footer Policies */
.footer-policies {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.policy-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.policy-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c8102e;
    transition: width 0.3s ease;
}

.policy-link:hover {
    color: #c8102e;
    text-decoration: none;
}

.policy-link:hover::before {
    width: 100%;
}

.separator {
    color: #666;
    font-size: 0.8rem;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact p,
    .footer-contact a {
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-policies {
        justify-content: center;
    }
    
    .footer-logo-premium {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .footer-logo-subtitle {
        font-size: 0.8rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .badges-wrapper {
        grid-template-columns: 1fr;
    }
    
    .badge-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-policies {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .separator {
        display: none;
    }
    
    .policy-link {
        padding: 0.8rem 1.5rem;
        border: 1px solid #555;
        border-radius: 25px;
        background: rgba(255,255,255,0.05);
        width: 100%;
        max-width: 280px;
        text-align: center;
        display: block;
    }
}
