/* ============================================
   LANTERN INSURANCE GROUP - MAIN STYLESHEET
   Forest Green (#2d5016) + Gold (#d4af6f)
   ============================================ */

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

:root {
  --primary-green: #2d5016;
  --dark-green: #1a3009;
  --accent-gold: #d4af6f;
  --light-gold: #f5f3f0;
  --text-dark: #2c2c2a;
  --text-muted: #5f5e5a;
  --text-light: #888780;
  --border-light: #e0dbd5;
  --white: #ffffff;
  --surface-light: #faf8f6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-dark);
  background-color: var(--surface-light);
  line-height: 1.6;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: var(--white);
  border-bottom: 0.5px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 18px;
}

.logo-section img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--primary-green);
}

.cta-button {
  background: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: var(--dark-green);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--primary-green);
  color: var(--white);
  padding: 2rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 0.5px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-license {
  margin-top: 0.5rem;
  color: var(--accent-gold);
  font-size: 12px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 42px;
  font-weight: 600;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  color: var(--accent-gold);
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.hero .cta-button {
  background: var(--accent-gold);
  color: var(--primary-green);
  padding: 14px 40px;
  font-size: 16px;
}

.hero .cta-button:hover {
  background: #e8b85f;
}

/* ============================================
   CONTAINER & MAIN CONTENT
   ============================================ */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 3rem 0;
  border-bottom: 0.5px solid var(--border-light);
}

.section:last-child {
  border-bottom: none;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 2rem;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.8;
}

/* ============================================
   CARD GRID
   ============================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 0;
}

.card {
  background: var(--white);
  border: 0.5px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: #e8f0e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 28px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-green);
  margin: 0 0 0.5rem 0;
}

.card p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.card a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.card a:hover {
  color: #e8b85f;
}

/* ============================================
   INSURANCE TYPE SECTIONS
   ============================================ */

.insurance-list {
  list-style: none;
  margin: 0;
}

.insurance-item {
  background: var(--white);
  border: 0.5px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.insurance-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-green);
  margin: 0 0 0.5rem 0;
}

.insurance-item p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.column-image {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  border-radius: 12px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 14px;
  text-align: center;
  overflow: hidden;
}

.column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-text h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-green);
  margin: 0 0 1.5rem 0;
}

.column-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 1rem 0;
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-container {
  background: var(--white);
  border: 0.5px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 0.5px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2px rgba(45, 80, 22, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: var(--primary-green);
  color: var(--white);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-submit:hover {
  background: var(--dark-green);
}

.form-message {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 14px;
  display: none;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 0.5px solid #4caf50;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 0.5px solid #f44336;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-item {
  background: var(--white);
  border: 0.5px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: var(--surface-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-green);
  user-select: none;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #efe9e3;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--white);
}

.faq-answer.open {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial {
  background: var(--white);
  border: 0.5px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.8;
  margin: 0 0 1rem 0;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-green);
  font-size: 14px;
}

/* ============================================
   CONTACT INFO
   ============================================ */

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-item {
  background: var(--white);
  border: 0.5px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 1rem;
}

.contact-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-green);
  margin: 0 0 0.5rem 0;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.contact-item a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin: 1rem 0;
  padding: 0;
}

.breadcrumb a {
  color: var(--primary-green);
  text-decoration: none;
  margin: 0 0.5rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 0.5px solid var(--border-light);
    z-index: 999;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 1rem 2rem;
    border-bottom: 0.5px solid var(--border-light);
    font-size: 15px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .cta-button {
    display: none;
  }

  nav .cta-button {
    display: block;
    width: calc(100% - 4rem);
    margin: 1rem 2rem;
    text-align: center;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  main {
    padding: 0 1rem;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 24px;
  }

  .column-text h2 {
    font-size: 22px;
  }

  .logo-section {
    font-size: 14px;
  }

  .logo-section img {
    height: 50px;
    width: auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .card h3 {
    font-size: 16px;
  }

  .contact-info {
    gap: 1rem;
  }

  .form-container {
    padding: 1rem;
  }
}
