/*
Theme Name: SymbioFoundry
Author: Aleksandar Bijelic
Author URI: https://www.symbiofoundry.com
Description: A SymbioFoundry theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --background: #f5f7f8;
  --foreground: #1e2a35;
  --card: #ffffff;
  --card-foreground: #1e2a35;
  --primary: #1e4459;
  --primary-foreground: #ffffff;
  --secondary: #ebeef1;
  --muted: #ebeef1;
  --muted-foreground: #687480;
  --accent: #1a8a9e;
  --accent-foreground: #ffffff;
  --border: #d9dee3;
  --navy: #1e2a35;
  --navy-light: #2d3d4d;
  --teal: #1a8a9e;
  --teal-light: #e0f4f7;
  --warm-gray: #f5f3f0;
  --gold: #c9963a;
  --font-display: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 0.375rem;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .section-padding { padding: 5rem 3rem; } }
@media (min-width: 1024px) { .section-padding { padding: 7rem 6rem; } }
.label { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.label--accent { color: var(--accent); }
.label--teal { color: var(--teal); }
.section-title { font-size: 2.25rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-subtitle { color: var(--muted-foreground); font-size: 1.125rem; max-width: 42rem; margin-bottom: 4rem; }
.grid-2 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-2-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
.navbar__logo img { height: 2rem; }
.navbar__links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .navbar__links { display: flex; } }
.navbar__link {
  font-size: 0.875rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted-foreground); transition: color 0.2s;
}
.navbar__link:hover { color: var(--foreground); }
.navbar__cta {
  background: var(--primary); color: var(--primary-foreground);
  padding: 0.5rem 1.25rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 600; transition: opacity 0.2s;
}
.navbar__cta:hover { opacity: 0.9; }
.navbar__hamburger { display: block; background: none; border: none; cursor: pointer; }
@media (min-width: 768px) { .navbar__hamburger { display: none; } }
.navbar__mobile { display: none; background: var(--card); border-top: 1px solid var(--border); padding: 1rem 1.5rem; }
.navbar__mobile.open { display: block; }
.navbar__mobile a { display: block; padding: 0.5rem 0; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero__overlay { position: absolute; inset: 0; background: rgba(30,42,53,0.75); }
.hero__content {
  position: relative; z-index: 10; max-width: 64rem; margin: 0 auto;
  text-align: center; padding: 5rem 1.5rem 0;
}
.hero__logo { height: 3.5rem; margin: 0 auto 2rem; filter: brightness(0) invert(1); }
@media (min-width: 768px) { .hero__logo { height: 5rem; } }
.hero__pre {
  text-transform: uppercase; letter-spacing: 0.3em;
  font-size: 1rem; color: var(--teal-light); font-weight: 500; margin-bottom: 1rem;
}
@media (min-width: 768px) { .hero__pre { font-size: 1.125rem; } }
.hero__title { font-size: 3rem; color: var(--primary-foreground); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .hero__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 6rem; } }
.hero__desc {
  font-size: 1.25rem; color: rgba(255,255,255,0.7);
  max-width: 42rem; margin: 0 auto 2.5rem; font-weight: 300;
}
@media (min-width: 768px) { .hero__desc { font-size: 1.5rem; } }
.hero__actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
.hero__btn-primary {
  background: var(--accent); color: var(--accent-foreground);
  padding: 0.875rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.875rem; letter-spacing: 0.05em; transition: opacity 0.2s;
}
.hero__btn-primary:hover { opacity: 0.9; }
.hero__btn-secondary {
  border: 1px solid rgba(255,255,255,0.3); color: var(--primary-foreground);
  padding: 0.875rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.875rem; letter-spacing: 0.05em; transition: background 0.2s;
}
.hero__btn-secondary:hover { background: rgba(255,255,255,0.1); }
.hero__gradient {
  position: absolute; bottom: 0; left: 0; right: 0; height: 6rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* ---------- Why Us ---------- */
.why-us { background: var(--background); }
.why-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.why-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: rgba(26,138,158,0.3); }
.why-card__icon {
  width: 3rem; height: 3rem; border-radius: var(--radius);
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.why-card__icon svg { width: 1.5rem; height: 1.5rem; color: var(--teal); }
.why-card__title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.why-card__desc { color: var(--muted-foreground); font-size: 1rem; line-height: 1.7; }

/* ---------- Products ---------- */
.products { background: var(--background); }
.product-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s;
}
.product-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.product-card__image {
  position: relative; height: 14rem; overflow: hidden;
}
.product-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,42,53,0.6), transparent);
}
.product-card__body { padding: 1.75rem; background: var(--card); }
.product-card__title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.product-card__desc { color: var(--muted-foreground); font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-card__tag {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  background: var(--teal-light); color: var(--teal);
}

/* ---------- Pillars ---------- */
.pillars { background: var(--warm-gray); }
.pillar-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.pillar-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: rgba(26,138,158,0.3); }
.pillar-card__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.pillar-card__num { font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.pillar-card__header svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.pillar-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.pillar-card__desc { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.7; }

/* ---------- Program ---------- */
.program { background: var(--navy); color: var(--primary-foreground); }
.program .label { color: var(--teal); }
.program .section-subtitle { color: rgba(255,255,255,0.6); }
.phase-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.75rem;
  transition: background 0.3s;
}
.phase-card:hover { background: rgba(255,255,255,0.1); }
.phase-card__label { font-size: 0.75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; }
.phase-card__title { font-size: 1.25rem; color: var(--primary-foreground); margin: 0.25rem 0; }
.phase-card__timeline { font-size: 0.875rem; color: var(--teal); font-weight: 600; margin-bottom: 1rem; }
.phase-card__list { margin-bottom: 1.5rem; }
.phase-card__list li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem;
}
.phase-card__list li::before {
  content: ''; width: 0.375rem; height: 0.375rem; border-radius: 50%;
  background: var(--teal); flex-shrink: 0; margin-top: 0.5rem;
}
.phase-card__outcome { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }
.phase-card__outcome-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--teal); font-weight: 600; margin-bottom: 0.25rem;
}
.phase-card__outcome-text { font-size: 0.875rem; color: rgba(255,255,255,0.8); }

/* ---------- Industries ---------- */
.industries { background: var(--background); }
.industry-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s;
}
.industry-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.industry-card__header {
  background: var(--primary); padding: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.industry-card__header svg { width: 1.5rem; height: 1.5rem; color: var(--primary-foreground); }
.industry-card__header h3 { font-size: 1.125rem; color: var(--primary-foreground); }
.industry-card__body { padding: 1.5rem; }
.industry-card__body li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 0.75rem;
}
.industry-card__body li::before {
  content: ''; width: 0.375rem; height: 0.375rem; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 0.5rem;
}

/* ---------- Case Studies Slider ---------- */
.cases { background: var(--navy); color: var(--primary-foreground); }
.cases .label { color: var(--teal); }
.cases .section-subtitle { color: rgba(255,255,255,0.6); }
.case-slide {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 2rem 2rem;
  min-height: 20rem;
}
@media (min-width: 768px) { .case-slide { padding: 3rem; } }
.case-slide__meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.case-slide__tag {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--teal); background: rgba(26,138,158,0.1);
  padding: 0.25rem 0.75rem; border-radius: 9999px;
}
.case-slide__counter { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.case-slide__title { font-size: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .case-slide__title { font-size: 1.875rem; } }
.case-slide__grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .case-slide__grid { grid-template-columns: repeat(3, 1fr); } }
.case-slide__col-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--teal); font-weight: 600; margin-bottom: 0.5rem;
}
.case-slide__col-text { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-btn {
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2); background: transparent;
  color: var(--primary-foreground); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.slider-btn:hover { background: rgba(255,255,255,0.1); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot {
  width: 0.75rem; height: 0.75rem; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: none; cursor: pointer;
  transition: background 0.2s;
}
.slider-dot.active { background: var(--teal); }

/* ---------- Contact ---------- */
.contact { background: var(--warm-gray); text-align: center; }
.contact__links {
  display: flex; flex-direction: column; gap: 1.5rem;
  justify-content: center; margin-bottom: 4rem;
}
@media (min-width: 640px) { .contact__links { flex-direction: row; } }
.contact__link {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 2rem;
  transition: box-shadow 0.3s, border-color 0.3s; font-weight: 500;
}
.contact__link:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: rgba(26,138,158,0.3); }
.contact__link svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.6);
  padding: 2.5rem 1.5rem;
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: 1rem;
}
@media (min-width: 768px) { .footer__inner { flex-direction: row; } }
.footer__logo img { height: 1.5rem; filter: brightness(0) invert(1); opacity: 0.7; }
.footer__copy { font-size: 0.875rem; }

/* ---------- SVG Icon Inline Helpers (for WordPress) ---------- */
.icon { display: inline-block; width: 1.5rem; height: 1.5rem; vertical-align: middle; }
.icon--sm { width: 1.25rem; height: 1.25rem; }
.icon--accent { color: var(--accent); }
.icon--teal { color: var(--teal); }
.icon--white { color: var(--primary-foreground); }
