/*
Theme Name: CH Corporate Logistic Theme V2
Theme URI: https://www.chrobinson.com/
Author: Gemini AI
Description: C.H. Robinson web sitesinin tam üst bant (Track a shipment vb.) ve arama alanını içeren güncellenmiş WordPress teması.
Version: 1.1.0
Text Domain: ch-corporate-logistic-v2
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}
body {
    color: #333;
    background-color: #f4f6f8;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}

/* ÜST BANT (TOP BAR) */
.top-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eef0f2;
    padding: 8px 0;
    font-size: 13px;
}
.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
}
.top-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 15px;
    color: #4a5568;
}
.top-menu li {
    display: flex;
    align-items: center;
}
.top-menu li:not(:last-child)::after {
    content: "|";
    margin-left: 15px;
    color: #cbd5e0;
    font-weight: 300;
}
.top-menu a {
    font-weight: 400;
    transition: color 0.2s;
}
.top-menu a:hover {
    color: #005596;
}

/* ANA MENÜ (HEADER) */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.logo-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}
.logo {
    font-size: 22px;
    font-weight: 700;
    color: #002244;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    color: #005596;
    font-size: 24px;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}
.menu-item {
    position: relative;
    padding: 5px 0;
}
.menu-item > a {
    font-weight: 600;
    color: #2d3748;
    font-size: 15px;
    transition: color 0.3s ease;
}
.menu-item:hover > a {
    color: #005596;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 3px solid #005596;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
}
.menu-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #edf2f7;
    font-size: 14px;
}
.dropdown li a:hover {
    background-color: #f7fafc;
    color: #005596;
}

/* SAĞ ARAMA BUTONU (SEARCH) */
.header-search {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #2d3748;
    font-size: 15px;
    cursor: pointer;
}
.header-search:hover {
    color: #005596;
}

/* HERO BÖLÜMÜ */
.hero {
    background: linear-gradient(rgba(0, 34, 68, 0.65), rgba(0, 34, 68, 0.65)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: white;
}
.hero-content h1 {
    font-size: 44px;
    margin-bottom: 15px;
    font-weight: 700;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.tracking-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.tracking-form input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    font-size: 16px;
}
.tracking-form button {
    background-color: #005596;
    color: white;
    border: none;
    padding: 0 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}
.tracking-form button:hover {
    background-color: #003b6f;
}

/* HİZMETLER BÖLÜMÜ */
.services {
    padding: 70px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.services h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
    color: #002244;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #005596;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: #002244;
}
.card p {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 15px;
}
.card a {
    color: #005596;
    font-weight: bold;
}

/* FOOTER */
footer {
    background-color: #002244;
    color: #a0aec0;
    padding: 40px 20px;
    text-align: center;
}

/* MOBİL UYUM */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
@media (max-width: 900px) {
    .top-bar {
        display: none; /* Mobilde üst küçük bant gizlenir */
    }
    .main-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    .main-menu.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .header-search {
        display: none;
    }
}
