/*
Theme Name: Le Kit Urgence
Theme URI: https://le-kit-urgence.fr
Description: Thème WordPress professionnel pour le-kit-urgence.fr
Version: 1.0.0
Author: Le Kit Urgence
Text Domain: kit-urgence
*/

:root {
  --primary-color: #cd2321;
  --primary-dark: #a01c1a;
  --primary-light: #e63946;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --gray-light: #f5f5f5;
  --white: #ffffff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.site-logo a {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-navigation a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-navigation a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background: var(--white);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Content Sections */
.content-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-info h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.product-info h3 a:hover {
  color: var(--primary-color);
}

.product-price {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 15px 0;
}

/* Features Section */
.features-section {
  background: var(--gray-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-box {
  text-align: center;
  padding: 30px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 40px;
  color: var(--white);
}

/* Single Post/Page */
.featured-image {
  margin: 30px 0;
  text-align: center;
}

.featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.entry-meta {
  color: var(--text-light);
  margin: 20px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.entry-content {
  line-height: 1.8;
  margin-top: 30px;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid var(--primary-color);
}

.entry-content a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
  list-style: none;
}

.pagination a,
.pagination span {
  padding: 10px 15px;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s;
}

.pagination a:hover,
.pagination .current {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.7;
}

/* Widgets */
.widget {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 32px;
  }
  
  .hero-section p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}