/* Teknas — single page site
   Colors and typography mirror the previous OnePress-based design. */

:root {
  --primary: #0257ad;
  --secondary: #333333;
  --heading: #333333;
  --body-text: #777777;
  --light: #f8f9f9;
  --white: #ffffff;
  --overlay: rgba(0, 0, 0, 0.45);
  --header-height: 80px;
  --font-heading: "Raleway", Helvetica, Arial, sans-serif;
  --font-body: "Open Sans", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 600;
  margin: 0 0 0.5em;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--secondary); }

.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  z-index: 100;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  display: block;
  width: 160px;
  height: auto;
}

.header-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--secondary);
}
.header-nav a:hover { color: var(--primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }

.hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 120px 20px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 0.5em;
}

.hero__title .nowrap { white-space: nowrap; }

.hero__sep {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  padding: 0 0.06em;
}

.hero__subtitle {
  color: var(--white);
  font-size: clamp(19px, 3vw, 27px);
  font-weight: 600;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 720px;
}

/* ---------- Contact / Address ---------- */
.section-contact {
  padding: 90px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 32px);
  margin-bottom: 50px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 18px auto 0;
}

.address-box {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.address-box h3 {
  font-size: 22px;
  margin-bottom: 34px;
}

.address-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 22px;
  font-size: 16px;
  color: var(--body-text);
}

.address-row .icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.address-row .icon svg { width: 18px; height: 18px; fill: currentColor; }

.address-row .text { text-align: left; line-height: 1.5; }
.address-row .text a { color: var(--primary); }
.address-row .text a:hover { color: var(--secondary); }

/* ---------- Social (LinkedIn only) ---------- */
.social {
  margin-top: 38px;
  text-align: center;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.social a:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(2, 87, 173, 0.3);
}
.social a svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--light);
  color: var(--body-text);
  text-align: center;
  padding: 26px 0;
  font-size: 14px;
  border-top: 1px solid #e9e9e9;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .site-header { height: 68px; }
  .site-logo img { width: 140px; }
  .hero__content { padding: 100px 18px; }
  /* Allow the headline to wrap so it never overflows narrow screens.
     The non-breaking space still keeps "|" attached to "Technology". */
  .hero__title .nowrap { white-space: normal; }
  .section-contact { padding: 64px 0; }
  .section-title { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .site-logo img { width: 120px; }
  .header-nav a { font-size: 13px; }
  .hero { min-height: 88vh; }
  .hero__content { padding: 88px 16px; width: 100%; }
  .hero__title { font-size: clamp(30px, 8.5vw, 44px); }
  .hero__subtitle { font-size: 18px; }
  .section-contact { padding: 52px 0; }
  .address-row {
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
  }
  .address-row .icon { width: 40px; height: 40px; }
  .address-row .icon svg { width: 16px; height: 16px; }
  /* Keep the email from overflowing tiny screens */
  .address-row .text { word-break: break-word; }
}
