/*
Theme Name: Venus Express
Theme URI: https://venus-express.com
Author: Venus Express Pte Ltd
Author URI: https://venus-express.com
Description: Professional freight forwarding theme for Venus Express International Freight Forwarders, Singapore.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: venus-express
Tags: business, logistics, freight, custom-colors, custom-logo, full-width-template
*/

/* ============================================================
   VENUS EXPRESS — THEME STYLES
   ============================================================ */

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

:root {
  --navy: #0D1B3E;
  --navy-mid: #162550;
  --navy-light: #1E3370;
  --red: #C0281E;
  --red-light: #E03329;
  --gold: #C8922A;
  --gold-light: #E4A730;
  --white: #ffffff;
  --off-white: #F7F8FA;
  --gray-100: #EEF0F4;
  --gray-300: #CBD0DA;
  --gray-500: #7B8499;
  --gray-700: #3D4457;
  --text: #1A1F35;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  margin: 0;
  padding: 0;
}

a { text-decoration: none; color: inherit; }

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

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-item { display: flex; align-items: center; gap: 8px; }
.topbar-item svg { flex-shrink: 0; opacity: 0.7; }
.topbar-item span { color: var(--white); font-weight: 500; }

/* ── HEADER / NAV ── */
header, #masthead {
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-100), 0 4px 24px rgba(13,27,62,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav, .site-navigation {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo, .site-branding { display: flex; align-items: center; gap: 12px; }
.logo img, .custom-logo { height: 48px; width: auto; }
.site-title { font-size: 18px; font-weight: 700; color: var(--navy); }

/* WordPress nav menu */
.nav-links,
.main-navigation ul {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a,
.main-navigation ul li a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.18s;
  white-space: nowrap;
  display: block;
}
.nav-links a:hover, .nav-links a.active,
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--navy);
  background: var(--gray-100);
}
.main-navigation ul li { position: relative; }
.main-navigation ul li:hover > ul { display: block; }
.main-navigation ul ul,
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(13,27,62,0.12);
  min-width: 220px;
  padding: 8px;
  z-index: 200;
}
.main-navigation ul ul li a,
.nav-links .dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  border-radius: 6px;
  color: var(--gray-700);
  font-weight: 400;
}
.main-navigation ul ul li a:hover,
.nav-links .dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--navy);
}

/* ── BUTTONS ── */
.btn-primary, .wp-block-button__link {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  transition: background 0.18s !important;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover, .wp-block-button__link:hover {
  background: var(--red-light) !important;
  color: var(--white) !important;
}
.cta-solid {
  background: var(--red);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.18s, transform 0.12s;
  display: inline-flex; align-items: center; gap: 8px;
}
.cta-solid:hover { background: var(--red-light); transform: translateY(-1px); color: var(--white); }
.cta-outline {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  transition: border-color 0.18s, background 0.18s;
  display: inline-block;
}
.cta-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

/* ── HERO ── */
.hero {
  background: var(--navy);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.svg') bottom/cover no-repeat;
  opacity: 0.5;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,146,42,0.15);
  border: 1px solid rgba(200,146,42,0.35);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,0.68);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.globe-wrap {
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1.5px solid rgba(200,146,42,0.3);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.globe-wrap::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(200,146,42,0.15);
}
.globe-inner {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(30,51,112,0.8);
  border: 1.5px solid rgba(200,146,42,0.4);
  display: flex; align-items: center; justify-content: center;
}
.globe-inner svg { width: 140px; height: 140px; opacity: 0.9; }
.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold-light);
}
.orbit-dot::after {
  content: '';
  position: absolute;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(200,146,42,0.3);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

/* ── SECTION SHARED ── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-sub {
  color: var(--gray-500);
  font-size: 16px;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ── SERVICES ── */
.services { padding: 100px 0; background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.22s, transform 0.18s, border-color 0.18s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0;
  transition: opacity 0.2s;
}
.service-card:hover { box-shadow: 0 12px 40px rgba(13,27,62,0.1); transform: translateY(-3px); border-color: transparent; }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(192,40,30,0.07);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--red); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--gray-500); line-height: 1.65; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--red); }

/* ── WHY CHOOSE US ── */
.why { padding: 100px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-visual {
  background: var(--navy);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 40px solid rgba(200,146,42,0.12);
}
.why-visual-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  position: relative;
}
.why-visual-sub { color: rgba(255,255,255,0.55); font-size: 14px; margin-bottom: 32px; position: relative; }
.why-feat {
  display: flex; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.why-feat:last-child { border-bottom: none; }
.why-feat-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(200,146,42,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.why-feat-icon svg { width: 20px; height: 20px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-feat-text h4 { color: var(--white); font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.why-feat-text p { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.5; }
.why-point { display: flex; gap: 18px; margin-bottom: 28px; align-items: flex-start; }
.why-num {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(192,40,30,0.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--red);
}
.why-point h4 { font-size: 15.5px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.why-point p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ── ABOUT ── */
.about {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 60px solid rgba(200,146,42,0.06);
}
.about-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; position: relative; }
.about .section-eyebrow { color: var(--gold-light); }
.about .section-title { color: var(--white); }
.about .section-sub { color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.about-body { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
}
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 20px;
  transition: background 0.18s;
}
.about-card:hover { background: rgba(255,255,255,0.08); }
.about-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.about-card-label { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ── TRACKING ── */
.tracking { background: var(--navy); padding: 56px 0; }
.tracking-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.tracking h2 { font-size: 22px; font-weight: 700; color: var(--white); flex: 1; min-width: 200px; }
.tracking-form { display: flex; gap: 12px; flex: 2; min-width: 300px; }
.tracking-form input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 14.5px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.15s;
}
.tracking-form input::placeholder { color: rgba(255,255,255,0.35); }
.tracking-form input:focus { border-color: var(--gold-light); }
.tracking-form button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
}
.tracking-form button:hover { background: var(--gold-light); }

/* ── QUOTE / CONTACT ── */
.quote { padding: 100px 0; background: var(--off-white); }
.quote-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.quote-form-box {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(13,27,62,0.07);
  border: 1px solid var(--gray-100);
}
.form-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-sub { font-size: 14px; color: var(--gray-500); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,27,62,0.08);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit,
.wpcf7-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.18s;
  margin-top: 6px;
}
.form-submit:hover, .wpcf7-submit:hover { background: var(--red-light); }

/* ── CONTACT DETAILS ── */
.contact-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(13,27,62,0.06);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { font-size: 12px; color: var(--gray-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-val { font-size: 15px; font-weight: 600; color: var(--navy); }
.contact-val a:hover { color: var(--red); }

/* ── FOOTER ── */
footer, #colophon {
  background: #08112A;
  padding: 64px 0 0;
  color: rgba(255,255,255,0.55);
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; margin-top: 16px; }
footer h4, #colophon h4 {
  font-size: 13px; font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
footer ul, #colophon ul { list-style: none; margin: 0; padding: 0; }
footer ul li, #colophon ul li { margin-bottom: 10px; }
footer ul li a, #colophon ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
footer ul li a:hover, #colophon ul li a:hover { color: var(--white); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.wpa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ── WORDPRESS CONTENT AREA ── */
.site-content { padding: 80px 0; }
.content-area { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.entry-title { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--navy); margin-bottom: 24px; }
.entry-content p { margin-bottom: 1.4em; color: var(--gray-700); line-height: 1.8; }
.entry-content h2 { font-family: 'Playfair Display', serif; color: var(--navy); margin: 2em 0 0.8em; }

/* ── PAGE BANNER ── */
.page-banner {
  background: var(--navy);
  padding: 64px 24px;
  text-align: center;
}
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: var(--white);
  margin-bottom: 12px;
}
.page-banner p { color: rgba(255,255,255,0.6); font-size: 16px; }
.breadcrumb { color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner,
  .why-grid,
  .about-grid,
  .quote-wrap { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 768px) {
  .topbar .inner { gap: 16px; }
  .main-navigation { display: none; }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: none;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    cursor: pointer;
    color: var(--navy);
  }
}
@media (max-width: 600px) {
  .services-grid,
  .about-cards,
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
