@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;500;600;700&display=swap');

/* ---------------- VARIABLES ---------------- */
:root {
  --nav-text-inactive: #919191;
  --nav-text-active: #575757;

  --t1: 0.25s; /* hover-in */
  --t2: 1.25s; /* un-hover */

  --active-border: 1px;
  --active-radius: 4px;

  /* Content transition */
  --fade-out: 500ms;
  --fade-in: 500ms;

  /* Card sizing (browser-stable) */
  --card-h-desktop: 500px;
  --card-h-mobile: 420px;
}

/* ---------------- RESET ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Oxanium', sans-serif;
}

body {
  background-color: #d4d4d4;
  padding-top: 20px;
}

/* =========================
   Floating Social Panel
   ========================= */

/* Desktop / laptop */
.social-float {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1200;

  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 22px;

  background: rgba(30, 30, 30, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.10);
  

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.social-float__link {
  width: 46px;
  height: 46px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.social-float__link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.social-float__link:active {
  transform: translateY(0);
}

.social-float__link:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.10),
    0 8px 20px rgba(0, 0, 0, 0.18);
}

.social-float__icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  opacity: 0.92;
}

/* Mobile: bottom-right + smaller dock */
@media (max-width: 768px) {
  .social-float {
    left: auto;
    right: 12px;
    bottom: 12px;
    top: auto;
    transform: none;

    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 8px;
    border-radius: 18px;
  }

  .social-float__link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .social-float__icon {
    width: 18px;
    height: 18px;
  }
}

/* ---------------- HEADER ---------------- */
.header-container {
  position: sticky;
  top: 0;
  z-index: 1100;

  background-color: #d4d4d4;
  padding: 15px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.logo {
  height: 32px;
}

.company-name {
  font-size: 22px;
  font-weight: 400;
  color: var(--nav-text-active);
}

/* ---------------- NAVBAR ---------------- */
.navbar {
  position: sticky;
  top: 80px; /* sits directly below the sticky header */
  z-index: 1099;

  background-color: #d4d4d4;
  height: 80px;
  display: flex;
  justify-content: center;
  box-shadow: none;
  padding: 0 clamp(6px, 2vw, 12px);
}

/* Single-line nav; allow scroll only if absolutely necessary */
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: 100%;
  list-style: none;

  gap: clamp(6px, 1.8vw, 24px);

  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none; /* Firefox */
}
.nav-links::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge */
}

/* Tabs (desktop/laptop defaults: TEXT ONLY) */
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: var(--nav-text-inactive);
  font-size: 18px;
  font-weight: 500;

  border: var(--active-border) solid transparent;
  border-radius: var(--active-radius);

  padding: 6px 12px;
  white-space: nowrap;

  transition:
    color var(--t2) ease,
    border-color var(--t1) ease;
}

/* Hovered inactive tabs: color only */
.nav-links a:hover:not(.is-active) {
  color: var(--nav-text-active);
  transition:
    color var(--t1) ease,
    border-color var(--t1) ease;
}

/* Active tab: only color + border-color */
.nav-links a.is-active {
  color: var(--nav-text-active);
  border-color: var(--nav-text-active);
}

/* Desktop/laptop: TEXT ONLY */
.nav-icon { display: none; }
.nav-text { display: inline; }

/* ---------------- CONTENT AREA ---------------- */
.content-shell {
  max-width: 1000px;
  margin: 24px auto 0;
  padding: 0 18px 32px;
}

.tab-panel {
  opacity: 1;
  transition: opacity var(--fade-in) ease-in-out;
}

.tab-panel.is-fading-out {
  opacity: 0;
  transition: opacity var(--fade-out) ease-in-out;
}

.tab-panel.is-fading-in {
  opacity: 0;
}

/* ---------------- GRADIENT LINKS / BUTTONS ---------------- */
.gradient-link,
.gradient-button {
  background: #8E2DE2;
  background: -webkit-linear-gradient(to right, #4A00E0, #8E2DE2);
  background: linear-gradient(to right, #4A00E0, #8E2DE2);

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-button {
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
}

/* ---------------- CONTACT PAGE ---------------- */
.contact-simple {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 0 0;
  text-align: center;
}

.contact-simple__title {
  font-size: 34px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.contact-simple__text {
  font-size: 18px;
  color: #444;
  margin-bottom: 14px;
}

.contact-simple__email {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 42px;
  word-break: break-word;
}

.contact-simple__email:hover {
  opacity: 0.9;
}

.contact-simple__dock-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.contact-simple__dock-text {
  font-size: 18px;
  color: #444;
  line-height: 1.5;
  max-width: 540px;
}

.contact-simple__arrow-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 16px;
}

.contact-simple__arrow {
  width: 172px;
  height: 172px;
  display: block;

  color: linear-gradient(to right, #4A00E0, #8E2DE2);
}

.contact-simple__arrow--mobile {
  display: none;
}

/* Mobile */
@media (max-width: 900px) {
  .contact-simple__title {
    font-size: 28px;
  }

  .contact-simple__text,
  .contact-simple__dock-text {
    font-size: 16px;
  }

  .contact-simple__email {
    font-size: 21px;
    margin-bottom: 34px;
  }

  .contact-simple__arrow--desktop {
    display: none;
  }

  .contact-simple__arrow--mobile {
      width:80px;
      height: 80px;
    display: block;
  }
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  margin-top: 60px;
  padding: 24px 10px 10px;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;

  font-size: 14px;
  color: #666;
  text-align: center;
}

.footer-brand {
  font-weight: 600;
  color: #444;
}

.footer-separator {
  opacity: 0.5;
}

.footer-copy {
  font-weight: 400;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .site-footer {
    font-size: 13px;
    gap: 6px;
    margin-top: 40px;
  }
}

/* ---------------- MOBILE PAGE LABEL (fades with panel) ---------------- */
.mobile-page-label {
  display: none;               /* hidden by default (desktop/text navbar) */
  text-align: center;
  margin: 0 0 50px;
  color: var(--nav-text-active);
  font-size: 22px;
  font-weight: 500;
}

/* ---------------- HOME CARDS ---------------- */
.home-cards {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Card shell: rounded corners; image inside is NOT rounded */
.feature-card {
  background: #d4d4d4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;

  /* Safari/grid stability */
  align-items: stretch;
}

/* Safari/grid stability: prevent track expansion from min-size:auto */
.feature-card__media,
.feature-card__body {
  min-width: 0;
  min-height: 0;
}

/* Media region */
.feature-card__media {
  background: rgba(0, 0, 0, 0.04); /* stable even if image fails to load */
}

/* Image should not be rounded */
.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* Text region */
.feature-card__body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
}

.feature-card__title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 16px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* CTA pinned to bottom */
.feature-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: #444;
  font-weight: 600;
  font-size: 16px;

  padding: 10px 12px;
  border-radius: 10px;

  background: #FFFFFF;

  border: 1px solid rgba(0,0,0,0.08);

  min-width: 220px;
  align-self: flex-start;
}

/* Desktop/laptop: 70/30 horizontal split + definite height */
@media (min-width: 901px) {
  .feature-card {
    grid-template-columns: 7fr 3fr;
    height: var(--card-h-desktop);
  }

  /* alternate image side */
  .feature-card--img-right {
    grid-template-columns: 3fr 7fr;
  }

  .feature-card--img-right .feature-card__media {
    order: 2;
  }

  .feature-card--img-right .feature-card__body {
    order: 1;
  }
}

/* Tablet/phone: ICON ONLY nav + show mobile label + 50/50 vertical cards */
@media (max-width: 900px) {
    .home-cards {
  gap: 50px;
}
    
  .mobile-page-label {
    display: block;
  }

  .feature-card {
    grid-template-rows: 1fr 1fr; /* 50/50 */
    height: var(--card-h-mobile);
  }

  /* Optional: full-width CTA on mobile */
  .feature-card__cta {
    align-self: stretch;
    min-width: 0;
  }

  .nav-text { display: none; }

  .nav-icon {
    display: inline-block;
    width: 22px;
    height: 22px;

    /* Recolor local SVG <img> icons via filter */
    filter: brightness(0) saturate(100%)
            invert(38%) sepia(0%) saturate(0%)
            brightness(85%) contrast(95%);
  }

  .nav-links a.is-active .nav-icon {
    filter: brightness(0) saturate(100%)
            invert(32%) sepia(0%) saturate(0%)
            brightness(60%) contrast(100%);
  }

  /* Tighten spacing/padding for icon-only */
  .nav-links {
    gap: clamp(8px, 3vw, 16px);
  }

  .nav-links a {
    font-size: 0;      /* prevents any residual text spacing */
    padding: 8px 10px; /* good tap target */
  }
}

/* ---------------- OPTIONAL: REMOVE/KEEP THESE (NO NEUMORPHIC) ---------------- */
.panel-title {
  font-size: 34px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.panel-text {
  font-size: 18px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 18px;
}

.panel-card {
  background: #d4d4d4;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.panel-subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.panel-list {
  padding-left: 18px;
  color: #444;
  line-height: 1.6;
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .tab-panel,
  .tab-panel.is-fading-out {
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .company-name {
    font-size: 30px;
  }
}
