/* Header Styles - Upper Moreland Wrestling Club */

/* Header Container */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, #0f0a23 100%);
  padding: 3rem 0;
  position: relative;
  box-shadow: var(--shadow-medium);
  z-index: 1000;
  overflow: hidden;
  min-height: 200px;
}

/* White diagonal slash */
header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 300px;
  width: 50px;
  height: 100%;
  background: var(--bg-primary);
  transform: skewX(-15deg);
  transform-origin: top right;
  box-shadow: var(--shadow-medium);
}

/* Yellow diagonal slash */
header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 175px;
  width: 100px;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #fbbf24 100%);
  transform: skewX(-15deg);
  transform-origin: top right;
  box-shadow: var(--shadow-medium);
}

/* Logo positioning in the slash */
.logo {
  position: absolute;
  right: 290px;
  top: 50%;
  transform: translate(50%, -50%);
  z-index: 10;
  width: 120px;
  height: 120px;
  background: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-heavy);
  border: 4px solid var(--accent-gold);
}

.logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  object-position: center;
  transform: translate(0, 8px);
  transition: var(--transition);
}

/* .logo:hover img {
  transform: scale(1.1);
} */

/* Club name styling */
.club-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  width: 100%;
}

.club-name h1 {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-shadow: 
    2px 2px 0px rgba(255, 255, 255, 0.8),
    4px 4px 0px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(245, 158, 11, 0.5);
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.club-name h1 .line1,
.club-name h1 .line2 {
  display: block;
  line-height: 1;
}



/* Social Icons */
.social-icons {
  position: absolute;
  top: 1rem;
  right: 2rem;
  z-index: 15;
}

.social-icons .fa,
.social-icons .fa-brands,
.social-icons .fa-solid {
  color: var(--text-light);
  font-size: 3rem !important;
  margin-left: 1rem;
  transition: var(--transition);
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  line-height: 1 !important;
}

.social-icons .fa:hover,
.social-icons .fa-brands:hover,
.social-icons .fa-solid:hover {
  color: var(--accent-gold);
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}

/* Responsive Header */
@media only screen and (max-width: 1240px) {
  /* Adjust slash positions for smaller screens */
  header::before {
    right: 225px;
  }

  header::after {
    right: 100px;
  }
  
  /* Adjust logo position */
  .logo {
    right: 225px;
  }
  
  /* Position social icons vertically on the right */
  header .social-icons {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 20;
  }
  
  header .social-icons .fa,
  header .social-icons .fa-brands,
  header .social-icons .fa-solid {
    margin: 0;
    margin-left: 0;
    font-size: 2.5rem;
    display: block;
  }
}

@media only screen and (max-width: 1024px) {
  /* Further adjust for medium screens */
  header::before {
    right: 150px;
  }

  header::after {
      right: 25px;
  }

  .club-name h1 {
    font-size: 1.8rem;
  }
  
  .logo {
    right: 150px;
  }
  
  /* Keep social icons vertical and smaller for tablets */
  header .social-icons {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 20;
  }
  
  header .social-icons .fa,
  header .social-icons .fa-brands,
  header .social-icons .fa-solid {
    margin: 0;
    margin-left: 0;
    font-size: 2rem;
    display: block;
  }
}

/* Mobile inline header layout */
@media only screen and (max-width: 768px) {

  
  /* Simpler mobile layout - revert to positioned elements */
  .logo {
    position: absolute;
    right: 120px;
    top: 50%;
    transform: translate(50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 10;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
    border: 4px solid var(--accent-gold);
  }
  
  .logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center;
  }
  
  .club-name {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    z-index: 5;
    text-align: left;
    width: auto;
  }
  
  .club-name h1 {
    font-size: 1.3rem;
    margin: 0;
  }
  
  /* Keep header simpler for mobile */
  header {
    padding: 2rem 0;
    min-height: 150px;
  }
  
  /* Keep social icons vertical on mobile but adjust position */
  header .social-icons {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 20;
  }
  
  header .social-icons .fa,
  header .social-icons .fa-brands,
  header .social-icons .fa-solid {
    margin: 0;
    margin-left: 0;
    font-size: 1.75rem;
    display: block;
  }
}

/* @media only screen and (max-width: 768px) {
  header {
    padding: 2rem 0;
    min-height: 150px;
  }
  
  header::before {
    right: 10%;
    width: 10%;
  }
  
  .logo {
    right: 22.5%;
    width: 100px;
    height: 100px;
  }
  
  .logo img {
    width: 80px;
    height: 80px;
  }
  
  .club-name h1 {
    font-size: 1.8rem;
  }
  
  .social-icons {
    position: static;
    text-align: center;
    margin-top: 1rem;
  }
  
  .social-icons .fa {
    margin: 0 0.5rem;
  }
} */

/* @media only screen and (min-width: 769px) and (max-width: 1024px) {
  header {
    padding: 2.5rem 0;
    min-height: 175px;
  }
  
  header::before {
    right: 12%;
    width: 22%;
  }
  
  .logo {
    right: 23%;
    width: 120px;
    height: 120px;
  }
  
  .logo img {
    width: 100px;
    height: 100px;
  }
  
  .club-name h1 {
    font-size: 2rem;
  }
} */
