/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    margin-bottom: 73px; /* Space for sticky bottom menu */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer About Section */
.footer-about {
    max-width: 350px;
}

.footer-about h3 {
    font-size: 20px;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 26px;
    color: white;
    text-transform: uppercase;
}

.footer-about p {
    line-height: 22.4px;
    opacity: 0.9;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.business-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.business-item {
    font-size: 14px;
    line-height: 20px;
    opacity: 0.85;
}

.business-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer Section Headers */
.footer-section h4 {
    font-size: 18px;
    margin-bottom: 1.25rem;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.footer-section h5 {
    font-size: 16px;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-section p {
    line-height: 22.4px;
    opacity: 0.9;
    font-size: 16px;
    font-weight: 400;
}

/* Footer Lists */
.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.35rem 0;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    font-size: 16px;
    line-height: 22.4px;
    font-weight: 400;
}

.footer-section ul li:hover {
    opacity: 1;
}

.footer-services-list a,
.footer-areas-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-services-list a:hover,
.footer-areas-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Contact Section */
.footer-contact {
    max-width: 300px;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 0.75rem;
    font-size: 14px;
    line-height: 20px;
}

.contact-item strong {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
}

.phone-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--primary-color);
}

/* Footer CTA */
.footer-cta {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta p {
    margin-bottom: 1rem;
    font-size: 14px;
    opacity: 0.9;
}

.footer-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    margin: 0.25rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 165, 222, 0.4);
}

.footer-cta-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.footer-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.copyright {
    flex: 1;
    min-width: 300px;
}

.copyright p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    max-width: 600px;
}

.footer-bottom-links {
    flex-shrink: 0;
    min-width: 250px;
}

.footer-bottom-links nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
    padding: 0.25rem 0;
}

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

/* Building Types Footer (if exists) */
.building-types-footer {
    /* Add styles if needed */
}

/* Sticky Bottom Menu */
.sticky-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1ea5de 0%, #3CBCC3 100%);
    color: white;
    z-index: 1000;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.sticky-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    min-height: 70px;
    padding: 12px 24px;
    gap: 16px;
}

.sticky-menu-item {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.sticky-menu-item:first-child {
    justify-content: flex-start;
}

.sticky-menu-item:last-child {
    justify-content: flex-end;
}

.sticky-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 8px;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

.sticky-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.sticky-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sticky-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sticky-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.sticky-text {
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.sticky-social {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.sticky-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 44px;
    min-width: 44px;
}

.sticky-social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.sticky-social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .footer-cta {
        padding: 1rem;
    }

    .footer-cta-button {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.75rem 1rem;
        font-size: 13px;
    }

    .sticky-menu-container {
        padding: 8px 12px;
        gap: 8px;
        min-height: 60px;
    }

    .sticky-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .sticky-text {
        font-size: 0.75rem;
    }

    .sticky-menu-item:first-child .sticky-btn .sticky-text {
        font-size: 0;
    }

    .sticky-menu-item:first-child .sticky-btn .sticky-text::before {
        content: 'SOUMISSION';
        font-size: 0.75rem;
    }

    .sticky-menu-item:first-child .sticky-btn .sticky-icon {
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sticky-menu-item:first-child .sticky-btn .sticky-icon svg {
        display: none;
    }

    .sticky-menu-item:first-child .sticky-btn .sticky-icon::before {
        content: '→';
        font-size: 1.2rem;
        font-weight: bold;
        line-height: 1;
    }

    .sticky-icon {
        width: 16px;
        height: 16px;
    }

    .sticky-social {
        display: none;
    }
}
