/**
 * OTOEKO Storefront Footer CSS
 * Premium E-Commerce Design
 */

/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
    /* Colors - OTOEKO Brand Palette (Açık Tonlar) */
    --color-primary: #fb923c;
    --color-primary-hover: #f97316;
    --color-primary-light: #fff7ed;
    --color-primary-dark: #ea580c;
    --color-secondary: #64748b;
    --color-secondary-hover: #475569;
    --color-secondary-light: #f1f5f9;
    --color-accent: #0ea5e9;
    --color-accent-light: #e0f2fe;
    --color-success: #22c55e;
    --color-warning: #eab308;
    --color-danger: #ef4444;
    
    /* Neutrals */
    --color-white: #ffffff;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    
    /* Typography */
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px -10px var(--color-primary);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max: 1600px;
    --header-height: 80px;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* ========================================
   FOOTER - Premium Light Theme
   ======================================== */
.site-footer {
    margin-top: 0;
}

/* Footer Banner */
.footer-banner {
    margin-bottom: 20px;
}

.footer-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #fef3e2 0%, #fef9f3 100%);
    border: 1px solid rgba(251, 146, 60, 0.15);
    border-radius: var(--radius-full);
    padding: 8px var(--space-5);
}

.footer-banner-content span {
    color: var(--color-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-base);
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Footer Main */
.footer-main {
    background: #ffffff;
    padding: 12px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        column-gap: 2%;
    }
    
    .footer-grid > * {
        min-width: 0;
    }
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    padding-top: 30px;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 0;
}

.footer-tagline {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.5;
}

.footer-tagline-en {
    margin: 0;
    font-size: 13px;
    font-style: italic;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.5;
}

.footer-social {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social > span {
    font-size: 13px;
    font-weight: 800;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-social-icons a:nth-child(1) {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.footer-social-icons a:nth-child(2) {
    background: #1DA1F2;
    color: #fff;
}

.footer-social-icons a:nth-child(3) {
    background: #FF0000;
    color: #fff;
}

.footer-social-icons a:nth-child(4) {
    background: #0088cc;
    color: #fff;
}

.footer-social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.footer-brand {
    padding-top: 30px;
    padding-bottom: 20px;
}

.footer-col h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    width: 100%;
}

.footer-col h4 [data-lucide] {
    width: 18px;
    height: 18px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    margin-top: 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.footer-col ul li {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.6;
}

.footer-col ul li a i {
    font-size: 8px;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
}

.footer-col ul li a:hover i {
    color: var(--color-primary);
    transform: translateX(3px);
}

/* Footer Support */
.footer-support {
    min-width: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-support h4 {
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 0;
}

.support-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.support-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #ffffff;
    border-radius: 12px;
    border: 1.5px solid #fed7aa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}

.support-card:hover {
    transform: translateY(-3px);
}

.support-whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.support-phone:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(251, 146, 60, 0.25);
}

.support-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.support-card:hover .support-icon {
    transform: scale(1.1);
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.phone-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.3);
}

.phone-icon [data-lucide] {
    width: 22px;
    height: 22px;
}

.support-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    align-items: flex-start;
    min-width: 0;
    overflow: hidden;
}

.support-label {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.support-text {
    font-size: 14px;
    font-weight: 700;
    color: #25D366;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.support-whatsapp:hover .support-text {
    color: #128C7E;
}

.support-phone-number {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
    display: block;
    max-width: 100%;
    transition: color 0.2s ease;
}

.support-phone:hover .support-phone-number {
    color: var(--color-primary-dark);
}

.support-arrow {
    width: 18px;
    height: 18px;
    color: #d1d5db;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.support-card:hover .support-arrow {
    color: var(--color-primary);
    transform: translateX(4px);
}

.support-whatsapp:hover .support-arrow {
    color: #25D366;
}

.support-divider {
    display: flex;
    align-items: center;
    margin: 4px 0;
    position: relative;
}

.support-divider::before,
.support-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.support-divider span {
    padding: 0 14px;
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: #ffffff;
    position: relative;
}

/* Footer Bottom Box (Payment + Copyright) */
.footer-bottom-box {
    background: linear-gradient(135deg, #fef3e2 0%, #fef9f3 100%);
    border: 1px solid rgba(251, 146, 60, 0.15);
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    margin-top: 20px;
    margin-bottom: 8px;
}

.footer-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

@media (min-width: 1024px) {
    .footer-trust-bar {
        justify-content: space-between;
    }
}

.trust-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    white-space: nowrap;
}

.trust-label i {
    color: var(--color-primary);
    font-size: 14px;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-logo {
    width: 56px;
    height: 36px;
    object-fit: contain;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    padding: 6px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
}

.trust-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
    border-color: #fed7aa;
}

.trust-logo.cargo-logo {
    width: 48px;
    height: 36px;
}

.trust-logo.ssl-logo {
    width: 80px;
    height: 36px;
}

.trust-logo.cloudflare-logo {
    width: 70px;
    height: 36px;
}

/* Divider */
.footer-box-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 146, 60, 0.3), transparent);
    margin: 16px 0;
}

/* Copyright */
.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.3px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .footer-bottom-box {
        padding: 16px;
    }
    
    .footer-trust-bar {
        flex-direction: column;
        gap: 20px;
    }
    
    .trust-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .trust-logo {
        width: 52px;
        height: 32px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: var(--color-white);
    border-radius: 50%;
    font-size: var(--font-size-lg);
    box-shadow: 0 4px 15px rgba(251, 146, 60, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary-dark) 100%);
}

/* ========================================
