/* roi.css – FloorAssistant ROI Calculator
   Matches main site: Inter + Lato, accent blues, rounded cards, shadows
*/
/* Additional styles for nav and footer from index.html */
    .hidden { display: none !important; }
    
    /* NAVIGATION */
    nav {
      position: fixed;
      top: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      z-index: 1000;
      padding: 1rem 0;
    }

    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: #64748b;
      text-decoration: none;
    }

    .nav-menu {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-menu a {
      color: #475569;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-menu a:hover {
      color: #64748b;
    }

    .lang-toggle {
      background: #f1f5f9;
      border: none;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 600;
      color: #64748b;
      transition: all 0.3s;
    }

    .lang-toggle:hover {
      background: #e2e8f0;
    }

    .nav-actions {
      display: flex;
      gap: 1rem;
      align-items: center;
    }

    /* FOOTER */
    footer {
      background: #1e293b;
      color: #cbd5e1;
      padding: 3rem 2rem;
      text-align: center;
      margin-top: 4rem;
    }

    footer a {
      color: #94a3b8;
      text-decoration: none;
      transition: color 0.3s;
    }

    footer a:hover {
      color: white;
    }


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lato:wght@600;700&display=swap');

:root{
  --bg:#f8fafc;
  --card:#ffffff;
  --accent:#475569;
  --accent-2:#3b82f6;
  --muted:#64748b;
  --success:#10b981;
  --radius:12px;
  --shadow: 0 6px 20px rgba(15,23,42,0.06);
  --maxw:980px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, "Helvetica Neue", Arial;
  margin:0;
  background:var(--bg);
  color:var(--accent);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  padding-top:72px; /* allow fixed nav */
}

/* NAV SNIPPET (if embedded) */
.roi-nav-link{ color:var(--accent); text-decoration:none; font-weight:600; }
.roi-container{
  max-width:var(--maxw);
  margin: 2.5rem auto;
  padding: 1rem;
}

/* Card */
.roi-card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:1.25rem;
  max-width:900px;
  margin:0 auto;
  border:1px solid #e6eef6;
}

/* Header */
.roi-header{
  display:flex;
  gap:1rem;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.title{
  font-family:'Lato', sans-serif;
  font-size:1.25rem;
  color:var(--accent);
  margin:0;
}
.subtitle{
  font-size:0.95rem;
  color:var(--muted);
  margin-top:0.25rem;
}

/* controls */
.controls{
  display:flex;
  gap:0.5rem;
  align-items:center;
  margin-top:0.75rem;
  flex-wrap:wrap;
}
.btn{
  background: #fff;
  border:1px solid #e2e8f0;
  padding:0.45rem 0.75rem;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
  color:var(--accent);
  font-size:0.92rem;
  transition: all .12s ease;
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,23,42,0.06); }
.btn.primary{
  background:var(--accent-2);
  color:#fff;
  border:1px solid rgba(0,0,0,0.04);
}
.btn-toggle{ padding:0.35rem 0.6rem; font-size:0.85rem; }

/* layout columns */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:1rem;
  margin-top:1rem;
}
@media(min-width:900px){
  .grid{ grid-template-columns: 1fr 360px; }
}

/* inputs */
.field{
  margin-bottom:0.75rem;
}
.label{ display:block; font-weight:600; color:var(--accent); margin-bottom:0.35rem; font-size:0.9rem; }
.input, .select{
  width:100%;
  padding:0.65rem;
  border-radius:8px;
  border:1px solid #e6eef6;
  font-size:0.95rem;
  color:var(--accent);
  background:#fff;
}
.small{ font-size:0.88rem; color:var(--muted); margin-top:0.25rem; }

/* results card */
.results{
  background: linear-gradient(180deg, rgba(59,130,246,0.06), rgba(59,130,246,0.02));
  border-radius:10px;
  padding:1rem;
  border:1px solid rgba(59,130,246,0.08);
}
.result-line{ display:flex; justify-content:space-between; align-items:center; margin:0.5rem 0; }
.result-label{ color:var(--muted); font-weight:600; }
.result-value{ color:var(--accent); font-weight:700; font-size:1.05rem; }

/* footer CTA */
.cta-row{ display:flex; gap:0.5rem; margin-top:1rem; align-items:center; flex-wrap:wrap; }
.secondary{ background:#fff; border:1px solid #e2e8f0; color:var(--accent); }

/* tiny note */
.note{ font-size:0.85rem; color:var(--muted); margin-top:0.6rem; }

/* mobile tweaks */
@media(max-width:600px){
  .title{ font-size:1.05rem; }
  .grid{ grid-template-columns: 1fr; }
  .controls{ justify-content:flex-start; }
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #475569;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* RESPONSIVE - MOBILE NAVIGATION */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu li {
    padding: 1rem 2rem;
    border-bottom: 1px solid #e2e8f0;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }
}