/*
Theme Name: Quality Logistix
Theme URI: https://qualitylogistix.com
Author: Quality Logistix
Description: Custom WordPress theme for Quality Logistix - Freight Forwarding Business
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: quality-logistix
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary:    #1B3A6B;
    --accent:     #F97316;
    --light:      #F8FAFC;
    --white:      #ffffff;
    --text:       #1E293B;
    --text-muted: #64748B;
    --border:     #E2E8F0;
    --shadow:     0 4px 24px rgba(0,0,0,0.08);
    --radius:     8px;
    --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.7; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Layout ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #ea6c05; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: #142e58; transform: translateY(-2px); }

/* ─── Section Header ─── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: 2.4rem; color: var(--primary); margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 580px; margin: 0 auto; }
.divider { width: 56px; height: 4px; background: var(--accent); border-radius: 2px; margin: 14px auto; }

/* ─── Navigation ─── */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.site-logo {
    display: flex;
    align-items: center;
    line-height: 0;
}
.nav-logo-img {
    height: 42px;
    width: auto;
}
.nav-menu { display: flex; gap: 36px; }
.nav-menu a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-menu a:hover,
.nav-menu .current-menu-item a { color: var(--white); }
.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after { width: 100%; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ─── Hero ─── */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2a527a 100%);
    color: var(--white);
    padding: 110px 0 100px;
    text-align: center;
}
.hero h1 { font-size: 3.2rem; font-weight: 700; line-height: 1.2; margin-bottom: 22px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 38px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Testimonial Bar ─── */
.testimonial-bar {
    background: #1B3A6B;
    padding: 72px 0;
    text-align: center;
}
.testimonial-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}
.testimonial-stars {
    color: #F97316;
    font-size: 1.4rem;
    letter-spacing: 6px;
    margin-bottom: 24px;
    display: block;
}
.testimonial-text {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.85;
    margin-bottom: 28px;
    position: relative;
}
.testimonial-divider {
    width: 48px;
    height: 3px;
    background: #F97316;
    border-radius: 2px;
    margin: 0 auto 20px;
}
.testimonial-author {
    color: #F97316;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}
.testimonial-role {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ─── Services Overview (Home) ─── */
.services-overview { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}
.service-card:hover { transform: translateY(-6px); border-top-color: var(--accent); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.service-icon { font-size: 2.6rem; margin-bottom: 18px; }
.service-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ─── Why Us ─── */
.why-us { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon {
    width: 52px; height: 52px;
    background: #EFF6FF;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.why-item h4 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; font-weight: 600; }
.why-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ─── CTA Banner ─── */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), #2a527a);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}
.cta-banner h2 { font-size: 2.2rem; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.1rem; }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
    background: linear-gradient(135deg, var(--primary), #2a527a);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}
.page-hero h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

/* ─── What We Offer Page ─── */
.full-services { background: var(--light); }
.full-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.full-service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 38px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.full-service-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,0.12); }
.full-service-card .icon { font-size: 3rem; margin-bottom: 20px; }
.full-service-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 12px; }
.full-service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }
.full-service-card ul { color: var(--text-muted); font-size: 0.9rem; }
.full-service-card ul li { padding: 4px 0; padding-left: 16px; position: relative; }
.full-service-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Process Section */
.process { background: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-step { text-align: center; padding: 28px 20px; }
.step-number {
    width: 56px; height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.process-step h4 { color: var(--primary); font-size: 1rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 0.9rem; }

/* ─── Contact Page ─── */
.contact-section { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.contact-info h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.info-icon {
    width: 46px; height: 46px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.info-item h4 { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.info-item p { color: var(--text); font-weight: 500; }
.hours-box { background: var(--white); border-radius: 10px; padding: 24px; margin-top: 24px; box-shadow: var(--shadow); }
.hours-box h4 { color: var(--primary); margin-bottom: 14px; font-size: 1rem; }
.hours-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted); }
.hours-row:last-child { border-bottom: none; }

/* Contact Form */
.contact-form-wrap { background: var(--white); border-radius: 12px; padding: 40px; box-shadow: var(--shadow); }
.contact-form-wrap h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color 0.2s ease;
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-notice {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}
.form-notice.success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.form-notice.error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* ─── Footer ─── */
#site-footer { background: #0f2444; color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .footer-logo { margin-bottom: 14px; display: block; }
.footer-logo-img { height: 38px; width: auto; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .services-grid,
    .full-services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 2fr); gap: 30px; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .page-hero h1 { font-size: 2rem; }
    .section-header h2 { font-size: 1.9rem; }
    .nav-menu { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 16px 24px; }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-toggle { display: flex; }
    .services-grid,
    .full-services-grid,
    .why-grid,
    .process-steps { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    section { padding: 60px 0; }
    .hero { padding: 80px 0 70px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
