/* Styles pour le footer moderne */
.footer {
    background-color: #111827;
    color: #fff;
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

/* Effet de fond moderne */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(30, 136, 229, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 80%, rgba(76, 175, 80, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
}

.footer-logo {
    flex: 1 1 300px;
    max-width: 400px;
}

.footer-logo .logo {
    text-decoration: none;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.footer-logo-image {
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-logo .logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: 3px;
}

.index-page .footer-logo .logo::after {
    background-color: #1e88e5; /* Bleu pour index.html */
}

.android-page .footer-logo .logo::after {
    background-color: #4caf50; /* Vert pour android.html */
}

.footer-logo p {
    color: #9ca3af;
    margin-top: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1 1 500px;
    gap: 3rem;
}

.footer-column {
    flex: 0 1 auto;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-column ul li {
    margin-bottom: 1rem;
    text-align: left;
}

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: #fff;
    transform: translateX(3px);
}

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

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.index-page .footer-bottom a:hover {
    color: #1e88e5;
    text-decoration: underline;
}

.android-page .footer-bottom a:hover {
    color: #4caf50;
    text-decoration: underline;
}

/* Styles spécifiques pour les icônes de contact dans le footer */
.contact-link {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: flex-start;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.contact-link:hover .contact-icon {
    opacity: 1;
}

.index-page .contact-link:hover {
    color: #1e88e5;
}

.android-page .contact-link:hover {
    color: #4caf50;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0.5;
}

/* Styles pour les liens de produits */
.product-link {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: flex-start;
    transition: all 0.3s ease;
}

.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.product-link:hover .product-icon {
    opacity: 1;
}

.index-page .product-link:hover {
    color: #1e88e5;
}

.android-page .product-link:hover {
    color: #4caf50;
}

.product-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
}

/* Couleurs spécifiques par page */
.index-page .footer-column h4 {
    color: #1e88e5; /* Bleu pour index.html */
}

.android-page .footer-column h4 {
    color: #4caf50; /* Vert pour android.html */
}
