/* ===============================
   SERVEKERALA.IN – MAIN CSS
   Clean Kerala Theme (Phase-1)
   =============================== */

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background-color: #f7faf9;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.section {
  padding: 60px 0;
}

.light-bg {
  background-color: #eef7f2;
}

/* ---------- HEADER ---------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #1b7f5a;
}

.main-nav a {
  margin-left: 18px;
  font-size: 15px;
  color: #374151;
}

.main-nav a:hover {
  color: #1b7f5a;
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.45)
    ),
    url("/assets/images/kerala-bg.jpg") center/cover no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.hero-text {
  font-size: 18px;
  max-width: 700px;
  margin: auto;
  opacity: 0.95;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- BUTTONS (GLOBAL) ---------- */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Primary button */
.btn-primary {
  background: #1b7f5a;
  color: #ffffff;
  border: 2px solid #1b7f5a;
}

.btn-primary:hover {
  background: #166947;
}

/* Outline button (default green) */
.btn-outline {
  background: transparent;
  color: #1b7f5a;
  border: 2px solid #1b7f5a;
}

.btn-outline:hover {
  background: #1b7f5a;
  color: #ffffff;
}

/* ---------- HERO BUTTON OVERRIDES ---------- */
.hero .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

.hero .btn-outline:hover {
  background: #ffffff;
  color: #1b7f5a;
}

/* ---------- GRID SYSTEM ---------- */
.grid {
  display: grid;
  gap: 20px;
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ---------- CARDS ---------- */
.card {
  background: #ffffff;
  padding: 24px;
  text-align: center;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  color: #1b7f5a;
}

/* ---------- INFO BOX (BUSINESS CARD) ---------- */
.info-box {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.info-box h3 {
  margin-bottom: 10px;
  color: #1b7f5a;
  font-size: 18px;
}

/* Business card buttons */
.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.action-buttons a {
  min-width: 150px;
}

/* ---------- BUSINESS LINKS (GMB / FB) ---------- */
.business-links {
  margin-top: 12px;
  font-size: 14px;
  color: #555;
}

.business-links span {
  margin-right: 6px;
}

.business-links a {
  color: #1b7f5a;
  text-decoration: none;
  font-weight: 500;
}

.business-links a:hover {
  text-decoration: underline;
}

/* ---------- BUSINESS CTA ---------- */
.business-cta {
  background: #1b7f5a;
  color: #ffffff;
  text-align: center;
  padding: 70px 0;
}

.business-cta h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.business-cta p {
  max-width: 600px;
  margin: auto;
  margin-bottom: 24px;
  opacity: 0.95;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0f3d2e;
  color: #d1fae5;
  text-align: center;
  padding: 24px 0;
}

.site-footer a {
  color: #a7f3d0;
  font-size: 14px;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-text {
    font-size: 16px;
  }

  .main-nav {
    display: none; /* simple mobile menu later */
  }
}
