/**
 * Toy Kingdom Footer Styles
 * Matches Figma design exactly
 */

/* Footer Container */
.toy-kingdom-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: inherit;
    position: relative;
}

/* Upper Section with Light Beige Background */
.footer-upper {
    background: #FFF8F0;
    padding: 60px 0 50px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Wavy Pattern Background */
.footer-pattern {
    position: absolute;
    left: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.15) 0%, rgba(255, 182, 193, 0.05) 50%, transparent 100%);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 182, 193, 0.1) 10px,
            rgba(255, 182, 193, 0.1) 20px
        );
    opacity: 0.3;
    pointer-events: none;
}

/* Helicopter Illustration */
.footer-helicopter {
    position: absolute;
    right: 5%;
    top: 20%;
    width: 120px;
    height: 100px;
    background: #87CEEB;
    border-radius: 50% 50% 20% 20%;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}

.footer-helicopter::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: #888;
    border-radius: 2px;
}

.footer-helicopter::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 80px;
    height: 2px;
    background: #888;
    border-radius: 2px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr 1.5fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* KIDDI MART Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
}

.logo-letter {
    display: inline-block;
    padding: 8px 6px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.logo-k { background: #4A90E2; color: #fff; }
.logo-i { background: #50C878; color: #fff; }
.logo-d { background: #FF6B35; color: #fff; }
.logo-d2 { background: #FF6B35; color: #fff; }
.logo-i2 { background: #50C878; color: #fff; }
.logo-m { background: #FF6B35; color: #fff; }
.logo-a { background: #FFD700; color: #fff; }
.logo-r { background: #50C878; color: #fff; }
.logo-t { background: #FF6B35; color: #fff; }

/* Contact Information */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555;
    font-size: 14px;
}

.contact-icon {
    color: #888;
    flex-shrink: 0;
}

/* Footer Headings */
.footer-heading {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-arrow {
    color: #FF6B35;
    flex-shrink: 0;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FF6B35;
}

/* Keep in Touch Box */
.keep-in-touch-box {
    background: #FFF8F0;
    border: 2px dashed #FF6B35;
    border-radius: 8px;
    padding: 25px;
}

.keep-in-touch-heading {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

/* Email Subscription */
.footer-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-email-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.footer-email-input::placeholder {
    color: #999;
}

.footer-subscribe-btn {
    padding: 12px 24px;
    background: #FF6B35;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.footer-subscribe-btn:hover {
    background: #E55A2B;
}

/* Social Media Icons - Square Style */
.footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icon-square {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF6B35;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
    font-weight: 700;
    font-size: 18px;
}

.social-icon-square:hover {
    transform: translateY(-2px);
    background: #E55A2B;
}

.social-icon-square svg {
    width: 16px;
    height: 16px;
}

/* Lower Section: Copyright */
.footer-lower {
    background: #ffffff;
    padding: 20px 0;
    width: 100%;
    border-top: 1px solid #eee;
}

.footer-copyright {
    text-align: center;
    color: #555;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-columns {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 30px;
    }
    
    .footer-helicopter {
        width: 100px;
        height: 80px;
        right: 3%;
    }
}

@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-col-1 {
        grid-column: 1 / -1;
    }
    
    .footer-helicopter {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-upper {
        padding: 40px 0 30px 0;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .logo-letter {
        font-size: 24px;
        padding: 6px 4px;
    }
    
    .keep-in-touch-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .footer-upper {
        padding: 30px 0 20px 0;
    }
    
    .footer-columns {
        padding: 0 15px;
    }
    
    .footer-logo {
        font-size: 20px;
        flex-wrap: wrap;
    }
    
    .logo-letter {
        font-size: 20px;
        padding: 5px 3px;
    }
}
