/* -------------------------------------------------- *\
|
|  MOBILE CSS (Default) 
|
\* -------------------------------------------------- */


/* ------------------------- *\
|  Variables
\* ------------------------- */

:root {
    --content-width: 1264px;
    --content-small-width: 1000px;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 128px;

    --color-main: #FF61B1;
    --color-secondary: #FFFFFF;
    --color-dark: #000000;
    /*
    --color-background-light: #F3F4F8;
    --color-red: #b61919;
    --color-grey: #a2a3ae;
    --color-light-grey: #d2d3e1;
    */
}

/* ------------------------- *\
|  Init
\* ------------------------- */

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    background:  var(--color-main);
    font-family: "Instrument Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
}

p {
    font-size: 20px;
    margin-top: var(--space-sm);
    line-height: 1.5em;
}

img {
    display: block;
}

p a {
    color: var(--color-main);
}

a {
    text-decoration: none;
    color: var(--color-main);
}

hr {
    width: 100%;
    border: none;
    border-bottom: 1px solid #808080;
}

strong {
    color: var(--color-main);
}

h1,
h2,
h3 {
    font-family: "Viga", sans-serif;
    font-weight: 400;
}

h2 {
    font-size: 36px;
    margin-bottom: 32px;
    color: var(--color-main);
}

h3 {
    font-size: 24px;
    margin-top: 24px;
}

.breadcrumb {
    font-size: 16px;
    color: var(--color-grey);
}

.page-content  {
    position: relative;
    z-index: 1;
}

.page-content ul {
    font-size: 20px;
    margin-top: var(--space-sm);
    line-height: 1.5em;
}

.page-content ul li {
    padding-left: 24px;
    position: relative;

    margin-top: var(--space-xs);
}

.page-content ul li::before {
    content: "";
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    top: 10px;
    left: 0px;
    background-color: var(--color-main);
    border-radius: 50%;
}

.wp-block-table table {
    margin-block: var(--space-md);
}

.wp-block-table table tr td {
    border: 3px solid #FFF;
    padding: var(--space-xs);
    background-color: var(--color-background-light);
}

/* ------------------------- *\
|  Components
\* ------------------------- */

/* --- Button --- */

.btn {
    display: inline-block;
    font-family: "Viga", sans-serif;
    font-size: 24px;
    padding: 12px 32px;
    border-radius: 8px;
    background-color: var(--color-main);
    color: #fff;
    transition: 0.3s;
    width: fit-content;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}

/* --- Button --- */
.separator {
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
}

/* ------------------------- *\
|  Tools
\* ------------------------- */

.hide-mobile {
    display: none !important;
}

.hide-desktop {
    display: block;
}

.menu-no-scroll {
    overflow: hidden;
    max-height: 100vh;
}

/* ------------------------- *\
|  Page content
\* ------------------------- */

.page-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    background-color: #FFF;
}

.page-content.pad-block {
    padding-block: var(--space-lg);
}

.page-content.pad-top {
    padding-top: var(--space-lg);
}

.page-content.pad-bot {
    padding-bottom: var(--space-lg);
}

/* ------------------------- *\
|  Wrapper
\* ------------------------- */

.wrap-content {
    width: 100%;
    max-width: var(--content-width);
    padding-inline: var(--space-md);
    margin-inline: auto;
}

/* ------------------------- *\
|  Header
\* ------------------------- */

.header .menu-container {
    position: fixed;
    flex-direction: column;
    top: 0;
    width: 100%;
    background-color: #fff;
    
    overflow: hidden;
    z-index: 1000;
}

.bg-white-header {
    background-color: #fff!important;
}

.no-transition {
    transition: none!important;
}

.header .menu-container {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.header .scrolled {
    background-color: #fff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
}

.header .menu-container.opened {
    display: flex;
    bottom: 0;
    background-color: #fff;
}

.header .menu-container .navbar {
    display: flex;
    justify-content: space-between;
    z-index: 1000;
    align-items: center;
}

.header .menu-container .navbar .home-link {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--space-sm);
}

.header .menu-container .navbar .home-link .logo {
    height: 64px;
}

.header .menu-container .navbar .menu-toggle-buttons {
    padding: var(--space-sm);
    display: flex;
    align-items: center;
}

.header .menu-container .navbar .menu-toggle-buttons .toggle-button {
    height: 48px;
}

.menu-mobile .navbox {
    display: none;
    background-color: #fff;
    flex-grow: 1;
}

.menu-mobile .navbox a {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-main);
}

.menu-mobile .navbox .content {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.menu-mobile .navbox .content .main-menu {
    padding: var(--space-md);
}

.menu-mobile .navbox .content .main-menu .menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* ------------------------- *\
|  Footer
\* ------------------------- */

footer {
    position: sticky;
    bottom: 0;
    background-color: var(--color-main);
    color: #fff;
    padding-block: var(--space-md);
}

footer a {
    color: #fff;
}

footer .content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

footer .content .informations {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

footer .content .informations .address {
    display: flex;
    flex-direction: column;
}

footer .content .informations .address .title {
    font-family: "Viga", sans-serif;
    font-size: 24px;
    margin-bottom: var(--space-xs);
}

footer .content .informations .address .footer-tel {
    font-size: 25px;
    font-family: "Viga", sans-serif;
}

footer .content .copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

footer .content .copyright .logo-gc {
    height: 50px;
}

/* ------------------------- *\
|  Page header
\* ------------------------- */

section.page-header {
    overflow: hidden;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

section.page-header .overlay .content {
    height: 500px;
    padding-block: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

section.page-header .overlay .content h1 {
    font-size: 48px;
    text-align: center;
}

/* ------------------------- *\
|  Sections
\* ------------------------- */

section.color {
    background-color: var(--color-background-light);
}

section.color .content {
    padding-block: 64px;
}

section.pad .content {
    padding-block: 64px;
}

section .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* Hero */

section.hero {
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

section.hero .overlay .content {
    height: 95vh;
    display: flex;
    padding-block: var(--space-lg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 64px;
}

section.hero .overlay .content h1 {
    font-size: 46px;
    text-align: center;
}

/* Listing flat*/

section.flats-listing .content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

section.flats-listing .content .subtitle {
    font-size: 24px;
    margin-bottom: var(--space-sm);
}

section.flats-listing .content h2{
    color: var(--color-main);
    margin-bottom: 0;
}

section.flats-listing .content .card-flat {
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

section.flats-listing .content .card-flat .card-overlay {
    display: flex;
    flex-direction: column;
    flex-basis: 0;
    flex-grow: 1;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

section.flats-listing .content .card-flat .card-flat-text-wrap {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
}

section.flats-listing .content .card-flat .card-flat-text-wrap .card-flat-image-title {
    color: var(--color-secondary);
}

section.flats-listing .content .card-flat .card-flat-text-wrap .card-flat-image-disponibility {
    color: var(--color-main);
    font-size: 20px;
}

/* Full image box*/

section.full-image-box {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

section.full-image-box .overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

section.full-image-box .wrap-content{
    min-height: 256px;
}

section.full-image-box .content {
    display: flex;
    justify-content: end;
}

section.full-image-box .content .box-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    background-color: var(--color-secondary);
    color: var(--color-dark);
    padding: var(--space-md);
    box-shadow: 0px 0px 15px 5px #0000001A;
    align-items: center;
}

section.full-image-box .content h2 {
    color: var(--color-main);
    margin-bottom: 0;
}

section.full-image-box .content .text-content {
    width: 100%;
}


section.full-image-box .content .text-content p:first-child {
    margin-top: 0;
}


/* Full image */

section.full-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

section.full-image .wrap-content {
    max-width: 1064px;
}

section.full-image .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
}

section.full-image .content h2 {
    font-size: 40px;
    margin-bottom: 0;
    color: var(--color-secondary);
}

section.full-image .content .text-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

section.full-image .content .text-content p strong {
    color: white;
}


section.full-image .content p {
    margin-top: 0;
}

/* simple text */

section.simple-text {
    scroll-margin-top: 150px;
}

section.simple-text p:first-child {
    margin-top: 0;
}

/* simple text image */

section.simple-text-image .content h2 {
    color: var(--color-main);
}


section.simple-text-image .content .simple-text-image-objectif {
    display: flex;
    align-items: center;
    flex-direction: column;
}

section.simple-text-image .content .simple-text-image-objectif img {
    width: 100%;
}

section.simple-text-image .content .simple-text-image-objectif .text-objectif {
    padding-bottom: var(--space-md);
}

section.simple-text-image .content .simple-text-image-objectif .text-objectif p:first-child {
    margin-top: 0;
}

/* Flat list section */

section.flats .content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

section.flats .flat {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 15px 5px #0000001A;
    scroll-margin-top: 150px;
}

section.flats .flat .flat-quote{
    background-color: var(--color-main);
    color: #FFF;
    padding: var(--space-md);
    font-size: 28px;
    font-family: "Viga", sans-serif;
    text-align: center;
}


section.flats .card-flat-infos {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md);
}

section.flats .flat .card-flat-infos .card-flat-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

section.flats .card-flat-infos .flat_rooms, 
section.flats .card-flat-infos .flat_surface,
section.flats .card-flat-infos .flat_rent {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

section.flats .card-flat-infos .icon {
    width: 48px;
}

section.flats .card-flat-infos .details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

section.flats .card-flat-infos .details span.title {
    font-size: 20px;
}

section.flats .card-flat-infos .details span.info {
    font-family: "Viga", sans-serif;
    font-size: 24px;
}

section.flats .card-flat-infos .details.rent span.info {
    color: var(--color-main);
}

section.flats .card-flat-infos .flat-plan {
    width: 100%;
}

section.flats .card-flat-infos .flat-plan img{
    max-height: 500px;
    width: 100%;
    object-fit: contain;
}

/* testimonial */

section.testimonials-slider h2 {
    text-align: center;
}

section.testimonials-slider .splide {
    width: 100%;
}

section.testimonials-slider .card-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-inline: var(--space-md);
    align-items: center;
    margin-inline: auto;
}

section.testimonials-slider .card-testimonial {
    width: 100%;
}

section.testimonials-slider .card-testimonial .testimonial-image img {
    width: 150px;
    border-radius: 50%;
}

section.testimonials-slider .card-testimonial .testimonial-test {
    
    border: 1px solid #d8d8d8;
    border-radius: 2px;
    padding: var(--space-md);
}

section.testimonials-slider .card-testimonial .testimonial-test h3 {
    color: var(--color-main);
    margin-top: 0;
}

section.testimonials-slider .card-testimonial .testimonial-test p.name{
    font-style: italic;
    font-size: 16px;
    text-align: right;
    color: #7C7C7C;
}

/* service listing */

section.service-listing .content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

section.service-listing .card-service {
    border: 1px solid #d8d8d8;
    border-radius: 2px;
}

section.service-listing .card-service .card-service-text-wrap {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

section.service-listing .card-service p {
    color: var(--color-dark);
    margin-top: 0;
    text-align: center;
}

section.service-listing .card-service h3 {
    text-align: center;
    font-size: 24px;
    color: var(--color-dark);
    margin-top: 0;
}

section.service-listing .card-service .card-service-text-wrap img {
    max-width: 128px;
}


/* Service page */

section.services-fullcontent .services {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

section.services-fullcontent .services .card-service{
    scroll-margin-top: 150px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

section.services-fullcontent .services .card-service .card-service-text{
    display: flex;
    flex-direction: column;
    align-items: start;
}

section.services-fullcontent .services .card-service .card-service-text h2{ 
    margin-block: 0 var(--space-sm);
    color: var(--color-main);
    width: 100%;
    text-align: center;
}


/* contact-box */

section.contact-box .box {
    background-color: var(--color-background-light);
    display: flex;
    flex-direction: column;
}

section.contact-box .box .infos {
    padding: var(--space-md);
}



section.contact-box .box iframe {
    width: 100%;
    aspect-ratio: 1;
}

/* links */
section.links .content .link-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: 20px;
}

/* Contact Page*/

section.contact .contact-info-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

section.contact form .form-field{
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}


.radio-group {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    flex-direction: column;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.radio-option input {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-main);
    border-radius: 50%;
    position: relative;
}

.radio-option input:checked::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--color-main);
    border-radius: 50%;
    top: 2px;
    left: 2px;
}

.radio-label {
    font-size: 20px;
}

/* Grid layout for form inputs */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-grid label {
    margin-bottom: var(--space-xs);
    font-size: 20px;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    padding: 12px 24px;
    border: 2px solid var(--color-main);
    background: var(--color-background-light);
    font-size: 20px;
    font-family: "Instrument Sans", sans-serif;
}

.form-grid input::placeholder {
    color: #A8A8A8;
}

.form-grid textarea {
    grid-column: span 2;
    resize: none;
}

/* Inline gallery */

section.inline-gallery .images{
    display: flex;
    flex-direction: column;
    width: 100%;
}

section.inline-gallery .images img{
    display: block;
    width: 100%;
}

/* Full-map */
section.full-map iframe {
    display: block;
}


.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--space-sm)
}

.button-container .btn {
    border: none;
}

.form-message.success {
    color: #28a745;
    text-align: right;
}

/* Error message */
.form-message.error {
    color: #dc3545;
    text-align: right;
}