:root {
  --primary-color: #1a1a1a;
  --secondary-color: #333333;
  --accent-color: #808080;
  --background-color: #f5f5f5;
  --text-color: #2d3436;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --button-gradient: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  --button-hover: linear-gradient(145deg, #404040, #333333);
}

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

body {
  font-family: 'Roboto', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.btn-retour {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-retour:hover {
    background-color: #0056b3;
}
header {
  background: var(--primary-color);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.logo-svg {
  width: 200px;
  height: 60px;
  margin: 0 auto;
  display: block;
}

.logo-text {
  fill: white;
  font-size: 2.5rem;
  font-weight: bold;
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

h1 {
  font-size: 1.5rem;
  margin-top: 1rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

main {
  flex: 1;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.contact-options {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.1),
    0 5px 15px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transform: translateZ(0);
  perspective: 1000px;
}

.buttons-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  transform-style: preserve-3d;
}

.contact-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: none;
  border-radius: 15px;
  background: var(--button-gradient);
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 10px 20px rgba(0,0,0,0.1),
    0 6px 6px rgba(0,0,0,0.1),
    inset 0 2px 2px rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  transform: translateZ(20px);
  position: relative;
  overflow: hidden;
}

.contact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, 
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0.05) 50%,
    rgba(0,0,0,0.05) 51%,
    rgba(0,0,0,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-5px) translateZ(30px) scale(1.02);
  background: var(--button-hover);
  box-shadow: 
    0 15px 30px rgba(0,0,0,0.15),
    0 10px 10px rgba(0,0,0,0.1),
    inset 0 2px 2px rgba(255,255,255,0.2);
}

.contact-button:hover::before {
  opacity: 1;
}

.contact-button i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.contact-button:hover i {
  transform: scale(1.1) translateZ(10px);
}

.contact-button span {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Phone button specific styles */
.contact-button.phone {
  background: linear-gradient(145deg, #2c5282, #1a365d);
}
.contact-button.phone:hover {
  background: linear-gradient(145deg, #3182ce, #2c5282);
}

/* Email button specific styles */
.contact-button.email {
  background: linear-gradient(145deg, #4a5568, #2d3748);
}
.contact-button.email:hover {
  background: linear-gradient(145deg, #718096, #4a5568);
}

/* WhatsApp button specific styles */
.contact-button.whatsapp {
  background: linear-gradient(145deg, #25D366, #128C7E);
}
.contact-button.whatsapp:hover {
  background: linear-gradient(145deg, #34d374, #25D366);
}

/* SMS button specific styles */
.contact-button.sms {
  background: linear-gradient(145deg, #25D366, #128C7E);
}
.contact-button.sms:hover {
  background: linear-gradient(145deg, #34d374, #25D366);
}

.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  border-radius: 10px;
  background: var(--primary-color);
  color: white;
  font-size: 0.9rem;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: none;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: auto;
}

@media (max-width: 768px) {
  .buttons-container {
    grid-template-columns: 1fr;
  }

  .contact-button {
    padding: 1.5rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #000000;
    --text-color: #ffffff;
  }
  
  .contact-options {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 
      0 15px 35px rgba(0,0,0,0.3),
      0 5px 15px rgba(0,0,0,0.2);
  }
  
  .contact-button {
    box-shadow: 
      0 10px 20px rgba(0,0,0,0.2),
      0 6px 6px rgba(0,0,0,0.2),
      inset 0 2px 2px rgba(255,255,255,0.05);
  }
}