/*
Theme Name: OES Trade Pro
Theme URI: https://example.com/oes-trade-pro
Author: Manus AI
Author URI: https://manus.im
Description: A modern, professional WordPress theme inspired by OES Export Import, fully customizable with a backend dashboard.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oes-trade-pro
Tags: custom-menu, featured-images, full-width-template, theme-options, translation-ready

This theme is optimized for global trade, logistics, and export-import businesses.
*/

/* --- Variables --- */
:root {
    --primary-color: #004a99;
    --secondary-color: #f39200;
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* --- Base Styles --- */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    margin-top: 0;
}

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

/* --- Top Bar --- */
.top-bar {
    background: #f4f4f4;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid #ddd;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info span {
    margin-right: 20px;
}

/* --- Header --- */
.site-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-left: 25px;
    position: relative;
}

.main-nav a {
    font-weight: 600;
    font-size: 15px;
    color: #444;
    text-transform: uppercase;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero-slider {
    position: relative;
    height: 600px;
    background: #222;
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/images/hero-bg.jpg');
}

.hero-content {
    max-width: 700px;
}

.hero-content h2 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- Sections --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* --- Grid System --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- Product Cards --- */
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 350px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

/* --- Footer --- */
.site-footer {
    background: #111;
    color: #bbb;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

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

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

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