/* =========================================
   FOOTER.CSS - Peu de pàgina
   Projecte Share Theme
========================================= */

.site-footer {
    position: relative;
    background: var(--footer-bg, #1E2022);
    color: var(--footer-text, #ffffff);
    overflow: hidden;
}

/* Wave decoration */
.footer-wave {
    position: relative;
    margin-top: -2px;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* Content */
.footer-content {
    padding: 60px 5% 30px;
    max-width: 1250px;
    margin: 0 auto;
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* Brand column */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: var(--footer-text, #ffffff);
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
}

.footer-logo span {
    color: var(--footer-accent, #E32219);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Social links */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--footer-accent, #E32219);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Widget titles */
.footer-widget-title {
    color: var(--footer-text, #ffffff);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--footer-accent, #E32219);
    border-radius: 2px;
}

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

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

.footer-links-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list a:hover {
    color: var(--footer-accent, #E32219);
    transform: translateX(5px);
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.footer-contact-item:hover {
    color: var(--footer-accent, #E32219);
}

.footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-address {
    margin: 0;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

.footer-credits {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

.footer-heart {
    color: var(--footer-accent, #E32219);
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Footer widgets general */
.footer-col .widget {
    margin-bottom: 20px;
}

.footer-col .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col .widget ul li {
    margin-bottom: 8px;
}

.footer-col .widget ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col .widget ul li a:hover {
    color: var(--footer-accent, #E32219);
    transform: translateX(5px);
}
