/* Fresh Scanland & Co CSS */

:root {
  --color-bg: #F3E7D1;        /* warm cream background */
  --color-text: #0F3D27;      /* deep forest green text */
  --color-primary: #0F3D27;   /* brand green for buttons/banners */
  --color-accent: #7BB58C;    /* soft leaf green for highlights */
  --color-neutral: #E0E0E0;   /* light gray for forms/dividers */
  --color-footer: #0B2A1A;    /* almost-black green footer */
  --footer-hover: #145B37;    /* brighter green for hover states */
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Inter, Arial, sans-serif;
  margin: 0;
  padding: 0 0 80px 0; /* Bottom padding for fixed footer */
  text-align: center;
  line-height: 1.6;
}

main {
  padding: 0 20px;
}

/* Header Section */
.main-header {
  padding: 40px 0;
  max-width: 1000px;
  margin: 0 auto;
}

.logo {
  max-width: 150px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
}

h1 {
  font-size: 3em;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 30px;
}

/* Mission Box */
.mission-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.mission-box p {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

/* Portfolio Sections */
.portfolio-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 20px;
  border-radius: 12px;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

/* Grid Layouts */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.podcasts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Card Styles */
.company-card,
.podcast-card,
.solution-card {
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.company-card:hover,
.podcast-card:hover,
.solution-card:hover {
  color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.company-card h3,
.podcast-card h3,
.solution-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.company-card p,
.podcast-card p,
.solution-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.4;
}

/* Contact Section */
.contact-section {
  max-width: 600px;
  margin: 80px auto 40px;
  text-align: center;
}

.contact-panel {
  margin-bottom: 20px;
}

.contact-trigger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: bold;
  color: var(--color-text);
  background: var(--color-transparent);
  padding: 20px 40px;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}



.triangle {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--color-text);
  transition: transform 0.3s ease;
}

.contact-section.open .triangle {
  transform: rotate(180deg);
}

/* Contact Form */
.contact-body {
  display: none;
  background: var(--color-primary);
  border: 4px solid var(--color-primary);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.contact-section.open .contact-body {
  display: block;
}

.contact-body form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-body input,
.contact-body textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--color-neutral);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
}

.contact-body input:focus,
.contact-body textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.contact-body button {
  align-self: center;
  padding: 15px 40px;
  background: var(--color-bg);
  color: var(--color-primary);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-body button:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  transform: translateY(-2px);
}

/* Social Media Box */
.social-box {
  max-width: 300px;
  margin: 40px auto;
  padding: 25px;
  background: var(--color-primary);
  border: 4px solid var(--color-primary);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.social-box h3 {
  margin: 0 0 20px;
  font-size: 1.2rem;
  color: var(--color-bg);
  font-weight: 700;
}

.social-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-list li a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-list li a img {
  width: 32px;
  height: 32px;
  display: block;
}

.social-list li a:hover {
  transform: scale(1.2);
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-footer);
  color: var(--color-bg);
  border-top: 3px solid var(--color-accent);
  padding: 20px 0;
  text-align: center;
  font-weight: 600;
  z-index: 100;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

footer a {
  color: var(--color-bg);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2em;
  }

  .mission-box {
    padding: 25px 20px;
  }

  .mission-box p {
    font-size: 1.1rem;
  }

  .companies-grid,
  .podcasts-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .company-card,
  .podcast-card,
  .solution-card {
    padding: 25px 20px;
    min-height: 120px;
  }

  .portfolio-section {
    margin: 50px auto;
    padding: 0 15px;
  }

  .contact-trigger {
    padding: 18px 30px;
    font-size: 1rem;
  }

  .contact-body {
    padding: 25px 20px;
  }

  .social-box {
    margin: 30px auto;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .main-header {
    padding: 30px 0;
  }

  .logo {
    max-width: 120px;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 1.8em;
  }

  .mission-box p {
    font-size: 1rem;
  }

  .company-card h3,
  .podcast-card h3,
  .solution-card h3 {
    font-size: 1.1rem;
  }

  .company-card p,
  .podcast-card p,
  .solution-card p {
    font-size: 0.9rem;
  }
}