{% set contactInformations = sulu_snippet_load_by_area('ContactInformations_area',null, app.ContactInformations) %}
{% set logos = sulu_snippet_load_by_area('logos_area',null) %}
<footer class="footer relative bg-blue text-white h-[900px] overflow-hidden"
section-shade="dark">
<div class="footer-translate lg:h-full max-lg:!transform-none">
<div class="grid grid-cols-1 lg:grid-cols-[2fr_1.5fr] xl:grid-cols-3 lg:h-full">
{# left col #}
<div class="hidden xl:block overflow-hidden relative">
<div
class="absolute bottom-10 left-0 translate-x-[155px] -rotate-90 origin-bottom-left leading-[0.8] pointer-events-none">
<div class="text-[155px] whitespace-nowrap uppercase tracking-[0.13em]">{{ logos.content.footerLogoText }}</div>
</div>
</div>
{# center col #}
<div class="border-x border-white/5 pt-16 lg:pt-60">
<div class="flex flex-col justify-end lg:h-full">
{# Text content #}
<div class="flex flex-col gap-8 px-8 xl:px-12 pb-8 lg:pb-14">
<div>
<p class="uppercase text-[10px] font-extrabold">{{contactInformations.content.contactsAdressTitle}}</p>
<address class="text-sm not-italic">
<p class="font-extrabold">{{contactInformations.content.contactsCompanyName}}</p>
<p class="mt-1">
<span>{{contactInformations.content.contactsCompanyAdress}}</span>
</p>
</address>
</div>
<div>
<p class="uppercase text-[10px] font-extrabold">{{contactInformations.content.contactsPhoneText}}</p>
<p class="mt-1">
<a class=""
href="tel:{{contactInformations.content.contactsPhone}}">{{contactInformations.content.contactsPhone}}</a>
</p>
</div>
<div>
<p class="uppercase text-[10px] font-extrabold">{{contactInformations.content.contactsEmailText}}</p>
<p class="mt-1">
{% include 'partials/layout/contact_email.html.twig' with { email: contactInformations.content.contactsEmail } %}
</p>
</div>
</div>
{# Socials #}
<div
class="grid grid-cols-4 mx-8 lg:mx-0 mb-8 border-x lg:border-x-0 border-y border-white/5 divide-x divide-white/5">
{% for social in contactInformations.content.socials %}
<div class="h-16 md:h-24 xl:h-[120px] hover:bg-white/25 duration-500 ease-basic-ease group">
<a href="{{social.socialUrl}}"
class="flex items-center justify-center w-full h-full text-[0px]"
target="blank">
{{social.socialName}}
<svg class="block w-4 h-4 group-hover:scale-125 duration-500 ease-basic-ease">
<use xlink:href="#{{social.socialName}}"></use>
</svg>
</a>
</div>
{% endfor %}
</div>
{# Footer menu #}
<div class="px-8 xl:px-12 pb-14 lg:mt-auto text-white/80">
<nav>
<ul class="flex flex-col md:flex-row gap-6 md:gap-8 text-sm tracking-tight whitespace-nowrap">
{% for item in sulu_navigation_root_tree('footer', 4) %}
<li>
<a class="text-white/80"
href="{{ sulu_content_path(item.url) }}">{{item.title}}</a>
</li>
{% endfor %}
</ul>
</nav>
<div class="text-sm tracking-tight mt-8">
<p class="text-white/80">
<span>
© {{ 'now' | date('Y') }}. {{ "OAKS GROUP SA. All rights reserved." | trans }}
</span>
<span class="block mt-2 whitespace-nowrap">
{{ "Designed by" | trans }}
<a class="text-white/80 underline"
href="https://ewm.swiss/"
target="blank">{{ "EWM Agency" | trans }}</a>
</span>
</p>
</div>
</div>
</div>
</div>
{# right col #}
<div class="absolute right-0 bottom-0 flex items-center justify-end overflow-hidden pointer-events-none z_bg">
<svg
class="relative aspect-square min-w-[100vw] lg:min-w-[55vw] right-[0vw] translate-x-1/2 text-white/5 pointer-events-none yellow_bg">
<use xlink:href="#circle"></use>
</svg>
</div>
</div>
</div>
</footer>