/*
Theme Name: Logiverse
Theme URI: https://logiverseshipping.com
Author: Logiverse Shipping
Description: Custom WordPress theme for Logiverse Shipping, a freight & logistics company. Built around the Logiverse mark — a gold flight-to-road route icon — with a dark ink header/footer, warm off-white sections and gold accents throughout.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: logiverse
*/

:root{
  --ink: #14161c;
  --ink-soft: #1c1f28;
  --ink-border: rgba(240,241,235,0.10);
  --gold: #ffbc00;
  --gold-deep: #e0a300;
  --cream: #f0f1eb;
  --paper: #ffffff;
  --offwhite: #f6f6f2;
  --text: #1b1e25;
  --text-light: #676f7c;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(20,22,28,0.10);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family:'Inter','Segoe UI',Arial,sans-serif;
  color: var(--text);
  line-height:1.65;
  background: var(--paper);
}
h1,h2,h3,h4{
  font-family:'Sora','Inter',sans-serif;
  margin:0 0 .5em; line-height:1.15; font-weight:700; letter-spacing:-.01em;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
.container{ max-width:1200px; margin:0 auto; padding:0 24px; }
.section{ padding:96px 0; }
.section-tag{
  color: var(--gold-deep); font-weight:700; letter-spacing:1.8px;
  text-transform:uppercase; font-size:12.5px; margin-bottom:12px; display:inline-flex;
  align-items:center; gap:8px;
}
.section-tag::before{ content:""; width:22px; height:2px; background:var(--gold); display:inline-block; }
.section h2{ font-size:36px; max-width:640px; }
.section-lead{ color:var(--text-light); max-width:600px; font-size:16.5px; margin-bottom:0; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 30px; border-radius:8px;
  font-weight:700; font-size:15px; transition:.25s; cursor:pointer; border:2px solid transparent;
  font-family:'Sora','Inter',sans-serif;
}
.btn-primary{ background:var(--gold); color:var(--ink); }
.btn-primary:hover{ background:var(--gold-deep); transform:translateY(-1px); }
.btn-outline{ background:transparent; border-color:var(--ink-border); color:var(--cream); }
.btn-outline:hover{ background:rgba(240,241,235,0.08); border-color:var(--cream); }
.btn-outline-dark{ background:transparent; border-color:#d8dce2; color:var(--ink); }
.btn-outline-dark:hover{ background:var(--offwhite); }

/* ===========================
   HEADER
=========================== */
.site-header{
  position:sticky; top:0; z-index:999; background:var(--ink);
  border-bottom:1px solid var(--ink-border);
  transition:box-shadow .25s;
}
.site-header.is-scrolled{ box-shadow:0 12px 30px rgba(0,0,0,0.28); }
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px; max-width:1200px; margin:0 auto; gap:24px;
}
.site-logo img{ height:34px; display:block; }
.site-logo a{ font-size:20px; font-weight:800; color:var(--cream); font-family:'Sora',sans-serif; }
.main-nav ul{ list-style:none; display:flex; gap:30px; margin:0; padding:0; align-items:center; }
.main-nav a{ font-weight:600; font-size:14.5px; color:var(--cream); }
.main-nav a:hover, .main-nav a.is-active{ color:var(--gold); }
.main-nav li{ position:relative; }
.main-nav .sub-menu{
  list-style:none; position:absolute; top:100%; left:0; background:var(--ink-soft);
  box-shadow:var(--shadow); border-radius:10px; padding:10px; min-width:230px;
  display:none; flex-direction:column; gap:2px; margin:0; border:1px solid var(--ink-border);
}
.main-nav li:hover > .sub-menu{ display:flex; }
.main-nav .sub-menu a{ padding:10px 12px; border-radius:6px; display:block; }
.main-nav .sub-menu a:hover{ background:rgba(255,188,0,0.08); }
.header-cta{ display:flex; gap:12px; align-items:center; flex-shrink:0; }
.header-cta .btn{ padding:11px 20px; font-size:14px; white-space:nowrap; }
.menu-toggle{ display:none; background:none; border:none; font-size:24px; cursor:pointer; color:var(--cream); }

.mobile-cta{
  display:flex; flex-direction:column; gap:10px;
  margin-top:16px; padding-top:16px; border-top:1px solid #e5e7eb; width:100%;
}
.mobile-cta .btn{ width:100%; padding:13px 20px; font-size:14px; }
.mobile-cta .btn.btn-primary{ color:var(--ink); }
.mobile-cta .btn.btn-outline-dark{ color:var(--ink); }
@media(min-width:1001px){ .mobile-cta{ display:none; } }

/* ===========================
   HERO
=========================== */
.hero{
  background:var(--ink); background-size:cover; background-position:center;
  color:var(--cream); padding:110px 0 90px; position:relative; overflow:hidden;
}
.hero-inner{ max-width:720px; position:relative; z-index:2; }
.hero h1{ font-size:54px; color:var(--paper); }
.hero h1 em{ font-style:normal; color:var(--gold); }
.hero-sub{ font-size:17.5px; color:#c7cbd3; max-width:560px; margin-bottom:34px; }
.hero-actions{ display:flex; gap:16px; margin-bottom:48px; flex-wrap:wrap; align-items:center; }
.hero-stats{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:28px 24px;
  border-top:1px solid var(--ink-border); padding-top:28px;
}
.hero-stat{ display:flex; flex-direction:column; min-width:0; }
.hero-stat strong{ font-family:'Sora',sans-serif; font-size:32px; font-weight:800; color:var(--gold); line-height:1.15; }
.hero-stat span{ font-size:12px; color:#9aa1ad; text-transform:uppercase; letter-spacing:.5px; margin-top:4px; line-height:1.3; }

/* ===========================
   SERVICES
=========================== */
.services-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; margin-top:50px; align-items:stretch; }
.service-card{
  background:var(--paper); border:1px solid #ececea; border-radius:var(--radius);
  padding:34px 26px; transition:transform .25s, box-shadow .25s, border-color .25s;
  display:flex; flex-direction:column; height:100%;
}
.service-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); border-color:transparent; }
.service-icon-wrap{
  width:56px; height:56px; border-radius:12px; background:var(--offwhite);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.service-icon{ width:30px; height:30px; }
.service-card h3{ font-size:19px; margin-bottom:10px; }
.service-card p{ color:var(--text-light); font-size:14.5px; margin-bottom:16px; flex-grow:1; }
.card-link{ color:var(--gold-deep); font-weight:700; font-size:14px; margin-top:auto; }
.card-link:hover{ color:var(--ink); }

/* ===========================
   WHY CHOOSE US
=========================== */
.why-section{ background:var(--offwhite); }
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin-top:50px; align-items:start; }
.why-card{ text-align:left; }
.why-icon-wrap{
  width:48px; height:48px; border-radius:50%; background:var(--ink);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.why-icon{ width:24px; height:24px; }
.why-card h3{ font-size:18px; margin-bottom:8px; }
.why-card p{ color:var(--text-light); font-size:14.5px; }

/* ===========================
   INDUSTRIES
=========================== */
.industries-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:18px; margin-top:50px; align-items:stretch; }
.industry-card{
  background:var(--paper); border:1px solid #ececea; border-radius:var(--radius);
  padding:28px 12px; text-align:center; transition:.25s;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.industry-card:hover{ border-color:var(--gold); background:var(--offwhite); }
.industry-card img{ width:34px; height:34px; margin:0 auto 14px; }
.industry-card span{ font-weight:600; font-size:13.5px; }

/* ===========================
   ABOUT
=========================== */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.about-img{ position:relative; }
.about-img img{ border-radius:var(--radius); box-shadow:var(--shadow); }
.about-img::before{
  content:""; position:absolute; top:-16px; left:-16px; width:90px; height:90px;
  border:3px solid var(--gold); border-radius:var(--radius); z-index:-1;
}
.about-copy p{ color:var(--text-light); }
.about-checklist{ list-style:none; margin:22px 0 30px; padding:0; }
.about-checklist li{ padding-left:30px; position:relative; margin-bottom:12px; font-weight:600; }
.about-checklist li::before{
  content:"\2713"; position:absolute; left:0; top:0; width:18px; height:18px;
  color:var(--ink); font-weight:800; font-size:11px; text-align:center; line-height:18px;
  background:var(--gold); border-radius:50%;
}

/* ===========================
   TESTIMONIALS (dark section)
=========================== */
.testimonials-section{ background:var(--ink); color:var(--cream); }
.testimonials-section .section-tag{ color:var(--gold); }
.testimonials-section h2{ color:var(--paper); }
.testimonials-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:50px; }
.testimonial-card{ background:var(--ink-soft); border:1px solid var(--ink-border); border-radius:var(--radius); padding:32px; }
.testimonial-card > p{ font-size:15px; color:#d7dae0; margin-bottom:26px; }
.testimonial-person{ display:flex; align-items:center; gap:12px; }
.testimonial-person img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.testimonial-person strong{ display:block; font-size:14.5px; color:var(--paper); }
.testimonial-person span{ display:block; font-size:12.5px; color:#9aa1ad; }

/* ===========================
   CTA BANNER (gold section)
=========================== */
.cta-banner{ background:var(--gold); color:var(--ink); padding:70px 0; text-align:center; }
.cta-inner h2{ color:var(--ink); font-size:32px; }
.cta-inner p{ color:#4a3c0a; max-width:560px; margin:0 auto 28px; font-weight:500; }

/* ===========================
   CONTACT
=========================== */
.contact-grid{ display:grid; grid-template-columns:1fr 1.3fr; gap:64px; }
.contact-details{ list-style:none; margin:26px 0 0; padding:0; }
.contact-details li{ margin-bottom:20px; font-size:14.5px; color:var(--text-light); }
.contact-details strong{ color:var(--text); display:block; margin-bottom:2px; }
.contact-form{ background:var(--offwhite); border:1px solid #ececea; border-radius:var(--radius); padding:32px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ margin-bottom:18px; }
.form-group label{ display:block; font-weight:600; font-size:13.5px; margin-bottom:6px; }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:12px 14px; border:1px solid #dcdedb; border-radius:8px;
  font-family:inherit; font-size:14.5px; color:var(--text); background:var(--paper);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none; border-color:var(--gold);
}
.contact-submit{ width:100%; text-align:center; }
.form-status{ margin:14px 0 0; font-size:14px; font-weight:600; min-height:20px; }
.form-status.success{ color:#1a7d3c; }
.form-status.error{ color:#c0392b; }

/* ===========================
   FOOTER
=========================== */
.site-footer{ background:var(--ink); color:#aab0bb; padding:76px 0 0; border-top:1px solid var(--ink-border); }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; align-items:start; }
.footer-logo img{ height:30px; margin-bottom:18px; }
.footer-about p{ color:#8b929e; font-size:14px; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; background:rgba(240,241,235,0.06);
  display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--cream);
}
.footer-social a:hover{ background:var(--gold); color:var(--ink); }
.footer-links h4{ color:var(--paper); font-size:14.5px; margin-bottom:18px; font-family:'Sora',sans-serif; }
.footer-links ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.footer-links a, .footer-links li{ color:#8b929e; font-size:14px; }
.footer-links a:hover{ color:var(--gold); }
.footer-bottom{ border-top:1px solid var(--ink-border); text-align:center; padding:24px 0; font-size:13px; color:#666d78; }

/* ===========================
   SCROLL REVEAL
   Scoped to .js so content stays visible by default if a script is
   blocked or fails to load — animation is a progressive enhancement,
   never a requirement for seeing the page content.
=========================== */
.js .reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .js .reveal{ opacity:1; transform:none; transition:none; }
}

/* ===========================
   TESTIMONIAL CAROUSEL (mobile)
=========================== */
.testimonial-dots{ display:none; justify-content:center; gap:8px; margin-top:26px; }
.testimonial-dots button{
  width:9px; height:9px; border-radius:50%; border:none; padding:0;
  background:#3a3f4b; cursor:pointer;
}
.testimonial-dots button.is-active{ background:var(--gold); }
@media(max-width:760px){
  .testimonials-grid{ display:flex; overflow-x:hidden; gap:0; scroll-behavior:smooth; }
  .testimonials-grid .testimonial-card{ min-width:100%; flex-shrink:0; }
  .testimonial-dots{ display:flex; }
}

/* ===========================
   BACK TO TOP
=========================== */
.back-to-top{
  position:fixed; right:24px; bottom:24px; width:48px; height:48px; border-radius:50%;
  background:var(--gold); color:var(--ink); border:none; font-size:18px; cursor:pointer;
  box-shadow:0 10px 24px rgba(20,22,28,0.25); opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .25s, transform .25s, background .25s; z-index:900;
}
.back-to-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ background:var(--gold-deep); }

/* ===========================
   RESPONSIVE
=========================== */
@media(max-width:1000px){
  .services-grid, .why-grid{ grid-template-columns:repeat(2,1fr); }
  .industries-grid{ grid-template-columns:repeat(3,1fr); }
  .testimonials-grid{ grid-template-columns:1fr; }
  .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .hero h1{ font-size:40px; }
  .hero-stats{ gap:22px 18px; }
  .hero-actions{ margin-bottom:36px; }
  .main-nav, .header-cta{ display:none; }
  .menu-toggle{ display:block; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media(max-width:600px){
  .services-grid, .why-grid, .industries-grid{ grid-template-columns:1fr 1fr; }
  .form-row{ grid-template-columns:1fr; }
  .hero{ padding:90px 0 50px; background-position:65% center; }
  .hero h1{ font-size:32px; }
  .hero-sub{ font-size:15.5px; margin-bottom:24px; }
  .hero-actions{ margin-bottom:28px; gap:12px; }
  .hero-actions .btn{ flex:1 1 auto; padding:14px 22px; font-size:14px; }
  .hero-stats{ grid-template-columns:repeat(2, 1fr); gap:20px 16px; padding-top:22px; }
  .hero-stat strong{ font-size:26px; }
  .hero-stat span{ font-size:11px; }
  .footer-grid{ grid-template-columns:1fr; }
  .section{ padding:64px 0; }
}

@media(max-width:380px){
  .hero h1{ font-size:28px; }
  .hero-stats{ gap:16px 12px; }
}

/* Elementor / block-editor content area should never be constrained by theme container */
.elementor-page .site-content{ max-width:none; padding:0; margin:0; }
