/*
Theme Name: Hello Elementor Child
Description: Child Theme for Hello Elementor
Author: حمیدرضا میکلانی
Author URI: https://clickito.ir
Template: hello-elementor
Version: 1.1.0
Text Domain: hello-elementor-child
License: GNU General Public License v2
===========================
   Fonts
=========================== */
@font-face {
    font-family: 'Iransans'; 
    src: url('assets/fonts/IRANSans-fanum.woff2') format('woff2'),
         url('assets/fonts/IRANSans-fanum.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Iransans';
    src: url('assets/fonts/IRANSans-medium-fanum.woff2') format('woff2'),
         url('assets/fonts/IRANSans-medium-fanum.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('assets/fonts/YekanBakh-regular-fanum.woff2') format('woff2'),
         url('assets/fonts/YekanBakh-regular-fanum.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===========================
   Header & Logo
=========================== */
.elementor-element-549d4cc img {
    transition: transform .35s ease;
}

.rm-topbar,
.rm-header,
.rm-main-header {
    transition: all .35s ease;
}

.elementor-location-header.rm-shrink .elementor-element-549d4cc img {
    transform: scale(0.8);
}

.elementor-location-header.rm-shrink .rm-topbar {
    transform: translateY(-60px);
}

.elementor-location-header.rm-shrink .rm-header {
    transform: translateY(-60px);
}

.elementor-location-header.rm-shrink .rm-main-header {
    transform: translateY(-60px);
}

/* Menu */
.elementor-location-header .elementor-item {
    transition: color .35s ease;
}
.elementor-location-header.rm-shrink .elementor-item {
    color: #104551 !important;
}

/* Social Icons */
.elementor-location-header.rm-shrink .elementor-social-icon svg {
    fill: #fff !important;
}

/* Search */
.elementor-location-header.rm-shrink .e-search-input {
    background: #5BA2A5 !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.15) !important;
}
.elementor-location-header.rm-shrink .e-search-input::placeholder {
    color: rgba(255,255,255,.7) !important;
}

/* ===========================
   Sticky Video Player
=========================== */
#sticky-video-player{
    position:fixed;
    bottom:0px; 
    left:50%;
    transform:translateX(-50%);
    z-index:99999;

    width:30vw;
    max-width:600px;

    max-height:100vh;

    display:none;
    overflow:visible;
}

#sticky-video-player.active{
    display:block;
}

#sticky-video-player .plyr {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.35);
}

#sticky-video-player video {
    width: 100%;
    height: auto;
    display: block;
	max-height:100vh;
}

#rm-video-close {
    position: absolute;
    top: 5px;         
    right: 5px;        
    font-size: 16px;   
    line-height: 24px;
    text-align: center;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
}

/* ===========================
   Mobile Adjustments
=========================== */
@media (max-width: 768px) {
    #sticky-video-player {
        width: 95vw !important;
        max-width: 95vw !important;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
    }

    #sticky-video-player .plyr {
        width: 100% !important;
    }

    .elementor-location-header.rm-shrink .rm-topbar,
    .elementor-location-header.rm-shrink .rm-header,
    .elementor-location-header.rm-shrink .rm-main-header {
        transform: translateY(-17px); 
    }

    .elementor-location-header.rm-shrink .elementor-element-549d4cc img {
        transform: scale(0.75); 
    }
}