/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary-color: #d1b023; /* Couleur jaune principale tirée de la maquette */
  --bg-color: #111;
  --text-light: #f5f5f5;
  --text-dark: #1a1a1a;
  --font-hero: 'VT323', monospace;
  --font-nav: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-light);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background image specifically for home page */
body.page-accueil {
  background: 
    linear-gradient(to right, rgba(15, 15, 10, 0.95) 0%, rgba(15, 15, 10, 0.8) 40%, rgba(15, 15, 10, 0.3) 100%),
    url('https://images.unsplash.com/photo-1616422285623-14c1e403d6e5?q=80&w=1920&auto=format&fit=crop') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

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

/* Navbar */
.site-header {
  padding: 30px 40px;
  background: transparent;
}

body:not(.page-accueil) .site-header {
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
}

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

.logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-nav);
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-family: var(--font-nav);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: rgba(209, 176, 35, 0.1);
  box-shadow: 0 0 10px rgba(209, 176, 35, 0.3);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
  border: 1px solid var(--primary-color);
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #e6c533;
  box-shadow: 0 0 15px rgba(209, 176, 35, 0.4);
}

.btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--font-nav);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 2px;
  margin-left: 25px;
  transition: color 0.3s;
}

.btn-link:hover {
  color: #e6c533;
  text-shadow: 0 0 5px rgba(209, 176, 35, 0.4);
}

/* Home Page Content */
.home-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 20px 60px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.home-content {
  max-width: 650px;
}

.hero-title {
  font-family: var(--font-hero);
  font-size: 6rem;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 0px 4px 15px rgba(0,0,0,0.5);
}

.hero-text {
  font-size: 1.05rem;
  color: #eaeaea;
  margin-bottom: 40px;
  font-family: var(--font-nav);
  font-style: italic;
  font-size: 1.15rem;
  text-align: left;
  text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.hero-buttons {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

/* Features */
.hero-features {
  display: flex;
  gap: 50px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s, text-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  text-shadow: 0 0 8px rgba(209, 176, 35, 0.4);
}

.feature-icon {
  width: 45px;
  height: 45px;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.feature-item span {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Footer overrides for homepage */
body.page-accueil .site-footer {
  display: none; /* Hide standard footer on the immersive homepage */
}

/* Footer standard pour les autres pages */
.site-footer {
  text-align: center;
  padding: 20px;
  background-color: #1a1a1a;
  border-top: 1px solid #333;
  margin-top: auto;
}

.site-footer a { color: var(--primary-color); text-decoration: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 5rem; }
  .main-nav ul { gap: 15px; }
  .home-main { padding: 20px 40px; }
}

@media (max-width: 768px) {
  .header-container { flex-direction: column; gap: 20px; }
  .home-content { max-width: 100%; }
  .hero-features { flex-wrap: wrap; gap: 30px; }
}
