/*!
Theme Name: Solvior
Theme URI: http://solvior.themejunction.net/
Author: Theme Junction
Author URI: https://themeforest.net/user/theme-junction/portfolio
Description: Solvior is a Business Consulting  WordPress Theme.
Version: 1.1.1
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: solvior
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Solvior Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* Fix for static site animations - Added by Refine Script */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

.text-anim,
.text-anim *,
.sec-title,
.sec-title * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Fix for double header issue */
.header-duplicate {
    display: none !important;
}

.header-sticky.sticky-out {
    display: block !important;
}

/* Fix for missing header background on Değerlerimiz page - Using solid color for consistency */

.elementor-element-a6e314f {
    background-color: #051229 !important;
    background-image: none !important;
}

/* Language Switcher Styles */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-switcher a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: #ffffff !important;
}

.lang-switcher .separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* Sticky Header Styles */
.header-sticky .lang-switcher a {
    color: rgba(5, 18, 41, 0.7) !important;
}

.header-sticky .lang-switcher a:hover,
.header-sticky .lang-switcher a.active {
    color: #051229 !important;
}

.header-sticky .lang-switcher .separator {
    color: rgba(5, 18, 41, 0.2);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .header-wrapper .lang-switcher {
        margin-right: 15px;
        order: -1;
    }
}

/* User Request: h2 font weight should be 500 */
h2,
.sec-title,
.elementor-widget-heading .elementor-heading-title {
    font-weight: 500 !important;
}

/* Minimal Circle Text Design - Premium V3 (Refined) */
.minimal-circle-text {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background-color: #051229;
    /* Theme Blue */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow:
        0 0 0 10px rgba(5, 18, 41, 0.1),
        0 20px 50px rgba(5, 18, 41, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    padding: 0;
    /* Removed padding to let flexbox handle perfect centering */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: default;
    overflow: hidden;
}

.minimal-circle-text:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 0 0 15px rgba(5, 18, 41, 0.15),
        0 30px 60px rgba(5, 18, 41, 0.35);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Background Shine Effect */
.minimal-circle-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s ease;
}

.minimal-circle-text:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Decor line */
.minimal-circle-text::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    /* Thinner line */
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    margin: 25px auto 0;
    /* Adjusted margins */
}

.circle-text-primary {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    /* Slightly larger for elegance */
    font-weight: 500;
    /* Thinner (was 700) */
    font-style: italic;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.circle-text-secondary {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 400;
    /* Thinner (Already 400, kept same but looks thinner relative to primary) */
    font-style: normal;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.1;
    letter-spacing: 1px;
    /* Increased letter spacing */
}

/* Page Transition Overlay */
.page-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #051229;
    /* Brand Blue */
    z-index: 999999;
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-loader-overlay.loaded {
    opacity: 0;
    pointer-events: none;
}

.page-loader-overlay.loading {
    opacity: 1;
    pointer-events: all;
}

/* Modern Glassmorphism Dropdown */
.tj-header-area.header-2 .mainmenu ul>li>.sub-menu {
    background: rgba(5, 18, 41, 0.85) !important;
    /* Semi-transparent Brand Blue */
    backdrop-filter: blur(12px);
    /* Glass effect */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    padding: 12px 0;
    min-width: 280px;
    margin-top: 10px;
    /* Slight offset */
}

/* Bridge to prevent gap closing on hover */
.tj-header-area.header-2 .mainmenu ul>li>.sub-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.tj-header-area.header-2 .mainmenu ul>li>.sub-menu>li>a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-left: 3px solid transparent;
}

.tj-header-area.header-2 .mainmenu ul>li>.sub-menu>li>a:hover {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    padding-left: 38px;
    /* Slide effect */
    border-left-color: var(--tj-color-theme-primary);
    /* Theme accent */
}

/* Brands Section - 8 Items (4x2 Grid) Layout */
.tj-brand-inner .brand-logo {
    flex: 0 1 25% !important;
}

/* Row 1 items (1-4) must have bottom border */
.tj-brand-inner .brand-logo:nth-child(1),
.tj-brand-inner .brand-logo:nth-child(2),
.tj-brand-inner .brand-logo:nth-child(3),
.tj-brand-inner .brand-logo:nth-child(4) {
    border-bottom: 1px solid rgba(247, 247, 247, 0.1) !important;
}

/* Row 2 items (5-8) should have no bottom border */
.tj-brand-inner .brand-logo:nth-child(n+5) {
    border-bottom: 0 !important;
}

/* Every 4th item (edge of the row) has no right border */
.tj-brand-inner .brand-logo:nth-child(4n) {
    border-inline-end: 0 !important;
}

/* Ensure other items HAVE right border (resetting potential 3n/2n rules from core) */
.tj-brand-inner .brand-logo:not(:nth-child(4n)) {
    border-inline-end: 1px solid rgba(247, 247, 247, 0.1) !important;
}

@media (max-width: 991px) {
    .tj-brand-inner .brand-logo {
        flex: 0 1 50% !important;
    }

    /* 2-column layout for mobile (4 rows) */
    .tj-brand-inner .brand-logo:nth-child(even) {
        border-inline-end: 0 !important;
    }

    .tj-brand-inner .brand-logo:nth-child(odd) {
        border-inline-end: 1px solid rgba(247, 247, 247, 0.1) !important;
    }

    /* Bottom borders for all except last row on mobile (items 7,8) */
    .tj-brand-inner .brand-logo {
        border-bottom: 1px solid rgba(247, 247, 247, 0.1) !important;
    }

    .tj-brand-inner .brand-logo:nth-child(7),
    .tj-brand-inner .brand-logo:nth-child(8) {
        border-bottom: 0 !important;
    }
}

/* Page Banner Section - Standardized Hero */
.page-banner-section {
    position: relative;
    padding: 150px 0 80px;
    background-color: #051229;
    overflow: hidden;
    min-height: 230px;
    display: flex;
    align-items: center;
}

.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    opacity: 0.4;
    /* Slight transparency to show brand blue behind/overlay */
    mix-blend-mode: overlay;
    /* or normal depending on image */
    z-index: 1;
}

/* Ensure background color is solid behind the image */
.page-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #051229;
    z-index: 0;
}

.page-banner-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}

.page-banner-shape svg {
    width: 100%;
    height: auto;
    min-height: 20px;
}

.page-banner-shape .elementor-shape-fill {
    fill: #ffffff;
}

.page-banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-banner-content .sec-heading {
    margin-bottom: 0;
}

.page-banner-content .sec-title {
    color: #ffffff;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 15px;
}

.page-banner-content .breadcrumb-wrapper {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 767px) {
    .page-banner-section {
        padding-top: 120px;
        min-height: 200px;
    }

    .page-banner-content .sec-title {
        font-size: 30px;
    }
}

/* Force Slider Content Visibility (Fix for missing Swiper classes) */
.tj-hero-slider.style-1 .slider-title,
.tj-hero-slider.style-1 .sub-title,
.tj-hero-slider.style-1 .slider-button {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* Fix for Inconsistent Menu Spacing */
.tj-header-area .mainmenu ul:not(.sub-menu) {
    column-gap: 62px !important;
}

/* Responsive adjustment for laptop screens */
@media (max-width: 1400px) {
    .tj-header-area .mainmenu ul:not(.sub-menu) {
        column-gap: 40px !important;
    }
}

@media (max-width: 1199px) {
    .tj-header-area .mainmenu ul:not(.sub-menu) {
        column-gap: 25px !important;
    }
}
/* Fix alignment of hamburger menu button relative to language switcher */
.header_right_info {
    align-items: center !important;
}

.header_right_info .hamburger-menu {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
}

.header_right_info .menu_btn {
    transform: translateY(-2px); /* Visual correction to center perfectly */
}

