/*
 Theme Name:   Hello Elementor Child - OperoGuide
 Theme URI:    https://operoguide.ai
 Description:  OperoGuide Child Theme for Hello Elementor - Update safe!
 Author:       Suppora GmbH
 Author URI:   https://suppora.eu
 Template:     hello-elementor
 Version:      1.2.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hello-elementor-child
*/

/* ==========================================================================
   OperoGuide Global Styles
   ========================================================================== */

:root {
    --og-primary: #38a89d;
    --og-primary-dark: #2d8a81;
    --og-dark: #0f3f34;
    --og-dark-lighter: #1a5c4e;
    --og-text: #1f2937;
    --og-text-light: #6b7280;
    --og-bg: #f8fafa;
    --og-white: #ffffff;
    --og-border: #e4ebe9;
    --og-gradient: linear-gradient(135deg, #38a89d 0%, #2d8a81 100%);
}

/* Global Font */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.og-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--og-border);
    transition: all 0.3s ease;
}

.og-header.scrolled {
    box-shadow: 0 4px 20px rgba(15, 63, 52, 0.08);
}

.og-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.og-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.og-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .og-logo-img {
        height: 65px;
    }
}

/* Navigation */
.og-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.og-nav-link {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--og-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.og-nav-link:hover {
    background: var(--og-bg);
    color: var(--og-primary);
}

.og-nav-link.active {
    color: var(--og-primary);
}

.og-nav-link i.fa-chevron-down {
    font-size: 10px;
    transition: transform 0.2s ease;
}

/* Dropdown */
.og-nav-dropdown {
    position: relative;
}

.og-nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--og-white);
    border: 1px solid var(--og-border);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(15, 63, 52, 0.15);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
}

.og-nav-dropdown:hover .og-nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.og-nav-dropdown:hover .og-nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

.og-nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--og-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.og-nav-dropdown-item:hover {
    background: var(--og-bg);
    color: var(--og-primary);
}

.og-nav-dropdown-item i {
    width: 20px;
    color: var(--og-primary);
}

.og-nav-dropdown-item i.external {
    width: auto;
    font-size: 10px;
    color: var(--og-text-light);
    margin-left: auto;
}

/* CTA Buttons */
.og-nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.og-btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--og-dark);
    background: transparent;
    border: 1.5px solid var(--og-border);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.og-btn-secondary:hover {
    border-color: var(--og-primary);
    color: var(--og-primary);
}

.og-btn-primary {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--og-white);
    background: var(--og-gradient);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(56, 168, 157, 0.3);
}

.og-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 168, 157, 0.4);
}

/* Mobile Toggle */
.og-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--og-bg);
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    color: var(--og-dark);
}

/* Mobile Navigation */
.og-mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--og-white);
    padding: 20px;
    z-index: 999;
    overflow-y: auto;
    flex-direction: column;
}

.og-mobile-nav.active {
    display: flex;
}

.og-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: var(--og-text);
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.og-mobile-nav-link:hover {
    background: var(--og-bg);
    color: var(--og-primary);
}

.og-mobile-nav-link i {
    width: 24px;
    color: var(--og-primary);
}

.og-mobile-nav-cta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--og-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.og-mobile-nav-cta .og-btn-secondary,
.og-mobile-nav-cta .og-btn-primary {
    text-align: center;
    padding: 14px 20px;
}

/* Page Content */
.og-page-content {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.og-footer {
    background: var(--og-dark);
    color: var(--og-white);
    padding: 60px 0 0;
}

.og-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.og-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand */
.og-footer-brand {
    max-width: 320px;
}

.og-footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--og-white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
}

.og-footer-logo span {
    color: var(--og-primary);
}

.og-footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.og-footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.og-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--og-white);
    text-decoration: none;
    transition: all 0.2s ease;
}

.og-footer-social a:hover {
    background: var(--og-primary);
    transform: translateY(-2px);
}

.og-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.og-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(56, 168, 157, 0.15);
    border-radius: 6px;
    font-size: 12px;
    color: var(--og-primary);
}

/* Footer Columns */
.og-footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--og-white);
}

.og-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.og-footer-column li {
    margin-bottom: 12px;
}

.og-footer-column a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.og-footer-column a:hover {
    color: var(--og-primary);
}

.og-footer-column a i.external {
    font-size: 10px;
    opacity: 0.5;
}

.og-footer-column .new-badge {
    font-size: 10px;
    padding: 2px 6px;
    background: var(--og-primary);
    color: var(--og-white);
    border-radius: 4px;
    font-weight: 600;
}

.og-footer-address {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
}

/* Footer Bottom */
.og-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.og-footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.og-footer-copyright a {
    color: var(--og-primary);
    text-decoration: none;
}

.og-footer-legal {
    display: flex;
    gap: 24px;
}

.og-footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.og-footer-legal a:hover {
    color: var(--og-primary);
}

/* ==========================================================================
   GTranslate in Header - Overlay Dropdown
   ========================================================================== */

.og-header-gtranslate {
    margin-right: 16px;
    position: relative;
    z-index: 9999;
}

.og-header-gtranslate .gt_float_switcher .gt-current-lang,
.og-header-gtranslate .gt_selected,
.og-header-gtranslate .gt_switcher_wrapper > a,
.og-header-gtranslate .gt_selector {
    background: #f8fafa !important;
    border: 1px solid #e4ebe9 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f3f34 !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.og-header-gtranslate .gt_float_switcher .gt-current-lang:hover,
.og-header-gtranslate .gt_selected:hover,
.og-header-gtranslate .gt_switcher_wrapper > a:hover,
.og-header-gtranslate .gt_selector:hover {
    border-color: #38a89d !important;
    background: #ffffff !important;
}

.og-header-gtranslate .gt_float_switcher .gt_options,
.og-header-gtranslate .gt_switcher .gt_option,
.og-header-gtranslate .gt_white_content,
.og-header-gtranslate .gt_switcher_wrapper .gt_switcher {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    background: #ffffff !important;
    border: 1px solid #e4ebe9 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 40px rgba(15, 63, 52, 0.18) !important;
    margin-top: 8px !important;
    max-height: 280px !important;
    min-width: 160px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 99999 !important;
}

.og-header-gtranslate .gt_float_switcher .gt_options a,
.og-header-gtranslate .gt_switcher a,
.og-header-gtranslate .gt_white_content a {
    padding: 10px 14px !important;
    font-size: 13px !important;
    color: #0f3f34 !important;
    transition: background 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    border-bottom: none !important;
    white-space: nowrap !important;
}

.og-header-gtranslate .gt_float_switcher .gt_options a:hover,
.og-header-gtranslate .gt_switcher a:hover,
.og-header-gtranslate .gt_white_content a:hover {
    background: rgba(56, 168, 157, 0.1) !important;
    color: #2d8a81 !important;
}

.og-header-gtranslate img.gt-flag,
.og-header-gtranslate img[alt] {
    width: 20px !important;
    height: 14px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .og-nav {
        display: none;
    }
    
    .og-nav-cta {
        display: none;
    }
    
    .og-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .og-header-gtranslate {
        margin-right: 12px;
    }
}

@media (max-width: 768px) {
    .og-header-inner {
        height: 70px;
        padding: 0 16px;
    }
    
    .og-page-content {
        padding-top: 70px;
    }
    
    .og-mobile-nav {
        top: 70px;
    }
    
    .og-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .og-footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
    
    .og-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .og-footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .og-header-gtranslate .gt_float_switcher .gt_options,
    .og-header-gtranslate .gt_white_content {
        max-height: 220px !important;
        right: -20px !important;
    }
}

@media (max-width: 480px) {
    .og-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .og-footer-brand {
        grid-column: span 1;
    }
}
