/* =====================================================
   TERRANOVA — ONG INTERNATIONALE VERSION 2026
   Design premium | Glassmorphism | Immersif | Moderne
===================================================== */

/* ================= VARIABLES ================= */
:root {
  --color-primary: #0bbf59;
  --color-dark: #0f172a;
  --color-light: #f8fafc;
  --color-white: #ffffff;
  --color-text: #64748b;
  --color-border: #e2e8f0;

  --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
  --shadow-strong: 0 20px 60px rgba(0,0,0,0.15);

  --radius-lg: 20px;
  --radius-md: 12px;

  --transition: all 0.4s ease;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-light);
  color: var(--color-dark);
  line-height: 1.6;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= NAVBAR ================= */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.8);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-primary);
}

.logo img {
  height: 45px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--color-primary);
}

.btn-nav {
  background: var(--color-primary);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  color: white !important;
}

/* ================= HERO SWIPER ================= */
.hero {
  height: 100vh;
}

.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.8), rgba(15,23,42,0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #e2e8f0;
}

/* HERO BUTTONS */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--color-primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(11,191,89,0.4);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-4px);
}

.btn-outline {
  border: 2px solid white;
  padding: 1rem 2rem;
  border-radius: 50px;
  color: white;
  transition: var(--transition);
}

.btn-outline:hover {
  background: white;
  color: var(--color-dark);
}

/* ================= MANIFESTO ================= */
.manifesto {
  padding: 6rem 0;
  background: white;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.manifesto-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.manifesto-stats {
  display: flex;
  gap: 2rem;
}

.stat h3 {
  font-size: 2rem;
  color: var(--color-primary);
}

/* ================= PROJECTS ================= */
.projects {
  padding: 6rem 0;
  background: var(--color-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-content {
  padding: 2rem;
}

/* ================= IMPACT ================= */
.impact {
  position: relative;
  padding: 6rem 0;
  background: url('../images/image2.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
}

.impact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.85);
}

.impact-content {
  position: relative;
  z-index: 2;
}

.impact-numbers {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
}

.impact-numbers h3 {
  font-size: 2.5rem;
  color: var(--color-primary);
}

/* ================= ABOUT ================= */
.about {
  padding: 6rem 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* ================= CONTACT ================= */
.contact {
  padding: 6rem 0;
  background: var(--color-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-family: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ================= FOOTER ================= */
.footer {
  background: var(--color-dark);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 3rem;
}

.footer h3 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .manifesto-grid,
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .impact-numbers {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav ul {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}