/*
Theme Name: EK Shipping JA
Theme URI: https://ekshippingja.com
Author: EK Shipping JA
Author URI: https://ekshippingja.com
Description: Exact recreation of the EK Shipping JA poster. Fully customizable via Customizer. Mobile responsive. Auto-creates pages on activation.
Version: 1.4.0
License: GNU General Public License v2 or later
Text Domain: ek-shipping-ja
*/

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #1e293b;
    background: #ffffff;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========== HEADER ========== */
.site-header {
    background: #0a1628;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 70px;
}

/* Logo */
.site-logo { flex-shrink: 0; }
.site-logo a { display: flex; align-items: center; gap: 8px; }
.site-logo img { height: 48px; width: auto; }
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo-text .brand {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}
.logo-text .brand .ek { color: #ef4444; }
.logo-text .tagline {
    font-size: 8px;
    color: #94a3b8;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Desktop Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}
.main-nav ul li a {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    white-space: nowrap;
    border-radius: 4px;
    transition: color 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a,
.main-nav ul li.current_page_item a {
    color: #4ade80;
}
.main-nav ul li.current-menu-item a,
.main-nav ul li.current_page_item a {
    border-bottom: 2px solid #4ade80;
    padding-bottom: 6px;
}

/* Login button */
.header-cta { flex-shrink: 0; }
.btn-login {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(34,197,94,0.35);
}
.btn-login:hover { opacity: 0.92; transform: translateY(-1px); }

/* Mobile toggle - hidden on desktop */
.menu-toggle {
    display: none;
    color: #4ade80;
    font-size: 22px;
    padding: 6px 10px;
    border: 1px solid rgba(74,222,128,0.4);
    border-radius: 6px;
    line-height: 1;
}

/* ========== HERO ========== */
.hero-section {
    background: linear-gradient(160deg, #0a1628 0%, #0f2744 45%, #0a1628 100%);
    padding: 36px 0 50px;
    position: relative;
}
.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.hero-content {
    flex: 0 0 48%;
    max-width: 520px;
}
.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.hero-title .highlight {
    color: #4ade80;
    font-size: 1.12em;
}
.hero-rates {
    display: inline-block;
    background: linear-gradient(90deg, #22c55e 0%, #eab308 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    padding: 9px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.btn-signup {
    display: inline-block;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 18px rgba(249,115,22,0.4);
}
.btn-signup:hover { transform: translateY(-2px); }

.hero-image-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-wrap img.hero-main {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.hero-placeholder {
    background: rgba(15,39,68,0.8);
    border: 2px dashed rgba(74,222,128,0.35);
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    color: #94a3b8;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.hero-placeholder i { font-size: 42px; color: #4ade80; margin-bottom: 14px; }
.hero-placeholder p { font-size: 14px; line-height: 1.5; max-width: 280px; }

/* ========== SERVICES ========== */
.services-section {
    background: #f1f5f9;
    padding: 40px 0 50px;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}
.services-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 26px 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 14px;
}
.service-icon.air { background: #1e3a5f; }
.service-icon.sea { background: #15803d; }
.service-icon.package { background: #a16207; }

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.service-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 16px;
}
.btn-learn {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    padding: 7px 14px;
    border-radius: 6px;
}
.btn-learn.air { background: #1e3a5f; }
.btn-learn.sea { background: #16a34a; }
.btn-learn.package { background: #ca8a04; }

/* ========== PARTNERS ========== */
.partners-section {
    background: #ffffff;
    padding: 36px 0 44px;
    text-align: center;
}
.partners-title {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}
.partners-logos img {
    height: 32px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    opacity: 0.85;
}
.partner-text {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #0a1628;
    color: #94a3b8;
    padding-top: 44px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 36px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 28px;
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
    font-size: 13.5px;
    color: #94a3b8;
}
.footer-col ul li a:hover { color: #4ade80; }

.footer-brand .brand-name {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
}
.footer-brand .brand-name span { color: #ef4444; }
.footer-brand .tagline {
    font-size: 9px;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.footer-logo img { height: 42px; margin-bottom: 10px; }
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
}
.footer-social a:hover { background: #22c55e; }

.footer-contact p {
    font-size: 13.5px;
    margin-bottom: 11px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}
.footer-contact .icon {
    color: #4ade80;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    font-size: 12.5px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 8px;
}
.jamaica-flag {
    width: 26px;
    height: 16px;
    background: linear-gradient(to bottom, #009b3a 33%, #000 33%, #000 66%, #ffd100 66%);
    border: 1px solid #222;
    display: inline-block;
}

/* ========== INNER PAGES ========== */
.page-hero {
    background: linear-gradient(135deg, #0a1628, #0f2744);
    padding: 50px 20px 40px;
    text-align: center;
}
.page-hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}
.page-hero p { color: #94a3b8; font-size: 15px; }
.page-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}
.page-content h2 { font-size: 24px; color: #0f172a; margin: 28px 0 12px; }
.page-content p { margin-bottom: 14px; color: #475569; line-height: 1.7; }

/* FAQ */
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    background: #f8fafc;
    padding: 16px 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0f172a;
    font-size: 15px;
}
.faq-question:hover { background: #f1f5f9; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #64748b;
    font-size: 14px;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 14px 18px 18px;
}

/* Contact form */
.contact-form { max-width: 560px; margin: 24px auto 0; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #334155;
    font-size: 14px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.btn-submit {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 50px;
    display: inline-block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-title { font-size: 38px; }
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 10px 14px;
        min-height: 60px;
        position: relative;
    }
    .logo-text .brand { font-size: 16px; }
    .logo-text .tagline { font-size: 7px; }

    .menu-toggle { display: block; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0a1628;
        flex-direction: column;
        padding: 8px 0 16px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.4);
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .main-nav.active { display: flex; }
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .main-nav ul li { width: 100%; }
    .main-nav ul li a {
        display: block;
        padding: 13px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 15px;
    }
    .main-nav ul li.current-menu-item a {
        border-bottom: 1px solid rgba(255,255,255,0.05);
        border-left: 3px solid #4ade80;
        color: #4ade80;
    }

    .header-cta { display: none; }

    .hero-section { padding: 28px 0 36px; }
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .hero-content {
        flex: none;
        max-width: 100%;
    }
    .hero-title { font-size: 32px; }
    .hero-rates { font-size: 14px; padding: 8px 14px; }
    .btn-signup { font-size: 14px; padding: 12px 24px; }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 14px;
    }
    .service-card { padding: 22px 18px; }

    .partners-logos { gap: 18px 24px; }
    .partner-text { font-size: 12px; }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    .page-hero h1 { font-size: 28px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .footer-inner { grid-template-columns: 1fr; }
    .logo-text .brand { font-size: 15px; }
}
