/**
 * PP999 Footer Styles
 * Dark blue background matching Next.js Footer.tsx
 */

/* ============================================================================
   SITE FOOTER
   ============================================================================ */

.site-footer {
    background: var(--color-secondary);
    color: rgba(255, 255, 255, 0.9);
    padding: 0;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .footer-container {
        padding: 3rem 2rem;
    }
}

/* ============================================================================
   FOOTER GRID
   ============================================================================ */

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

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

/* Brand Column */
.footer-col-brand {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-col-brand {
        margin-bottom: 0;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 64px;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    max-width: 24rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: var(--text-sm);
}

/* Social Links */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 300ms ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Footer Columns */
.footer-title {
    color: #fff;
    font-weight: 600;
    font-size: var(--text-base);
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 300ms ease;
}

.footer-menu a:hover {
    color: var(--color-primary);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 300ms ease;
}

.footer-contact a:hover {
    color: #fff;
}

/* ============================================================================
   FOOTER BOTTOM
   ============================================================================ */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    margin: 0;
}

/* ============================================================================
   FLOATING LINE BUTTON
   ============================================================================ */

.floating-line {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #06C755;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(6, 199, 85, 0.4);
    text-decoration: none;
    transition: all 300ms ease;
    animation: float 3s ease-in-out infinite;
}

.floating-line:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.5);
}

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

/* ============================================================================
   RTL SUPPORT
   ============================================================================ */

[dir="rtl"] .footer-contact li {
    flex-direction: row-reverse;
}

[dir="rtl"] .floating-line {
    right: auto;
    left: 1.5rem;
}
