/* Elegant Footer Styles for Toiles de Mayenne */

/* Footer Heritage Section - Replaced footer-services with simplified version above */

.service-item {
    text-align: center;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-3px);
}

.service-item:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    animation: pulseGlow 0.6s ease-in-out;
}

@keyframes pulseGlow {
    0% { 
        opacity: 0; 
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255,255,255,0.2);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.02);
        box-shadow: 0 0 20px 5px rgba(255,255,255,0.1);
    }
    100% { 
        opacity: 0.8; 
        transform: scale(1);
        box-shadow: 0 0 10px 2px rgba(255,255,255,0.05);
    }
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-item:hover .service-icon {
    background: rgba(255,255,255,0.3);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
}

.service-icon i {
    font-size: 20px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon i {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    transform: scale(1.1);
}

.service-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    font-family: 'Georgia', serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.service-content p {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
/* Main Footer */
.footer-main {
    background: #fff;
    padding: 40px 0 30px;
    border-top: 1px solid #e9ecef;
}

.footer-section {
    margin-bottom: 25px;
}

.footer-logo {
    margin-bottom: 15px;
}

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

.footer-description {
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 14px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #044250;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 6px;
    font-family: 'Georgia', serif;
    text-shadow: 0 1px 2px rgba(4, 66, 80, 0.1);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #044250;
}

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

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

.footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
    padding: 2px 0;
    font-weight: 400;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.footer-links a:hover {
    color: #044250;
    text-decoration: none;
    padding-left: 5px;
    text-shadow: 0 1px 2px rgba(4, 66, 80, 0.2);
}

/* Social Links */
.footer-social-title {
    font-size: 15px;
    font-weight: 600;
    color: #044250;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
    text-shadow: 0 1px 2px rgba(4, 66, 80, 0.1);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f8f9fa;
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.social-link:hover {
    background: #044250;
    color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Contact Section */
.footer-contact {
    margin-top: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: #044250;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    font-size: 13px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.contact-info strong {
    font-size: 14px;
    color: #044250;
    display: block;
    margin-bottom: 3px;
    text-shadow: 0 1px 1px rgba(4, 66, 80, 0.1);
}

.contact-info p {
    color: #333;
    margin-bottom: 3px;
    font-size: 14px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.contact-info small {
    color: #666;
    font-size: 12px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.contact-link {
    color: #044250;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    text-shadow: 0 1px 1px rgba(4, 66, 80, 0.1);
}

.contact-link:hover {
    text-decoration: underline;
    text-shadow: 0 1px 2px rgba(4, 66, 80, 0.2);
}

/* French Heritage Highlights */
.footer-services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    border-top: 1px solid #e9ecef;
}

.service-item {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(4, 66, 80, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 3px solid #044250;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(4, 66, 80, 0.15);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #044250, #065f6b);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.service-item:hover .service-icon::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.service-content h5 {
    font-size: 15px;
    font-weight: 600;
    color: #044250;
    margin-bottom: 3px;
    font-family: 'Georgia', serif;
}

.service-content p {
    color: #666;
    margin-bottom: 0;
    font-size: 13px;
    font-style: italic;
}

/* Footer Bottom */
.footer-bottom {
    background: #044250;
    color: #fff;
    padding: 18px 0;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.legal-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.legal-links a:hover {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* French Heritage Section - Simplified and Elegant */
.footer-heritage {
    background: linear-gradient(135deg, #195764 0%, #2a7a87 100%);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-heritage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="subtle-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23subtle-pattern)"/></svg>') repeat;
    opacity: 0.4;
}

.heritage-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.heritage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.heritage-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.heritage-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.heritage-item:hover .heritage-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.heritage-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.heritage-title {
    color: white;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.heritage-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
}

/* Newsletter Section Styles */
.newsletter-section {
    background: rgba(25, 87, 100, 0.05);
    border: 1px solid rgba(25, 87, 100, 0.1);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.newsletter-section:hover {
    background: rgba(25, 87, 100, 0.08);
    border-color: rgba(25, 87, 100, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 87, 100, 0.1);
}

.newsletter-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.newsletter-form {
    margin-bottom: 20px;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(25, 87, 100, 0.1);
    transition: border-color 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: #195764;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    background: white;
    font-size: 14px;
    color: #333;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    padding: 12px 18px;
    background: #195764;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: #2a7a87;
    transform: translateX(2px);
}

.newsletter-btn i {
    font-size: 14px;
}

.newsletter-consent {
    margin-bottom: 15px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.consent-label input[type="checkbox"] {
    margin: 0;
    transform: scale(0.9);
}

.consent-text {
    flex: 1;
}

.newsletter-benefits {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #195764;
    font-size: 12px;
    font-weight: 500;
}

.benefit-item i {
    font-size: 11px;
    opacity: 0.8;
}

/* Mobile responsiveness for newsletter */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 20px;
        margin-top: 20px;
    }
    
    .newsletter-benefits {
        justify-content: center;
        gap: 10px;
    }
    
    .benefit-item {
        font-size: 11px;
    }
    
    .heritage-content {
        display: none; /* Hidden on mobile as requested */
    }
    
    .footer-heritage {
        display: none; /* Hidden on mobile */
    }
}

@media (max-width: 991px) {
    .footer-services {
        padding: 30px 0;
    }
    
    .footer-main {
        padding: 35px 0 25px;
    }
    
    .service-item {
        margin-bottom: 15px;
    }
    
    .legal-links {
        justify-content: center;
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .footer-services {
        padding: 25px 0;
    }
    
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .service-item {
        padding: 12px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .footer-services {
        padding: 20px 0;
    }
    
    .footer-main {
        padding: 25px 0 18px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .service-content h5 {
        font-size: 15px;
    }
    
    .service-content p {
        font-size: 11px;
    }
}

/* Newsletter JavaScript functionality */
.newsletter-form.submitted .newsletter-input-group {
    background: #d4edda;
    border-color: #c3e6cb;
}

.newsletter-form.submitted .newsletter-input {
    background: #d4edda;
    color: #155724;
}

.newsletter-form.submitted .newsletter-btn {
    background: #28a745;
}

.newsletter-success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 10px;
    border: 1px solid #c3e6cb;
}

.newsletter-form.submitted .newsletter-success-message {
    display: block;
}
