/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Arial', sans-serif;
  color: #1e3b27;

  /* === BACKGROUND IMAGE (cannabis) === */
  background: url("images/cannabis-bg.png") no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

/* Optionnel : léger voile sombre/vert pour lisibilité */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* ajuste l'opacité */
  z-index: -1;
}

.landing-wrapper {
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.card {
  /* === TRANSPARENT BLOCK / GLASS EFFECT === */
  background: rgba(255, 255, 255, 0.18); /* transparence */
  border: 2px solid rgba(30, 59, 39, 0.8);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  max-width: 540px;
  width: 100%;
  padding: 40px 30px;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;

  /* effet verre */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.logo img {
  max-width: 400px;
  width: 50%;
  animation: float 4s ease-in-out infinite;
  margin: 0 auto;
  display: block;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.text-content h1 {
  font-size: 2rem;
  margin-top: 25px;
  animation: fadeUp 1.2s ease-in-out;
  color: #e9f5ec; /* meilleure lisibilité sur fond */
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.text-content p {
  margin-top: 18px;
  line-height: 1.6;
  font-size: 1rem;
  animation: fadeUp 1.5s ease-in-out;
  color: #f4fff7;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.text-content p.sub {
  font-weight: bold;
  margin-top: 25px;
}

.text-content .contact a {
  color: #d9ffe7;
  text-decoration: none;
  font-weight: bold;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
  .card {
    padding: 30px 20px;
  }
  .logo img {
    width: 70%;
    max-width: 180px;
  }
  .text-content h1 {
    font-size: 1.7rem;
  }
  .text-content p {
    font-size: 0.95rem;
  }
}
