/*
============================================================
/css/style.css
4TFIED Technologies Website Framework
Copyright © 2026 Benjamin Pendleton / 4TFIED Technologies
All rights reserved.

This file is part of a proprietary website framework created
by 4TFIED Technologies.

Unauthorized copying, reuse, redistribution, resale, or use
on another website or project is prohibited without written
permission from 4TFIED Technologies.

Client receives permission to use this code only as part of
the approved website/project delivered by 4TFIED Technologies.

Author: Benjamin Pendleton
Website: https://completemenus.com
============================================================
*/

:root {
  --bg: #fffaf2;
  --surface: #ffffff;
  --surface-warm: #fff3df;
  --text: #211a14;
  --muted: #685c50;
  --brand: #c54f1a;
  --brand-dark: #8f3514;
  --accent: #f4b24a;
  --line: #ead8c2;
  --shadow: 0 20px 55px rgba(80, 45, 19, 0.14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { max-width: 800px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* Header / Website Menu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  overflow: visible;
}

.header-light-sweep {
  position: fixed;
  top: 0;
  left: -70%;
  width: 45%;
  height: 78px;
  pointer-events: none;
  z-index: 1;

  background: linear-gradient(
    110deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.45) 40%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,0.45) 60%,
    rgba(255,255,255,0) 100%
  );

  animation: headerLightSweep 4s linear infinite;
}

@keyframes headerLightSweep {
  0% { left: -70%; }
  100% { left: 125%; }
}

.header-inner {
  position: relative;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  position: relative;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  width: 180px;
  height: auto;
  display: block;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  box-shadow: 0 10px 24px rgba(197, 79, 26, 0.24);
}

.brand-text {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.site-nav {
  position: relative;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
}

.site-nav a { color: var(--muted); }

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
}

.nav-demo {
  color: #fff !important;
  background: var(--brand);
  padding: 10px 16px;
  border-radius: 999px;
  animation: demoButtonFlicker 4s linear infinite;
}

@keyframes demoButtonFlicker {
  0%, 70%, 100% {
    box-shadow: none;
    filter: brightness(1);
  }

  73% {
    box-shadow: 0 0 8px rgba(244, 178, 74, 0.8);
    filter: brightness(1.2);
  }

  75% {
    box-shadow: none;
    filter: brightness(0.95);
  }

  77% {
    box-shadow: 0 0 14px rgba(244, 178, 74, 1);
    filter: brightness(1.35);
  }

  80% {
    box-shadow: none;
    filter: brightness(1);
  }
}

.nav-toggle {
  position: relative;
  z-index: 10001;
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

/* Hero */
/* Hero */
.hero {
  position: relative;
  padding: 84px 0 70px;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(5, 10, 18, 0.82),
      rgba(5, 10, 18, 0.82) 38%,
      rgba(5, 10, 18, 0.55) 65%,
      rgba(5, 10, 18, 0.35) 100%
    ),
    url('../assets/images/restaurant-hero.jpg');

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero .eyebrow {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 20px;
}

.hero h1 {
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.75);
}

.hero-lead {
  font-size: 1.24rem;
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.65);
}

.hero .trust-row span {
  color: rgba(255,255,255,0.92);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.hero-kicker {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 900;
  color: #c44a1c;
  text-align: center;
}

.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(197, 79, 26, 0.22);
  white-space: nowrap;
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--brand-dark);
}

.btn-secondary:hover { border-color: var(--brand); }

.btn-full {
  width: 100%;
  margin-top: 10px;
}

.trust-row span {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-weight: 800;
  font-size: 1rem;
}

.trust-row span::before {
  content: "✓";
  color: var(--brand);
  font-weight: 900;
  margin-right: 8px;
}

/* CompleteMenu Preview */
.menu-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 22px;
  transform: rotate(1.5deg);
}

.preview-topbar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.preview-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.preview-header {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  border-radius: 22px;
  padding: 28px;
}

.preview-header p {
  margin: 0 0 4px;
  font-weight: 800;
  opacity: 0.9;
}

.preview-header h2 {
  font-size: 2rem;
  margin: 0;
}

.preview-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.preview-tabs span {
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--surface-warm);
  color: var(--muted);
  font-weight: 800;
}

.preview-tabs .selected {
  background: var(--brand);
  color: #fff;
}

.preview-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.preview-item h3 { margin-bottom: 5px; }
.preview-item p { margin: 0; color: var(--muted); }
.preview-item strong { white-space: nowrap; color: var(--brand-dark); }

/* Sections */
.problem-section,
.features-section,
.content-section {
  padding: 72px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bad-card,
.good-card,
.feature-card,
.content-card,
.sidebar-card,
.contact-form,
.demo-card-large {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 34px rgba(80, 45, 19, 0.08);
}

.required {
    color: #dc2626;
    font-weight: 700;
}

.old-way-list,
.new-way-list {
  list-style: none;
  padding-left: 0;
}

.old-way-list li,
.new-way-list li {
  position: relative;
  padding-left: 42px;
  margin-bottom: 18px;
}

.old-way-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #d32f2f;
  font-weight: 900;
  font-size: 1.4rem;
}

.new-way-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2e7d32;
  font-weight: 900;
  font-size: 1.4rem;
}

ul {
  padding-left: 20px;
  margin: 0;
}

li + li { margin-top: 8px; }

.good-card {
  border-color: rgba(197, 79, 26, 0.35);
  background: #fff8ec;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-label {
  display: block;
  color: var(--brand);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: none;
  margin: 0 0 16px;
}

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

.feature-card p,
.content-card p,
.sidebar-card p,
.demo-card-large p {
  color: var(--muted);
}

/* Demo CTA */
.demo-cta {
  padding: 34px 0 82px;
}

.demo-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: var(--text);
  color: #fff;
  border-radius: 30px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.demo-box p {
  color: rgba(255,255,255,0.78);
  max-width: 720px;
}

/* Interior Pages */
.page-hero {
  padding: 42px 0 8px;
  text-align: center;
}

.demos-hero {
  padding: 60px 0 140px;
}

.page-hero p:not(.eyebrow):not(.hero-kicker) {
  color: var(--muted);
  font-size: 1.16rem;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.sidebar-card {
  position: sticky;
  top: 100px;
}

.demo-grid-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.demo-card-top span {
  display: inline-block;
  margin-bottom: 14px;
  background: var(--surface-warm);
  color: var(--brand-dark);
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.84rem;
}

.demo-card-large.muted {
  background: #fffdf8;
}

.demos-hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      rgba(255, 250, 241, 0.72),
      rgba(255, 250, 241, 0.82)
    ),
    url("/assets/images/menu-background.jpg") center center / cover no-repeat;
}

.demos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.demos-hero .container {
  position: relative;
  z-index: 1;
}

.content-section {
  position: relative;
  z-index: 2;
}


/* Contact Form */
.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fffdf8;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(244, 178, 74, 0.35);
  border-color: var(--brand);
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.form-success {
  color: #1f7a3f;
  font-weight: 700;
}

.form-error {
  color: #b42318;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: #1d1711;
  color: #fff;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
  gap: 32px;
  padding: 46px 0;
}

.footer-grid p {
  color: rgba(255,255,255,0.7);
  max-width: 440px;
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.footer-grid a:not(.brand) {
  display: block;
  color: rgba(255,255,255,0.75);
  margin: 8px 0;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 10002;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex !important;
  }

  .hero-grid,
  .split-grid,
  .content-layout,
  .footer-grid,
  .demo-grid-page {
    grid-template-columns: 1fr;
  }

  .comparison-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 54px; }
  .menu-preview { transform: none; }

  .demo-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .sidebar-card {
    position: static;
  }
}

.demos-content-section {
  margin-top: -180px;
}

@media (max-width: 700px) {

  .demos-hero {
    padding: 50px 0 170px;
  }
  .demos-content-section {
    margin-top: -115px;
  }

  .demos-hero h1 {
    font-size: 3rem;
    line-height: 1.15;
  }

  .demos-hero p:not(.hero-kicker) {
    font-size: 1.25rem;
    line-height: 1.45;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-actions .btn,
  .demo-box .btn {
    width: 100%;
  }

  .menu-preview,
  .bad-card,
  .good-card,
  .feature-card,
  .content-card,
  .sidebar-card,
  .contact-form,
  .demo-card-large {
    padding: 22px;
  }
}

@media (max-width: 700px) {
  .page-hero {
    padding: 28px 0 0;
  }

  .page-hero .hero-kicker {
    margin-bottom: 20px;
  }

  .page-hero h1 {
    margin-top: 0;
    margin-bottom: 28px;
  }

  .page-hero p:not(.hero-kicker) {
    margin-bottom: 0;
  }

  .demos-hero {
    padding: 45px 0 165px;
  }
  .brand-logo {
  width: 160px;
  }
}