/* Elexer By TeamXcel */

/*  ==========================================================================
    Table of Contets
    ==========================================================================
    
    1.0 Common Styles
    2.0 Header Section
    3.0 Slider Section
    4.0 About Section
    5.0 Gallery Section
    6.0 Promo Section
    7.0 Counter Section
    8.0 Team Section
    9.0 Testimonial Section
    10.0 CTA Section
    11.0 Page Header Section
    12.0 Service Section
    13.0 Blog Section
    14.0 Contact Section
    15.0 Footer Section
    16.0 Scroll To Top
    
    ==========================================================================
    Elexer Photography Website Template Version 0.1
    ========================================================================== */

	@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');
	
/*  ==========================================================================
    Common Styles
    ========================================================================== */
*{
	padding: 0;
	margin: 0;
}
:root {
  --font-family-sans-serif: "Outfit", sans-serif;
}
body{
   /* background-color: #0d0d0d;*/
    background-image: url(../img/Nosferatu_Background.jpg);
	font-family:  'Outfit', sans-serif;
    font-size: 15px;
    line-height: 23px;
    color: #777;
    font-weight: 700;
    position: relative;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6{
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing:antialiased;
	color: #333;
}
h1{
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #fff;
    letter-spacing: -0.05em;
}
h2{
    font-size: 26px;
    color: #fff;
    margin: 0 0 10px;
    font-weight: 600;
    line-height: 1.2;
}
h3,h4{
    margin: 0 0 10px;
    font-weight: 600;
    line-height: 1.7;
    color: #fff;
    letter-spacing: -0.01em;
}
h3{
    font-size: 18px;
}
h4{
    font-size: 16px;
	color: #fff;
}
h5,h6{
    font-size: 15px;
    text-shadow: 2px 2px 2px black;
    margin: 0 0 10px;
	color: #fff;
}
img{
    border: none;
    outline:none;
    max-width: 100%;
}
ul{
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}
p, li, a, span{}
p{
    color: #fff;
    font-size: 17px;
    margin-bottom: 15px;
}
a, a:hover{
    text-decoration: none;
}
a:focus{
    outline: 0;
    text-decoration: none;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder{
   color: #ddd !important;
}

input:-moz-placeholder,
textarea:-moz-placeholder{ /* Firefox 18- */
   color: #ddd !important;  
}

input::-moz-placeholder,
textarea::-moz-placeholder{  /* Firefox 19+ */
   color: #ddd !important;  
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder{  
   color: #ddd !important;  
}
button{
    border: none;
	background: none;
}
/* Helper Class */
.padding{
    padding: 10px 0;
}
.no-padding{
    padding: 0;
}
.padding-15{padding: 15px;}
.padding-20{padding: 20px;}

.bg-white{ background-color: #fff; }
.bg-grey{ background-color: #eef3f9;}
.bg-dark{ background-color: #232323;}
.bd-top{ border-top: 1px solid #eaeaea;}
.bd-bottom{ border-bottom: 1px solid #eaeaea;}

.mb-10{ margin-bottom: 10px; }
.mb-15{ margin-bottom: 15px; }
.mb-20{ margin-bottom: 20px; }
.mb-25{ margin-bottom: 25px; }
.mb-30{ margin-bottom: 30px; }
.mb-35{ margin-bottom: 35px; }
.mb-40{ margin-bottom: 40px; }
.mb-45{ margin-bottom: 45px; }
.mb-50{ margin-bottom: 50px; }
.ml-15{ margin-left: 15px; }
.ml-20{ margin-left: 20px; }
.ml-25{ margin-left: 25px; }
.ml-30{ margin-left: 30px; }
.ml-35{ margin-left: 35px; }
.fz-28{ font-size: 28px; }
.fz-24{ font-size: 24px; }
.fz-22{ font-size: 22px; }
.fz-20{ font-size: 20px; }
.fz-18{ font-size: 18px; }
.fz-16{ font-size: 16px; }
.text-black{
    color: #333;
}
.text-white{
    color: #ffffff;
}
.align-left{
    text-align: left;
}
.align-right{
    text-align: right;
}
.align-center{
    text-align: center;
}
.fl-right{
    float: right;
}
.fl-left{
    float: left;
}
.display-table{
    width: 100%;
    height: 100%;
    display: table;
}
.table-cell{
    display: table-cell;
    vertical-align: middle;
}

.overlay{
    width: 100%;
    position: relative;
    z-index: 1;
}
.overlay:before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

/* Preloader Styles */
.loaded .site-preloader-wrap {
    opacity: 0;
    visibility: hidden;
}
.site-preloader-wrap {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    background: #272c30;
    top: 0;left: 0
}

.site-preloader-wrap .spinner {
    background-color: #666;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
}

.spinner {
  width: 40px;
  height: 40px;

  border-radius: 100%;  
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
  0% { -webkit-transform: scale(0) }
  100% {
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}

@keyframes sk-scaleout {
  0% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 100% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 0;
  }
}

/* Button Style */
.btn-coins-shop {
  display: inline-block;
  background-color: #FFD700;   
  color: #111;
  border: none;
  border-radius: 2em;          
  font-size: 1.15rem;
  font-weight: bold;
  padding: 16px 42px;
  margin: 70px auto 30px auto;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: 
    transform 0.18s cubic-bezier(.42,0,.58,1.02),
    box-shadow 0.18s,
    background 0.2s,
    color 0.2s;
  z-index: 30;
  position: relative;
  text-decoration: none;
}

.btn-coins-shop:hover,
.btn-coins-shop:focus,
.btn-coins-shop:active {
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  background-color: #FFD700;
  color: #000;
  outline: none;
  text-decoration: none;
}
.coins-btn-wrap {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 20; /* większy niż profile/profile2 */
  
}
.btn_group{}
.btn_group a{
    margin: 5px;
}
.btn_group_left a{
    margin-right: 15px;
    margin-bottom: 15px;
}
.button-1{
    background-color: #23262e;
    text-transform: uppercase;
    color: #fff;
    font-size: 12px;
    border-radius: 30px;
    line-height: 50px;
    font-weight: 700;
    display: inline-block;
    padding: 0 25px;
    letter-spacing: -0.02em;
}
.button-1:hover{
    box-shadow: 0px 0px 24px 5px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Transition Effect */
a,a:hover, .overlay, .form-control,  .form-control:hover, button{
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
/* ==========================================================================
   Header Section
   ========================================================================== */
.header-section{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 100;
}
.menu-active .branding{
    visibility: hidden;
    opacity: 0;
}

.button_container{
    position: fixed;
    top: 5%;
    right: 2%;
    height: 27px;
    width: 35px;
    cursor: pointer;
    z-index: 100;
    transition: opacity .25s ease;
}
.button_container:hover {
    opacity: .7;
}
.button_container.active .top {
    -webkit-transform: translateY(11px) translateX(0) rotate(45deg);
          transform: translateY(11px) translateX(0) rotate(45deg);
    background: #FFF;
}
.button_container.active .middle {
    opacity: 0;
    background: #FFF;
}
.button_container.active .bottom {
    -webkit-transform: translateY(-11px) translateX(0) rotate(-45deg);
          transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: #FFF;
}
.button_container span {
    background: #fff;
    border: none;
    height: 3px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}
.button_container span:nth-of-type(2) {
    top: 11px;
}
.button_container span:nth-of-type(3) {
    top: 22px;
}

.overlay {
    position: fixed;
    background: #111;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
}
.overlay.open {
    opacity: .9;
    visibility: visible;
    height: 100%;
    z-index: 99;
}
.overlay.open li {
    -webkit-animation: fadeInTop .5s ease forwards;
          animation: fadeInTop .5s ease forwards;
    -webkit-animation-delay: .35s;
          animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {
    -webkit-animation-delay: .4s;
          animation-delay: .4s;
}
.overlay.open li:nth-of-type(3) {
    -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open li:nth-of-type(4) {
    -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay.open li:nth-of-type(5) {
    -webkit-animation-delay: .55s;
          animation-delay: .55s;
}
.overlay.open li:nth-of-type(6) {
    -webkit-animation-delay: .60s;
          animation-delay: .60s;
}
.overlay nav {
    position: relative;
    height: 70%;
    top: 50%;
    -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
    font-size: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-align: center;
}
.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: block;
    position: relative;
}
.overlay ul li {
    display: block;
    position: relative;
    opacity: 0;
}
.overlay ul li a {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    margin: 25px 0;
    font-size: 35px;
    line-height: 40px;
}
.overlay ul li a:hover{
    width: 100%;
    opacity: 0.5;
}

@-webkit-keyframes fadeInTop {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInTop {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ==========================================================================
   Slider Section
   ========================================================================== */
.slider-section{
    position: relative;
}
.slider-section .profile-info .d-flex {
    height: 100vh;
}
.profile-info{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: block;
    z-index: 10;
    text-align: center;
}
.profile-info h2{
    font-size: 40px;
    color: #fff;
    text-transform: uppercase;
    display: block;
    margin: 0;
}
.profile-info h2 span{
    display: block;
    font-size: 12px;
    letter-spacing: 5px;
}
.profile-inner{
    padding: 20px;
    position: relative;
    z-index: 1;
}
/*Border*/
.profile-inner .border-1,
.profile-inner .border-2{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.profile-inner .border-1:before,
.profile-inner .border-1:after,
.profile-inner .border-2:before,
.profile-inner .border-2:after{
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    opacity: 0.5;
}
.profile-inner .border-1:before{
    border-top: 5px solid #fff;
    border-left: 5px solid #fff;
}
.profile-inner .border-1:after{
    top: auto;
    bottom: 0;
    border-bottom: 5px solid #fff;
    border-left: 5px solid #fff;
}
.profile-inner .border-2:before{
    left: auto;
    right: 0;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;
}
.profile-inner .border-2:after{
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    border-bottom: 5px solid #fff;
    border-right: 5px solid #fff;
}

.main-slider .slide-item {
    background: none;         
    position: relative;
    width: 100%;
    height: 100vh;            
    overflow: hidden;
}

.main-slider .slide-item .slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
/*Slider Navigation*/
.owl-nav{}
.owl-nav div{
    background-color: transparent;
	display: block;
	text-align: center;
	width: 40px;
	height: 40px;
	line-height: 40px;
    border-radius: 50%;
	color: #fff;
	font-size: 25px;
	position: absolute;
	left: 50px;
	top: calc(50% - 50px);
	transition: all 0.3s linear;
}
.owl-nav div.owl-next{
    left: auto;
	right: 50px;
}

.image-overlay-container {
  position: relative;
  width: 100%;
  max-width: 1200px; 
  height: auto;
  margin: 0 auto;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* ==========================================================================
   About Section
   ========================================================================== */
html, body {
  margin: 0;
  padding: 0;
}
   
.top-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* tło – obrazek w flow nadaje wysokość kontenerowi */
.top-section .bg-image {
  display: block;
  width: 100%;
  height: auto;
}

/* nakładki – absolutnie pozycjonowane nad tłem */
.top-section .overlay-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       
  opacity: 0;
  animation: horrorFlicker 6s infinite ease-in-out;
}

/* delay’y dla kolejnych nakładek */
.top-section .overlay-image:nth-of-type(2) { animation-delay: 0s; }
.top-section .overlay-image:nth-of-type(3) { animation-delay: 0.5s; }
.top-section .overlay-image:nth-of-type(4) { animation-delay: 1s; }
.top-section .overlay-image:nth-of-type(5) { animation-delay: 1.5s; }
.top-section .overlay-image:nth-of-type(6) { animation-delay: 2s; }
.top-section .overlay-image:nth-of-type(7) { animation-delay: 2.5s; }

@keyframes horrorFlicker {
  /* od 0% do 49% – całkowicie niewidoczne */
  0%, 49%, 51%, 100% {
    opacity: 0;
  }
  /* jeden szybki przebłysk dokładnie w połowie cyklu */
  50% {
    opacity: 1;
  }
}

   
.about-section{
    position: relative;
}
.about-content{}
.about-content h2{
    margin: 300px 0 40px 0;
}
.profile {
  background-image: url(../img/rewers_nosferatu.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;      
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  width: 500px;
  height: 500px;
  left: calc(40% - 150px);
  top: -250px;
  z-index: 10;
}

.profile2 {
  background-image: url(../img/awers_nosferatu.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;      
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  width: 400px;
  height: 400px;
  left: calc(60% - 150px);
  top: -200px;
  z-index: 9;
}

@media (max-width: 768px) {
  .profile,
  .profile2 {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
  }

  .profile2 {
    width: 50vw;
    height: 50vw;
    left: 75%;          /* bardziej na prawo */
    top: 8vw;           /* wyżej, by nie nachodzić */
    transform: translateX(-60%);
    z-index: 5!important;        
  }

  .profile {
    width: 45vw;
    height: 45vw;
    left: 48%;          /* nieco w dół i w lewo */
    top: 18vw;          /* niżej, by tworzył overlap */
    transform: translateX(-48%);
    z-index: 10!important;
  }
}


/*About Section Inner Page*/
.about-inner-page{
    padding-top: 0;
}
.about-inner{
    display: flex;
    align-items: center;
}
.about-inner .about-bg{
    width: 100%;
    border-radius: 5px;
}
.bottom-section {
  background-image: url(../img/Nosferatu_Background.jpg); 
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section{
    padding-top: 0;
}
@media (min-width: 768px) {
  /* 1) Kontener galerii jako flex */
  .gallery-section .gallery-items {
    display: flex;
    flex-wrap: wrap;
  }

  /* 2) Każdy .single-item zajmuje 50% szerokości */
  .gallery-section .single-item {
    flex: 0 0 50%;
    box-sizing: border-box;
  }

  /* 3) Pofalowanie: co drugi element przesuwamy w dół/górę */
  .gallery-section .single-item:nth-child(odd) {
    margin-top: -30px;  /* elementy 1 i 3 „podnosimy”*/
  }
  .gallery-section .single-item:nth-child(even) {
    margin-top: 80px;   /* elementy 2 i 4 „opuszczamy”*/
  }
}
/*.gallery-items .col-md-6:nth-child(2){
    margin-top: 75px;
}*/
.gallery-filter{
    width: 100%;
}
.gallery-filter li{
    margin-right: 40px;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
}
.gallery-filter li:last-child{
    margin-right: 0;
}
.gallery-filter li.active{
    color: #fff;
    text-decoration: line-through;
}
.gallery-wrap{
    padding-bottom: 75px;
    padding-right: 0;
    padding-left: 95px;
    position: relative;
}

.gallery-wrap .gallery-video {
  display: block;      /* tak jak img */
  max-width: 100%;     /* ogranicza szerokość do kontenera */
  height: auto;        /* utrzymuje proporcje */
  object-fit: cover;   /* przytnie jeśli trzeba */
  padding-top: 75px;
}
.gallery-wrap h3{
    font-size: 28px;
    line-height: 1.3;
    color: #fff;
	padding-top: 190px;
}
.gallery-content{
    position: absolute;
    left: 40px;
    top: 80px;
	z-index: 12;
}
.gallery-link{
    color: #999;
    position: relative;
    padding-right: 35px;
    line-height: 30px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}
.gallery-link i{
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    transition: all 0.3s ease-in-out;
}
.gallery-link:hover i{
    padding-left: 5px;
    color: #fff;
    transition: all 0.3s ease-in-out;
}
.gallery-link:hover{
    color: #fff;
}

/*Load More
.load-more{
    color: #bbb;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: 1px solid #222;
    padding: 15px 20px;
}
.load-more i{
    color: #fff;
    margin-right: 15px;
    display: inline-block;
    -webkit-animation: rotate 1.0s infinite linear;
    animation: rotate 1.0s infinite linear;
}
.load-more:hover i{
    -webkit-animation: rotate 1.0s linear;
    animation: rotate 1.0s linear;
}
.load-more:hover{
    color: #fff;
    cursor: pointer;
}
.load-more:focus{
    outline: none;
}
@-webkit-keyframes rotate {
  0% { -webkit-transform: rotate(0) }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes rotate {
  0% { 
    -webkit-transform: rotate(0);
    transform: rotate(0);
  } 100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(1.0);
  }
}
*/

.gallery-section .single-item.text-item .gallery-wrap {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.gallery-section .single-item.text-item .gallery-content {
  position: static;
  text-align: center;
  color: #fff;          
  padding: 20px;
}

.gallery-section .single-item.text-item .gallery-content h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.gallery-section .single-item.text-item .gallery-content p {
  font-size: 16px;
  line-height: 1.4;
}
/* ==========================================================================
   Promo Section
   ========================================================================== */
.promo-section{
    padding-top: 0;
    position: relative;
}
.promo-content span{
    font-size: 50px;
    font-weight: 700;
    position: absolute;
    left: 10px;
    top: 0;
    opacity: 0.5;
}
.promo-content h3{
    color: #fff;
    font-size: 22px;
}
.promo-content p{
    margin: 0;
}

/* ==========================================================================
   8.0 Counter Section
   ========================================================================== */
.counter-section{
	background-image: url(../img/counter-bg.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
	-webkit-background-size: cover;
	background-size: cover;
    padding: 100px 0;

}
.counters{}
.counters .counter-content{
	display: block;
	text-align: center;
}
.counters .counter-content h3{
	font-size: 32px;
	color: #fff;
    font-weight: 700;
    margin-bottom: -10px;
}
.counters .counter-content h4{
    font-size: 16px;
    color: #999;
	margin: 0;
}
/* ==========================================================================
   Team Section
   ========================================================================== */
.team-section{}
.team-wrap{}
.team-content{}

.team-content .team-thumb{
    width: 150px;
    height: 150px;
    margin: 0 auto;
    margin-bottom: 25px;
}
.team-content .team-thumb:hover img{
    transform: scale(1.1);
}
.team-content .team-thumb img{
    width: 100%;
    border-radius: 50%;
}
.team-content h3{
    color: #fff;
    margin-bottom: 0;
}
.team-content span{
    font-style: italic;
    color: #999;
}

/* ==========================================================================
   7.0 Testimonial Section
   ========================================================================== */
.testimonial-section{
    background-image: url(../img/testimonial-bg.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;
    height: 500px;
}
.testimonial-items{
    padding: 113px 0;
}
.testimonial-item{
    text-align: center;
}
.testimonial-item i{
    color: #fff;
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.7;
}
.testimonial-item figure{
    width: 90px;
    height: 90px;
    padding: 5px;
    margin: 0 auto 15px;
    position: relative;
}
.testimonial-item figure img{
    border-radius: 50px;
    width: 100%;
}
.testimonial-item h4{
    color: #fff;
    font-weight: 600;
    margin: 15px 0 10px;
}
.testimonial-item p{
    color: #ddd;
    font-style: italic;
    font-size: 18px;
}

.testimonial-items .owl-dots{
    display: block;
    text-align: center;
}
.testimonial-items .owl-dots .owl-dot{
    background-color: #777;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    transition: all 0.5s ease-in-out;
}
.testimonial-items .owl-dots .owl-dot.active{
    background-color: #fff;
    -webkit-transform: scale(1.6);
    transform: scale(1.6);
    transition: all 0.5s ease-in-out;
}
/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section{}
.cta-content h2{ margin: 0; }
.contact-btn{
    background-color: transparent;
    border: 1px dashed #777;
    padding: 15px 20px;
    color: #ddd;
}
.contact-btn:hover{
    color: #fff;
    border-radius: 30px;
}
/* ==========================================================================
   Page Header Section
   ========================================================================== */
.page-header{
    padding: 100px 0;
}
.page-content h2{
    font-size: 32px;
    text-transform: uppercase;
}
.page-content p{
    margin: 0;
}
/* ==========================================================================
   Service Section
   ========================================================================== */
.service-section{
    padding-top: 0;
    padding-bottom: 100px;
}
.service-section .col-lg-3{
    padding: 0;
}
.service-wrap{
    position: relative;
}
.service-wrap:hover .service-thumb img{
    opacity: 0.9;
}
.service-wrap:hover .service-content{
    transform: translateY(-20px);
}
.service-content{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 20px;
    transition: all 0.1s linear;
}
.service-thumb img{
    opacity: 0.5;
}
.service-content h3{
    color: #fff;
    margin-bottom: 0;
}
.service-content p{
    font-size: 14px;
    color: #ddd;
}
.read-more{
    text-transform: uppercase;
    font-size: 12px;
    color: #ddd;
}
.read-more:hover{
    text-decoration: line-through;
    color: #fff;
}
/* ==========================================================================
   2.0 Blog Section
   ========================================================================== */
.blog-section{
    padding: 0;
}
.blog-items{}
.left-sidebar .blog-items{
    border-right: none;
    border-left: 1px solid #ddd;
    padding-right: 0;
    padding-left: 10px;
}
.blog-post{}
.blog-post img{
    width: 100%;
    margin-bottom: 10px;
}
.blog-post img:hover{
    box-shadow: 0px 16px 28px 0px rgba(0, 0, 0, 0.20);
}
.blog-post .blog-content h3{
    font-weight: 700;
    font-size: 18px;
}
.blog-post .blog-content a{
    color: #fff;
}
.blog-post .blog-content a:hover{
    opacity: 0.8;
}
span.date{
    font-family: 'Outfit', sans-serif;
    color: #999;
    font-weight: 700;
    font-size: 10px;
    display: block;
    margin-bottom: 5px;
}
.blog-post .blog-content .post-meta{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: #ddd;
    letter-spacing: -0.2px
}
.blog-post .blog-content .post-meta:hover{
    opacity: 0.8;
    text-decoration: underline;
}

/* Pagination 
=============== */
.pagination_wrap{
    margin-top: 40px;
}
.pagination_wrap li{
    display: inline-block;
    margin: 0 5px;
}
.pagination_wrap li a{
    border: 1px dashed #999;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    color: #777;
    font-weight: 600;
}
.pagination_wrap li a:hover{
    opacity: 1;
    text-decoration: none;
    box-shadow: 0px 16px 28px 0px rgba(0, 0, 0, 0.20);
}
.pagination_wrap li a.active{
    background-color: #fff;
    border: 1px solid #fff;
    color: #222;
}

/*Blog List*/
.list-items .blog-post{
    border: 1px solid #eee;
    margin: 0;
    margin-bottom: 15px;
}
.list-items .blog-post img{
    margin-bottom: 0;
}
.list-items .blog-post .col-md-6:first-child{
    padding-left: 0;
}
.list-items .blog-post .blog-content{
    padding: 34px 0;
}

/*Classic List*/
.grid-list,
.list-classic{
    border: none;
}
.list-classic img{
    position: relative;
}
.list-classic .cat{
    position: absolute;
    left: 25px;
    top: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 12px;
    background-color: rgba(244, 66, 89, 0.8);
    box-shadow: 0px 16px 28px 0px rgba(0, 0, 0, 0.20);
    border-radius: 3px;
    padding: 5px 10px;
}

/*Single Post Style*/
.single-post{}
.single-post img{
    width: 100%;
    height: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}
.single-post h2{
    font-weight: 800;
}
.single-post .meta-info{
    margin-bottom: 25px;
}
.single-post .meta-info span{
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    font-size: 12px;
    margin-right: 15px;
}
.single-post .meta-info a{
    font-weight: 800;
    color: #777;
}
.single-post .meta-info i{
    color: #777;
}

/*Social Share*/
.share-wrap{
    margin-top: 25px;
    margin-bottom: 50px;
}
.share-wrap h4{
    text-transform: uppercase;
    font-weight: 800;
    font-size: 14px;
}
.share-icon{
    display: inline-block;
}
.share-icon li{
    display: inline-block;
    margin-right: 10px;
}
.share-icon i{
    margin-right: 5px;
}
.share-icon li:nth-child(1) a{ background-color: #3B5998; }
.share-icon li:nth-child(2) a{ background-color: #1DCAFF; }
.share-icon li:nth-child(3) a{ background-color: #DB4A39; }
.share-icon li:nth-child(4) a{ background-color: #e4405f; }
.share-icon li:nth-child(5) a{ background-color: #0077B5; }
.share-icon li a{
    display: inline-block;
    font-size: 13px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: 600;
}
.share-icon li a:hover{
    box-shadow: 0px 16px 28px 0px rgba(0, 0, 0, 0.20);
}

/*Comments Style*/
.comments_wrapper{
    padding: 20px;
    border: 1px solid #ddd;
}
.comments-wrapper h4{
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
}

.comments-list {
	margin-top: 30px;
	position: relative;
    margin-bottom: 50px;
    
}

/*Lines Details*/
.comments-list:before {
	content: '';
	width: 2px;
	height: 100%;
	background: #333;
	position: absolute;
	left: 32px;
	top: 0;
}

.comments-list:after {
	content: '';
	position: absolute;
	background: #333;
	bottom: 0;
	left: 29px;
	width: 7px;
	height: 7px;
	border: 3px solid #333;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

.reply-list:before, .reply-list:after {display: none;}
.reply-list li:before {
	content: '';
	width: 60px;
	height: 2px;
	background: #333;
	position: absolute;
	top: 25px;
	left: -55px;
}

.comments-list li {
	margin-bottom: 15px;
	display: block;
	position: relative;
}
.comments-list li:after {
	content: '';
	display: block;
	clear: both;
	height: 0;
	width: 0;
}
.reply-list {
	padding-left: 88px;
	clear: both;
	margin-top: 15px;
}
/*Avatar*/
.comments-list .comment-avatar {
	width: 65px;
	height: 65px;
	position: relative;
	z-index: 99;
	float: left;
	border: 3px solid #333;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	overflow: hidden;
    margin-right: 10px;
}

.comments-list .comment-avatar img {
	width: 100%;
	height: 100%;
}

.reply-list .comment-avatar {
	width: 50px;
	height: 50px;
}

.comment-main-level:after {
	content: '';
	width: 0;
	height: 0;
	display: block;
	clear: both;
}

/*Comment List*/
.comments-list .comment-box {
	width: 740px;
	float: right;
	position: relative;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.15);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.15);
	box-shadow: 0 1px 1px rgba(0,0,0,0.15);
}

.comments-list .comment-box:before, .comments-list .comment-box:after {
	content: '';
	height: 0;
	width: 0;
	position: absolute;
	display: block;
	border-width: 10px 12px 10px 0;
	border-style: solid;
	border-color: transparent #222;
	top: 8px;
	left: -11px;
}

.comments-list .comment-box:before {
	border-width: 11px 13px 11px 0;
	border-color: transparent rgba(0,0,0,0.5);
	left: -12px;
}

.reply-list .comment-box {
	width: 665px;
}
.comment-box .comment-head {
	background: #222;
	padding: 10px 12px;
	border-bottom: 1px solid #111;
	overflow: hidden;
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	border-radius: 4px 4px 0 0;
}

.comment-box .comment-head i {
	float: right;
	margin-left: 14px;
	position: relative;
	top: 2px;
	color: #A6A6A6;
	cursor: pointer;
	-webkit-transition: color 0.3s ease;
	-o-transition: color 0.3s ease;
	transition: color 0.3s ease;
}

.comment-box .comment-head i:hover {
	color: #03658c;
}

.comment-box .comment-name {
	color: #283035;
	font-size: 14px;
	font-weight: 700;
	float: left;
	margin-right: 10px;
}

.comment-box .comment-name a {
	color: #ddd;
}

.comment-box .comment-head span {
	float: left;
	color: #999;
	font-size: 13px;
	position: relative;
	top: 1px;
}

.comment-box .comment-content {
	background: #222;
	padding: 12px;
	font-size: 15px;
	color: #999;
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
}

.comment-box .comment-name.by-author, .comment-box .comment-name.by-author a {color: #ddd;}
.comment-box .comment-name.by-author:after {
	content: 'autor';
	background: #03658c;
	color: #FFF;
	font-size: 12px;
	padding: 3px 5px;
	font-weight: 700;
	margin-left: 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}


/*Comment Form*/
.comment-form h4{
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
}
.comment-form .form-control{
    border: 1px solid #222;
    border-radius: 0;
    height: 45px;
    background-color: transparent;
}
.comment-form .form-control.message{
    height: 150px;
}
#form-messages{
    display: none;
}
#form-messages.alert-danger,
#form-messages.alert-success{
    display: block;
}

/* ==========================================================================
   27.0 Contact Section
   ========================================================================== */
.contact-section{
    position: relative;
    z-index: 1;
    padding-bottom: 0;
}
.contact-wrap{
    background-color: #151515;
    padding: 80px 50px;
    box-shadow: 0px 16px 28px 0px rgba(0, 0, 0, 0.15);
    margin-top: 110px;
    border-radius: 5px;
}
.contact-section h3{
    font-weight: 800;
    text-transform: uppercase;
    font-size: 22px;
    color: #fff;
}
.contact-info ul li{
    line-height: 40px;
    display: flex;
    align-items: center;
}
.contact-info ul li i{
    margin-right: 10px;
    color: #ddd;
    font-size: 20px;
}
.contact-info ul li{
    font-weight: 600;
    font-size: 14px;
}

/*Contact Form*/
.contact-form .form-control{
    border: 1px solid #333;
    border-radius: 0;
    height: 45px;
    background-color: transparent;
}
.contact-form .form-control.message{
    height: 150px;
}
#form-messages{
    display: none;
}
#form-messages.alert-danger,
#form-messages.alert-success{
    display: block;
}
/*Google Map*/
#google_map{
    width: 100%;
    height: 350px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}
/* ==========================================================================
   Background Image
   ========================================================================== */
.fullwidth-bg {
  width: 100%;
  height: 60vh;
  background-image: url(../img/Cinema.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}


@media (max-width: 768px) {
  .fullwidth-bg {
    background-size: contain;
    
  }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.footer-section-custom,
.footer-section {
/* background-color: #111; */
  color: #fff;
  padding: 60px 0 20px;
  font-family: 'Outfit', sans-serif !important; 
  font-weight: 300 ; 
  position: relative;
  z-index: 10;
}

/* Branding */
.footer-section .brand,
.footer-section-custom .footer-brand-social .brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}
.footer-section-custom .footer-brand-social .brand img {
 max-width: 100%;
  height: auto;
  width: auto; 
}

/* Social icons */
.social-link {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px; 
  padding: 0;
}
.social-link li {
/*  background-color: #222; */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}
.social-link li a img,
.social-link li i {
  color: #999;
  width: 30px;
  height: auto;
}
.social-link li:hover i,
.social-link li:hover a img {
  color: #fff;
}

/* Main footer columns */
.footer-section-custom .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 15px;
  order: 1;
}
.footer-section-custom .footer-column {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}
.footer-section-custom .footer-column h4 {
  color: #FFCF3D;
  margin-bottom: 15px;
  font-size: 24px;
}
.footer-section-custom .footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
}
.footer-section-custom .footer-column ul li {
  margin-bottom: 8px;
  font-size: 18px;
}
.footer-section-custom .footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 18px;
}
.footer-section-custom .footer-column ul li a:hover {
  color: #fff;
}

/* Bottom row */
.footer-section-custom .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  justify-content: space-between;
  margin: 20px auto 0;
  padding: 15px 0;
  font-size: 18px;
  color: #777;
  gap: 15px;
  order: 2;
  flex: 0 0 100%;
  position: relative;
  z-index: 10;  
  
}

.footer-section-custom .footer-bottom p {
  margin: 0;
}

.footer-section-custom .footer-bottom .links {
  display: flex;
  gap: 20px;
  margin: 0;
}
.footer-section-custom .footer-bottom .links a {
  color: #777;
  text-decoration: none;
}
.footer-section-custom .footer-bottom .links a:hover {
  color: #fff;
}

/* Debug paragraph style (if still used) */
.footer-section p {
  font-size: 12px;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-section-custom .footer-top {
    flex-direction: column;
    align-items: flex-start;    
    padding-left: 15px;         
  }

  .footer-section-custom .footer-brand-social {
    align-items: center;
  }

  .footer-section-custom .footer-bottom {
    flex-direction: column;
    align-items: flex-start;    
    text-align: left;           
    gap: 10px;
    padding-left: 15px;         
  }
}

/* ==========================================================================
   Scroll To Top
   ========================================================================== */
#scroll-to-top{
    background-color: #333;
    display: none;
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 14px;
    border-radius: 50%;
    line-height: 45px;
    color: #ddd;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 999;
}
#scroll-to-top:hover{
    background-color: #222;
    color: #fff;
}


/* Social Feed CSS */
.instafeed a{
    float: left;
    width: 12.5%;
}
.instafeed a img{
    max-width: 100%;
    opacity: 0.5;
}
.instafeed a:hover img{
    opacity: 1;
}
.top-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}


.top-section .bg-image {
  display: block;
  width: 100%;
  height: auto;
}

.top-section .overlay-image {
  /* Twoja animacja */
  animation: charFlicker 4s linear infinite;
 
}

@keyframes charFlicker {
  /* 0–2.0s niewidoczne */
  0%, 22.73%                { opacity: 0; }

  /* 2.0–2.1s błysk1 ON */
  22.73%, 23.86%            { opacity: 1; }
  /* 2.1–2.2s błysk1 OFF */
  23.86%, 25.00%            { opacity: 0; }

  /* 2.2–2.3s błysk2 ON */
  25.00%, 26.14%            { opacity: 1; }
  /* 2.3–2.4s błysk2 OFF */
  26.14%, 27.27%            { opacity: 0; }

  /* 2.4–4.4s stałe ON (~2s zamiast 3s) */
  27.27%, 50.00%            { opacity: 1; }

  /* 4.4–4.5s błysk3 ON */
  50.00%, 51.14%            { opacity: 1; }
  /* 4.5–4.6s błysk3 OFF */
  51.14%, 52.27%            { opacity: 0; }

  /* 4.6–4.7s błysk4 ON */
  52.27%, 53.41%            { opacity: 1; }
  /* 4.7–4.8s błysk4 OFF */
  53.41%, 54.55%            { opacity: 0; }

  /* 4.8–8.8s niewidoczne (reszta cyklu) */
  54.55%, 100%              { opacity: 0; }
}

section.top-section img {
  transition: none !important;
}

@media (max-width: 768px) {

  footer.footer-section-custom .footer-bottom {
    border-top: none !important;
  }

}
@media (max-width: 768px) {
  .gallery-wrap {
    margin-bottom: 80px;
  }
}
.text-section {
  background: transparent; 
}
.text-section__col {
  max-width: 60%;    
  margin-right: auto; 
}
@media (max-width: 991px) {
  .text-section__col {
    max-width: 100%;
  }
}
.text-section__heading {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.4;
}
/* --- Sekcja tekst + grafika --- */
.text-image-section__text {
  max-width: 60%;      
  padding-right: 2rem;
  text-align: left;
}
@media (max-width: 991px) {
  .text-image-section__text {
    max-width: 100%;
    padding-right: 0;
  }
}

.text-image-section__heading {
  color: #fff;
  font-size: 1.6rem;  
  line-height: 1.4;
}


.text-image-section__media {
  text-align: center;
  margin-top: 2rem;
}
@media (min-width: 992px) {
  .text-image-section__media {
    margin-top: 0;
  }
}

.text-image-section__text {
  max-width: 60%;       
  padding-right: 2rem;  
}
@media (max-width: 991px) {
  .text-image-section__text {
    max-width: 100%;
    padding-right: 20px;
  }
}

.text-image-section__heading {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.4;
}

.text-image-section__media {
  text-align: center;
}
.text-image-section__media img {
  display: inline-block; 
}

@media (max-width: 768px) {
  .about-section .container {
    position: relative;
    min-height: 65vw;
  }
  .about-section .profile {
    position: absolute !important;
    left: 30vw !important;
    top: -50vw !important;     
    width: 48vw !important;
    height: 48vw !important;
    z-index: 10;
    background-size: contain !important;
    margin: 0 !important;
  }
  .about-section .profile2 {
    position: absolute !important;
    left: 0,5vw !important;
    top: -40vw !important;     
    width: 39vw !important;
    height: 39vw !important;
    z-index: 11;
    background-size: contain !important;
    margin: 0 !important;
  }
  .about-content {
    position: static !important;
    margin-top: 38vw !important;  
    padding-top: 10vw !important;
}
}