/*
Theme Name: PromoPoint
Theme URI: https://promopoint.ch/
Author: 
Author URI: 
Version: 1.0

* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

/******** FONTS *******/
@font-face {
    font-family: 'Aeonik';
    font-style: normal;
    font-weight: normal;
    src: local('Aeonik'), url('fonts/Aeonik-Regular.woff') format('woff');
}
@font-face {
    font-family: 'Aeonik';
    font-style: normal;
    font-weight: bold;
    src: local('Aeonik'), url('fonts/Aeonik-Bold.woff') format('woff');
}

@font-face {
    font-family: 'Minion Pro Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Minion Pro Regular'), url('fonts/MinionPro-Regular.woff') format('woff');
}

/*************** ROOT ***************/
:root {
    --primary-font: 'Aeonik';
    --secondary-font: 'Minion Pro Regular';
    --primary-color: #3e455d;
    --primary-dark-color: #090c0c;
    --secondary-color: #ed3452;
    --dark-color: #323232;
    --swiper-theme-color: var(--secondary-color);
}
/*************** PREDEFINED ***************/
body {
    font-family: var(--primary-font);
    color: var(--primary-color);
    hyphens: auto;
    padding-top: 112.91px;
}
html {
    scroll-padding-top: 115px;
}
.container {
    max-width: 1200px;
}
.primary-bg {
    background-color: var(--primary-color);
    color: #fff;
}
.secondary-bg {
    background-color: var(--secondary-color);
    color: #fff;
}
.bg-black {
    background: #000;
    color: #fff;
}

.btn {
    padding: 15px 24px;
    border-radius: 30px;  
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    border-width: 2px;
    border-style: solid;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow-right::after {
   display: inline-block;
   width: 14px;
   height: 14px;
   margin-left: 10px;
   content: ""; 
   background-image: url('img/arrow-right.svg');
   background-position: center;
   background-repeat: no-repeat;
   background-size: contain;
   transform: all .1s;
}

.btn-primary {
    background: var(--secondary-color);
    color: #FFFFFF;
    border-color: var(--secondary-color);
    min-width: 260px;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background: var(--secondary-color) !important;
    color: #FFFFFF !important;
    border-color:  var(--primary-color) !important;
}
.btn-primary.btn-arrow::after,
.btn-primary.btn-arrow::before {
    
}

.btn-secondary {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
    border-radius: 6px;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active {
    background: var(--secondary-color) !important;
    color: #FFFFFF !important;
    border-color:  var(--secondary-color) !important;
}



/******** HEADER ***********/
.top-header {
    padding-top: 3px;
    padding-bottom: 3px;
}
.top-header-nav a {
    color: #fff;
    text-decoration: none;
}
.top-header-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

.navbar {
    padding: 20px 0 !important;
}
.navbar-brand img {
    height: 30px;
}
.navbar-nav .nav-link {
    font-size: 18px;
}
.navbar-nav .nav-link:hover{
	color: var(--secondary-color);
}
.navbar-toggler{
    border: none !important;
    padding: 0 !important;

    &:focus{
        box-shadow: none !important;
    }
}

.offcanvas-header{
    padding-top: 53.45px;
    padding-right: 18px;
    padding-left: 18px;
}

.btn-close:focus{
    box-shadow: none !important;
}

/******** HERO ***********/
.carousel-item img {
    height: 735px;
	max-height: calc(100svh - 112.91px);
    object-fit: cover;
}
.carousel-caption {
    left: 0;
    right: 0;
    bottom: 100px;
}
.carousel-caption h5 {
    text-align: left;
    font-size: 55px;
    line-height: 1.1;
    font-weight: bold;
    color: var(--primary-dark-color);
}
.carousel-caption h5 span {
    color: #fff;
}

.carousel-indicators [data-bs-target] {
	width: 15px;
	height: 15px;
    border-radius: 100%;
    margin-left: 6px;
    margin-right: 6px;
}



/******** SECTIONS ***********/
h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
}
.section-gradient {
    background: #F5A891;
    background: linear-gradient(0deg, rgba(245, 168, 145, 1) 0%, rgba(199, 227, 246, 1) 100%);
    background-image: url(img/bg-anbieten.svg);
    background-size: cover;
    background-position: center;
}
.section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
}
.section-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 32px;
}
h1 span,
.section-title span {
    color: var(--secondary-color);
}

section p,
section ol,
section ul {
    font-size: 18px;
}
section li {
    margin-bottom: 18px;
}


/******** FUNCIONALITY ***********/
.func-box {
    max-width: 264px;
    margin: 0 auto;
}
.func-icon-box {
    padding: 25px 25px 40px;
    border-radius: 30px;
    margin-bottom: 20px;
}
.func-icon-title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 22px;
	line-height: 1.1;
    min-height: 60px;
}
.func-icon-box img {
	height: 80px;
	width: auto;
	margin: 0 auto;
	display: block;
}
.func-box p {
    line-height: 1.2;
    margin-bottom: 0;
}


/******** WHY ***********/
.row-why{
    gap: 12px;
}
.why-box {
    width: 201px;
}
.why-icon-box {
    margin-bottom: 10px;
}
.why-icon-box img {
    height: 30px;
}
.why-box-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.why-box p {
    line-height: 1.2;
    margin-bottom: 0;
    font-size: 18px;
	max-width: 157px;
}

/******** REGION ***********/
.region-box {
    max-width: 1000px;
}
.section-region ul {
  list-style: none; 
  padding-left: 0;
}

.section-region ul li {
  position: relative;
  padding-left: 18px;
}

.section-region ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--secondary-color); 
  font-size: 12px; 
  line-height: 1;
}

/******** NEWS ***********/
a.news-box {
    text-decoration: none;
    color: var(--primary-color);
}
.news-box-img{
    height: 279px;
}
.news-box-img img {
    border-radius: 4px;
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.news-box h5 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 12px;
}
.news-box p {
    font-size: 15px;
    color: #747978;
    line-height: 1.1;
    margin-bottom: 12px;
}
.news-box-footer {
    margin-top: 12px;
}

.contact-img{
    max-width: 376px;
    
    & img{
        border-radius: 22px;
    }
}

.contact-title{
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.35;
}

.contact-title span{
    color: var(--secondary-color);
    
}

.section-contact p{
    line-height: 1.35;
}

.section-contact a{
    text-decoration: none;
    color: var(--primary-color);
    transition: 0.3s all;

    &:hover{
        color: var(--secondary-color);
    }
}

.lang-box ul{
    list-style: none; 
    padding-left: 0;
    display: flex;
    gap: 10px;
    flex-direction: column;
    width: 50px;
    height: auto;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;

    & li{
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
    }

    & a{
        text-decoration: none;
        color: var(--primary-color);
        transition: 0.3s all;

        &:hover{
            color: var(--secondary-color);
        }
    }

    &::after{
        content: "";
        width: 100%;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        height: 100%;
        position: absolute;
        border-radius: 30px;
    }
}

/******** FOOTER ***********/
footer {
    padding: 40px 0 40px 0;
   
}

.footer-icon a{
    width: 44px;
    height: 44px;
   background-color: #FFFFFF;
   border-radius: 5px;
   transition: all .3s;
}
.footer-icon  a img {
    width: 60%;
    height: auto;
    filter: brightness(0) saturate(100%) invert(25%) sepia(16%) saturate(862%) hue-rotate(189deg) brightness(97%) contrast(91%);
}
.footer-icon  a:hover{
    background-color: var(--secondary-color);
}
.footer-box ul{
    list-style-type: none;
    padding-left: 0;
	display: flex;
	flex-direction: column;
	align-items: start;
    & a{
        color: #fff;
        text-decoration: none;
        font-size: 18px;

        &:hover{
            color: var(--secondary-color);
        }
    }
    li {
        margin-top: 16px;
		
        &:first-child {
            margin-top: 0;
        }
    }
}

.footer-title{
    font-size: 18px;
}


.footer-second img {
    width: 15px;
    margin-right: 12px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(213deg) brightness(103%) contrast(101%);
}
.footer-second .btn {
    color: #FFFFFF;
    font-size: 16px;
    text-decoration: none;
    border: none;
}
.footer-second .btn:hover,
.footer-second .btn:active,
.footer-second .btn.show {
    color: #FFFFFF;
}
.footer-second .dropup .dropdown-toggle::after {
    border: none;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(213deg) brightness(103%) contrast(101%);
    background-image: url('img/chevron-up.svg');
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    margin-left: 12px;
    transition: all .3s;
}
.footer-second .btn:hover::after ,
.footer-second .btn:active::after ,
.footer-second .btn.show::after  {
   transform: rotate(0deg);
}
.footer-second  .dropdown-item:hover,
.footer-second  .dropdown-item:focus {
    background-color: var(--primary-color);
    color: #FFFFFF;
}
html :where(.wp-block) {
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
:root :where(.editor-styles-wrapper)::after {
    display: none !important;
}
#wpadminbar {
    position: fixed !important;
}
.admin-bar .offcanvas,
.admin-bar header {
    top: 46px;
}

.text-editor-section a {
	color: var(--primary-color);
}

/* Osnovna animacija – blago pomeranje gore-dole */
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px); /* visina pomeraja */
  }
}

/* Stil za sve ikone unutar .why-icon-box */
.why-icon-box img {
  animation: floatUpDown 3s ease-in-out infinite;
  display: inline-block;
}

/* Različita kašnjenja da ne idu sve u isto vreme */
.why-box:nth-child(1) .why-icon-box img { animation-delay: 0s; }
.why-box:nth-child(2) .why-icon-box img { animation-delay: 0.5s; }
.why-box:nth-child(3) .why-icon-box img { animation-delay: 1s; }
.why-box:nth-child(4) .why-icon-box img { animation-delay: 1.5s; }
.why-box:nth-child(5) .why-icon-box img { animation-delay: 2s; }

/*********** RESPONSIVE SM **************/
@media (min-width: 576px) {}
/******** RESPONSIVE MD ***********/
@media (min-width: 768px) {
    .admin-bar .offcanvas,
    .admin-bar header {
        top: 32px;  
    }
}
/******** RESPONSIVE LG ***********/
@media (min-width: 992px) {
    .why-box-title {
        font-size: 36px;
    }
	.navbar-expand-lg .navbar-nav{
		gap: 7px;
	}
    section p,
    section ol,
    section ul {
        font-size: 23px;
    }
    .section-region ul li::before {
        top: 12px;
    }
    .section-region ul li{
        padding-left: 35px;
    }
    .contact-title{
        margin-bottom: 30px;
        font-size: 36px;
    }
    footer {
        padding: 80px 0 80px 0;
       
    }
	h1 {
		font-size: 47px;
	}
	.section-padding {
		padding-top: 60px;
		padding-bottom: 60px;
	}
}
/******** RESPONSIVE XL ***********/
@media (min-width: 1200px) {
    .navbar {
        padding: 40px 0 !important;
    }
	.navbar-expand-lg .navbar-nav{
		gap: 20px;
	}
    body {
        padding-top: 153px;
    }
	.carousel-caption h5 {
		font-size: 80px;
	}
	.section-padding {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	html {
		scroll-padding-top: 125px;
	}
}
/******** RESPONSIVE XXL ***********/
@media (min-width: 1400px) {
}



