/* ============================================
   PROFESSIONAL E-COMMERCE FOOTER - SEYKOÇ
   Color Palette: #5082bf (Primary Blue)
                 #1c7e57 (Success Green) 
                 #d23639 (Alert Red)
============================================ */

:root {
    --primary-blue: #5082bf;
    --secondary-blue: #3d6ba8;
    --success-green: #1c7e57;
    --alert-red: #d23639;
    --dark-text: #232323;
    --light-text: #6b6b6b;
    --border-color: #e5e5e5;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
    background: var(--white);
}

footer {
    padding-top: 10px !important;
    padding-bottom: 0px !important;
}

/* ============================================
   FOOTER MAIN
============================================ */
.footer-wrapper {
    background: linear-gradient(180deg, #0f1419 0%, #141921 50%, #0d1015 100%);
    background-position: center center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 20%, var(--success-green) 50%, var(--primary-blue) 80%, transparent 100%);
    opacity: 0.6;
}

.footer-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at top center, rgba(80, 130, 191, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Footer Content */
.footer-content {
    padding: 60px 0 10px;
    position: relative;
    z-index: 1;
    background: transparent;
}

.footer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(ellipse at top, rgba(80, 130, 191, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

/* Footer Column */
.footer-column {
    transition: var(--transition);
}

.footer-column h4 {
    font-size: 19px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--success-green) 100%);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(80, 130, 191, 0.5);
    transition: var(--transition);
}

.footer-column:hover h4::after {
    width: 80px;
    box-shadow: 0 0 20px rgba(80, 130, 191, 0.8);
}

.footer-column h4::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--success-green) 100%);
    border-radius: 3px;
    filter: blur(8px);
    opacity: 0.6;
    transition: var(--transition);
}

.footer-column:hover h4::before {
    width: 80px;
    opacity: 0.9;
}

/* Footer About */
.footer-about {
    padding-right: 30px;
}

.footer-logo {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, transparent 100%);
    opacity: 0.3;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(80, 130, 191, 0.3));
    transition: var(--transition);
}

.footer-logo img:hover {
    filter: drop-shadow(0 0 30px rgba(80, 130, 191, 0.5));
    transform: scale(1.05);
}

.footer-description {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--success-green) 100%);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(80, 130, 191, 0.5);
}

.social-link i {
    position: relative;
    z-index: 1;
}

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

.footer-links li {
    margin-bottom: 16px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    color: var(--primary-blue);
    font-weight: 700;
    transition: var(--transition);
    transform: translateX(-5px);
}

.footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--success-green) 100%);
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(80, 130, 191, 0.5);
}

.footer-link:hover {
    color: var(--white);
    padding-left: 20px;
    text-shadow: 0 0 20px rgba(80, 130, 191, 0.3);
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-link i {
    font-size: 14px;
    opacity: 0.6;
}

/* Contact Bar - Simple inline design with elegant styling */
.footer-contact-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 40px 60px;
    margin: 0 -20px 50px -20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.footer-contact-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(80, 130, 191, 0.4) 50%, transparent 100%);
    opacity: 0.8;
}

.footer-contact-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(28, 126, 87, 0.4) 50%, transparent 100%);
    opacity: 0.8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    transition: var(--transition);
    padding: 12px 20px;
    border-radius: 12px;
    position: relative;
}

.contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    opacity: 0;
    transition: var(--transition);
}

.contact-item:hover::before {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
}

.contact-item i {
    font-size: 22px;
    color: var(--primary-blue);
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(80, 130, 191, 0.3));
}

.contact-item:hover {
    color: var(--white);
    transform: translateY(-3px);
}

.contact-item:hover i {
    color: var(--success-green);
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 15px rgba(28, 126, 87, 0.5));
}

.contact-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--white);
    text-shadow: 0 0 20px rgba(80, 130, 191, 0.3);
}

/* Divider before footer bottom */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(80, 130, 191, 0.2) 20%, rgba(28, 126, 87, 0.2) 50%, rgba(80, 130, 191, 0.2) 80%, transparent 100%);
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-divider::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--success-green) 100%);
    border-radius: 3px;
    box-shadow: 0 0 25px rgba(80, 130, 191, 0.6);
}

/* Footer Bottom */
.footer-bottom {
    padding: 40px 0;
    position: relative;
    background: transparent;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3px;
}

.footer-copyright a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.footer-copyright a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.footer-copyright a:hover {
    color: var(--white);
    text-shadow: 0 0 20px rgba(80, 130, 191, 0.5);
}

.footer-copyright a:hover::after {
    width: 100%;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-methods span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-icon {
    width: 50px;
    height: 32px;
    background: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(80, 130, 191, 0.3);
}

.payment-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* SSL Badges */
.ssl-badges {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ssl-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(28, 126, 87, 0.12);
    border: 1px solid rgba(28, 126, 87, 0.25);
    border-radius: 8px;
    font-size: 12px;
    color: #4ade80;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ssl-badge:hover {
    background: rgba(28, 126, 87, 0.2);
    border-color: rgba(28, 126, 87, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 126, 87, 0.3);
}

.ssl-badge i {
    font-size: 18px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 35px rgba(80, 130, 191, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    backdrop-filter: blur(10px);
}

.back-to-top::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-blue), var(--success-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.back-to-top:hover::before {
    opacity: 1;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 45px rgba(80, 130, 191, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.back-to-top i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

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

    .footer-contact-bar {
        gap: 40px;
        padding: 35px 40px;
        margin: 0 0 45px 0;
    }
}

@media (max-width: 991px) {
    .footer-content {
        padding: 70px 0 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: span 2;
        padding-right: 0;
    }

    .footer-contact-bar {
        gap: 30px;
        padding: 30px 25px;
        margin: 0 0 40px 0;
        border-radius: 15px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ssl-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-content {
        padding: 50px 0 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-about {
        grid-column: auto;
    }

    .footer-column h4 {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .footer-contact-bar {
        flex-direction: column;
        gap: 18px;
        padding: 25px 20px;
        margin: 0 0 35px 0;
        border-radius: 12px;
    }

    .contact-item {
        font-size: 14px;
        padding: 10px 15px;
    }

    .contact-item i {
        font-size: 20px;
    }

    .footer-bottom {
        padding: 35px 0 30px 0;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .payment-methods {
        flex-direction: column;
        gap: 15px;
    }

    .payment-methods span {
        margin-right: 0;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* Demo Page Styles */
.demo-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e8f5 50%, #f0f4f8 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(80, 130, 191, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.demo-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(28, 126, 87, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.demo-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.demo-content h1 {
    font-size: 56px;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--success-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.demo-content p {
    font-size: 19px;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 50px;
    font-weight: 400;
}

.demo-badges {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-badge {
    padding: 20px 35px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    border: 1px solid rgba(80, 130, 191, 0.1);
}

.demo-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(80, 130, 191, 0.25);
    border-color: var(--primary-blue);
}

.demo-badge i {
    font-size: 32px;
    color: var(--primary-blue);
    transition: var(--transition);
}

.demo-badge:hover i {
    transform: scale(1.2) rotate(10deg);
}

.demo-badge-text h4 {
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}

.demo-badge-text p {
    font-size: 13px;
    color: var(--light-text);
    margin: 0;
}
