/*
Theme Name: GoTech Mobility
Theme URI: https://gotech-mobility.com
Author: GoTech
Author URI: https://gotech-mobility.com
Description: A modern mobility services theme with Elementor support, inspired by Yango design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gotech-mobility
Tags: custom-logo, custom-menu, elementor, transportation, mobility

GoTech Mobility Theme, (C) 2025 GoTech
GoTech Mobility is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --primary-red: #E30613;
    --dark-bg: #1a1a1a;
    --white: #ffffff;
    --text-light: #cccccc;
    --text-muted: #999999;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

/* Sticky header padding */
body.is-sticky {
    padding-top: 60px; /* Account for fixed header */
}



a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Top Bar Styles
   ========================================================================== */
.top-bar {
    position: relative;
    z-index: 10000;
    background-color: var(--dark-bg);
    height: 36px;
    display: flex;
    align-items: center;
    font-size: 13px;
}

/* Sticky Top Bar */
body.is-sticky .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.top-bar-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-item:hover {
    color: var(--white);
}

.top-bar-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.top-bar-cities strong {
    color: var(--white);
}

/* ========================================================================== */
/* Header Styles (Updated for Full Width) */
/* ========================================================================== */
.site-header {
    position: relative;
    z-index: 9999;
    background-color: var(--primary-red);
    height: 60px;
    display: flex;
    align-items: center;
    width: 100%; /* Full width header */
}

/* Sticky Header */
.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%; /* Full width sticky */
}

.site-header.is-sticky.has-topbar {
    top: 36px;
}

/* Header container - logo left, buttons right */
.header-container {
    width: 100%;
    max-width: 1400px; /* Max width for content */
    margin: 0 auto;
    padding: 0 50px; /* Left & right padding */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo left, buttons right */
    position: relative;
    height: 100%;
}

/* Main Navigation - center menu items */
.main-navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 40px !important;
}



.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: 28px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    color: var(--white);
    letter-spacing: -1px;
    white-space: nowrap;
}

/* Main Navigation */
.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 25px;
    
}

.main-navigation a {
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    padding: 8px 0;
    position: relative;
}

.main-navigation a:hover {
    opacity: 0.9;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-get-app {
    background-color: var(--white);
    color: #333;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-get-app:hover {
    background-color: #f0f0f0;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
}

.language-selector .globe-icon {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-selector .globe-icon svg {
    width: 14px;
    height: 14px;
}

.language-selector .chevron {
    width: 12px;
    height: 12px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    left: 10px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 13px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 21px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 29px;
}

/* Mobile Menu Active State - X icon */
.mobile-menu-toggle.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* Mobile Menu */
#site-navigation {
    transition: all 0.3s ease;
}

@media screen and (max-width: 992px) {
    #site-navigation {
        display: none;
    }

    #site-navigation.active {
        display: block;
        position: fixed;
        top: 0;  
        left:0;     
        width: 100% !important;
        height: 100vh;
        background-color: var(--dark-bg);
        z-index: 10001;
        padding: 70px 20px 40px;
        overflow-y: auto;
    }

    #site-navigation .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
    }

    #site-navigation .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #site-navigation .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 1.2rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Mobile menu close button */
    .mobile-menu-toggle.active {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 10002;
        background-color: transparent;
        padding: 12px;
    }

    .mobile-menu-toggle.active span {
        background-color: var(--white);
    }
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 60px;
    padding-bottom: 40px;
}

.footer-brand {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 28px;
    width: auto;
}

.footer-logo .logo-text {
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    color: var(--white);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-button {
    display: inline-block;
    width: 135px;
}

.app-button img {
    width: 100%;
    height: auto;
}

/* Footer Links Grid */
.footer-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 30px;
    flex: 1;
}

.footer-column {
    min-width: 100px;
    flex: 1 1 auto;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 400;
    color: var(--white);
    margin: 0 0 15px;
    white-space: nowrap;
}

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

.footer-column ul li,
.footer-column .footer-menu li {
    margin-bottom: 8px;
}

.footer-column ul li a,
.footer-column .footer-menu li a {
    color: var(--text-muted);
    font-size: 13px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-column ul li a:hover,
.footer-column .footer-menu li a:hover {
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    border-top: 1px solid #333;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
}

.footer-lang-selector .globe-icon {
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--white);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* Copyright Section */
.footer-copyright {
    padding: 20px 0;
    border-top: 1px solid #333;
}

.copyright-text {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 10px;
}

.disclaimer-text {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Elementor Full Width Support
   ========================================================================== */
.elementor-page .site-content,
.elementor-template-full-width .site-content {
    max-width: 100%;
    padding: 0;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media screen and (max-width: 1200px) {
    .footer-column {
        min-width: 120px;
        flex: 1 1 calc(20% - 30px);
    }
}

@media screen and (max-width: 992px) {
    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .top-bar-cities {
        display: none;
    }

    .top-bar-container {
        justify-content: center;
    }

    .header-left {
        gap: 20px;
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-brand {
        flex: 0 0 auto;
    }

    .footer-column {
        flex: 1 1 calc(33.333% - 30px);
    }
}

@media screen and (max-width: 768px) {
    .top-bar {
        display: none !important;
    }

    body.is-sticky.has-topbar {
        padding-top: 60px;
    }

    .site-header.is-sticky.has-topbar {
        top: 0;
    }

    .header-container {
        padding: 0 15px;
    }

    .header-left {
        gap: 15px;
    }

    .header-right {
        gap: 10px;
    }

    .site-logo .logo-text {
        font-size: 20px;
    }

    .language-selector .language-text {
        display: none !important;
    }

    .language-selector .chevron {
        display: none;
    }

    .footer-column {
        flex: 1 1 calc(50% - 30px);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .header-container {
        padding: 0 12px;
    }

    .header-right {
        gap: 8px;
    }

    .header-right .btn-get-app {
        padding: 8px 12px;
        font-size: 11px;
        border-radius: 20px;
    }

    .site-logo .logo-text {
        font-size: 18px;
    }

    .language-selector {
        gap: 4px;
    }

    .language-selector .globe-icon {
        width: 18px;
        height: 18px;
    }

    .language-selector .chevron {
        width: 10px;
        height: 10px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        left: 10px;
    }

    .mobile-menu-toggle span:nth-child(1) {
        top: 12px;
    }

    .mobile-menu-toggle span:nth-child(2) {
        top: 19px;
    }

    .mobile-menu-toggle span:nth-child(3) {
        top: 26px;
    }

    .mobile-menu-toggle.active span:nth-child(1),
    .mobile-menu-toggle.active span:nth-child(3) {
        top: 19px;
    }

    .footer-column {
        flex: 1 1 100%;
    }
}
