/* style.css – thème Dodo Bleu pour ARK ASA */
:root {
  --primary: #0a58ca;
  --primary-dark: #0a4275;
  --secondary: #ffc107;
  --dark: #212529;
  --light: #f8f9fa;
  --dodo-blue: #3b82f6;
  --dodo-cyan: #06b6d4;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(10, 66, 117, 0.95);
  backdrop-filter: blur(4px);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo h1 i {
  font-size: 2rem;
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--secondary);
}

.btn-discord {
  background: #5865f2;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-discord:hover {
  background: #4752c4;
  color: white;
}

/* Hero */
.hero {
  background: linear-gradient(120deg, #1e3a8a, #0c4e6e);
  color: white;
  padding: 4rem 0;
  text-align: center;
  border-radius: 0 0 30px 30px;
  margin-bottom: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Sections */
section {
  margin: 3rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  font-size: 2.5rem;
  color: var(--dodo-blue);
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
}

.btn-secondary:hover {
  background: #e0a800;
}

/* Alliance */
.alliance {
  background: white;
  border-radius: 25px;
  padding: 2rem;
  text-align: center;
}

.tribe-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.tribe-badge {
  background: var(--dodo-cyan);
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  color: white;
  font-weight: bold;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

footer a {
  color: var(--secondary);
  text-decoration: none;
}

/* Formulaire contact */
.form-group {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-family: inherit;
}

button[type="submit"] {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
}

.alert {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.alert-success {
  background: #d1e7dd;
  color: #0f5132;
}

.alert-error {
  background: #f8d7da;
  color: #842029;
}

@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
  }
  nav ul {
    justify-content: center;
  }
}