@charset "UTF-8";

/* ============================================= */
/*                PAGE HEADER                    */
/* ============================================= */

.page-header {
  background: url('../images/development/Los-Santos.png') center/cover no-repeat;
  color: white;
  padding: 80px 0 60px;
  position: relative;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.page-header h1,
.page-header p {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 20px;
  opacity: 0.9;
}

/* ============================================= */
/*                  SERVICES                     */
/* ============================================= */

.services {
  padding: 80px 0;
}

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

.service-card {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.service-card.popular {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card.popular .popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #7289da 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================= */
/*               SERVICE LOGO                    */
/* ============================================= */

.service-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* Couleurs spécifiques par carte (dans l'ordre actuel du HTML) */

/* 1. Sites Web → Bleu */
.service-card:nth-child(1) .service-logo {
  background: #e3f2fd;
  border-color: #bbdefb;
}

.service-card:nth-child(1) .service-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.12) 0%, rgba(33, 150, 243, 0.04) 100%);
  z-index: 1;
}

.service-card:nth-child(1):hover .service-logo {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.22);
}

/* 2. FiveM RP → Orange */
.service-card:nth-child(2) .service-logo {
  background: #fff3e0;
  border-color: #ffe0b2;
}

.service-card:nth-child(2) .service-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.14) 0%, rgba(255, 152, 0, 0.05) 100%);
  z-index: 1;
}

.service-card:nth-child(2):hover .service-logo {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.25);
}

/* 3. Bot Discord → Violet Discord */
.service-card:nth-child(3) .service-logo {
  background: #f3e5f5;
  border-color: #e1bee7;
}

.service-card:nth-child(3) .service-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.14) 0%, rgba(88, 101, 242, 0.05) 100%);
  z-index: 1;
}

.service-card:nth-child(3):hover .service-logo {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.28);
}

/* Texte des cartes */

.service-name {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-text);
}

.service-description {
  color: var(--color-text-light);
}

.service-description p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-description ul {
  list-style: none;
  padding: 0;
}

.service-description ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

.service-description ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

/* ============================================= */
/*                RESPONSIVE                     */
/* ============================================= */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 32px 24px;
  }
  
  .page-header h1 {
    font-size: 36px;
  }
  
  .page-header p {
    font-size: 18px;
  }
  
  .service-logo {
    width: 70px;
    height: 70px;
  }
  
  .service-logo img {
    width: 40px;
    height: 40px;
  }
}