/* assets/css/components.css */

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--bg-glass-border);
}

.btn-outline:hover {
  background: var(--bg-glass);
  border-color: var(--text-primary);
}

.btn-neon {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 0 10px rgba(229, 57, 53, 0.2), inset 0 0 10px rgba(229, 57, 53, 0.1);
}

.btn-neon:hover {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(229, 57, 53, 0.6), inset 0 0 15px rgba(229, 57, 53, 0.4);
}

/* Outline red button — used in header CTA */
.btn-outline-red {
  background: transparent;
  color: #222;
  padding: 0.55rem 1.6rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1.5px solid var(--accent-primary, #D32F2F);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.btn-outline-red:hover {
  background: var(--accent-primary, #D32F2F);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}

.logo-wrapper {
  display: flex;
  justify-content: flex-start;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.04);
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  padding-right: 1.5rem;
  flex-wrap: nowrap;
}

.nav-link {
  position: relative;
  font-weight: 700;
  font-size: 0.78rem;
  color: #333;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-primary, #D32F2F);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover {
  color: var(--accent-primary, #D32F2F);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #000;
}

/* ===== HEADER CTA ===== */
.header-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #222;
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 1100px) {
  .nav-links {
    gap: 1.2rem;
  }
  .nav-link {
    font-size: 0.72rem;
  }
}

@media (max-width: 992px) {
  .header-container {
    grid-template-columns: auto 1fr;
  }
  .nav-links {
    display: none;
  }
  .header-cta .btn-outline-red {
    display: none;
  }
  .menu-toggle {
    display: flex;
    justify-self: end;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-secondary);
  padding: 4rem 0 1rem;
  border-top: 1px solid var(--bg-glass-border);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col { font-size: 0.85rem; }

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--bg-glass-border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ===== SERVICE VISUAL ===== */
.service-visual img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-visual:hover img {
  transform: scale(1.05);
}
