@charset "UTF-8";

/* ===== Navigation Styles ===== */
.header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.logo a {
  color: #fff;
}

.logo a:hover {
  color: var(--secondary);
}

.nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.nav li {
  margin-left: 4px;
}

.nav li a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav li a:hover,
.nav li a.active {
  color: var(--secondary);
  background: rgba(255,255,255,0.08);
}

/* ===== Mobile Menu Toggle ===== */
.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 7px auto;
  transition: all 0.3s ease;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 13px;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  margin: 0 8px;
  color: #ccc;
}

.breadcrumb .current {
  color: var(--primary);
}

/* ===== Pagination ===== */
.pagination {
  text-align: center;
  padding: 30px 0;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  border-radius: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 0;
  font-size: 13px;
}

.footer a {
  color: rgba(255,255,255,0.7);
}

.footer a:hover {
  color: var(--secondary);
}

.footer h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--secondary);
  margin-top: 10px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a::before {
  content: "> ";
  color: var(--secondary);
}

.footer-contact p {
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-contact .label {
  color: var(--secondary);
  margin-right: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 60px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  line-height: 44px;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 18px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary);
  color: #fff;
}

/* ===== Responsive Nav ===== */
@media screen and (max-width: 1024px) {
  .header-inner {
    height: 60px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--primary);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .nav.open {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .nav li {
    margin: 0;
    width: 100%;
  }
  .nav li a {
    padding: 12px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .menu-toggle {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .footer .col-4 {
    width: 100%;
    margin-bottom: 30px;
  }
  .back-to-top {
    right: 15px;
    bottom: 40px;
    width: 38px;
    height: 38px;
    line-height: 38px;
  }
}
