/*
Theme Name: estilohouse.pl
Author: flowcreative.pl
Author URI: https://flowcreative.pl
Description: Estilo House - Sufity napinane
Version: 1.0
Text Domain: estilohouse.pl

*/


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

:root {
    --red-colour: #df0716;
    --light-red-colour: #ec2734;
    --dark-colour: #273238;
    --dark-colour-border: #323e45;
    --gray: #9ea1a3;
    --light-gray: #ddd;
    --white-colour: #fff;
    --deep-dark: #212121;
    --title-bg: #f5f5f5;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #f7f7f7;
    font-family: 'Montserrat', system-ui, -apple-system, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--dark-colour); 
}

a { color: #003ada; text-decoration: none; cursor: pointer;}
a:hover { color: #FF5722; }

h1 {
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
}

.section-center {
    margin: 0 auto;
    width: 70%;
    transition: all .2s linear;
}
.section-wide {
    margin: 0 auto;
    width: 100%;
    transition: all .2s linear;
}
.section {
    position: relative;
    width: 100%;
}

/*  ==========  */

.section-header {
    background: var(--white-colour);
    border-bottom: 1px solid var(--light-gray);
}
.section-header--content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 140px;
}
.section-header--content-branding {
    width: 115px;
}
.section-header--content-branding img {
    width: 100%;
    height: auto;
}
.section-header--content-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-header--content-navigation ul {
    list-style: none;
    margin: 0; padding: 0;
}
.section-header--content-navigation ul li {
    position: relative;
    display: inline-block;
}
.section-header--content-navigation ul li a {
    position: relative;
    margin: 0 25px;
    color: var(--dark-colour);
    font-weight: 700;
}
.section-header--content-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0; z-index: 2;
    width: 0%;
    height: 3px;
    background: transparent;
    transition: all .3s ease-in;
}
.section-header--content-navigation ul li a:hover::after {
    width: 100%;
    background: var(--red-colour);
} 
.section-header--mobile-navigation {
    display: none;
}

/* MENU OVERLAY */
.overlayMenu {
    position: fixed;
    top: 0;
    z-index: 9999;
    display: none;
    overflow: hidden;
	opacity: 0;
    width: 100%;
    height: 100%;
    background: #171b20;
}
.overlayMenu-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}
.overlayMenu-content ul {
    list-style: none;
}
.overlayMenu-content ul li {
    position: relative;
    display: block;
    margin: 0;
    padding: 20px 0;
    transition: .4s ease-out;
    -webkit-transition: .4s ease-out;
    -moz-transition: .4s ease-out;
    -ms-transition: .4s ease-out;
    -o-transition: .4s ease-out;
}
/* Small devices (landscape phones, 700px and up)  */
@media (max-width: 700px) {
    .overlayMenu-content ul li {
        padding: 10px 0;
        text-align: left;
    }
}
.overlayMenu-content ul li a {
    font-size: 3em;
    color: var(--gray);
    font-weight: 500;
    text-transform: lowercase;
    transition: .2s ease-out;
    -webkit-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    -ms-transition: .2s ease-out;
    -o-transition: .2s ease-out;
}
.overlayMenu-content ul li a:hover {
    color: var(--white-colour);
}
/* Small devices (landscape phones, 700px and up)  */
@media (max-width: 700px) {
    .overlayMenu-content ul li a {
        font-size: 3em;
        letter-spacing: -1px;
    }
}
.btn-close span:nth-child(1){
    z-index: 9999;
    opacity: 1;
    width: 30px;
    height: 30px;
    background: var(--white-colour);
    border-radius: 15px;
}
.btn-close span:nth-child(2){
    display: none;
}
.overlay-contact {
    margin-top: 50px !important;
    padding: 10px 20px !important;
    background: var(--red-colour);
    border-radius: 30px;
    color: var(--white-colour);
}
.overlay-contact a {
    font-size: 16px !important;
    color: var(--white-colour) !important;
    letter-spacing: 0.5px !important;
    font-weight: 400 !important;
}

/* ---- MENU OVERLAY */

.header-contact {
    padding: 14px 26px;
    margin-left: 25px;
    background: var(--red-colour);
    border-radius: 25px;
    color: var(--white-colour);
    font-weight: 700;
}
.header-contact span {
    font-weight: 400;
}

/*  ==========  */

.section-hero {
    overflow: hidden;
    padding: 100px 0 200px;
    background: var(--white-colour);
}
.section-hero--content h1 {
    position: relative;
    z-index: 22;
    font-size: 12px;
    color: var(--dark-colour);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-hero--content h2 {
    position: relative;
    z-index: 22;
    font-size: 60px;
    color: var(--dark-colour);
    font-weight: 800;
}
.marquee-text {
    position: absolute; bottom: 0; z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0 0 30px;
}
.marquee-text--item {
    white-space: nowrap;
    font-size: 230px;
    color: #eee;
    font-weight: 800;
    letter-spacing: -3px;
    animation: move-rtl 24s linear infinite;
}
@keyframes move-rtl {
    to { transform: translateX(-100%); }
}

/*  ==========  */

.section-services {
    padding: 100px 0 0;
    background: var(--white-colour);
}
.section-services--grid {
    position: relative;
    width: 100%;
    display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 30px;
grid-row-gap: 30px;
}

.section-services--grid-1 {
    position: relative;
    grid-area: 1 / 1 / 2 / 2; 
} 
.section-services--grid-2 {
    position: relative;
    grid-area: 1 / 2 / 2 / 5;
} 
.section-services--grid-3 {
    position: relative;
    grid-area: 2 / 1 / 3 / 2;
} 
.section-services--grid-4 {
    position: relative;
    grid-area: 2 / 2 / 3 / 3;
} 
.section-services--grid-5 {
    position: relative;
    grid-area: 2 / 3 / 3 / 4;
} 
.section-services--grid-6 {
    position: relative;
    grid-area: 2 / 4 / 3 / 5; 
} 
.section-services--grid-picture {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
}
.section-services--grid-title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 400;
}
.section-services--grid-category a {
    font-size: 12px;
    color: #df0716;
    font-weight: 400;
    text-transform: uppercase;
}

/*  ==========  */

.section-intro {
    padding: 100px 0 150px;
    background: var(--white-colour);
}
.section-intro--content {
    color: var(--dark-colour);
}
.section-intro--content h2 {
    width: 75%;
    margin: 0 auto;
	line-height: 46px;
	font-size: 36px;
    text-align: center;
}

/*  ==========  */

.section-testimonials {
    padding: 60px 0;
    background: var(--white-colour);
}

/*  ==========  */

.section-faq {
    display: flex;
    padding: 80px 0;
    background: var(--dark-colour);
}

/*  ==========  */

.section-calltoaction {
    display: flex;
    padding: 180px 0;
    background: var(--red-colour);
    color: var(--white-colour);
}
.section-calltoaction h3 {
    line-height: 66px;
}
.section-calltoaction::before {
    position: absolute;
    top: -19px; left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 20px;
    background: var(--red-colour);
    content: '';
}
.section-calltoaction--content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.section-calltoaction--content-left {
    font-family: "Montserrat", system-ui, -apple-system, sans-serif; 
    font-size: 60px;
    font-weight: 800;
}
.section-calltoaction--content-center p,
.section-calltoaction--content-right p {
line-height: 24px;
}
.section-calltoaction--content-center strong,
.section-calltoaction--content-right strong {
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 700;
}

/*  ==========  */

.section-footer {
    display: flex;
    padding: 50px 0;
    background: var(--red-colour);
    border-top: 1px solid var(--light-red-colour);
    font-size: 14px;
    color: var(--white-colour);
    font-weight: 700;
}
.section-footer a {
    position: relative;
    color: var(--white-colour);
}
.section-footer a::after {
    position: absolute;
    bottom: -2px; left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: var(--white-colour);
    content: '';
    transition: all .3s ease;
} 
.section-footer a:hover::after {
    width: 100%;
}
.section-footer--content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.section-footer--content-copyright {
    text-align: left;
}
.section-footer--content-design {
    text-align: right;
}

.contact-form {
	width: 100%;
	margin: 30px 0 !important;
}

.nf-field-element textarea {
	width: 100% !important;
	border: 1px solid #ddd;
	border-radius: 8px;
}
.contact-form input[type="text"],
.contact-form input[type="email"] {
	width: 80%;
	padding: 15px 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
}
.contact-form input[type="submit"] {
	display: inline-block;
	padding: 12px 25px 11px;
	background: #333;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	color: #fff;
	transition: all .3s ease-in;
}
.contact-form input[type="submit"]:hover {
	background: var(--red-colour);
}

/* ADDONS ==================== */
.estilo-accordion {
    float: left;
    width: 100%;
}
.faq-question {
    margin-bottom: 30px;
}
/* Style the buttons that are used to open and close the accordion panel */
.btnaccordion {
    display: flex;
    justify-content: space-between;
    align-items: anchor-center;
  cursor: pointer;
  background: transparent;
  padding: 18px;
  width: calc(100% - 36px);
  font-family: 'Montserrat', system-ui, -apple-system;
  font-size: 24px;
  font-weight: 700;
  color: var(--white-colour);
  text-align: left;
  border: none;
  border-top: 1px solid var(--dark-colour-border);
  outline: none;
  transition: 0.4s ease-in;
  -webkit-transition: 0.4s ease-in;
  -moz-transition: 0.4s ease-in;
}
.btnaccordion:hover {
    color: var(--gray);
}
.btnaccordion:after {
  content: '\002B';
  font-family: 'Montserrat';
  font-size: 36px;
  color: var(--white-colour);
  font-weight: 400;
  float: right;
  margin-left: 5px;
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
}
.dsactive:after {
  content: "\2212";
  transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
}
/* Style the accordion panel. Note: hidden by default */
.accordionpanel {
  width: calc(100% - 36px);
  padding: 0 18px;
 display: none;
}
.accordionpanel p {
    width: 70%;
    margin-bottom: 10px;
    line-height: 24px;
    color: var(--light-gray);
}
@media screen and (max-width: 1024px) and (min-width: 701px) {
    .accordionpanel p {
    width: 80%;
}
}
@media screen and (max-width: 700px) and (min-width: 200px) {
    .accordionpanel p {
    width: 90%;
}
}
.accordionpanel ul, .accordionpanel ol {
    width: 70%;
    margin: 0 0 10px 20px;
}
.accordionpanel a {
    color: #f85422;
    text-decoration: none;
}
.accordionpanel a:hover {
    color: #555;
}

.section-page--title {
    padding: 40px 0;
    background: var(--title-bg);
}
.section-page--title h1 {
    width: 80%;
    margin: 0 auto;
    font-size: 36px;
}
.section-page--body {
    padding: 60px 0 80px;
    background: var(--white-colour);
}
.body-content {
    width: 80%;
    margin: 0 auto;
}
.body-content p {
    margin-bottom: 25px;
    line-height: 24px;
}

.body-content h2 {
	margin: 5px 0 15px;
}

.article-list {
	display: flex;
	flex-direction: column;
}
.article-list--description {
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}
.article-list--description h2 {
	font-size: 48px;
	margin: 0;
	transition: all .3s ease-in-out;
}
.article-list--description h2:hover {
	transform: translateX(10px);
}
.article-list--description a {
	color: #273238;
	transition: all .2s ease-in-out;
}
.article-list--description a:hover {
	color: #df0716; 
}

	

/* =============== MEDIA QUERY ================= */
@media (min-width: 176px) and (max-width: 767px) {
    .section-center {
        width: 95%;
    }
    .section-header--content-navigation {
        display: none;
    }
    .section-header--mobile-navigation {
        display: block;
        width: 40px;
        background: #fbfbfb;
    }
    .mobileburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10px 0;
    }
    .mobileburger span {
        width: 100%;
        height: 2px;
        margin: 3px;
        background: var(--dark-colour);
        transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
    }
    .mobileburger span:last-child {
        width: 70%;
    } 
    .mobileburger:hover span:last-child {
        width: 100%;
    } 

    .section-hero {
        padding: 100px 0;
    }
    .section-hero--content h1 {
        margin-bottom: 10px;
    }
    .section-hero--content h2 {
        font-size: 50px;
        line-height: 55px;
    }
    .marquee-text--item {
        font-size: 120px;
    }

    .section-services {
        padding: 100px 0 0;
    }
    .section-services--grid {
        position: relative;
        width: 100%;
        display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    }
    .picture-one {
        width: 100%;
        height: 400px;
        object-fit: cover;
    }
    .section-services--grid-1 {
        display: none;
        position: relative;
    } 
    .section-services--grid-2 {
        position: relative;
        grid-area: 1 / 1 / 2 / 3;
        margin-bottom: 20px;
    } 
    .section-services--grid-3 {
        position: relative;
        grid-area: 2 / 1 / 3 / 2;
    } 
    .section-services--grid-4 {
        position: relative;
        grid-area: 2 / 2 / 3 / 3;
    } 
    .section-services--grid-5 {
        position: relative;
        grid-area: 3 / 1 / 4 / 2;
    } 
    .section-services--grid-6 {
        position: relative;
        grid-area: 3 / 2 / 4 / 3; 
    } 
    .section-services--grid-title {
        font-size: 18px;
    }

    .section-intro--content h2 {
        width: 90%;
    }

    .section-intro {
        padding: 30px 0;
    }
    .section-testimonials {
        padding: 10px 0 40px;
        background: var(--white-colour);
    }

    .section-calltoaction--content {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-calltoaction--content-left {
        font-size: 30px;
    }
    .section-calltoaction--content-center {
        margin: 30px 0;
    }
    .section-calltoaction--content-center strong,
    .section-calltoaction--content-right strong {
    margin-bottom: 5px;
}
    .section-calltoaction h3 {
        line-height: 54px;
    }
    .btnaccordion {
        font-size: 16px;
      }
      .section-footer--content {
        flex-direction: column;
    }
    .section-footer--content-copyright {
        margin-bottom: 5px;
    }
    .section-footer--content-design {
        text-align: left;
    }

}
@media (min-width: 768px) and (max-width: 991px) {
    .section-center {
        width: 95%;
    }
    .section-header--content-navigation {
        display: none;
    }
    .section-header--mobile-navigation {
        display: block;
        width: 40px;
        background: #fbfbfb;
    }
    .mobileburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10px 0;
    }
    .mobileburger span {
        width: 100%;
        height: 2px;
        margin: 3px;
        background: var(--dark-colour);
        transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
    }
    .mobileburger span:last-child {
        width: 70%;
    } 
    .mobileburger:hover span:last-child {
        width: 100%;
    } 

    .section-hero {
        padding: 100px 0;
    }
    .section-hero--content h1 {
        margin-bottom: 10px;
    }
    .section-hero--content h2 {
        font-size: 50px;
        line-height: 55px;
    }
    .marquee-text--item {
        font-size: 120px;
    }

    .section-intro--content h2 {
        width: 90%;
    }

    .section-calltoaction--content {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-calltoaction--content-left {
        font-size: 40px;
    }
    .section-calltoaction--content-center {
        margin: 30px 0;
    }
    .section-calltoaction--content-center strong,
    .section-calltoaction--content-right strong {
    margin-bottom: 5px;
}
    .section-calltoaction h3 {
        line-height: 54px;
    }


}
@media (min-width: 992px) and (max-width: 1199px) {
    .section-center {
        width: 85%;
    }
}
@media (min-width: 1200px) {}