/* Modern Footer Styles */
.modern-footer {
    background: var(--accent-green);
    color: white;
    margin-top: 80px;
    padding-bottom: 0;
    overflow-x: hidden;
    width: 100%;
}

.site-footer {
    padding: 0 !important;
    max-width: 100vw;
    overflow-x: hidden;
}

.footer-main {
    padding: 50px 0 30px;
    border-bottom: 1px solid #2F4F4F;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 242, 233, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Footer Column Styles */
.footer-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
h3.footer-title {
    font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif!important;
    font-size: 16px!important;
    font-weight: 700!important;
    color: #2F4F4F!important;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    position: relative;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer-column:hover .footer-title {
    border-bottom-color: rgba(245, 242, 233, 0.2);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.4s ease;
}

.footer-column:hover .footer-title::after {
    width: 40px;
}

/* Company Info */
.footer-company-info {
    margin-bottom: 18px;
}

.footer-company-info p {
    margin: 0 0 6px 0;
    font-size: 14px;
    line-height: 1.7;
	color: #2F4F4F;
}

.footer-company-info .company-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-contact p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.7;
}

.footer-contact strong {
    display: block;
    margin-bottom: 4px;
    color: #4A3C2C;
    font-weight: 600;
    font-size: 13px;
}

.footer-contact a {
    color: rgba(250, 250, 247, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--bg-warm-white);
}

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

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

.footer-links a {
    color: rgba(250, 250, 247, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--bg-warm-white);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    background: var(--border-brown);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

/* Social Media Icons - Left Column */
.footer-social {
    justify-self: start;
}

.footer-social .social-icons {
    display: flex;
    gap: 12px;
}

.footer-social .social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 250, 247, 0.1);
    border: 1px solid rgba(250, 250, 247, 0.2);
    border-radius: 50%;
    color: rgba(250, 250, 247, 0.8);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social .social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--bg-soft-beige);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.footer-social .social-icons a:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social .social-icons a:hover {
    border-color: transparent;
    color: var(--border-brown);
    transform: translateY(-3px) scale(1.1);
}

.footer-social .social-icons a:hover svg {
		fill: #000000;
}
.footer-social .social-icons svg {
    width: 18px;
    height: 18px;
	fill: var(--bg-soft-beige);
    position: relative;
    z-index: 1;
}

/* Copyright - Center Column */
.footer-copyright {
    text-align: center;
    justify-self: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: rgba(250, 250, 247, 0.8);
}

/* Credits - Right Column */
.footer-credits {
    text-align: right;
    justify-self: end;
}

.footer-credits p {
    margin: 0;
    font-size: 13px;
    color: rgba(250, 250, 247, 0.6);
}

.footer-credits a {
    color: rgba(250, 250, 247, 0.6) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-credits a:hover {
    color: var(--bg-warm-white) !important;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .footer-main {
        padding: 45px 0 25px;
    }

    .footer-copyright p {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-main {
        padding: 35px 0 25px;
    }

    .modern-footer {
        margin-top: 60px;
        padding-bottom: 60px;
    }

    .footer-bottom {
        padding-bottom: 60px;
    }

    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 20px;
        text-align: center;
    }

    .footer-social {
        justify-self: center;
        order: 1;
    }

    .footer-copyright {
        order: 2;
    }

    .footer-credits {
        text-align: center;
        justify-self: center;
        order: 3;
    }

    .footer-title {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .footer-copyright p,
    .footer-credits p {
        font-size: 12px;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .modern-footer {
        margin-top: 60px;
    }

    .footer-main {
        padding: 30px 0 20px;
    }

    .footer-title {
        font-size: 17px;
    }

    .footer-company-info p,
    .footer-contact p,
    .footer-links a {
        font-size: 14px;
    }

    .footer-copyright p {
        font-size: 13px;
    }
}

/* Animation for footer on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease forwards;
    transition: transform 0.3s ease;
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}

.footer-column:hover {
    transform: translateY(-5px);
}

/* Contact links animation */
.footer-contact a {
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.footer-contact a::after {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-contact a:hover::after {
    opacity: 1;
    right: -25px;
}

/* WhatsApp Icon Styles */
.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
}

.footer-whatsapp-link svg {
    width: 20px;
    height: 20px;
    color: #25D366 !important;
    fill: #25D366 !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-whatsapp-link:hover svg {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Remove arrow from WhatsApp link */
.footer-whatsapp-link::after {
    display: none !important;
}
