:root {
  --whiteColor: #fff;
  --blackColor: #000;
   --primaryColor: #fce29c;
    --secondaryColor: #4b4e59;
    --lightGrayColor: #f5f5f5;
}



*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* ///////////////////////Global reset////////////////// */



*,

*::before,

*::after {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



html,

body,

div,

span,

applet,

object,

iframe,

h1,

h2,

h3,

h4,

h5,

h6,

p,

blockquote,

pre,

a,

abbr,

acronym,

address,

big,

cite,

code,

del,

dfn,

em,

img,

ins,

kbd,

q,

s,

samp,

small,

strike,

strong,

sub,

sup,

tt,

var,

b,

u,

i,

center,

dl,

dt,

dd,

ol,

ul,

li,

fieldset,

form,

label,

legend,

table,

caption,

tbody,

tfoot,

thead,

tr,

th,

td,

article,

aside,

canvas,

details,

embed,

figure,

figcaption,

footer,

header,

hgroup,

menu,

nav,

output,

ruby,

section,

summary,

time,

mark,

audio,

video {

  margin: 0;

  padding: 0;

  border: 0;

  font-size: 100%;

  font: inherit;

  vertical-align: baseline;

  text-decoration: none;

}



/* HTML5 display-role reset for older browsers */

article,

aside,

details,

figcaption,

figure,

footer,

header,

hgroup,

menu,

nav,

section {

  display: block;

}



body {

  line-height: 1;

}



ol,

ul {

  list-style: none;

}



blockquote,

q {

  quotes: none;

}



blockquote:before,

blockquote:after,

q:before,

q:after {

  content: "";

  content: none;

}



table {

  border-collapse: collapse;

  border-spacing: 0;

}

strong {
    font-weight: 900;
}



@font-face {

  font-family: bpgmrgvlovani;

  src: url(/wp-content/themes/template001/fonts/fonts/bpg_mrgvlovani_2009.ttf);

  font-weight: normal;

}





/* Main Styles */



body {

  background-color: var(--secondaryColor);

  font-family: "bpgmrgvlovani";

}

body {
    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/hero-img2.jpeg') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}



.site-area {

  width: 100%;

  max-width: 1360px;

}



.page-area {

  padding-top: 10px;

  padding-bottom: 10px;

}



.site-content {

  display: flex;

  justify-content: center;

  flex-direction:column;

  width: 100%;

}



.content-area {

  width: 100%;

  margin-bottom: 0px;

  min-height: calc(100vh - 8.6rem)

}

.site-head {
    width: 100%;
}

.site-width{
    width:100%;
}


@media screen and (max-width: 992px) {

  .content-area {

    min-height: calc(100vh - 12rem);

  }



}

/*----------------------------------------------------------------
header
------------------------------------------------------------------*/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 3.5rem;
    padding: 20px;
    background-color: var(--primaryColor);
    z-index: 1001;
}

.title-container{
    font-size: 1.5rem;
    color: var(--secondaryColor);
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.title-container img{
    width:45px;
    border-radius: 100%;
}

.logo{
    width: 250px;
    height: 2.6rem;
}

.nav-container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 500px){
    .title-container {
            font-size: 1.2rem;
        }
}

/*----------------------------------------------------------------
footer
------------------------------------------------------------------*/

.main-footer {
  width: 100%;
  padding: 1.2rem;
  background-color: var(--primaryColor);
  display: flex;
  justify-content: center;
  align-items:center;
  flex-direction: column;
  color: var(--secondaryColor);
  gap: 1rem;
}

.footer-contact{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-contact p, 
.footer-contact a {
    line-height: 1.5rem;
    color: var(--secondaryColor);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-contact i {
    margin-right: 5px;
}

.footer-contact a:hover{
    color: var(--blackColor);
}

.main-footer p {
    text-align: center;
    line-height: 1.2rem;
}

.footer-col{
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
}


/* ============================ flats container ========================= */

.flats-title{
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    padding:10px;
    line-height: 2rem;
    width:100%;
    text-align: center;;
    color: var(--primaryColor);
}

.flats-list{
    width:95%;
    max-width:1360px;
    margin: 2rem auto;
    display:flex;
    flex-direction: column;
    gap: 10px;
}

.flats-list .flat-item{
    width: 100%;
    border: 1px solid var(--grayColor);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--lightGrayColor);
    box-shadow: 2px 3px 4px rgba(189, 189, 189, 0.2);
    scroll-margin-top: 4rem;
    scroll-behavior: smooth;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* .wc-style-gallery{
    float:right;
    width: 35%; 
    margin: 0rem 2.5rem 1rem 1rem !important;
}

.wc-thumbs{
   justify-content: center;
} */

.flat-text{
    flex: 3;
    margin-right: 2rem;
}

.flat-images{
    flex: 4;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin:0 auto;
}

.flat-images img{
    width: 135px;
    height: 135px;
    object-fit: cover;
    border-radius: 6px;
    margin: 0.3rem;
}

.flat-images a .video-thumb {
    width: 135px;
    height: 135px;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    margin: 0.3rem;
    font-size: 24px;
    cursor: pointer;
}

.flat-text>* {
    margin-bottom: 1em;
    line-height: 1.5rem;
}


.flat-text h1{
    font-size: 1.3rem;
}


/* =========  hero ======== */

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width:95%;
  max-width:1360px;
  padding: 40px 20px;
  color: var(--whiteColor);
  gap: 40px;
  flex-wrap: wrap;
  margin: 0 auto;
  margin-top:5rem;
}

.hero-text {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 2.8rem;
}

/* .hero-text p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.5rem;
  color: var(--primaryColor);
} */

/* .hero-image {
  flex: 1 1 400px;
  max-width: 600px;
  text-align: right;
  padding-right: 40px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
} */

@media (max-width: 992px) {
    /* .wc-style-gallery {   
    width: 100%;
    margin: 0 auto !important;
    } */

    .flat-item{
        flex-direction: column;
    }

    .flat-item .flat-images{
        justify-content: center;
    }
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap:0;
  }
  .hero-image {
    text-align: center;
    margin-top: 1rem;
    padding: 0;
  }
  .hero-image img{
    max-height: 400px;
    padding: 0;
  }
  .hero-text{
    flex:1;
  }
  .hero-text h1{
    font-size:1.8rem;
  }

  .footer-contact{
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .flat-images img{
    width: 170px;
    height:170px;
  }
}

@media (max-width: 410px) {
  .flat-images img {
    width: 150px;
    height: 150px;
  }
}