/*
Theme Name: Global Logistics Pro
Theme URI: https://example.com/global-logistics-pro
Author: Logistics Theme Developer
Author URI: https://example.com
Description: A professional, multilingual WordPress theme for global logistics and freight companies. Inspired by industry-leading logistics platforms with full RTL support for Arabic, Turkish, Russian, and English.
Version: 1.0.2 - Mobile & Desktop Hero Fixed
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: global-logistics-pro
Tags: logistics, freight, multilingual, rtl-language-support, business, corporate, responsive
*/

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Brand Colors */
    --primary-blue: #003087;
    --primary-dark: #001f5c;
    --accent-orange: #ff6b35;
    --accent-green: #28a745;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --border-gray: #dee2e6;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Arial', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* RTL Support */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl * {
    direction: rtl;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-orange);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

/* ===================================
   UTILITY BAR
   =================================== */

.utility-bar {
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-gray);
    padding: var(--spacing-xs) 0;
    font-size: 0.875rem;
}

.utility-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-md);
}

body.rtl .utility-bar .container {
    flex-direction: row-reverse;
}

.utility-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

body.rtl .utility-links {
    flex-direction: row-reverse;
}

.utility-links a {
    color: var(--medium-gray);
    font-weight: 500;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.utility-links a:hover {
    color: var(--primary-blue);
}

.utility-links a.utility-login {
    font-weight: 600;
    color: var(--primary-blue);
}

.utility-divider {
    width: 1px;
    height: 16px;
    background-color: var(--border-gray);
}

.language-selector {
    position: relative;
}

.language-selector select {
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--dark-gray);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23343a40' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 10px;
}

body.rtl .language-selector select {
    padding: 0.25rem 0.5rem 0.25rem 1.5rem;
    background-position: left 0.5rem center;
}

.language-selector select:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ===================================
   MAIN HEADER & NAVIGATION
   =================================== */

.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

body.rtl .header-container {
    flex-direction: row-reverse;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Hamburger Menu Button (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: all var(--transition-medium);
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

/* Main Navigation */
.main-nav {
    flex-grow: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

body.rtl .nav-menu {
    flex-direction: row-reverse;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: var(--spacing-xs) 0;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--dark-gray);
    transition: color var(--transition-fast);
}

.nav-menu > li > a:hover {
    color: var(--primary-blue);
}

.nav-menu > li > a .dropdown-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.nav-menu > li:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 6px;
    padding: var(--spacing-xs) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-medium);
    margin-top: var(--spacing-xs);
}

body.rtl .dropdown-menu {
    left: auto;
    right: 0;
}

.nav-menu > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
    padding-left: calc(var(--spacing-md) + 0.5rem);
}

body.rtl .dropdown-menu a:hover {
    padding-left: var(--spacing-md);
    padding-right: calc(var(--spacing-md) + 0.5rem);
}

/* Search Button */
.header-search {
    flex-shrink: 0;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.625rem var(--spacing-md);
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.search-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.search-icon {
    font-size: 1.125rem;
}

.search-btn-text {
    display: inline;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 48, 135, 0.95), rgba(0, 31, 92, 0.9)), 
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"%3E%3Crect fill="%23003087" width="1200" height="600"/%3E%3Ccircle fill="%23ffffff" opacity="0.05" cx="200" cy="150" r="80"/%3E%3Ccircle fill="%23ffffff" opacity="0.05" cx="800" cy="400" r="120"/%3E%3Ccircle fill="%23ff6b35" opacity="0.1" cx="1000" cy="200" r="100"/%3E%3Cpath fill="%23ffffff" opacity="0.03" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: var(--spacing-xl) 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

body.rtl .hero-content {
    text-align: center;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subheading {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    line-height: 1.4;
}

.shipment-tracking-form {
    background-color: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

body.rtl .form-title {
    text-align: center;
}

.tracking-input-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

body.rtl .tracking-input-group {
    flex-direction: row-reverse;
}

.tracking-input {
    flex-grow: 1;
    padding: 1rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark-gray);
    transition: border-color var(--transition-fast);
}

.tracking-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.tracking-submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-orange), #ff8555);
    color: var(--white);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.tracking-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #ff8555, var(--accent-orange));
}

.form-helper-text {
    font-size: 0.875rem;
    color: var(--medium-gray);
    text-align: center;
}

body.rtl .form-helper-text {
    text-align: center;
}

/* ===================================
   İÇ SAYFA HERO BANNER — STANDART
   Referans: /carriers/portal/
   Ana sayfa .klassa-globe-hero kullandığı için
   .hero-section = SADECE iç sayfalar.
   Tüm tarayıcılarda çalışır (:has gerekmez).
   =================================== */

.hero-section {
    padding: 2rem 0 !important;
    min-height: 0 !important;
    background-attachment: scroll !important;
}

.hero-section .hero-content {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: .375rem;
    text-align: left !important;
    max-width: none !important;
    margin: 0 !important;
}

.hero-section .hero-heading {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    text-shadow: none !important;
}

.hero-section .hero-subheading {
    font-size: 1.125rem !important;
    margin: 0 !important;
    opacity: .85;
    line-height: 1.4 !important;
}

@media (max-width: 768px) {
    .hero-section { padding: 1rem 0 !important; }
    .hero-section .hero-heading { font-size: 1.25rem !important; }
    .hero-section .hero-subheading { font-size: .875rem !important; }
}

@media (max-width: 480px) {
    .hero-section { padding: .75rem 0 !important; }
    .hero-section .hero-heading { font-size: 1.125rem !important; }
    .hero-section .hero-subheading { display: none !important; }
}

/* RTL: sağdan hizalı */
body.rtl .hero-section .hero-content {
    align-items: flex-end !important;
    text-align: right !important;
}

/* Hava Yolu sayfası: başlığın yanına küçük uçak ikonu (sadece bu sayfada) */
body.page-template-page-air-freight .hero-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

body.rtl.page-template-page-air-freight .hero-heading {
    flex-direction: row-reverse;
}

body.page-template-page-air-freight .hero-heading::before {
    content: '';
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M21,16V14L13,9V3.5C13,2.67 12.33,2 11.5,2C10.67,2 10,2.67 10,3.5V9L2,14V16L10,13.5V19L7.5,20.5V22L11.5,21L15.5,22V20.5L13,19V13.5L21,16Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
    color: var(--white);
    transition: transform var(--transition-medium);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    font-size: 1rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: gap var(--transition-fast);
}

.service-card:hover .service-link {
    gap: var(--spacing-sm);
}

body.rtl .service-link {
    flex-direction: row-reverse;
}

/* ===================================
   FOOTER
   =================================== */

.main-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-orange);
    padding-left: var(--spacing-xs);
}

body.rtl .footer-section a:hover {
    padding-left: 0;
    padding-right: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

body.rtl .social-links {
    flex-direction: row-reverse;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--accent-orange);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .nav-menu {
        gap: var(--spacing-md);
    }
    
    .hero-heading {
        font-size: 2.75rem;
    }
    
    .hero-subheading {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    /* Utility Bar - Mobilde Yeniden Düzenle */
    .utility-bar {
        padding: var(--spacing-xs) 0;
    }
    
    .utility-bar .container {
        flex-direction: column;
        gap: var(--spacing-xs);
        align-items: center;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .utility-links {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.8125rem;
        gap: var(--spacing-sm);
    }
    
    .utility-divider {
        display: none;
    }
    
    /* Dil Seçeneği Mobilde Görünür */
    .language-selector {
        order: -1;
        margin-bottom: var(--spacing-xs);
    }
    
    .language-selector select {
        font-size: 0.875rem;
        padding: 0.375rem 1.75rem 0.375rem 0.75rem;
        min-width: 100px;
    }
    
    /* Header - Sticky Kaldır */
    .main-header {
        position: relative;
        z-index: 1000;
    }
    
    /* Hamburger Menü Göster */
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .header-container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .site-logo {
        order: 1;
    }
    
    .site-logo a {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1.125rem;
    }
    
    .header-search {
        order: 3;
    }
    
    .search-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .search-btn-text {
        display: none;
    }
    
    /* Mobil Navigasyon */
    .main-nav {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    
    .main-nav.active {
        max-height: 2000px;
        margin-top: var(--spacing-md);
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: var(--white);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: var(--shadow-md);
    }
    
    body.rtl .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu > li {
        border-bottom: 1px solid var(--border-gray);
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .nav-menu > li > a {
        padding: var(--spacing-md);
        background-color: var(--white);
        display: flex;
        justify-content: space-between;
        font-size: 1rem;
    }
    
    .nav-menu > li > a:hover {
        background-color: var(--light-gray);
    }
    
    .nav-menu > li > a .dropdown-arrow {
        font-size: 0.875rem;
        margin-left: auto;
    }
    
    body.rtl .nav-menu > li > a .dropdown-arrow {
        margin-left: 0;
        margin-right: auto;
    }
    
    /* Dropdown Mobilde */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0;
        border-radius: 0;
        background-color: var(--light-gray);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        padding: 0;
    }
    
    .nav-menu > li.menu-open .dropdown-menu {
        max-height: 800px;
        padding: var(--spacing-xs) 0;
    }
    
    .nav-menu > li:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .dropdown-menu a {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 0.9375rem;
    }
    
    .dropdown-menu a:hover {
        background-color: #e9ecef;
        padding-left: calc(var(--spacing-lg) + 0.75rem);
    }
    
    body.rtl .dropdown-menu a:hover {
        padding-left: var(--spacing-lg);
        padding-right: calc(var(--spacing-lg) + 0.75rem);
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 500px;
        padding: var(--spacing-lg) 0;
        background-attachment: scroll;
    }
    
    .hero-heading {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subheading {
        font-size: 1.125rem;
        margin-bottom: var(--spacing-md);
    }
    
    .shipment-tracking-form {
        padding: var(--spacing-md);
    }
    
    .form-title {
        font-size: 1.25rem;
    }
    
    .tracking-input-group {
        flex-direction: column;
    }
    
    body.rtl .tracking-input-group {
        flex-direction: column;
    }
    
    .tracking-submit-btn {
        width: 100%;
        padding: 1rem;
    }
    
    /* Services Section */
    .services-section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-lg);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .service-card {
        padding: var(--spacing-md);
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    /* Footer */
    .main-footer {
        padding: var(--spacing-lg) 0 var(--spacing-sm);
    }
    
    .footer-content {
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .utility-bar .container {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .hero-section {
        min-height: 450px;
        padding: var(--spacing-md) 0;
    }
    
    .hero-heading {
        font-size: 1.75rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
    }
    
    .shipment-tracking-form {
        padding: var(--spacing-sm);
    }
    
    .form-title {
        font-size: 1.125rem;
    }
    
    .tracking-input,
    .tracking-submit-btn {
        font-size: 0.9375rem;
        padding: 0.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-description {
        font-size: 0.9375rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section h3 {
        font-size: 1.125rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9375rem;
    }
}

/* ===================================
   RTL-SPECIFIC ADJUSTMENTS
   =================================== */

body.rtl .hero-heading,
body.rtl .hero-subheading,
body.rtl .section-title,
body.rtl .section-subtitle,
body.rtl .service-title,
body.rtl .service-description {
    text-align: center;
}

body.rtl .service-card {
    text-align: right;
}

body.rtl .footer-section {
    text-align: right;
}

body.rtl .footer-bottom {
    text-align: center;
}

/* ===================================
   ACCESSIBILITY
   =================================== */

a:focus,
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
/* ===================================
   KLASSA GLOBE HERO — SeaRates tarzı
   (index.php globe hero için)
   =================================== */

/* ── Ana kapsayıcı ─────────────────────────────────────── */
.klassa-globe-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(120deg, #E8F3FF 0%, #F4F9FF 40%, #EBF4FE 70%, #E5F0FD 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* ── Sol panel ─────────────────────────────────────────── */
.kgh-left {
    position: relative;
    z-index: 10;
    padding: 4rem 3.5rem;
    max-width: 560px;
    flex-shrink: 0;
}

.kgh-heading {
    font-size: 2.625rem;
    font-weight: 800;
    color: #0B1E4A;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 2rem;
}

/* ── Tab menüsü ────────────────────────────────────────── */
.kgh-tabs {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.875rem;
    flex-wrap: wrap;
}

.kgh-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    white-space: nowrap;
    border: none;
    background: none;
    font-family: var(--font-primary);
    color: #5A7099;
    transition: all 0.15s ease;
}

.kgh-tab--active {
    background: var(--white);
    color: #1A3577;
    box-shadow: 0 1px 8px rgba(0,48,135,.09), 0 0 0 1px rgba(0,48,135,.1);
}

.kgh-tab--quote {
    color: #007A6A;
}

.kgh-tab-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.kgh-tab-icon--blue {
    background: #1A3577;
    color: white;
}

.kgh-tab-icon--teal {
    background: #00BFA5;
    color: white;
    border-radius: 6px;
}

/* ── Arama formu ───────────────────────────────────────── */
.kgh-form {
    background: var(--white);
    border-radius: 14px;
    padding: 0.7rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 24px rgba(0,48,135,.07), 0 1px 5px rgba(0,0,0,.04);
    border: none;
}

.kgh-loc-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.kgh-inp {
    border: none;
    outline: none;
    font-size: 12.5px;
    color: #8FA8C8;
    background: none;
    min-width: 0;
    flex: 1;
    font-family: var(--font-primary);
}

.kgh-inp::placeholder {
    color: #B0C4DA;
}

.kgh-swap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    flex-shrink: 0;
    border-radius: 4px;
    transition: background 0.15s;
}

.kgh-swap-btn:hover {
    background: var(--light-gray);
}

.kgh-sep {
    width: 1px;
    height: 22px;
    background: #E4EDF5;
    flex-shrink: 0;
    margin: 0 0.1rem;
}

.kgh-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.6rem;
    background: #F2F7FF;
    border-radius: 7px;
    font-size: 11.5px;
    color: #4A6285;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-primary);
}

.kgh-sbtn {
    width: 38px;
    height: 38px;
    background: #0B1E4A;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(11,30,74,.3);
    transition: background 0.15s ease, transform 0.15s ease;
}

.kgh-sbtn:hover {
    background: var(--primary-blue);
    transform: scale(1.05);
}

/* ── İstatistikler ─────────────────────────────────────── */
.kgh-stats {
    display: flex;
    gap: 1.75rem;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 0.5px solid rgba(0,48,135,0.1);
}

.kgh-stat-num {
    display: block;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0B1E4A;
    line-height: 1.2;
}

.kgh-stat-lbl {
    display: block;
    font-size: 0.6875rem;
    color: #8A9BB0;
    margin-top: 0.1rem;
    white-space: nowrap;
}

/* ── Küre kapsayıcısı ──────────────────────────────────── */
.kgh-globe-wrap {
    position: absolute;
    right: -95px;
    top: 50%;
    transform: translateY(-50%);
    width: 550px;
    height: 550px;
    z-index: 1;
    pointer-events: none;
    flex-shrink: 0;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
    .kgh-left { padding: 3.5rem 2.5rem; max-width: 500px; }
    .kgh-heading { font-size: 2.25rem; }
    .kgh-globe-wrap { right: -130px; }
}

@media (max-width: 900px) {
    .klassa-globe-hero { min-height: auto; background: #0B1E4A; }
    .kgh-globe-wrap    { display: none; }
    .kgh-left          { max-width: 100%; padding: 3rem 1.75rem 3.5rem; }
    .kgh-heading       { font-size: 2rem; color: var(--white); }
    .kgh-tab           { color: rgba(255,255,255,0.7); }
    .kgh-tab--active   { background: rgba(255,255,255,0.12); color: var(--white); box-shadow: none; }
    .kgh-form          { border-radius: 10px; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem; }
    .kgh-sep           { display: none; }
    .kgh-stat-num      { color: var(--white); }
    .kgh-stat-lbl      { color: rgba(255,255,255,0.6); }
    .kgh-stats         { border-top-color: rgba(255,255,255,0.15); }
}

@media (max-width: 600px) {
    .kgh-left    { padding: 2.5rem 1.25rem 3rem; }
    .kgh-heading { font-size: 1.75rem; }
    .kgh-stats   { gap: 1.25rem; flex-wrap: wrap; }
    .kgh-tabs    { gap: 0.25rem; }
    .kgh-tab     { font-size: 10px; padding: 0.4rem 0.6rem; }
    .kgh-badge   { display: none; }
    .kgh-sbtn    { width: 42px; height: 42px; }
}

/* .hero-section--split artık kullanılmıyor,
   ama iç sayfalarda hero-section:not(:has...) kuralı
   hâlâ geçerli, .klassa-globe-hero bunu etkilemez. */


/* ===================================
   KLASSA LOGO — TÜM SAYFALAR
   PNG: theme/images/klassa-logo.png
   =================================== */

.site-logo .logo-icon {
    display: none !important;
}

.site-logo a {
    font-size: 0 !important;   /* "Sudan Cargo" metnini gizle */
    line-height: 0;
    gap: 0;
}

.site-logo a::before {
    content: '';
    display: block;
    width: 220px;
    height: 78px;
    /* background functions.php üzerinden mutlak URL ile veriliyor */
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

body.rtl .site-logo a::before {
    background-position: right center;
}

@media (max-width: 768px) {
    .site-logo a::before {
        width: 150px;
        height: 54px;
    }
}
