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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #4a0000;
  overscroll-behavior: none;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #4a0000;
  color: white;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #4a0000 url('assets/red.jpeg') center/cover no-repeat fixed;
  z-index: -1;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1000;
}

.brand-logo img {
  height: 50px;
  width: auto;
}

.nav-trigger {
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

.nav-trigger + label {
  display: none;
}

@media (max-width: 768px) {
  .nav-trigger + label {
    display: block;
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 1001;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  
  .nav-trigger + label span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    margin-bottom: 6px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    padding: 80px 20px 20px;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  .nav-trigger:checked ~ .nav-links {
    left: 0;
  }
}
