@import url('./assets/fonts/fonts.css');

:root {
  --bg-color: #12100E; /* Dark earth tone */
  --text-main: #e8dfd8;
  --text-muted: #a69c96;
  --accent-glow: #ff9800;
  --card-bg: rgba(28, 23, 20, 0.75);
  --card-border: rgba(255, 152, 0, 0.2);
  --glass-blur: blur(12px);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

/* Typography Enhancements */
h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff, var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--card-border);
  padding-bottom: 0.5rem;
  display: inline-block;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('./assets/images/hero.png') no-repeat center center/cover;
  opacity: 0.4;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg-color) 100%);
  z-index: -1;
}

.hero-content {
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-main);
}

/* Sections */
section {
  padding: 4rem 0;
}

/* Cards & Glassmorphism */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-glow);
  box-shadow: 0 10px 30px rgba(255, 152, 0, 0.1);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  object-fit: cover;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Info Badges */
.badge-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.badge {
  background: rgba(255, 152, 0, 0.1);
  color: var(--accent-glow);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

/* Build Guide (DIY) */
.diy-section {
  background: linear-gradient(to right, rgba(28, 23, 20, 0.9), rgba(18, 16, 14, 0.9)), url('./assets/images/diy.png') no-repeat center/cover;
  background-attachment: fixed;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 6rem 0;
}

.step-list {
  list-style: none;
  counter-reset: diy-counter;
}

.step-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  border-radius: 12px;
  padding: 2rem 2rem 2rem 4rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.step-list li::before {
  counter-increment: diy-counter;
  content: counter(diy-counter);
  position: absolute;
  left: -1rem;
  top: 1.5rem;
  width: 3rem;
  height: 3rem;
  background: var(--accent-glow);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  section { padding: 3rem 0; }
  .grid { gap: 3rem; }
  .step-list li { padding-left: 2rem; padding-top: 3rem; }
  .step-list li::before { left: 1rem; top: -1.5rem; }
}
