/* Phenilyx - Styles Personnalisés */

:root {
  --primary: #1a3a52;
  --primary-light: #2a5a7a;
  --accent: #0066cc;
  --accent-light: #3399ff;
  --background: #ffffff;
  --text: #1a1a1a;
  --text-light: #666666;
  --border: #e0e0e0;
  --secondary: #f5f5f5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

/* Header Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  z-index: 1000;
  padding: 1.5rem 2rem;
  box-shadow: none;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(26, 58, 82, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.language-selector {
  display: flex;
  gap: 0.25rem;
}

.lang-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: var(--accent);
}

.lang-btn:hover {
  background: rgba(0, 102, 204, 0.3);
}

/* Hero Section */
.hero {
  margin-top: 0;
  height: 100vh;
  background: linear-gradient(135deg, rgba(26, 58, 82, 0.7) 0%, rgba(0, 102, 204, 0.5) 100%), 
              url('../images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 58, 82, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeInUp 1s ease;
  margin-top: -350px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  font-weight: 300;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(10px);
  }
  60% {
    transform: translateX(-50%) translateY(5px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Section */
.services {
  padding: 80px 2rem;
  background: var(--background);
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.services-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.services-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

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

.service-card {
  background: var(--secondary);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.service-icon svg {
  width: 50px;
  height: 50px;
  stroke: #0066cc;
  stroke-width: 1.5;
  fill: none;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a3a52 0%, #0f2a3d 100%);
  color: white;
  padding: 60px 2rem 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 80px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-text {
  margin-bottom: 15px;
  opacity: 0.95;
  font-size: 1rem;
  font-weight: 500;
}

.footer-contact {
  margin-top: 25px;
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.8;
}

footer p:last-child {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero {
    margin-top: 120px;
    height: 80vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .services {
    padding: 40px 1rem;
  }

  .services-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .services-title {
    font-size: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }
}
