/* ============================================================
   Michael Siegle – Static Site Styles
   Recreated from michaelsiegle.com (WordPress/Elementor)
   ============================================================ */

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

html, body {
  height: 100%;
  font-family: 'Roboto', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  background-color: #000;
  color: #fff;
}

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

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

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: #000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  height: 45px;
  gap: 16px;
}

.header-logo {
  flex: 0 1 auto;  /* shrinks if needed, never grows past natural size */
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-logo img {
  height: 44px;
  width: auto;
  max-width: 100%;  /* never overflows its column */
}

.header-spacer {
  display: none;  /* no longer needed — space-between handles the gap */
}

.header-social {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  transition: opacity 0.2s ease;
}

.social-icon:hover {
  opacity: 0.8;
}

.social-icon.linkedin svg {
  background-color: #0077B5;
  border-radius: 3px;
  padding: 2px;
  fill: #fff;
  width: 22px;
  height: 22px;
}

.social-icon span {
  font-size: 13px;
  color: #fff;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px; /* top padding accounts for fixed header */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 60px;
  color: #61ce70;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  line-height: 1.1;
}

.hero h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 35px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* --- Footer --- */
.site-footer {
  background-color: #000;
  text-align: center;
  padding: 18px 20px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer p {
  font-size: 14px;
  color: #555;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
    letter-spacing: 2px;
  }

  .hero h2 {
    font-size: 22px;
  }

  /* Hide the "Linkedin" label on small screens, keep just the icon */
  .social-icon span {
    display: none;
  }

  /* Disable parallax on mobile (causes issues on iOS) */
  .hero {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
    letter-spacing: 1.5px;
  }

  .hero h2 {
    font-size: 17px;
  }
}
