﻿/* ============================================================
   18. FOOTER
   ============================================================ */
.main-footer {
    background: #1638bd17;
    padding: 30px 0 20px;
    margin-top: 30px;
    border-top: 3px solid #002891;
    border-radius: 20px;
    color: var(--shimano-darkblue);
}

.footer-logo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 3px;
}

.scroll-top-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  text-decoration: none;
  font-size: 12px;
  transition: opacity .2s;
}

.scroll-top-btn:hover {
  opacity: .8;
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--blue);
}

/* Footer contacts */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 13px;

    @media (min-width: 576px) {
        flex-direction: row;
        justify-content: center;
    }
}

.footer-contacts p {
  margin: 0;
}

.footer-contacts a {
  color: var(--blue-light);
  font-weight: 600;
  text-decoration: none;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-sep {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 12px 0;
}

/* Footer services */
.footer-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.service-item i {
  font-size: 28px;
  color: var(--blue);
}

.service-item strong {
  font-size: 12px;
  color: #ddd;
  font-weight: 700;
}

.service-item p {
  font-size: 12px;
  color: #aaa;
  margin: 0;
}

/* Footer menus */
.footer-menus {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-menu-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-col ul li {
  margin-bottom: 8px;
}

.footer-menu-col ul li a {
  font-size: 12px;
  color: #aaa;
  text-decoration: none;
  transition: color .2s;
}

.footer-menu-col ul li a:hover {
  color: var(--blue);
}

/* Footer socials */
.footer-socials-row {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  text-decoration: none;
  font-size: 16px;
  transition: all .2s;
}

.social-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* Footer about */
.footer-about {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f5e8e8;
}

.footer-about h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px;
}

.footer-about p {
  font-size: 1.3rem;
  color: darkgreen;
  line-height: 2;
  margin: 0;
}

/* Footer copyright — Rayan: color #81858b, font-size 1.3rem, padding 20px 0 */
.footer-copyright {
  text-align: center;
  font-size: 1.3rem;
  color: var(--gray-text);
  padding: 0px 0;
}

/* ============================================================
   18. FOOTER  (Rayan: bg #fff2f2, border-top #f0e3e3 → we use white/light)
   ============================================================ */

/* Rayan: logo-bar align center space-between */
.footer-logo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.footer-logo-text {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 3px;
}

/* Rayan: scroll-top border 1px #e0e0e2, radius 8px, color #a1a3a8, font-size 1.2rem */
.scroll-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--shimano-green);
    border-radius: var(--radius);
    color: var(--shimano-darkblue);
    font-size: 1.2rem;
    padding: 4px 16px;
}

.scroll-top-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--shimano-darkblue);
}

/* Rayan: contacts flex, font-size 1.3rem, margin 12px 0 */
.footer-contacts {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  margin: 12px 0;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-contacts p { margin: 0; }

.footer-contacts a {
  color: var(--dark);
  font-weight: 600;
}

/* Rayan: separator bg #a1a3a8, height 14px, margin 0 16px */
.footer-sep {
  background: var(--shimano-green);
  height: 14px;
  margin: 0 16px;
  width: 1px;
  display: inline-block;
  vertical-align: middle;
}

/* Rayan: services margin 32px 0, col font-size 1.2rem, img max-width 64px */
.footer-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 32px 0;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.5;
  min-width: 120px;
}

.service-item i {
  font-size: 3.2rem;
  color: var(--shimano-green);
}

.service-item p {
  font-size: 1.2rem;
  color: var(--dark);
  margin: 0;
}

/* Rayan: menus border-top 1px #e0e0e2 on mobile */
.footer-menus {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-border);
}

/* Rayan: menu-wrapper border-bottom 1px #e0e0e2, padding 4px 0 */
.footer-menu-col {
  border-bottom: 1px solid var(--gray-border);
  padding: 4px 0;
}

/* Rayan: menu-title font-size 1.6rem, display flex space-between */
.footer-menu-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    padding: 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Rayan: footer menu hidden on mobile by default */
.footer-menu-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

.footer-menu-col ul li { margin-bottom: 4px; }

.footer-menu-col ul li a {
  font-size: 1.3rem;
  color: var(--shimano-darkblue);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  justify-content: flex-start;
  margin-right: 10px;
}

.footer-menu-col ul li a:hover { color: var(--blue); }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-btn {
  display: inline-block;
  color: var(--gray-text);
  font-size: 3rem;
  transition: color .2s;
}

.social-btn:hover { color: var(--blue); }

/* ============================================================
   19. BOTTOM NAV  (Rayan: height 54px, bg rgba(255,255,255,.95), font-size 1.1rem)
   ============================================================ */
.bottom-nav {
    align-items: center;
    background: rgba(255,255,255,.95);
    bottom: 0;
    box-shadow: 0 -4px 8px 0 rgba(0,0,0,.05);
    color: var(--gray-text);
    display: flex;
    font-size: 1.1rem;
    height: 54px;
    left: 0;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 94;
    border-top: 2px solid var(--shimano-darkblue);
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
}

/* Rayan: nav-item border-top 1px #e0e0e2, flex 1 */
.nav-item {
  flex: 1 1 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  text-decoration: none;
  transition: color .2s;
}

.nav-text {
  font-size: 1.1rem;
  line-height: 1.2;
}

.nav-item:hover,
.nav-item.active {
  color: var(--blue);
}

/* Rayan: active bg #f0f0f1, ::before bg accent, height 2px, top -1px, width 100% */
.nav-item.active {
  background: #f0f0f1;
}

.nav-item.active::before {
  content: '';
  background: var(--blue);
  height: 2px;
  left: 0;
  position: absolute;
  top: -1px;
  width: 100%;
}

/* Rayan: nav-icon margin 4px 0, svg 20x20 fill #424750 */
.nav-icon {
  margin: 4px 0;
  position: relative;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  fill: #424750;
  display: block;
  margin: 0 auto;
}

.nav-item.active .nav-icon svg,
.nav-item:hover .nav-icon svg {
  fill: var(--blue);
}

/* Rayan: badge bg accent, border-radius 50%, 16x16, font-size 1rem, left 50%, top 2px */
.badge {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 1rem;
  height: 16px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 2px;
  width: 16px;
}

/* ============================================================
   FOOTER — complete link wiring  
   ============================================================ */
.footer-quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.footer-quick-links a {
  font-size: 1.2rem; color: var(--gray-text); display: flex; align-items: center; gap: 4px;
}
.footer-quick-links a:hover { color: var(--blue); }

.footer-menu-title::before {
    @media (max-width: 991px) {
        content: "+";
        margin-left: 5px;
        color: var(--shimano-dark-blue)
    }
}

.namads {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}
    .namads img {
        width: 90px;
    }
