/*
  Primary stylesheet for the RevenueKit Coaching & Courses Program template.
  This file defines the color palette, typography, layout structure, and responsive behavior.
*/

/* Color variables for easy customization */
:root {
  --amber: #D97706;
  --terracotta: #EA8B5A;
  --dark-bg: #1f1a17;
  --dark-bg-alt: #221d19;
  --text-light: #ffffff;
  --text-muted: #d9d9d9;
}

/* Global resets and typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  background-color: var(--dark-bg);
  scroll-behavior: smooth;
  line-height: 1.6;
}

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

/* Navigation bar styles */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  background-color: var(--dark-bg);
  border-bottom: 1px solid #3a2e29;
}

.logo img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--terracotta);
}

/* Hero section styling */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 75vh;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--dark-bg) 0%, #251e1a 50%, #2a211e 100%);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 800px;
  margin: 0.5rem auto;
}

.gradient {
  background: linear-gradient(90deg, var(--terracotta), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Generic section styling */
.section {
  padding: 4rem 2rem;
  background-color: var(--dark-bg-alt);
  border-top: 1px solid #3a2e29;
}

.section:nth-child(even) {
  background-color: var(--dark-bg);
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--amber);
}

/* Benefit grid styling */
.benefit-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.benefit-card {
  background-color: var(--dark-bg);
  border-left: 5px solid var(--terracotta);
  padding: 1.5rem;
  border-radius: 6px;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 100px;
}

.benefit-card:hover {
  /* Lift the card on hover and add a deeper shadow */
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Offer section styles */
.offer-content {
  background-color: #2a201d;
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 8px;
  text-align: center;
}

.offer-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.offer-content input[type="email"] {
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.offer-content button {
  padding: 0.8rem;
  font-size: 1rem;
  background-color: var(--amber);
  color: var(--dark-bg);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.offer-content button:hover {
  background-color: var(--terracotta);
}

.form-message {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  min-height: 1rem;
}

/* Testimonials styling */
.testimonials .testimonial-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-card {
  background-color: var(--dark-bg);
  padding: 2rem;
  border-radius: 6px;
  text-align: center;
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background-color: var(--amber);
  border-radius: 50%;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* List styling for included items and features */
.included ul,
.features ul {
  list-style: none;
  margin-left: 0;
  margin-top: 1rem;
}

.included li,
.features li {
  margin-bottom: 0.5rem;
  padding-left: 0;
  position: relative;
}

.included li::before,
.features li::before {
  content: '\2022';
  color: var(--terracotta);
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* CTA styles */
.cta {
  text-align: center;
  background-color: #261f1c;
}

.cta .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 2rem;
  background-color: var(--amber);
  color: var(--dark-bg);
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cta .btn:hover {
  background-color: var(--terracotta);
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.cta .legal {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer styling */
footer {
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  background-color: var(--dark-bg-alt);
  border-top: 1px solid #3a2e29;
}

/* Scroll reveal animations for each section */
.section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}