/*
 Theme Name:   Star Work Child
 Theme URI:    https://starwork.hu
 Description:  Star Work - Cégeladás, Cégvásárlás, Válságmenedzsment child theme for Hello Elementor
 Author:       Star Work
 Author URI:   https://starwork.hu
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  starwork-child
*/

/* === Star Work Color System === */
:root {
    --sw-primary: #fc7f01;
    --sw-primary-dark: #e06f00;
    --sw-primary-light: #ff9f3f;
    --sw-secondary: #747675;
    --sw-secondary-dark: #5a5c5b;
    --sw-secondary-light: #9a9c9b;
    --sw-dark: #1a1a2e;
    --sw-dark-alt: #16213e;
    --sw-white: #ffffff;
    --sw-light-bg: #f8f8f8;
    --sw-light-gray: #f0f0f0;
    --sw-text: #333333;
    --sw-text-light: #666666;
    --sw-gradient: linear-gradient(135deg, var(--sw-primary) 0%, var(--sw-primary-dark) 100%);
    --sw-gradient-dark: linear-gradient(135deg, var(--sw-dark) 0%, var(--sw-dark-alt) 100%);
}

/* === Base Styles === */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--sw-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-weight: 700;
    color: var(--sw-dark);
    line-height: 1.3;
}

a {
    color: var(--sw-primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--sw-primary-dark);
}

/* === Buttons === */
.sw-btn-primary {
    background: var(--sw-gradient) !important;
    color: var(--sw-white) !important;
    padding: 16px 36px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(252, 127, 1, 0.3) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.sw-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(252, 127, 1, 0.4) !important;
}

.sw-btn-secondary {
    background: transparent !important;
    color: var(--sw-primary) !important;
    padding: 14px 34px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border: 2px solid var(--sw-primary) !important;
    transition: all 0.3s ease !important;
}

.sw-btn-secondary:hover {
    background: var(--sw-primary) !important;
    color: var(--sw-white) !important;
}

/* === Section Styling === */
.sw-section-dark {
    background: var(--sw-gradient-dark);
    color: var(--sw-white);
}

.sw-section-light {
    background: var(--sw-light-bg);
}

.sw-section-orange {
    background: var(--sw-gradient);
    color: var(--sw-white);
}

/* === Cards === */
.sw-card {
    background: var(--sw-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.sw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* === Icon Boxes === */
.sw-icon-box .elementor-icon {
    background: rgba(252, 127, 1, 0.1) !important;
    color: var(--sw-primary) !important;
    border-radius: 12px !important;
    padding: 16px !important;
}

/* === Counter Numbers === */
.sw-counter .elementor-counter-number-wrapper {
    color: var(--sw-primary) !important;
    font-weight: 800 !important;
}

/* === FAQ Accordion === */
.sw-faq .elementor-accordion .elementor-accordion-item {
    border: 1px solid var(--sw-light-gray) !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sw-faq .elementor-accordion .elementor-accordion-item:hover {
    border-color: var(--sw-primary) !important;
}

.sw-faq .elementor-accordion .elementor-tab-title {
    padding: 20px 24px !important;
    font-weight: 600 !important;
    color: var(--sw-dark) !important;
    font-size: 17px !important;
}

.sw-faq .elementor-accordion .elementor-tab-title.elementor-active {
    color: var(--sw-primary) !important;
    background: rgba(252, 127, 1, 0.04) !important;
}

.sw-faq .elementor-accordion .elementor-tab-title .elementor-accordion-icon {
    color: var(--sw-primary) !important;
}

.sw-faq .elementor-accordion .elementor-tab-content {
    padding: 0 24px 20px 24px !important;
    color: var(--sw-text-light) !important;
    line-height: 1.8 !important;
    font-size: 15px !important;
}

/* === Process Steps === */
.sw-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--sw-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

/* === Stats Section === */
.sw-stats {
    background: var(--sw-gradient-dark);
    padding: 60px 0;
}

.sw-stats .elementor-counter-number-wrapper {
    color: var(--sw-primary) !important;
    font-size: 48px !important;
    font-weight: 800 !important;
}

.sw-stats .elementor-counter-title {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 16px !important;
}

/* === Header Styles === */
.sw-header {
    background: var(--sw-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.sw-header .site-navigation .menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

.sw-header .site-navigation .menu li {
    position: relative;
}

.sw-header .site-navigation .menu li a {
    font-weight: 500;
    font-size: 15px;
    color: var(--sw-dark);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
}

.sw-header .site-navigation .menu li a:hover {
    color: var(--sw-primary);
    background: rgba(252, 127, 1, 0.06);
}

.sw-header .site-navigation .menu li.current-menu-item a,
.sw-header .site-navigation .menu li.current_page_item a {
    color: var(--sw-primary);
    font-weight: 600;
}

.sw-header .elementor-nav-menu a {
    font-weight: 500 !important;
    font-size: 15px !important;
    color: var(--sw-dark) !important;
    transition: color 0.3s ease !important;
}

.sw-header .elementor-nav-menu a:hover {
    color: var(--sw-primary) !important;
}

.sw-header .elementor-nav-menu .current-menu-item a {
    color: var(--sw-primary) !important;
}

/* Header CTA responsive */
@media (max-width: 1024px) {
    .sw-header-cta {
        display: none !important;
    }
    .sw-header .site-navigation {
        display: none !important;
    }
    .site-navigation-toggle-holder {
        display: block !important;
    }
}

@media (min-width: 1025px) {
    .site-navigation-toggle-holder {
        display: none !important;
    }
    .site-navigation-dropdown {
        display: none !important;
    }
}

/* Mobile menu dropdown */
.site-navigation-dropdown {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 999;
}

.site-navigation-dropdown .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-navigation-dropdown .menu li a {
    display: block;
    padding: 12px 16px;
    color: var(--sw-dark);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.site-navigation-dropdown .menu li a:hover {
    color: var(--sw-primary);
}

/* Footer responsive */
@media (max-width: 767px) {
    #site-footer > div > div:first-child {
        grid-template-columns: 1fr !important;
    }
}

/* === Footer Styles === */
.sw-footer {
    background: var(--sw-dark);
    color: rgba(255, 255, 255, 0.7);
}

.sw-footer h3, .sw-footer h4 {
    color: var(--sw-white) !important;
}

.sw-footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease !important;
}

.sw-footer a:hover {
    color: var(--sw-primary) !important;
}

.sw-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

/* === Case Study Cards === */
.sw-case-card {
    background: var(--sw-white);
    border-radius: 16px;
    padding: 32px;
    border-left: 4px solid var(--sw-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.sw-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* === Service Cards === */
.sw-service-card {
    background: var(--sw-white);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.sw-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--sw-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.sw-service-card:hover::before {
    transform: scaleX(1);
}

.sw-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* === Contact Form === */
.sw-contact-form .wpcf7-form-control:not(.wpcf7-submit) {
    border: 2px solid var(--sw-light-gray) !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    transition: border-color 0.3s ease !important;
}

.sw-contact-form .wpcf7-form-control:not(.wpcf7-submit):focus {
    border-color: var(--sw-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(252, 127, 1, 0.1) !important;
}

/* === CTA Banner === */
.sw-cta-banner {
    background: var(--sw-gradient);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sw-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

/* === Responsive === */
@media (max-width: 767px) {
    .sw-cta-banner {
        padding: 40px 24px;
    }

    .sw-card {
        padding: 24px;
    }

    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 26px !important;
    }
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sw-animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--sw-light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--sw-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--sw-primary);
}

/* === Selection === */
::selection {
    background: rgba(252, 127, 1, 0.2);
    color: var(--sw-dark);
}

/* === List styling for service pages === */
.sw-content-list ul {
    list-style: none;
    padding: 0;
}

.sw-content-list ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.sw-content-list ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sw-primary);
}

/* === Blockquote === */
blockquote {
    border-left: 4px solid var(--sw-primary) !important;
    background: rgba(252, 127, 1, 0.04) !important;
    padding: 24px 28px !important;
    border-radius: 0 12px 12px 0 !important;
    font-style: italic !important;
    color: var(--sw-text-light) !important;
    margin: 24px 0 !important;
}

/* === Divider === */
.sw-divider .elementor-divider-separator {
    border-color: var(--sw-primary) !important;
    width: 60px !important;
    border-width: 3px !important;
}
