/*
Theme Name: BrekaStan
Theme URI: https://brekastan.com/
Author: Singularity
Author URI: 
Description: BrekaStan
Version: 1.0
*/

/************ FONTS **********/
/* abril-fatface */
@font-face {
  font-display: swap; 
  font-family: 'Abril Fatface';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/abril-fatface-v23-latin_latin-ext-regular.woff2') format('woff2'); 
}

/* poppins */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/poppins-v22-latin_latin-ext-300.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/poppins-v22-latin_latin-ext-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/poppins-v22-latin_latin-ext-italic.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/poppins-v22-latin_latin-ext-500.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/poppins-v22-latin_latin-ext-600.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/poppins-v22-latin_latin-ext-700.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/poppins-v22-latin_latin-ext-800.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/poppins-v22-latin_latin-ext-900.woff2') format('woff2'); 
}

/* inria-serif*/
@font-face {
  font-display: swap; 
  font-family: 'Inria Serif';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inria-serif-v16-latin_latin-ext-regular.woff2') format('woff2'); 
}
/************* ROOT **************/
:root {
    --primary-font: 'Poppins', sans-serif;
    --secondary-font: 'Abril Fatface', serif;
    --third-font: 'Inria Serif', serif;
    --primary-color: #000000;   
}
/************* PREDEFINED **************/
body {
    font-family: var(--primary-font);
    background-color: var(--primary-color);
}
.bg-primary {
    background-color: var(--primary-color) !important;
}
.text-primary {
    color: var(--primary-color) !important;
}
.font-secondary {
    font-family: var(--secondary-font) !important;
}

h3{
    font-size: 20px;
    line-height: 1.35;
}

.btn {
    font-size: 15px;
    padding: 11px 50px;
    border-radius: 0;
    line-height: 1;
    font-weight: 600;
}
.btn-primary {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #FFFFFF !important;
    border: 1px solid #FFFFFF !important;
    color: var(--primary-color) !important;
}
.container {
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--secondary-font) !important;
}
.section-top-title {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 7px;
}
.section-title {
    font-family: var(--secondary-font);
    font-size: 30px;
    margin-bottom: 26px;
}
.section-text p,
.section-text ul,
.section-text ol
{
    font-size: 14px;
}
.section-text p:last-child {
    margin-bottom: 0;
}
.section-text-dark {
    background-color: var(--primary-color);
    color: #fff;
}

.pt-xl {
    padding-top: 50px;
}
.pt-xxl {
    padding-top: 60px;
}

.columns-lg-2 {
    column-count: 0;
    column-gap: 0;
}


/************* INFO **************/
.info-section {
    background-image: url(img/nacrt.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    padding-top: 40px;
}



.info-table-box td {
    padding: 20px;
    font-size: 14px 25px;
    width: 100%;
    display: block;
} 
.info-table-box tr td:first-child {
    border-bottom: 1px solid #fff;
}

/************* HERO **************/

.hero .img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 100svh;
}

.hero .img-wrap{
    position: relative;
}

.hero-top-title {
    font-size: 13px;
    font-family: var(--third-font);
    line-height: 1.2;
}
.hero-title {
    font-size: 25px;
    line-height: 1.3;
    margin: 0;
    font-family: var(--secondary-font);
    margin-bottom: 20px;
}
.hero-text-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px 14px 20px;
}
.hero-text-box::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: .74; 
    backdrop-filter: blur(25px);
}
.hero-bg {
    position: absolute;
    bottom:  0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-bg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
/******* FOOTER *******/
footer {
    padding: 25px 0 90px 0;
}
.footer-title {
    font-family: var(--secondary-font);
    font-size: 20px;
    margin-bottom: 36px;
}
.footer-text {
    margin-bottom: 65px;
}
.footer-text p {
    font-size: 14px;
}
.footer-text p:last-child {
    margin-bottom: 0;
}
.footer-block {
    padding: 0 10px;
}
.footer-contact a {
    color: #ffffff;
    text-decoration: none;
}
.contact-item {
    font-size: 15px;
}
.why-text-box .hero-title {
    margin-bottom: 0;
}
.why-text-box-mobile {
    padding: 24px 0 49px 0;
}
.why-text-box-mobile p {
    font-size: 14px;
}
.about-section {
    background-color: #F5F3F0;
}

.about-images .row > * {
    padding: 20px;
}
.about-images .row > *:first-child {
    border-bottom: 1px solid var(--primary-color);
}
.list-box p,
.list-box ul,
.list-box ol
{
    margin-bottom: 0;
}
.list-box ul,
.list-box ol
{
	padding-left: 15px;
}

.img-border {
    position: relative
}
.img-border::after {
    content: '';
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 25px;
    right: 25px;
    border: 1px solid var(--primary-color);
}


.grid-gallery-box {
	gap: 16px;
    bottom: -40px;
}
.grid-gallery-box .link-box {
	flex-grow: 1;
	flex-shrink: 1;
	width: calc(100% / 4);
	transition: all 0.4s ease;
    min-height: 490px;
}

.grid-gallery-box .link-box:not(:first-child){
    display: none;
}
.grid-gallery-box a {
	display: block;
    color: #fff;
    text-decoration: none;
}
.grid-gallery-box .img-box {
	width: 100%;
	height: 100%;
    left: 0;
    top: 0;
}
.grid-gallery-box .img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.grid-gallery-box h4{
    font-size: 20px;
    line-height: 1.35;
}

.grid-gallery-box p{
    font-size: 14px;
    line-height: 1.5;
}

.grid-gallery-wrap{
    gap: 20px;
    padding: 16px;
    padding-bottom: 16px !important;
    z-index: 2;
    position: relative;
    opacity: 1;
    visibility: visible;
    transition: all 0.2s ease;
    min-height: 55%;
    height: auto;
    background: rgba(0, 0, 0, .74);
    padding-top: 50px;
}


.grid-gallery-box .link-box:hover {
	width: 33%;
	flex-shrink: 0;
}


.img-box-overlay {
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.74;
    background: #000;
    transition: all 0.2s ease;
    backdrop-filter: blur(25px);
    visibility: visible;
}

.grid-gallery-box .link-box:hover .img-box-overlay {
    visibility: visible;
    opacity: 0.74;
}
.grid-gallery-box .link-box:hover .grid-gallery-wrap{
    opacity: 1;
    visibility: visible;
}


/************* RESPONSIVE SM **************/
@media (min-width: 576px) {
}
/************* RESPONSIVE MD **************/
@media (min-width: 768px) {
}
/************* RESPONSIVE LG **************/
@media (min-width: 992px) {
    .pt-xl {
        padding-top: 100px;
    }
    h3{
        font-size: 33px;
    }
    .btn {
        font-size: 26px;
        padding: 15px 68px;
        border-radius: 0;
        line-height: 1;
        font-weight: 600;
    }
    .pt-xxl {
        padding-top: 140px;
    }
    .columns-lg-2 {
        column-count: 2;
        column-gap: 120px;
    }
    .hero-top-title {
        font-size: 25px;
        margin-bottom: 5px;
    }
    .hero-title {
        font-size: 42px;
    }
    .section-title {
        font-size: 42px;
        margin-bottom: 50px;
    }
    .section-text p {
        font-size: 18px;
    }
    
    .about-images .row > *:first-child {
        border-bottom: 0;
        border-right: 1px solid var(--primary-color);
    }
    .img-border::after {
        top: 80px;
        bottom: 80px;
        left: 80px;
        right: 80px;
    }
    
    .info-section {
        padding-top: 65px;
    }
    .info-table-box td {
        padding: 22px 20px; 
        font-size: 22px;
        width: auto;
        display: table-cell;
    } 
    .info-table-box tr td:first-child {        
        border-bottom: 0;
    }
    .grid-gallery-box{
        bottom: -80px;
    }
    .grid-gallery-box h4{
        font-size: 33px;
    }
    .grid-gallery-box p{
        font-size: 15px;
    }
    .grid-gallery-wrap{
        gap: 25px;
        padding: 20px;
        padding-bottom: 200px !important;
        min-height: unset;
        height: 100%;
        background: transparent;
        visibility: hidden;
        opacity: 0;
    }
    .grid-gallery-box .link-box {
        min-height: 620px;
    }
    .img-box-overlay {
        opacity: 0;
        visibility: hidden;
        height: 100%;
    }
    .grid-gallery-box .link-box:not(:first-child){
        display: block;
    }
    .grid-gallery-box .link-box:last-child{
        display: none;
    }
}
/************* RESPONSIVE XL **************/
@media (min-width: 1200px) {
    .hero-top-title {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .hero-title {
        font-size: 53px;
    }
    .hero {
        overflow: hidden;
    }
    .hero-bg {
        position: relative;
    }
    .hero-text-inner {
        width:45%;
        height: 100%;
    }
    .hero-text-box {
        height: 100%;
    }
    .hero-text-box::after {
        display: none;
    }
    .hero-text-inner::after {
        position: absolute;
        content: "";
        right: 0;
        top: 0;
        width: 1000%;
        height: 1000%;
        background-color: #000000;
        opacity: .74;
        backdrop-filter: blur(25px);
    }
    .why-text-box .hero-text-inner {
        margin-left: auto;
    }
    .why-text-box .hero-text-inner::after {
        left: 0;
    }
    .container {
        max-width: 1332px;
    }
    footer {
        padding: 110px 0 100px 0;
    }
    .footer-title {
        font-size: 53px;
        margin-bottom: 40px;
    }
    .footer-text {
        margin-bottom: 65px;
    }
    .footer-text p {
        font-size: 22px;
    }
    .footer-block {
        padding: 0;
    }
    .contact-item {
        font-size: 29px;
    }
    .why-text-box .hero-title{
        margin-bottom: 40px;
    }
    .hero-text-box p {
        text-align: justify;
        font-size: 22px;
    }
    .section-title {
        font-size: 53px;
        margin-bottom: 70px;
    }
    .section-text p,
    .section-text ul,
    .section-text ol 
    {
        font-size: 22px;
    }
    .grid-gallery-box .link-box:last-child{
        display: block;
    }
}   
/************* RESPONSIVE XXL **************/
@media (min-width: 1400px) {
    .why-text-box .hero-text-inner {
        margin-left: auto;
        padding: 0 0 20px 110px;
    }
} 
/************* RESPONSIVE XXL **************/
@media (min-width: 1600px) {
   
} 

