/* ============================================
   Roadrunner Equipment - Main Stylesheet
   Extracted from live site CSS (post-64.css)
   ============================================ */

/* --- Fonts (from live site) --- */
@font-face {
  font-family: 'Riforma LL';
  font-style: normal;
  font-weight: 300;
  font-display: auto;
  src: url('../assets/fonts/RiformaLLWeb-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Riforma LL';
  font-style: normal;
  font-weight: normal;
  font-display: auto;
  src: url('../assets/fonts/RiformaLLWeb-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Riforma LL';
  font-style: normal;
  font-weight: 500;
  font-display: auto;
  src: url('../assets/fonts/RiformaLLWeb-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Riforma LL';
  font-style: normal;
  font-weight: 700;
  font-display: auto;
  src: url('../assets/fonts/RiformaLLWeb-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Sf Pro';
  font-style: normal;
  font-weight: 300;
  font-display: auto;
  src: url('../assets/fonts/SF-Pro-Display-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Sf Pro';
  font-style: normal;
  font-weight: normal;
  font-display: auto;
  src: url('../assets/fonts/SF-Pro-Display-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Sf Pro';
  font-style: normal;
  font-weight: 500;
  font-display: auto;
  src: url('../assets/fonts/SF-Pro-Display-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Sf Pro';
  font-style: normal;
  font-weight: 600;
  font-display: auto;
  src: url('../assets/fonts/SF-Pro-Text-Semibold.ttf') format('truetype');
}

/* --- CSS Variables --- */
:root {
  --color-primary: #ff6442;
  --color-dark: #1a1a1a;
  --color-white: #ffffff;
  --font-heading: 'Riforma LL', Sans-serif;
  --font-body: 'Sf Pro', Sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--color-dark);
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   HOMEPAGE LAYOUT (from live site)
   ============================================ */

.homepage {
  display: flex;
  min-height: 100vh;
  background-color: var(--color-dark);
}

/* --- Left Panel (Scrolling Content) --- */
.homepage-panels {
  width: 50%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Right Panel (Sticky Hero) --- */
.homepage-hero {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  padding: 40px;
  z-index: 1;
  pointer-events: none;
}

.homepage-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 32px;
  opacity: 0.8;
  pointer-events: auto;
}

/* --- Section Panel --- */
.homepage-section {
  min-height: 100vh;
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
}

.homepage-section--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.homepage-section--light {
  background-color: var(--color-white);
  color: var(--color-dark);
}

/* --- Header Row --- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.header-logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo-main {
  width: 35%;
  min-width: 200px;
}

.logo-tagline {
  /* Part of logo group */
}

.header-arrow {
  align-self: flex-end;
}

.header-arrow img {
  width: 90px;
  height: 90px;
}

/* --- Main Content Row (2 columns) --- */
.section-content {
  display: flex;
  flex-direction: row;
  flex: 1;
  padding-top: 40px;
}

/* --- Left Column: Nav (37%) --- */
.section-left {
  width: 37%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- Right Column: Content (63%) --- */
.section-right {
  width: 63%;
  padding-bottom: 70px;
}

/* --- Main Headline --- */
.section-headline {
  width: 85%;
  padding-top: 60px;
  font-family: var(--font-heading);
  font-size: 94px;
  font-weight: 500;
  line-height: 90.24px;
  letter-spacing: -5px;
}

/* --- Navigation Links --- */
.section-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  line-height: 30.72px;
  padding: 7px 0;
}

.nav-link:hover {
  color: var(--color-primary);
}

/* --- Social Icons --- */
.social-icons {
  display: flex;
  gap: 0;
  margin-top: 10px;
  margin-left: -8px;
}

.social-icon {
  width: 25px;
  height: 25px;
  display: block;
  padding: 0;
}

.social-icon img {
  width: 100%;
  height: 100%;
}

/* --- Content Block --- */
.content-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 100px;
}

.content-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 500;
  line-height: 30.72px;
  letter-spacing: -1px;
}

.content-text {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 19.09px;
  letter-spacing: -0.35px;
}

.content-image {
  border-radius: 15px;
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content-image--small img {
  /* Natural size */
}

.content-image--wide img {
  /* Full width */
}

/* --- Footer --- */
.footer {
  width: 50%;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-dark);
  color: var(--color-white);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-copyright {
  font-size: 14px;
  color: #949494;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 14px;
  color: #949494;
}

.footer-link:hover {
  color: var(--color-white);
}

/* ============================================
   RESPONSIVE (from live site)
   ============================================ */

@media (max-width: 1024px) {
  .homepage-panels {
    width: 100%;
  }

  /* Hide desktop hero on tablet/mobile - inline images handle these views */
  .homepage-hero {
    display: none;
  }

  .homepage {
    flex-direction: column;
  }

  .homepage-section {
    padding: 60px 20px;
  }

  .section-headline {
    width: 100%;
    font-size: 54px;
    line-height: 1em;
    letter-spacing: -2px;
    padding-top: 15px;
  }

  .header-arrow img {
    width: 52px;
    height: 52px;
  }

  .nav-link {
    font-size: 23px;
  }

  .content-title {
    font-size: 27px;
  }

  .content-block {
    padding-right: 0;
  }

  .footer {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .homepage-section {
    padding: 30px 10px 50px;
  }

  .section-content {
    flex-direction: column;
    padding-top: 0;
  }

  .section-left {
    width: 100%;
    padding: 20px 10px 10px;
  }

  .section-right {
    width: 100%;
    padding: 0 0 0 0;
  }

  .section-headline {
    font-size: 48px;
    line-height: 46.08px;
    letter-spacing: -3px;
    padding-top: 30px;
  }

  .header-arrow img {
    width: 45px;
    height: 45px;
  }

  .logo-main {
    width: 45%;
  }

  .nav-link {
    font-size: 24px;
    line-height: 28px;
  }

  .social-icons {
    padding-top: 10px;
  }

  .content-title {
    font-size: 32px;
  }

  .content-block {
    padding-right: 0;
  }

  .footer {
    padding: 20px 15px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
