/*
Theme Name: STLI Logistics
Theme URI: https://stli-logistics.com
Author: STLI Logistics
Author URI: https://stli-logistics.com
Description: Thème WordPress professionnel pour STLI Logistics - Design inspiré CMA CGM
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stli-logistics
Tags: business, logistics, transport, corporate, professional
*/

/* ====================================
   CSS Variables - CMA CGM Style
   ==================================== */
:root {
  /* Couleurs - Style CMA CGM */
  --primary-blue: #003087;
  --primary-navy: #001E50;
  --accent-red: #5ac077;
  --light-blue: #4A90E2;
  
  /* Couleurs neutres */
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --dark-gray: #333333;
  --text-gray: #666666;
  
  /* Typographie - Style CMA CGM */
  --font-heading: 'Raleway', 'Helvetica Neue', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;
  
  /* Espacements */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Transitions */
  --transition: 0.3s ease;
  
  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* ====================================
   Reset & Base
   ==================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-navy);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }

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

a:hover {
  color: var(--accent-red);
}

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

/* ====================================
   Container
   ==================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ====================================
   Buttons - Style CMA CGM
   ==================================== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.btn-primary {
  background: var(--accent-red);
  color: var(--white);
  border-radius: 3px;
}

.btn-primary:hover {
  background: #5ac077;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
  border-radius: 3px;
}

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

/* ====================================
   Header - Style CMA CGM
   ==================================== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--light-gray);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--medium-gray);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.header-info {
  display: flex;
  gap: 2rem;
  color: var(--text-gray);
}

.header-info a {
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-info a:hover {
  color: var(--primary-blue);
}

.header-main {
  padding: 1rem 0;
}

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

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}

.site-logo span {
  color: var(--accent-red);
  font-weight: 800;
}

.main-navigation ul {
  display: inline-flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.main-navigation a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-gray);
  padding: 0.5rem 0;
  position: relative;
}

.main-navigation a:hover, .main-navigation .current-menu-item a{
  color: var(--primary-blue);
}

.main-navigation a::after, .main-navigation .current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: var(--transition);
}

.main-navigation a:hover::after, .main-navigation .current-menu-item a::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary-navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* ====================================
   Hero Section - CMA CGM Style
   ==================================== */
.hero-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(0, 30, 80, 0.85) 0%, 
    rgba(0, 48, 135, 0.75) 40%,
    transparent 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-content .container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  color: var(--white);
}

.hero-text h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.hero-text h1 strong {
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* ====================================
   Tracking Form - CMA CGM Style
   ==================================== */
.tracking-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.form-tabs {
  display: flex;
  border-bottom: 1px solid var(--medium-gray);
  margin-bottom: 1.5rem;
}

.form-tab {
  flex: 1;
  padding: 1rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
}

.form-tab.active {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}

.form-tab:hover {
  color: var(--primary-blue);
}

.form-content {
  display: none;
}

.form-content.active {
  display: block;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--medium-gray);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}

.tracking-form .btn-primary {
  width: 100%;
  padding: 1rem;
}

/* ====================================
   Section Titles
   ==================================== */
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 900px;
}

/* ====================================
   Services Section - CMA CGM Grid Style
   ==================================== */
.services-section {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.services-header {
  margin-bottom: var(--spacing-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.service-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-red);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.service-link i {
  transition: var(--transition);
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* ====================================
   News Section - CMA CGM Layout
   ==================================== */
.news-section {
  padding: var(--spacing-xl) 0;
  background: var(--light-gray);
}

.news-container {
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 3rem;
  align-items: start;
}

.news-featured {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.news-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2;
}

.news-featured-image {
  height: 500px;
}

.news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-content {
  padding: 2rem;
  background: var(--white);
}

.news-featured-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.news-featured-content a {
  color: var(--primary-navy);
}

.news-featured-content a:hover {
  color: var(--accent-red);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 4px;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.news-item:hover {
  border-left-color: var(--accent-red);
  box-shadow: var(--shadow-sm);
}

.news-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-item a {
  color: var(--primary-navy);
}

.news-item a:hover {
  color: var(--accent-red);
}

.news-item p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-red);
  font-weight: 600;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* ====================================
   CTA Section - CMA CGM Style
   ==================================== */
.cta-section {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.cta-card {
  position: relative;
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 30, 80, 0.7), rgba(0, 48, 135, 0.85));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  text-align: center;
  color: var(--white);
}

.cta-badge {
  background: var(--accent-red);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cta-card h3 {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.3;
}

/* ====================================
   Footer - CMA CGM Style
   ==================================== */
.site-footer {
      background: #d0e3ff;
   
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-md);
}

.footer-brand h3 {
      color: #0948af;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--accent-red);
}

.footer-brand p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
      color: #0948af;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent-red);
  transform: translateY(-3px);
}

.footer-column h4 {
     color: #0948af;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
      color: #0948af !important;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-column a:hover {
      color: #fff;
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  font-size: 0.875rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
      color: #0948af;
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ====================================
   Utility Classes
   ==================================== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1200px) {
  .hero-content .container {
    grid-template-columns: 1fr 380px;
    gap: 3rem;
  }
  
  .news-container {
    grid-template-columns: 500px 1fr;
  }
}

@media (max-width: 992px) {
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    padding: 5rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
  }
  
  .main-navigation.active {
    right: 0;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-section {
    height: auto;
    padding: 4rem 0;
  }
  
  .hero-content .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .news-container {
    grid-template-columns: 1fr;
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-column {
    gap: 1.5rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .header-info {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8rem;
  }
  
  .form-tabs {
    flex-direction: column;
  }
  
  .form-tab {
    border-bottom: 1px solid var(--medium-gray);
  }
  
  .form-tab.active {
    border-left: 3px solid var(--accent-red);
  }
}

.pTitle {
    position: absolute;
    top: 45%;
    transform: translate(0%, -45%);
    color: #FFFFFF
}