/* Turul Robotics - hand-written stylesheet (replaces Tailwind build).
   Values mirror the Tailwind utilities used in the original Next.js site. */

/* To use the Geist font like the original, drop Geist-Variable.woff2 into
   static/fonts/ and uncomment:
@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
*/

:root {
  --background: #ffffff;
  --foreground: #000000;
  --yellow: #fff200;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---- Minimal preflight ---- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
button { font: inherit; color: inherit; background: none; padding: 0; cursor: pointer; }
strong { font-weight: 700; }

/* ---- Layout ---- */
.page { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; width: 100%; }
.container-4xl { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container, .container-4xl { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container, .container-4xl { padding: 0 2rem; } }
.narrow { max-width: 56rem; margin: 0 auto; }
.section { padding: 2rem 0; background: #fff; }
.section-black { padding: 2rem 0; background: #000; }

/* ---- Typography ---- */
.h2 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; color: #000; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .h2-xl { font-size: 3rem; line-height: 1; } }
.h3 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: #000; margin-bottom: 0.75rem; }
.h3-bold { font-size: 1.5rem; line-height: 2rem; font-weight: 700; color: #000; margin-bottom: 0.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.625; color: rgba(0,0,0,.8); }
.text-base { font-size: 1rem; line-height: 1.625; color: rgba(0,0,0,.8); }
.relaxed { line-height: 1.625; }
.semibold { font-weight: 600; }
.center { text-align: center; }
.mb-2 { margin-bottom: .5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; } .mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.stack-2 > * + * { margin-top: .5rem; }
.stack-3 > * + * { margin-top: .75rem; }
.stack-6 > * + * { margin-top: 1.5rem; }
.stack-8 > * + * { margin-top: 2rem; }
.stack-12 > * + * { margin-top: 3rem; }

ul.bullets, ol.numbers { font-size: 1.125rem; line-height: 1.625; color: rgba(0,0,0,.8); }
ul.bullets { list-style: disc inside; }
ol.numbers { list-style: decimal inside; }
ul.bullets > li + li { margin-top: .5rem; }
ol.numbers > li + li { margin-top: .75rem; }
ul.indent { margin-left: 1rem; }

/* ---- Buttons ---- */
.btn-outline, .btn-yellow {
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; border-radius: .375rem; text-transform: uppercase;
  transition: background-color .15s, color .15s, opacity .15s;
}
.btn-outline {
  border: 1px solid var(--yellow); background: transparent; color: var(--yellow);
  font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; padding: 1.5rem 2rem;
}
.btn-outline:hover, .btn-outline:focus, .btn-outline:active { background: var(--yellow); color: #000; }
.btn-yellow {
  border: 1px solid var(--yellow); background: var(--yellow); color: #000;
  font-weight: 500; font-size: .875rem; height: 2.75rem; padding: 0 2rem;
}
.btn-yellow:hover { opacity: .9; }
.btn-outline:focus-visible, .btn-yellow:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

/* ---- Navigation ---- */
.nav { background: #fff; border-bottom: 1px solid #000; position: sticky; top: 0; z-index: 50;
       box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }
.nav-row { display: flex; justify-content: space-between; align-items: center; height: 4rem; }
.nav-logo img { height: 3rem; width: auto; transition: opacity .15s; }
.nav-logo:hover img { opacity: .8; }
.nav-desktop { display: none; gap: 2rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } .nav-toggle, .nav-mobile { display: none !important; } }
.nav-link { font-weight: 500; color: rgba(0,0,0,.7); transition: color .15s; }
.nav-link:hover { color: #000; }
.nav-link.active { color: #000; border-bottom: 2px solid #000; }
.dropdown { position: relative; }
.dropdown > button { display: flex; align-items: center; gap: .25rem; }
.dropdown svg { width: 1rem; height: 1rem; transition: transform .15s; }
.dropdown:hover svg, .dropdown:focus-within svg { transform: rotate(180deg); }
.dropdown-menu { position: absolute; left: 0; top: 100%; padding-top: .75rem; display: none; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-box { width: 14rem; border-radius: .375rem; border: 1px solid rgba(0,0,0,.1); background: #fff;
                padding: .5rem 0; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.dropdown-box a { display: block; padding: .5rem 1rem; font-size: .875rem; color: rgba(0,0,0,.7); transition: color .15s, background-color .15s; }
.dropdown-box a:hover { color: #000; background: rgba(0,0,0,.05); }
.dropdown-box a.active { color: #000; font-weight: 600; }
.nav-toggle { color: #000; }
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-mobile { padding: 1rem 0; }
.nav-mobile[hidden] { display: none; }
.nav-mobile > * + * { margin-top: 1rem; }
.nav-mobile a { display: block; font-weight: 500; color: rgba(0,0,0,.7); }
.nav-mobile a:hover, .nav-mobile a.active { color: #000; }
.nav-mobile .sub > * + * { margin-top: .5rem; }
.nav-mobile .sub a { padding-left: .5rem; }
.nav-mobile .sub-label { font-size: .75rem; line-height: 1rem; font-weight: 600; text-transform: uppercase;
                         letter-spacing: .025em; color: rgba(0,0,0,.5); }

/* ---- Heroes ---- */
.hero-video { position: relative; background: #000; overflow: hidden; }
.hero-video video { width: 100%; height: auto; opacity: .5; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
                z-index: 10; padding: 3rem 0; }
@media (min-width: 768px) { .hero-overlay { padding: 4rem 0; } }
.hero-img { position: relative; background: #000; overflow: hidden; padding: 3rem 0; min-height: 300px;
            display: flex; align-items: center; }
@media (min-width: 768px) { .hero-img { padding: 4rem 0; min-height: 400px; } }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .3; }
.hero-inner { position: relative; text-align: center; width: 100%; }
.hero-title { font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.hero-sub { font-size: 1.125rem; line-height: 1.75rem; color: rgba(255,255,255,.8); max-width: 48rem; margin: 0 auto; }
@media (min-width: 640px) {
  .hero-title { font-size: 2.25rem; line-height: 2.5rem; }
  .hero-sub { font-size: 1.25rem; line-height: 1.75rem; }
}
@media (min-width: 768px) { .hero-title { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; line-height: 1; } }
.hero-center { text-align: center; }

/* ---- CTA (black) section ---- */
.cta h2 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .cta h2 { font-size: 3rem; line-height: 1; } }
.cta p { margin-left: auto; margin-right: auto; max-width: 48rem; }
.cta .p-xl { font-size: 1.25rem; line-height: 1.75rem; color: rgba(255,255,255,.8); margin-bottom: 1rem; }
.cta .p-lg { font-size: 1.125rem; line-height: 1.75rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.cta .p-lg-strong { font-size: 1.125rem; line-height: 1.75rem; color: rgba(255,255,255,.9); font-weight: 600; margin-bottom: 1.5rem; }

/* ---- Home: who we are / feature cards ---- */
.areas-title { font-size: 1.5rem; line-height: 2rem; font-weight: 700; color: rgba(0,0,0,.8);
               margin: 0 auto 2rem; max-width: 48rem; text-align: center; }
@media (min-width: 640px) { .areas-title { font-size: 1.875rem; line-height: 2.25rem; } }
@media (min-width: 768px) { .areas-title { margin-bottom: 3rem; } }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; justify-items: center;
                max-width: 64rem; margin: 0 auto; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-link { display: block; }
.feature-card {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  border: 1px solid rgba(0,0,0,.1); border-radius: .5rem; background: rgba(255,255,255,.95);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  transition: all .5s; cursor: pointer;
}
.feature-card:hover { transform: translateY(-.25rem); border-color: var(--yellow);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.js .reveal { opacity: 0; transform: translateY(2rem); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.js .reveal.visible:hover { transform: translateY(-.25rem); }
.feature-body { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; height: 100%;
                padding: 2.5rem 1.5rem; text-align: center; }
.feature-icon { display: flex; align-items: center; justify-content: center; height: 4rem; width: 4rem;
  border-radius: 9999px; border: 1px solid rgba(0,0,0,.1); background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); transition: all .3s; }
.feature-card:hover .feature-icon { border-color: var(--yellow);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.feature-icon img { height: 1.75rem; width: 1.75rem; object-fit: contain; }
.feature-body > div:last-child > * + * { margin-top: .75rem; }
.feature-title { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; text-transform: uppercase;
                 letter-spacing: .025em; color: #000; }
.feature-desc { font-size: .875rem; line-height: 1.625; color: rgba(0,0,0,.7); }

.who { position: relative; padding: 3rem 0; color: #fff; }
.who-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.who-shade { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.who-inner { position: relative; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .who-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .who-inner { padding: 0 2rem; } }
.who h2 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .who h2 { font-size: 3rem; line-height: 1; } }
.who p { font-size: 1.125rem; line-height: 1.75rem; color: rgba(255,255,255,.8); max-width: 42rem; margin: 0 auto; }

/* ---- Cards (customers / siemens) ---- */
.card { border-radius: .5rem; border: 1px solid #000; background: #fff; color: #000; box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }
.card-head { padding: 1.5rem; }
.card-title { font-size: 1.5rem; line-height: 1; font-weight: 600; letter-spacing: -.025em; }
.card-content { padding: 0 1.5rem 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.project-card { border-left: 4px solid var(--yellow); background: rgba(255,255,255,.95);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); transition: box-shadow .15s; }
.project-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.project-card p { padding: 1.5rem 1.5rem 2rem; }
.split { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: repeat(2, 1fr); } }
.cover-img { position: relative; height: 24rem; width: 100%; border-radius: .5rem; overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.cover-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Misc content ---- */
.line-up { margin-bottom: 1rem; overflow: hidden; }
.line-up img { width: 100%; height: auto; object-fit: contain; object-position: center; }
@media (min-width: 768px) { .line-up { height: 250px; } .line-up img { height: 100%; object-fit: cover; } }
.video-wrap { position: relative; width: 100%; padding-bottom: 56.25%; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.linkedin { display: inline-flex; align-items: center; gap: .5rem; color: rgba(0,0,0,.7); margin-bottom: 1rem; transition: color .15s; }
.linkedin:hover { color: #000; }
.linkedin svg { width: 1.25rem; height: 1.25rem; }
.linkedin span { font-size: .875rem; line-height: 1.25rem; }
.privacy h1 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; color: #000; margin-bottom: 2rem; }
@media (min-width: 768px) { .privacy h1 { font-size: 3rem; line-height: 1; } }
.privacy .body { color: rgba(0,0,0,.8); line-height: 1.625; }
.privacy h2 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: #000; margin-bottom: 1rem; }
.privacy ul { list-style: disc inside; margin-left: 1rem; }
.privacy ul > li + li { margin-top: .5rem; }
.privacy a { color: #000; text-decoration: underline; }
.privacy a:hover { color: rgba(0,0,0,.8); }

/* ---- Footer ---- */
.footer { background: #000; color: #fff; padding: 3rem 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer h3 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; margin-bottom: 1rem; color: #fff; }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav > * + * { margin-top: .5rem; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,.8); transition: color .15s; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-right { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 768px) { .footer-right { align-items: flex-end; } }
.footer-logo img { height: 7rem; width: auto; transition: opacity .15s; }
.footer-logo:hover img { opacity: .8; }
.footer-contact { margin-top: 1rem; }
.footer-contact a { display: block; }
.america-makes { display: inline-block; overflow: hidden; border-radius: .375rem; background: #fff;
                 line-height: 0; margin-top: 1.5rem; box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }
.america-makes img { display: block; height: auto; width: min(100%, 300px); max-width: 100%; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding-top: 2rem; margin-top: 2rem; }
.footer-bottom-row { display: flex; flex-direction: column; align-items: center; justify-content: space-between;
                     gap: 1rem; font-size: .875rem; line-height: 1.25rem; color: rgba(255,255,255,.6); }
@media (min-width: 768px) { .footer-bottom-row { flex-direction: row; } }
.footer-bottom-row a { color: rgba(255,255,255,.8); text-decoration: underline; transition: color .15s; }
.footer-bottom-row a:hover { color: #fff; }

/* ---- 404 ---- */
.notfound { padding: 6rem 0; text-align: center; }
