/**
 * BabyTums Premium Footer
 * Beautiful footer design matching the brand color palette
 */

/* ===== FOOTER BASE ===== */
.bt-premium-footer {
    position: relative;
    background: linear-gradient(135deg, 
        var(--bt-soft-blue) 0%,
        var(--bt-soft-pink) 25%,
        var(--bt-soft-green) 50%,
        var(--bt-soft-beige) 75%,
        var(--bt-soft-gray) 100%);
    overflow: hidden;
    margin-top: 4rem;
}

.bt-premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

/* ===== DECORATIVE WAVE ===== */
.bt-footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 2;
}

.bt-footer-wave svg {
    width: 100%;
    height: 100%;
}

.bt-wave-fill {
    fill: var(--bt-white);
    transition: fill 0.3s ease;
}

/* ===== FOOTER CONTENT ===== */
.bt-footer-content {
    position: relative;
    z-index: 3;
    padding: 4rem 0 2rem;
}

.bt-footer-section {
    margin-bottom: 2rem;
}

/* ===== BRAND SECTION ===== */
.bt-footer-brand {
    max-width: 100%;
}

.bt-footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.bt-footer-logo:hover {
    transform: scale(1.02);
    text-decoration: none;
}

.bt-footer-logo .bt-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin-right: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.bt-footer-logo .bt-brand-name {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bt-text-primary);
    margin: 0;
    line-height: 1.2;
}

.bt-footer-logo .bt-brand-tagline {
    font-size: 0.85rem;
    color: var(--bt-text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.bt-footer-description {
    color: var(--bt-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ===== TRUST BADGES ===== */
.bt-trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bt-trust-badge {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(201, 217, 227, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--bt-text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.bt-trust-badge:hover {
    background: var(--bt-soft-blue);
    color: var(--bt-text-primary);
    transform: translateY(-2px);
}

.bt-trust-badge i {
    margin-right: 0.5rem;
    font-size: 1rem;
    opacity: 0.8;
}

/* ===== SECTION TITLES ===== */
.bt-footer-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bt-text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.bt-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--bt-soft-blue), var(--bt-soft-pink));
    border-radius: 2px;
}

/* ===== CONTACT INFO ===== */
.bt-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.bt-contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bt-soft-blue), var(--bt-soft-pink));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.bt-contact-icon i {
    color: var(--bt-text-primary);
    font-size: 1rem;
}

.bt-contact-item:hover .bt-contact-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(201, 217, 227, 0.4);
}

.bt-contact-text {
    flex: 1;
    padding-top: 0.5rem;
}

.bt-contact-text span,
.bt-contact-text a {
    color: var(--bt-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.bt-contact-text a:hover {
    color: var(--bt-text-primary);
    text-decoration: none;
}

/* ===== FOOTER LINKS ===== */
.bt-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bt-footer-link {
    display: flex;
    align-items: center;
    color: var(--bt-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-left: 0.5rem;
}

.bt-footer-link:hover {
    color: var(--bt-text-primary);
    text-decoration: none;
    background: rgba(201, 217, 227, 0.1);
    transform: translateX(8px);
    padding-left: 1rem;
}

.bt-footer-link i {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.bt-footer-link:hover i {
    opacity: 1;
}

/* ===== SOCIAL MEDIA ===== */
.bt-social-media {
    margin-top: 1.5rem;
}

.bt-social-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bt-text-primary);
    margin-bottom: 1rem;
}

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

.bt-social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bt-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.bt-social-link:hover {
    transform: translateY(-3px) scale(1.1);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bt-social-link:hover::before {
    opacity: 1;
}

/* Social Media Brand Colors */
.bt-social-facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.bt-social-facebook::before {
    background: #1877f2;
}

.bt-social-facebook:hover {
    color: white;
}

.bt-social-instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.bt-social-instagram::before {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.bt-social-instagram:hover {
    color: white;
}

.bt-social-twitter {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.bt-social-twitter::before {
    background: #1da1f2;
}

.bt-social-twitter:hover {
    color: white;
}

.bt-social-youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.bt-social-youtube::before {
    background: #ff0000;
}

.bt-social-youtube:hover {
    color: white;
}

.bt-social-linkedin {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
}

.bt-social-linkedin::before {
    background: #0077b5;
}

.bt-social-linkedin:hover {
    color: white;
}

/* ===== FOOTER BOTTOM ===== */
.bt-footer-bottom {
    background: rgba(45, 55, 72, 0.05);
    border-top: 1px solid rgba(201, 217, 227, 0.3);
    padding: 1.5rem 0;
    position: relative;
    z-index: 3;
}

.bt-copyright {
    color: var(--bt-text-muted);
    font-size: 0.9rem;
}

.bt-copyright-link {
    color: var(--bt-text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bt-copyright-link:hover {
    color: var(--bt-soft-blue);
    text-decoration: none;
}

.bt-footer-menu {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.bt-footer-menu-link {
    color: var(--bt-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.bt-footer-menu-link:hover {
    color: var(--bt-text-primary);
    text-decoration: none;
}

.bt-footer-menu-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bt-soft-blue);
    transition: width 0.3s ease;
}

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

/* ===== FLOATING ELEMENTS ===== */
.bt-footer-floats {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.bt-float-cube {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    opacity: 0.3;
}

.bt-float-cube--1 {
    background: var(--bt-soft-pink);
    top: 20%;
    left: 10%;
    animation: bt-float 4s ease-in-out infinite;
}

.bt-float-cube--2 {
    background: var(--bt-soft-green);
    top: 60%;
    right: 15%;
    animation: bt-float-slow 5s ease-in-out infinite;
    animation-delay: 1s;
}

.bt-float-cube--3 {
    background: var(--bt-soft-blue);
    bottom: 30%;
    left: 20%;
    animation: bt-float 3.5s ease-in-out infinite;
    animation-delay: 2s;
}

.bt-float-cube--4 {
    background: var(--bt-soft-beige);
    top: 40%;
    right: 25%;
    animation: bt-float-slow 4.5s ease-in-out infinite;
    animation-delay: 3s;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .bt-footer-content {
        padding: 3rem 0 1.5rem;
    }
    
    .bt-footer-logo .bt-brand-name {
        font-size: 1.5rem;
    }
    
    .bt-trust-badges {
        justify-content: center;
    }
    
    .bt-social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .bt-footer-wave {
        height: 80px;
    }
    
    .bt-footer-content {
        padding: 2rem 0 1rem;
    }
    
    .bt-footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .bt-footer-section {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    
    .bt-footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .bt-contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .bt-footer-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .bt-trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .bt-trust-badge {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bt-footer-logo .bt-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .bt-footer-logo .bt-brand-name {
        font-size: 1.25rem;
    }
    
    .bt-social-links {
        gap: 0.5rem;
    }
    
    .bt-social-link {
        width: 40px;
        height: 40px;
    }
    
    .bt-float-cube {
        width: 20px;
        height: 20px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes bt-footer-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bt-fade-up {
    animation: bt-footer-fade-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.bt-fade-up:nth-child(1) { animation-delay: 0.1s; }
.bt-fade-up:nth-child(2) { animation-delay: 0.2s; }
.bt-fade-up:nth-child(3) { animation-delay: 0.3s; }
.bt-fade-up:nth-child(4) { animation-delay: 0.4s; }

/* ===== HOVER EFFECTS ===== */
.bt-footer-section:hover .bt-footer-title {
    color: var(--bt-soft-blue);
}

.bt-footer-section:hover .bt-footer-title::after {
    width: 60px;
    background: linear-gradient(90deg, var(--bt-soft-blue), var(--bt-accent-coral));
}

/* ===== ACCESSIBILITY ===== */
.bt-footer-link:focus,
.bt-social-link:focus,
.bt-copyright-link:focus,
.bt-footer-menu-link:focus {
    outline: 2px solid var(--bt-soft-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .bt-premium-footer {
        background: white !important;
        color: black !important;
    }
    
    .bt-footer-wave,
    .bt-footer-floats,
    .bt-social-links {
        display: none !important;
    }
}
