/* ===================================
    Crafto - Gym and fitness
====================================== */
/* font */
@import url("https://use.typekit.net/rrw2seg.css");
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* variable */
:root {     
    --base-color: #D69F56;  
    --dark-gray: #232323;
    --light-medium-gray: #cbcbcb;
    --alt-font: korolev-condensed, sans-serif;
    --primary-font: 'Urbanist', sans-serif;
    scroll-behavior: smooth;
} 
/* reset */
body {
    font-size: 17px;
    line-height: 28px; 
    letter-spacing: .4px;
}
/* custom cursor */
.custom-cursor .circle-cursor-inner {
    background-color: var(--dark-gray);
    width: 12px;
    height: 12px;
}
.krogec{
    width: 280px; height: auto; background-color: var(--base-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; max-width: 100%; aspect-ratio: 1/1;
}
.custom-cursor .circle-cursor-inner.cursor-link-hover {
    background-color: var(--dark-gray);
}
.custom-cursor .circle-cursor-outer {
    border: 1px solid transparent;
}
/* header */
header .navbar-brand img {
    max-height: 43px;
}
header .navbar-brand,
header.sticky .fixed-header .navbar-brand,
header.sticky .disable-fixed .navbar-brand {
    padding: 18px 0;
}
.justify-items-center {
    justify-items: center;
}
.align-items-center {
    align-items: center;
}
.header-push-button {
    padding-left: 25px;
}
.header-push-button .push-button span {
    background: var(--base-color);
}
.show-menu {
    overflow: visible;
}
.hamburger-nav {
    width: 42%;
}
.menu-item-list .nav-link {
    padding: 5px 20px 5px 0;
    font-size: 38px;
    width: auto
}
.hamburger-nav .menu-item-list {
    padding: 0;
}
/* btn */
.btn {
    font-weight: 500;
}
.btn.btn-extra-large {
    padding: 19px 33px 16px;
    font-size: 17px;
}
.btn.btn-large {
    font-size: 16px;
    padding: 14px 27px 12px;
}
.btn.btn-medium {
    font-size: 15px;
    padding: 14px 25px 10px;
}
.btn.btn-small {
    font-size: 14px;
    padding: 12px 21px 10px;
}
.btn.btn-very-small {
    font-size: 12px;
    padding: 9px 17px 5px;
}
.btn.btn-link {
    padding: 0 0 2px;
}
.btn.btn-base-color,
.btn.btn-box-shadow.btn-base-color:hover {
    color: var(--dark-gray);
}
h1, .h1 {
    font-size: 4rem;
    line-height: 3.8rem;
}
h3 {
    line-height: 2.813rem;
}
h4 {
    line-height: 2.375rem;
}
h5 {
    line-height: 2rem;
}
h6 {
    line-height: 1.75rem;
}
/* Video modal popup */
#video-modal {
    max-width: 400px;
    width: 90%; /* Dodano za boljšo odzivnost */
    margin: 0 auto;
    position: relative;
    background: #000;
    padding: 0; /* Odstrani padding */
    max-height: 800px;
}

#video-modal video {
    display: block;
    width: 100%;
    max-height: 800px;
    outline: none; /* Odstrani obrobo pri fokusiranju */
}

/* Animacije za modal */
.mfp-fade.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.9; /* Povečana zatemnitev ozadja */
}

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
    transform: scale(1);
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
    transform: scale(0.8);
}

/* background color */
.bg-nero-grey {
    background-color: #1c1c1c;
}
.bg-cultured {
    background-color: #d69f5612;
}
.bg-base-color-transparent {
    background-color: #d69f56cb;
}
.bg-base-color-transparent-light {
    background-color: #d69f569b;
}
/* border color */
.border-color-base-color-transparent {
    border-color: #d69f5650 !important;
}
.event-style-03 .nav-tabs .nav-link {
    padding-top: 21px;
}
/* box shadow */
.box-shadow-double-large {
    -webkit-box-shadow: 0px 47px 45px rgb(0, 0, 0, 0.20);
    box-shadow: 0px 47px 45px rgb(0, 0, 0, 0.20);
}
/* tab style 08 */
.tab-style-08 ul .nav-item .nav-link.active, .tab-style-08 ul .nav-item .nav-link.show, .tab-style-08 ul .nav-item .nav-link:hover {
    color: var(--dark-gray);
}
.tab-style-08 ul .nav-item .tab-border {
    top: 0;
    bottom: auto;
    height: 4px;
}
.tab-style-08 ul .nav-item {
    border-right: 0;
}
/* accordion style */
.accordion-style-06 .accordion-item.active-accordion {
    background-image: linear-gradient(to bottom, #f7f8f9, #f9fafb, #fbfbfc, #fdfdfd, #ffffff);
}
.accordion-style-01 .accordion-item.active-accordion {
    padding: 30px 35px;
}
.accordion-style-02 .accordion-item .accordion-header {
    padding: 22px 0;
}
.team-style-08:hover figure figcaption .member-designation {
    opacity: 1;
}
.insta-image {
    aspect-ratio: 1/1;
    object-fit: cover;
}
/* social icon style 09 */

.social-icon-style-09 .medium-icon li {
    margin: 0 4px;
}

.social-icon-style-09 .medium-icon a {
    font-size: 18px;
}
/* Counter style 07 */
.counter-style-07 .vertical-counter-number ul {
    line-height: 1;
}
/* page title */
.page-title-extra-small h1 {
    font-size: 19px;
    line-height: 22px;
}
.page-title-extra-small h2 {
    font-size: 4rem;
    line-height: 4rem;
}
.small-screen {
    height: 500px !important;
}
/* review */
.review-star-icon i {
    color: var(--base-color);
}
/* text stroke color */
.text-outline-color-white { 
    -webkit-text-stroke-color: var(--white); 
}
/* right */
.right-minus-380px {
    right: -380px;
}
/* top */
.top-30 {
    top: 30%!important;
}
/* line height */
.lh-160 {
    line-height: 10rem;
}
.top-minus-200px {
    top: -200px;
}
/* nresletter popup  */
.subscribe-popup .mfp-close:before, .subscribe-popup .mfp-close:active:before {
    color: var(--white);
}
.mfp-bg {
    background-color: var(--dark-gray);
}
/* footer */
footer .footer-logo img {
    max-height: 43px;
}
footer .nav-link {
    line-height: normal;
}
/* Revolution slider */
.rev_column_inner {padding-left: 20% !important; padding-right: 15% !important; }
.next-btn { background-size: 110% auto; background-position: right center; transition: 0.5s cubic-bezier(0.61, 1, 0.88, 1) !important; }
.next-btn:hover { background-position: left center; }
#gym-and-fitness-slider .uranus.tp-leftarrow:before{width:50px; height:50px; line-height:50px; font-size:25px; content: "\F12F"; font-family: bootstrap-icons!important;}
#gym-and-fitness-slider .uranus.tp-rightarrow:before{width:50px; height:50px; line-height:50px; font-size:25px; content: "\F138"; font-family: bootstrap-icons!important;}
@media (max-width: 1500px) {
    .rev_column_inner {padding-left: 10% !important; padding-right: 10% !important; }
    .background-text {display: none !important;}
}
@media (max-width: 1399px) {
    .accordion-style-01 .accordion-item .accordion-body {
        padding-right: 40px;
    }
}
@media (max-width: 1199px) {
    .accordion-style-01 .accordion-item {
        padding: 20px 20px;
    }
    .accordion-style-01 .accordion-item.active-accordion {
        padding-left: 20px;
        padding-right: 20px;
    }
    .accordion-style-01 .accordion-item .accordion-body {
        padding-right: 10px;
    }
    .lg-left-minus-250px {
        left: -250px !important;
    }
    .next-btn {transition:  none !important;}
}
@media (max-width: 1023px) {
    .rev_column {width: 50% !important;}
}
@media (max-width: 778px) {
    .rev_row_zone .row { display: flex !important; flex-direction: column; }
    .rev_column { height: 100%; }
    .rev_column_inner {padding-bottom: 6% !important; padding-top: 6% !important; }
    #rs-gym-and-fitness-01 .tp-bgimg {height: 60% !important; position: relative; top: 384px;}
}

@media (max-width: 479px) {
    .rev_column_inner {padding-bottom: 15% !important; padding-top: 25% !important; padding-left: 3% !important; padding-right: 3% !important; }
    .kota-reverse{
        flex-direction: column-reverse;
    }
}
@media  (max-width: 900px) and (orientation: landscape) {
    .right-col {padding: 35% 0 !important;}
}
@media (max-width: 991px) {
    .tab-style-08 ul .nav-item .nav-link {
        padding: 18px 20px;
    }
    .menu-item-list .nav-link {
        font-size: 30px;
    }
    .page-title-big-typography .small-screen {
        height: 300px !important;
    }
    .page-title-extra-small h2 {
        font-size: 3.8rem;
        line-height: 3.8rem;
    }
    .event-style-03 .nav-tabs .nav-link {
        padding: 17px 8px 14px;
    }
    .event-style-03 .accordion .accordion-title .event-time {
        min-width: 260px;
    }
    .small-screen {
        height: 400px !important;
    }
}
@media (max-width: 767px) {
    h1, h2, h3, h4, h5, h6 {
        letter-spacing: 0;
    }
    .menu-list-wrapper {
        padding: 25px 0;
    }
    .menu-item-list .nav-link {
        font-size: 28px;
        padding-top: 3px;
        padding-bottom: 3px;
    }
    .page-title-big-typography .small-screen {
        height: auto !important;
    }
    .event-style-03 .accordion .accordion-title .event-time {
        min-width: 140px;
    }
    .small-screen {
        height: 300px !important;
    }
    #video-modal {
        width: 95%; /* Širši modal na mobilnih napravah */
        margin: 20px auto; /* Dodaj malo prostora zgoraj in spodaj */
    }
    
    /* Prilagodi gumb za zapiranje na mobilnih napravah */
    .mfp-close {
        top: -40px !important;
        right: 0 !important;
        color: #fff !important;
    }
}
@media (max-width: 575px) {
    .accordion-style-06 .accordion-item {
        padding: 10px 90px 10px 25px;
    }
    .accordion-style-06 .accordion-item.active-accordion {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .btn.btn-extra-large {
        font-size: 16px;
    }
    .header-push-button {
        padding-left: 0;
    }
}
/* Prilagoditve za večje zaslone */
@media (min-width: 1200px) {
    #video-modal {
        width: 80%; /* Ožji modal na večjih zaslonih */
    }
}
/* Izboljšave za gumb za zapiranje */
.mfp-close {
    position: absolute !important;
    top: -44px !important;
    right: 0px !important;
    color: #fff !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s ease;
}
.mfp-close::before {
    color: #fff !important;
}


.mfp-close:hover {
    opacity: 1 !important;
}
.text-truncate-fitmajster {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.testimonials-masonry {
    column-count: 3;
    column-gap: 30px;
    padding: 30px;
}

@media (max-width: 991px) {
    .testimonials-masonry {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .testimonials-masonry {
        column-count: 1;
    }
}

.testimonial-item {
    break-inside: avoid;
    margin-bottom: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    color: #232323;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.testimonial-author p {
    margin: 0;
    color: #717580;
    font-size: 14px;
}

.testimonial-content {
    color: #717580;
    font-size: 16px;
    line-height: 1.6;
}

.testimonial-rating {
    color: #D69F56;
    margin-top: 15px;
    font-size: 18px;
}