/* Shared Styles matching RL Group of Construction Live Website */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&family=Outfit:wght@400;500;600;700&family=Rubik:wght@400;500&display=swap');

:root {
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --color-nav-text: #0d141a;
  --color-accent-red: rgb(174, 35, 36);
  --color-footer-bg: rgb(117, 23, 23);
  --color-btn-green: rgb(20, 158, 41);
  --color-btn-green-hover: rgb(52, 135, 41);
  --color-text-dark: rgb(26, 26, 26);
  --color-text-muted: rgb(86, 88, 94);
  --color-link-blue: rgb(34, 31, 201);
  --container-max: 1240px;
  --content-max: 1224px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-secondary);
  color: #000000;
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  width: 100%;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: none;
  margin: 0;
  padding: 8px 16px;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  width: 420px;
  max-width: 100%;
  height: auto;
  max-height: 96px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(18px, 2.3vw, 34px);
  align-items: center;
}

.nav-links a {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-nav-text);
  padding-bottom: 4px;
  position: relative;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.75;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--color-nav-text);
}

/* Mobile Menu Button */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-nav-text);
  transition: transform 0.2s ease;
}

/* Responsive Header */
@media (max-width: 919px) {
  .header-inner {
    min-height: 88px;
    padding: 8px 16px;
  }

  .header-logo img {
    width: 310px;
    height: auto;
    max-height: 72px;
  }

  .burger-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 12px 22px 22px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid #eeeeee;
  }

}

@media (max-width: 1000px) {
  .header-inner {
    min-height: 88px;
    padding: 8px 16px;
  }

  .header-logo img {
    width: 310px;
    max-height: 72px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 72px;
    gap: 12px;
  }

  .header-logo img {
    width: min(260px, calc(100vw - 100px));
    max-height: 66px;
  }

  .burger-btn {
    width: 40px;
    height: 40px;
    padding: 8px;
  }
}

@media (min-width: 920px) and (max-width: 1000px) {
  .nav-links {
    gap: 17px;
  }
}
