/* Nebula Coffee Co. — Global Styles */
:root {
  --bg-primary: #1a1a1a;
  --bg-secondary: #242424;
  --bg-card: #2a2a2a;
  --amber: #d4a053;
  --amber-hover: #e0b06a;
  --cream: #f5f0e8;
  --cream-muted: #c4bfb7;
  --brown: #8b7355;
  --border: #333;
  --radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--cream);
  line-height: 1.6;
}

a { color: var(--amber); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber-hover); }

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.5px;
}

.nav-logo span { color: var(--cream); }

.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--cream-muted); font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--amber); }

/* Hero */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2218 50%, #1a1a1a 100%);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--amber), var(--cream));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .tagline {
  font-size: 1.3rem;
  color: var(--cream-muted);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--amber);
  color: var(--bg-primary);
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover { background: var(--amber-hover); transform: translateY(-1px); color: var(--bg-primary); }
.btn-outline { background: transparent; border: 2px solid var(--amber); color: var(--amber); }
.btn-outline:hover { background: var(--amber); color: var(--bg-primary); }

/* Sections */
.section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--cream);
}
.section-subtitle {
  color: var(--cream-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--amber); transform: translateY(-2px); }
.card h3 { color: var(--amber); margin-bottom: 0.75rem; font-size: 1.2rem; }
.card p { color: var(--cream-muted); font-size: 0.95rem; }

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-dark { background: #3a3a3a; color: var(--cream-muted); }
.badge-amber { background: rgba(212, 160, 83, 0.2); color: var(--amber); }
.badge-popular { background: var(--amber); color: var(--bg-primary); }

/* Price */
.price { font-size: 2rem; font-weight: 800; color: var(--amber); margin: 1rem 0; }
.price small { font-size: 0.9rem; font-weight: 400; color: var(--cream-muted); }

/* Testimonial */
.testimonial {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonial blockquote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--cream);
  max-width: 700px;
  margin: 0 auto 1rem;
}
.testimonial cite { color: var(--brown); font-size: 0.95rem; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--bg-primary);
}
.timeline-year { font-weight: 700; color: var(--amber); font-size: 1.1rem; }
.timeline-text { color: var(--cream-muted); margin-top: 0.25rem; }

/* Pricing Table */
.pricing-card { text-align: center; position: relative; }
.pricing-card.featured { border-color: var(--amber); }
.pricing-card .features { list-style: none; margin: 1.5rem 0; text-align: left; }
.pricing-card .features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--cream-muted);
  font-size: 0.95rem;
}
.pricing-card .features li::before { content: '\2713  '; color: var(--amber); }

/* Contact Form */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cream);
  font-weight: 500;
  font-size: 0.95rem;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.form-group textarea { min-height: 150px; resize: vertical; }

/* Contact Info */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item h4 { color: var(--amber); margin-bottom: 0.25rem; }
.contact-item p { color: var(--cream-muted); font-size: 0.95rem; }

/* Map Placeholder */
.map-placeholder {
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer h4 { color: var(--amber); margin-bottom: 1rem; font-size: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: var(--cream-muted); font-size: 0.9rem; }
.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--brown);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .nav { flex-direction: column; gap: 1rem; }
  .section { padding: 3rem 1.25rem; }
}