﻿/* OSAGO EXPRESS STYLES - DYNAMIC & FAST THEME */

:root {
  --primary-color: #111827;      /* Very Dark Slate */
  --accent-color: #F97316;       /* Vibrant Express Orange */
  --accent-hover: #EA580C;       /* Darker orange for hover */
  --bg-main: #F4F5F7;            /* Light gray-blue bg */
  --surface-color: #FFFFFF;      /* Pure white cards */
  --text-main: #374151;          /* Dark gray text */
  --text-light: #9CA3AF;         /* Light gray text */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  --radius: 8px;                 /* Slightly sharper corners for 'speed' */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo {
  font-family: var(--heading-font);
  color: var(--primary-color);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.express-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.express-header {
  background-color: var(--primary-color);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid var(--accent-color);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: #fff;
  text-transform: uppercase;
}

.logo-icon {
  color: var(--accent-color);
  font-size: 1.8rem;
}

.logo-accent {
  color: var(--accent-color);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #D1D5DB;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav a:hover {
  color: var(--accent-color);
}

.btn-express {
  background: var(--accent-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-express:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--accent-color);
  z-index: -1;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 30px;
}

.btn-glow:hover::after {
  opacity: 0.6;
}

/* Hero Section */
.express-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1F2937 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.express-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 60%);
  z-index: 1;
}

.express-hero .express-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.express-hero h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.express-hero p {
  font-size: 1.25rem;
  color: #E5E7EB;
  margin-bottom: 32px;
}

/* SEO Content */
.express-content-section {
  padding: 60px 0;
}

.express-seo-content {
  background: var(--surface-color);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-color);
}

.express-seo-content h2 {
  font-size: 2rem;
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid var(--accent-color);
  padding-left: 15px;
}

.express-seo-content h2:first-child {
  margin-top: 0;
}

.express-seo-content h3 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #4B5563;
}

.express-seo-content p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #4B5563;
}

.express-seo-content ul, .express-seo-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.express-seo-content li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #4B5563;
}

.express-seo-content strong {
  color: var(--primary-color);
}

/* Grids for content */
.express-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.express-card {
  background: var(--bg-main);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid #E5E7EB;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.express-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.express-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.express-card-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  display: block;
}

/* Footer */
.express-footer {
  background: var(--primary-color);
  color: #9CA3AF;
  padding: 60px 0 20px;
  border-top: 4px solid #374151;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  color: white;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid #374151;
  padding-top: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 15px 0;
  }
  
  .main-nav {
    order: 3;
    width: 100%;
    margin-top: 15px;
  }
  
  .main-nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .express-hero h1 {
    font-size: 2rem;
  }
  
  .express-seo-content {
    padding: 20px;
  }
}

/* Adaptive Mobile Layout (added by script) */
@media (max-width: 768px) {
    body { overflow-x: hidden !important; }
    .container { width: 100% !important; padding: 0 15px !important; margin: 0 auto !important; box-sizing: border-box !important; }
    
    /* Header */
    .header { position: relative !important; height: auto !important; padding: 10px 0 !important; }
    .header-inner { flex-direction: column !important; text-align: center !important; gap: 15px !important; padding: 10px 0 !important; }
    .nav-links { display: flex !important; flex-wrap: wrap !important; width: 100% !important; justify-content: center !important; flex-direction: row !important; gap: 8px !important; padding: 10px 0 !important; }
    .nav-links a { font-size: 15px !important; margin: 0 !important; padding: 8px 12px !important; display: inline-block !important; border: 1px solid rgba(0,0,0,0.1) !important; border-radius: 4px; }
    .header-btn { display: inline-block !important; width: 100% !important; margin: 10px 0 0 0 !important; box-sizing: border-box !important; }
    .mobile-menu-btn { display: none !important; }
    
    /* Hero */
    .hero, .calculator-info { padding: 40px 15px !important; text-align: center !important; min-height: auto !important; }
    h1, .hero h1, .calculator-info h1 { font-size: 24px !important; line-height: 1.3 !important; word-wrap: break-word !important; overflow-wrap: break-word !important; hyphens: auto !important; }
    h2, .hero h2, .calculator-info h2 { font-size: 20px !important; word-wrap: break-word !important; margin-top: 20px !important; }
    h3 { font-size: 18px !important; }
    
    /* Main */
    main { padding: 20px 0 !important; width: 100vw !important; max-width: 100% !important; box-sizing: border-box !important; }
    main img, .content-card img { max-width: 100% !important; height: auto !important; margin: 15px auto !important; display: block !important; border-radius: 4px !important; }
    main table, main thead, main tbody, main th, main td, main tr, .table-container { display: block !important; width: 100% !important; box-sizing: border-box !important; overflow-x: auto !important; }
    
    /* Footer */
    .footer-grid, .footer-top, .footer-bottom { display: flex !important; flex-direction: column !important; gap: 20px !important; text-align: center !important; }
    .footer-grid ul, .footer-links-group ul, .footer-contact ul { padding: 0 !important; list-style: none !important; }
    .footer-links { flex-direction: column !important; gap: 10px !important; }
    
    /* Lists */
    .features-grid, .services-grid, .articles-grid, .advantages-grid { display: flex !important; flex-direction: column !important; gap: 20px !important; }
}
