/* Sheepdog — global styles (reset, fonts, header, footer) */

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

body {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #1F1F21;
}

/* ---------- Header ---------- */
.sheepdog-header {
  background-color: transparent;
  padding: 10px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.header-container {
  max-width: 1400px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
}
.header-logo img {
  width: 300px;
  height: auto;
  display: block;
}
.header-nav {
  display: flex;
  gap: 40px;
}
.nav-link {
  display: inline-block;
  position: relative;
  font-family: 'Oswald', sans-serif;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background-color: #f1b424;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: #f1b424;
}

.hamburger-btn {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .sheepdog-header {
    padding: 18px 20px;
  }
  .header-container {
    position: relative;
    justify-content: center;
    gap: 0;
  }

  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
  }
  .hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .hamburger-btn:hover .hamburger-line {
    background-color: #f1b424;
  }
  .hamburger-btn.hidden {
    display: none !important;
  }

  .header-logo {
    margin: 0;
  }
  .header-logo img {
    width: 200px;
  }

  .header-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: #1F1F21;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
  }
  .mobile-menu.active {
    left: 0;
  }
  .mobile-menu-content {
    padding: 80px 30px 30px 30px;
    height: 100%;
    overflow-y: auto;
  }
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: color 0.3s ease;
  }
  .close-btn:hover {
    color: #f1b424;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .mobile-nav-link {
    font-family: 'Oswald', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 10px 0;
    border-bottom: 1px solid #3a3a3c;
  }
  .mobile-nav-link:hover {
    color: #f1b424;
  }

  .mobile-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  .mobile-menu.active::before {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 420px) {
  .header-logo img {
    width: 170px;
  }
  .hamburger-btn {
    width: 26px;
    height: 20px;
  }
}

/* ---------- Footer ---------- */
.sheepdog-footer {
  background-color: transparent;
  padding: 25px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-container {
  max-width: 1400px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
}
.footer-logo img {
  width: 240px;
  height: auto;
  display: block;
}
.footer-nav {
  display: flex;
  gap: 40px;
}
.footer-nav .nav-link {
  font-size: 18px;
}
.footer-nav .nav-link::after {
  bottom: -4px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icon {
  width: 40px;
  height: 40px;
  color: #ffffff;
  transition: color 0.3s ease, transform 0.3s ease;
}
.social-link:hover .social-icon {
  color: #f1b424;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-nav {
    gap: 25px;
    flex-wrap: wrap;
  }
  .footer-logo img {
    width: 180px;
  }
  .footer-nav .nav-link {
    font-size: 16px;
  }
  .social-icons {
    margin-left: 0;
    align-self: flex-start;
  }
}

/* ---------- Background music indicator ---------- */
#music-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  cursor: pointer;
  transition: background 0.3s;
}
#music-indicator:hover {
  background: rgba(0, 0, 0, 0.9);
}
#music-indicator.playing {
  display: flex;
}
.music-icon {
  width: 16px;
  height: 16px;
}
