/* 
 * Xiangbei Supply Chain - Core Styles
 * Theme: Modern Logistics meets Fashion/Beauty Import
 * Colors: Navy Blue (Trust), Vibrant Cyan (Modern), White (Clean)
 */

:root {
  /* Color System */
  --primary-color: #0F172A;
  /* Deep Navy - Professionalism, Logistics base */
  --secondary-color: #06B6D4;
  /* Cyan/Teal - Modernity, Efficiency */
  --accent-color: #E11D48;
  /* Rose Red - Subtle highlight for Beauty/Fashion */
  --bg-color: #FFFFFF;
  --bg-secondary: #F8FAFC;
  /* Very light slate for section contrast */
  --text-main: #334155;
  --text-light: #64748B;
  --white: #FFFFFF;
  --border-color: #E2E8F0;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #0891b2;
  /* Darker Cyan */
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.text-accent {
  color: var(--secondary-color);
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  height: 80px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  /* Background image with overlay */
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%), url('hero_logistics.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

/* Decorative background circle */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0) 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.stat-item p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0;
}

/* Core Services */
.services {
  padding: 6rem 0;
  background-color: var(--bg-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(6, 182, 212, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Feature/Split Section */
.feature-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.feature-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.feature-image {
  flex: 1;
  position: relative;
}

/* Abstract card look for image placeholder */
.img-placeholder {
  width: 100%;
  height: 400px;
  background-color: #cbd5e1;
  border-radius: var(--radius-lg);
  background-image: linear-gradient(45deg, #e2e8f0 25%, transparent 25%, transparent 75%, #e2e8f0 75%, #e2e8f0),
    linear-gradient(45deg, #e2e8f0 25%, transparent 25%, transparent 75%, #e2e8f0 75%, #e2e8f0);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 500;
}

.feature-content {
  flex: 1;
}

.feature-content h2 {
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.feature-list {
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.check-icon {
  color: var(--secondary-color);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Stats/Hub Section */
.hub-banner {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

/* Footer */
footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-item h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.footer-item ul li {
  margin-bottom: 0.75rem;
}

.footer-item ul li a:hover {
  color: var(--secondary-color);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .feature-layout {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .navbar .nav-links {
    display: none;
    /* Simple hiding for first iteration, usually would be a toggle */
  }
}