/* Footer Styles - NIKASGARD */
:root {
    --primary: #f6e01a;
    --bg: #000000;
    --footer-bg: #0a0a0a;
}

.site-footer {
    background: var(--footer-bg);
    color: white;
    padding: 80px 10% 30px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(246, 224, 26, 0.1);
}

/* Animated Background Lines */
.footer-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

.footer-animated-bg .line {
    position: absolute;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: footerLineMove 8s linear infinite;
}

.footer-animated-bg .line:nth-child(1) { top: 20%; left: -50%; animation-delay: 0s; }
.footer-animated-bg .line:nth-child(2) { top: 40%; left: -30%; animation-delay: 2s; }
.footer-animated-bg .line:nth-child(3) { top: 60%; left: -70%; animation-delay: 4s; }
.footer-animated-bg .line:nth-child(4) { top: 80%; left: -20%; animation-delay: 6s; }

@keyframes footerLineMove {
    0% { transform: translateX(0) rotate(0deg); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateX(100%) rotate(10deg); opacity: 0; }
}

/* Footer Container */
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* Footer Section Animation */
.footer-section {
    opacity: 0;
    transform: translateY(30px);
    animation: footerFadeIn 0.8s forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.2s; }
.footer-section:nth-child(2) { animation-delay: 0.4s; }
.footer-section:nth-child(3) { animation-delay: 0.6s; }
.footer-section:nth-child(4) { animation-delay: 0.8s; }

@keyframes footerFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Brand Section */
.footer-brand {
    max-width: 350px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-nav-icon {
    width: 40px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(246, 224, 26, 0.3));
    animation: footerLogoGlow 3s ease-in-out infinite;
}

@keyframes footerLogoGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(246, 224, 26, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(246, 224, 26, 0.6)); }
}

.footer-logo-text {
    color: var(--primary);
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

/* Journey Section */
.journey-section {
    background: rgba(246, 224, 26, 0.05);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.journey-section:hover {
    background: rgba(246, 224, 26, 0.1);
    transform: translateX(5px);
}

.journey-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.journey-text {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Social Links */
.footer-social h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    animation: footerUnderline 2s ease-in-out infinite;
}

@keyframes footerUnderline {
    0%, 100% { width: 30px; opacity: 1; }
    50% { width: 60px; opacity: 0.7; }
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.social-link:hover {
    color: black;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(246, 224, 26, 0.3);
}

.social-link:hover::before {
    transform: scale(1);
}

/* Footer Links */
.footer-links h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(8px);
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    color: var(--primary);
    opacity: 0;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Contact Info */
.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(246, 224, 26, 0.05);
}

.contact-item:hover {
    background: rgba(246, 224, 26, 0.05);
    border-color: var(--primary);
    transform: scale(1.02);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 1.2rem;
    transition: all 0.4s ease;
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg);
    background: white;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 3px;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(246, 224, 26, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: footerBottomFade 1s 1s forwards;
}

@keyframes footerBottomFade {
    to { opacity: 1; }
}

.copyright {
    color: #888;
    font-size: 0.85rem;
}

.copyright span {
    color: var(--primary);
    font-weight: 900;
}

.footer-policies {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-policies a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-policies a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-policies a:hover {
    color: var(--primary);
}

.footer-policies a:hover::after {
    width: 100%;
}

/* Floating Element */
.footer-floating {
    position: absolute;
    bottom: 50px;
    right: 5%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(246, 224, 26, 0.1);
    border-radius: 50%;
    animation: footerFloat 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes footerFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(120deg); }
    66% { transform: translate(20px, -10px) rotate(240deg); }
}

/* Responsive */
@media (max-width: 1000px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-logo-container {
        justify-content: center;
    }
    
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .journey-section {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-policies {
        justify-content: center;
    }
}