<section class="relative bg-white text-blue pt-32 lg:pt-52 pb-6 lg:pb-16" section-shade="light">
<div class="big-container">
{# Top info #}
<div class="flex flex-col gap-6 lg:flex-row justify-between">
{# Content #}
<div class="flex flex-col lg:w-10/12 xl:w-9/12 max-w-[930px]">
<div class="flex gap-6 text-sm md:text-base whitespace-nowrap">
{% if globalContent.projectType %}
<div class="bg-gray rounded-full py-2 px-6 text-blue w-max">
{{globalContent.projectType}}
</div>
{% endif %}
{% if globalContent.location %}
<div class="flex items-center gap-2 md:gap-4 group">
<svg class="w-4 h-4 opacity-50 text-blue group-hover:-translate-y-1 duration-150">
<use xlink:href="#location"></use>
</svg>
{{globalContent.location}}
</div>
{% endif %}
</div>
<h1 class="title text-[2.5rem] lg:text-6xl xl:text-7xl mt-6">{{content.heroSectionTitle}}</h1>
{% if globalContent.heroInfo == true %}
{% if globalContent.price or globalContent.area or globalContent.rooms or globalContent.lots %}
<div class="grid sm:grid-cols-2 lg:flex flex-wrap lg:flex-nowrap border border-gray divide-y lg:divide-y-0 sm:divide-x divide-gray mt-6 w-full lg:w-max max-w-full" batch-wrapp>
{% if globalContent.price %}
<div class="flex items-center sm:justify-center w-full sm:min-w-[50%] lg:min-w-[auto] px-8 py-6 xl:py-7">
<p class="lg:text-lg xl:text-2xl whitespace-nowrap">{{globalContent.price}}</p>
</div>
{% endif %}
{% if globalContent.area %}
<div class="flex items-center sm:justify-center w-full sm:min-w-[50%] lg:min-w-[auto] px-8 py-6 xl:py-7">
<p class="lg:text-lg xl:text-2xl whitespace-nowrap">{{globalContent.area}} m<sup>2</sup>
</p>
</div>
{% endif %}
{% if globalContent.rooms %}
<div class="flex items-center sm:justify-center w-full sm:min-w-[50%] lg:min-w-[auto] px-8 py-6 xl:py-7">
<p class="lg:text-lg xl:text-2xl whitespace-nowrap">{{globalContent.rooms}}</p>
</div>
{% endif %}
{% if globalContent.lots %}
<div class="flex items-center sm:justify-center w-full sm:min-w-[50%] lg:min-w-[auto] px-8 py-6 xl:py-7">
<p class="lg:text-lg xl:text-2xl border-b border-dashed">{{globalContent.lots}}</p>
</div>
{% endif %}
</div>
{% endif %}
{% endif %}
</div>
{# Socials #}
<div class="flex lg:flex-col border border-gray divide-x lg:divide-x-0 lg:divide-y divide-gray w-max h-max">
{# {% if socials.facebook %} #}
<a class="flex items-center justify-center w-12 h-12 hover:bg-blue/10 duration-500" href="https://www.facebook.com/sharer.php?u={{globalContent.url|getShare}}" aria-label="Facebook">
<svg class="block w-4 h-4 duration-500 ease-basic-ease">
<use xlink:href="#facebook"></use>
</svg>
</a>
{# {% endif %}
{% if socials.linkedin %} #}
<a class="flex items-center justify-center w-12 h-12 hover:bg-blue/10 duration-500" href="https://www.linkedin.com/sharing/share-offsite/?url={{globalContent.url|getShare}}" aria-label="Linked In">
<svg class="block w-4 h-4 duration-500 ease-basic-ease">
<use xlink:href="#linkedin"></use>
</svg>
</a>
{# {% endif %}
{% if socials.whatsapp %} #}
<a class="flex items-center justify-center w-12 h-12 hover:bg-blue/10 duration-500" href="https://api.whatsapp.com/send?text={{globalContent.url|getShare}}" aria-label="Whats App">
<svg class="block w-4 h-4 duration-500 ease-basic-ease">
<use xlink:href="#whatsapp"></use>
</svg>
</a>
{# {% endif %}
{% if socials.email %} #}
<a class="flex items-center justify-center w-12 h-12 hover:bg-blue/10 duration-500" href="mailto:?subject={{globalContent.title}}&body={{globalContent.url|getShare}}" aria-label="Email">
<svg class="block w-4 h-4 duration-500 ease-basic-ease">
<use xlink:href="#email"></use>
</svg>
</a>
{# {% endif %} #}
</div>
</div>
</div>
</section>
<section class="gallery-section h-80 md:h-96 lg:min-h-[650px] lg:h-[85vh]" fade fade-trigger="none">
<div class="big-container-mob-zero h-full">
<div class="gallery-slider swiper-container relative md:overflow-hidden h-full">
<div class="gallery-slider-wrapper swiper-wrapper">
{% for photo in content.heroSectionImages %}
{% if photo|length > 0 %}
{% set image = photo.thumbnails['1920x1080'] %}
{% else %}
{% set image = '' %}
{% endif %}
<div class="gallery-slide swiper-slide"
data-src="{{image}}"
data-external-thumb-image="{{image}}"
>
{# Image size 1920*1080 #}
<img class="swiper-lazy w-full h-full object-cover select-none"
data-src="{{image}}"
data-external-thumb-image="{{image}}"
alt="{{content.heroSectionTitle}}">
<div class="swiper-lazy-preloader"></div>
</div>
{% endfor %}
</div>
<button class="swiper-button-prev flex items-center pl-2 lg:pl-4 absolute top-0 left-0 bottom-0 z-10 cursor-pointer" aria-label="Prev Slide">
<div class="flex items-center justify-center rounded-full bg-white text-[#111] w-[52px] h-[52px] lg:w-14 lg:h-14">
<svg class="w-6" viewBox="0 0 37 14">
<use xlink:href="#arrow-prev"></use>
</svg>
</div>
</button>
<button class="swiper-button-next flex items-center pr-2 lg:pr-4 absolute top-0 right-0 bottom-0 z-10 cursor-pointer" aria-label="Next Slide">
<div class="flex items-center justify-center rounded-full bg-white text-[#111] w-[52px] h-[52px] lg:w-14 lg:h-14">
<svg class="w-6" viewBox="0 0 37 14">
<use xlink:href="#arrow-next"></use>
</svg>
</div>
</button>
<div class="gallery-count-wrapp absolute bottom-0 md:bottom-6 left-1/2 -translate-x-1/2 translate-y-1/2 md:translate-y-0 bg-[#111] text-sm text-white rounded-full flex items-center px-4 py-2 z-10 opacity-0">
<span class="gallery-count__current"></span>
<span class="opacity-30"> / </span>
<span class="gallery-count__all opacity-30"></span>
</div>
</div>
</div>
</section>