/*
Theme Name: Skill
Theme URI: https://www.zhaket.com/store/web/websavant/products
Author: Mohammad Heydari
Author URI: https://www.zhaket.com/store/web/websavant/products
Description: قالب Skill با نام فارسی مهارت، یک قالب شخصی و رزومه کاملا ایرانی است، که توسط محمد حیدری ساخته شده است . این قالب از نظر سازگاری با ووکامرس، درحال توسعه است و به زودی ارائه خواهد شد، همچنین قالب مهارت با طراحی مدرن و کدنویسی تمیز ساخته شده است و با صفحه ساز قدرتمند المنتور سازگاری کامل دارد به راحتی با کشیدن و رها کردن سایت خودتون رو طبق سلیقه شخصی خودتون طراحی کنید، برای هرگونه سوال، ابهام و یا درخواست سفارشی سازی میتونید از طریق تیکت ژاکت با من در ارتباط باشید.
Text Domain: skill
Domain Path: /languages/
Version: 1.0.1
*/

/* Sidebar button download */
.simple-links {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .link-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.3s ease;
  }
  
  .link-item:hover {
    color: #0e59f2;
  }
  
  .separator {
    color: #ddd;
    margin: 0 10px;
  }

  @media (max-width: 375px) {
    .link-item {
        font-size: 13px;
      }
  }
  /* end Sidebar button download */

/* Sticky header */
.custom-landing-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* end Sticky header */

/*input contact form*/
input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 0.95rem;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #333;
}
/*end input contact form*/

/* WPML Language Switcher - Fixed Bottom */
.wpml-language-switcher-fixed {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 8px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wpml-language-switcher-fixed:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.wpml-language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.wpml-language-switcher .lang-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    font-weight: 600;
    min-width: 45px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wpml-language-switcher .lang-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.05);
    color: rgba(255, 255, 255, 1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wpml-language-switcher .lang-link.active {
    background: rgba(0, 123, 186, 0.3);
    color: rgba(255, 255, 255, 1);
    box-shadow: 
        0 8px 25px rgba(0, 123, 186, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(0, 123, 186, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.wpml-language-switcher .lang-link img {
    width: 20px;
    height: 15px;
    border-radius: 3px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.wpml-language-switcher .lang-link:hover img {
    transform: scale(1.1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.wpml-language-switcher .lang-link span {
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* RTL Support for WPML */
body.rtl .wpml-language-switcher-fixed {
    right: auto;
    left: 20px;
}

body.rtl .wpml-language-switcher {
    direction: rtl;
}

body.rtl .wpml-language-switcher .lang-link {
    flex-direction: row-reverse;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wpml-language-switcher-fixed {
        bottom: 15px;
        right: 15px;
        left: 15px;
        right: 15px;
        padding: 6px 12px;
    }
    
    .wpml-language-switcher {
        justify-content: center;
        gap: 6px;
    }
    
    .wpml-language-switcher .lang-link {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 35px;
    }
    
    .wpml-language-switcher .lang-link img {
        width: 16px;
        height: 12px;
    }
    
    .wpml-language-switcher .lang-link span {
        font-size: 11px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .wpml-language-switcher-fixed {
        background: rgba(30, 30, 30, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .wpml-language-switcher .lang-link {
        color: #e0e0e0;
    }
    
    .wpml-language-switcher .lang-link:hover {
        background: rgba(0, 123, 186, 0.2);
        color: #4fc3f7;
    }
}

/* Animation for Language Switcher */
@keyframes wpml-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wpml-language-switcher-fixed {
    animation: wpml-fade-in 0.5s ease-out;
}

/* Hover Effects */
.wpml-language-switcher-fixed:hover .wpml-language-switcher .lang-link {
    transform: scale(1.02);
}

.wpml-language-switcher-fixed:hover .wpml-language-switcher .lang-link:hover {
    transform: scale(1.1);
}

/* Smooth Transitions */
.wpml-language-switcher .lang-link {
    position: relative;
    overflow: hidden;
}

.wpml-language-switcher .lang-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.wpml-language-switcher .lang-link:hover::before {
    left: 100%;
}
/* Language Switcher - Fixed Bottom with Glassmorphism */
.wpml-language-switcher-fixed {
    /* Fixed Position - Independent from footer */
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 99999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-radius: 30px !important;
    padding: 15px 20px !important;
    
    /* Glass Border */
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08) !important;
    
    /* Smooth Transitions */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    
    /* Glass Reflection */
    position: relative !important;
    overflow: hidden !important;
    
    /* Ensure it's always on top */
    pointer-events: auto !important;
}

/* Glass Reflection Effect */
.wpml-language-switcher-fixed::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

.wpml-language-switcher-fixed:hover::before {
    left: 100%;
}

/* Hover Effects for Glassmorphism */
.wpml-language-switcher-fixed:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Active Language Glow Effect */
.wpml-language-switcher .lang-link.active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(0, 123, 186, 0.3), 
        rgba(0, 123, 186, 0.1), 
        rgba(0, 123, 186, 0.3)
    );
    border-radius: 22px;
    z-index: -1;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Ensure it's always visible and independent */
body .wpml-language-switcher-fixed {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 99999 !important;
}

/* Mobile Responsive for Fixed Position */
@media (max-width: 768px) {
    .wpml-language-switcher-fixed {
        bottom: 20px !important;
        right: 20px !important;
        left: 20px !important;
        padding: 12px 16px !important;
        border-radius: 25px !important;
    }
    
    .wpml-language-switcher {
        justify-content: center !important;
        gap: 10px !important;
    }
    
    .wpml-language-switcher .lang-link {
        padding: 10px 16px !important;
        font-size: 14px !important;
        min-width: 50px !important;
    }
}

/* RTL Support for Fixed Position */
body.rtl .wpml-language-switcher-fixed {
    right: auto !important;
    left: 30px !important;
}

@media (max-width: 768px) {
    body.rtl .wpml-language-switcher-fixed {
        left: 20px !important;
        right: 20px !important;
    }
}

/* end WPML Language Switcher */