@import url("base.css");

/* Insights page specific overrides with professional color scheme */

body.page-insights {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.95) 0%,
    rgba(163, 180, 156, 0.85) 100%
  );
  color: var(--color-text-dark);
}

body.page-insights::before,
body.page-insights::after {
  display: none;
}
.modal-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #04152d;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 34px rgba(10, 26, 51, 0.32);
  cursor: pointer;
  z-index: 45;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: rgba(163, 180, 156, 0.98);
}

/* Hero Section - Professional with #A3B49C */
.hero--sage {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.98) 0%,
    rgba(163, 180, 156, 0.88) 100%
  );
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
}

.hero--sage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(255, 255, 255, 0.05),
    transparent 60%
  );
  pointer-events: none;
}

.hero--sage .hero__lead {
  color: rgba(16, 22, 35, 0.82);
  opacity: 0.95;
}

.hero--sage .eyebrow {
  color: rgba(16, 22, 35, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer {
  color: #ffffff;
}

.hero--sage h1 {
  color: var(--color-text-dark);
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.12);
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero--sage p,
.hero--sage .hero__copy p {
  color: rgba(16, 22, 35, 0.8);
}

.insights-hero .hero__inner {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.insights-hero .hero__copy {
  max-width: 640px;
}

.insights-hero .hero__media {
  min-height: 420px;
  border-radius: var(--radius-lg);
}

.insights-hero__image {
  background-image: url("/logo/insights.jpg");

  /* Make the background image cover the container */
  background-size: cover;

  /* Center the background image */
  background-position: center;

  /* Prevent the image from repeating */
  background-repeat: no-repeat;

  /* Optional: make sure the container has a height */
  height: 100%; /* or any specific height like 400px */
  width: 100%;
}

.insights-hero__image--accent {
  inset: 12% 14% 18% 16%;
  transform: translate(6%, 6%);
  background-image: linear-gradient(
      150deg,
      rgba(163, 180, 156, 0.55),
      rgba(15, 31, 53, 0.35)
    ),
    url("https://images.unsplash.com/photo-1545239351-1141bd82e8a6?auto=format&fit=crop&w=1200&q=80");
}

.insights-hero .hero__floating-card {
  background: rgba(4, 21, 45, 0.82);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  right: -12%;
}

.insights-hero .hero__floating-card span {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer {
  margin-top: 4rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: #04152d;
  color: var(--color-bg-primary);
}

.site-footer__inner {
  display: grid;
  gap: 2.5rem;
}

.site-footer__brand {
  max-width: 420px;
}

.site-footer__logo img {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.site-footer__brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.site-footer__social {
  margin-top: 1.25rem;
}

.site-footer__social .social-link {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__social .link-content {
  background: rgba(255, 255, 255, 0.08);
}

.site-footer__social .social-link:hover .link-content {
  background: rgba(255, 255, 255, 0.18);
  color: #000;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.site-footer__column h4 {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: white;
}
.site-footer__column li {
  color: white;
}
.site-footer__column li a {
  color: white;
}

.site-footer__list,
.site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--color-text);
}

.site-footer__list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__list a:hover {
  color: #000;
}

.site-footer__contact-list span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.15rem;
}

.site-footer__contact-list a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer__contact-list p {
  margin: 0;
  color: white;
  font-size: 16px;

  line-height: 1.6;
}

.site-footer__actions {
  padding: 1.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: white;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer__actions p {
  flex: 1;
  margin: 0;
  color: black;
  min-width: 220px;
}

.site-footer__actions .btn {
  flex-shrink: 0;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  color: white;
}

.site-footer__bottom p {
  margin: 0;
}
.btn-footer {
  background: var(--color-accent);
  color: var(--color-bg-primary);
  border: 2px solid var(--color-bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 200ms ease, color 200ms ease;
}
.btn-footer:hover {
  background: var(--color-bg-primary);
  color: white;
}

.site-footer__links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-footer--enhanced {
  margin-top: 4rem;
}

.social-link {
  text-decoration: none;
  color: #0077b5;
  display: inline-flex;
}

.link-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 150ms ease, color 150ms ease;
}

.social-link:hover .link-content {
  background: rgba(255, 255, 255, 0.15);
  color: #000;
}

@media (max-width: 768px) {
  .insights-hero .hero__media {
    min-height: 320px;
  }

  .insights-hero .hero__floating-card {
    right: 0;
    bottom: 8%;
  }
}

/* Section Backgrounds - Only #A3B49C */
.section--sage {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.92) 0%,
    rgba(163, 180, 156, 0.78) 100%
  );
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
  padding-bottom: 5rem;
}

.section--sage::before {
  display: none;
}

.section--sage h2 {
  color: var(--color-text-dark);
}

.section--sage .section__intro p {
  color: rgba(16, 22, 35, 0.82);
}

.section--sage .eyebrow {
  color: rgba(16, 22, 35, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Content Grid */
.content-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

/* Content Cards - Blue cards that turn white on hover */
.content-card {
  background: #0f1f35;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.content-card:hover {
  background: #ffffff;
  color: var(--color-brand-deep);
  border-color: var(--color-brand-deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.content-card__subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: inherit;
}

.content-card p {
  color: inherit;
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-card ul {
  margin: 1rem 0 1rem 1.5rem;
  color: inherit;
  opacity: 0.9;
}

.content-card li {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.content-card strong {
  font-weight: 600;
  color: inherit;
}

/* Practical Tip Card */
.tip-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text-dark);
  border: 2px solid var(--color-brand-deep);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
}

.tip-card__label {
  display: inline-block;
  background: var(--color-brand-deep);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.tip-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.tip-card p {
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.tip-card ul {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--color-text-dark);
}

.tip-card li {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.tip-card strong {
  font-weight: 600;
  color: var(--color-text-dark);
}

/* Button Styling */
.page-insights .btn--primary {
  background: #ffffff;
  color: var(--color-brand-deep);
  border: 2px solid var(--color-brand-deep);
  box-shadow: 0 4px 12px rgba(10, 26, 51, 0.25);
  font-weight: 600;
}

.page-insights .btn--primary:hover {
  background: rgba(10, 26, 51, 0.9);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(10, 26, 51, 0.35);
  transform: translateY(-2px);
}

.page-insights .btn--ghost {
  background: rgba(10, 26, 51, 0.9);
  color: #ffffff;
  border: 2px solid rgba(16, 22, 35, 0.3);
}

.page-insights .btn--ghost:hover {
  background: rgba(16, 22, 35, 0.08);
  border-color: rgba(16, 22, 35, 0.5);
  transform: translateY(-2px);
}

/* Floating Card Enhancement */
.hero__floating-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text-dark);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero__floating-card p {
  color: var(--color-text-dark);
  font-weight: 600;
}

.hero__floating-card span {
  color: var(--color-text-dark);
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-grid {
    gap: 1.5rem;
  }

  .content-card {
    padding: 1.5rem;
  }

  .tip-card {
    padding: 1.5rem;
  }

  .section--sage {
    padding-bottom: 3rem;
  }
}
