:root {
  --blue: #1f4fd8;
  --blue-hover: #163ba3;
  --green: #2dbf64;
  --green-hover: #239a50;
  --dark: #1e1e2f;
  --gray: #6c757d;
  --light: #f7f9fc;
  --white: #ffffff;
  --border: #eef0f3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* --- HEADER & NAV FIX --- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo span { color: var(--green); }

/* This fixes the menu list */
.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--blue); }

/* --- HERO SECTION --- */
.hero {
  padding: 80px 0;
  background: var(--light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 500px;
}

/* Placeholder for when no image exists */
.hero-image {
  min-height: 300px;
  background-color: #ddd;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px; /* Modern pill shape */
  text-decoration: none;
  color: white;
  margin-right: 10px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.primary { background: var(--blue); }
.primary:hover { background: var(--blue-hover); }

.secondary { background: var(--green); }
.secondary:hover { background: var(--green-hover); }

.small { 
  padding: 8px 16px; 
  font-size: 14px; 
  width: 100%;
  border-radius: 6px;
  margin-top: 15px;
}

/* --- SECTIONS & CARDS --- */
.section { padding: 80px 0; }
.section.alt { background: var(--light); }

h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,.1);
}

.card-img {
  height: 180px;
  background: #eaeaea;
  border-radius: 8px;
  margin-bottom: 15px;
  background-size: cover;
  background-position: center;
}

.card h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
}

/* Price Tag Styling */
.price-tag {
  color: var(--blue);
  font-weight: 700;
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--dark);
  color: white;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
}

.site-footer p { opacity: 0.6; }

/* --- RESPONSIVE --- */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero h1 { font-size: 52px; }
}