/* 
   Penkey Délicaf & Gifts - Footer Fixes
   This file contains fixes for the site footer display issues
*/

/* Fix footer display issues */
footer {
    background-color: var(--penkey-navy);
    color: var(--penkey-cream);
    padding: 4rem 0 2rem;
    width: 100%;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

/* Fix grid layout for better responsiveness */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Fix footer logo display */
.footer-logo {
    grid-column: 2;
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    position: relative;
    margin-top: 0;
    max-width: 400px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Fix footer links display */
.footer-links {
    grid-column: 1;
    order: 1;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--penkey-cream);
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--penkey-orange);
    opacity: 1;
    transform: translateX(5px);
}

/* Fix CTA container */
.footer-cta-container {
    grid-column: 3;
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-cta h4 {
    margin: 0 0 0.5rem 0;
    color: var(--penkey-cream);
    font-size: 1rem;
    font-weight: 500;
}

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

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--penkey-cream);
    text-decoration: none;
    opacity: 0.8;
}

.footer-legal a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Responsive fixes for tablets */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-logo {
        grid-column: 1;
        order: 1;
        padding-right: 0;
    }
    
    .footer-links {
        grid-column: 1;
        order: 2;
        text-align: center;
    }
    
    .footer-links ul {
        padding-left: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-cta-container {
        grid-column: 1;
        order: 3;
        align-items: center;
    }
    
    .footer-cta {
        margin-top: 0;
        align-items: center;
    }
}

/* Responsive fixes for mobile */
@media (max-width: 768px) {
    footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-logo img {
        max-width: 180px;
    }
    
    .footer-logo p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links a:hover {
        transform: translateX(0);
    }
    
    .footer-cta {
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn-footer {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
    
    .footer-legal {
        gap: 1rem;
    }
}
