/* =====================================================
   DIGITAL PC — Shared Site Styles
   Applied to every page via <link rel="stylesheet" href="./css/site.css">
   ===================================================== */

/* --- Typography base --- */
body {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2f3640;
}

.title-font {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

/* --- Unified heading sizes --- */
h1 { font-size: 2rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.75rem; font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }

/* --- Product card text --- */
.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
}

.product-card-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2563eb;
}

.product-card-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4b5563;
}

/* --- Address / contact info --- */
.contact-address,
.address-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
}

.contact-hours {
  font-size: 0.95rem;
  color: #4b5563;
}

/* --- Bullet / spec lists --- */
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-list li {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4b5563;
  padding: 2px 0;
}

.spec-list li::before {
  content: "• ";
  color: #2563eb;
  font-weight: 700;
}

/* --- Unified button styles --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover { background-color: #1d4ed8; }

/* --- Footer text consistency --- */
footer .footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #9ca3af;
}

footer .footer-link {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s;
}

footer .footer-link:hover { color: #fff; }

/* --- Nav link underline animation --- */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #00a8ff;
  transition: width 0.3s ease;
}

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

/* Active nav link: persistent underline when current page */
.nav-link.text-gray-900::after { width: 100%; }

/* --- Product detail description text --- */
.product-detail-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
}

/* --- Section subtitles --- */
.section-subtitle {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.5;
}

/* --- Hero page header --- */
.page-header-animated {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%) !important;
  position: relative;
  overflow: hidden;
}

.page-header-animated::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.15) 0%, transparent 60%);
  animation: headerGlow 4s ease-in-out infinite;
}

.page-header-float {
  animation: headerFloat 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes headerGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(20px, 10px) scale(1.1); opacity: 1; }
}

@keyframes headerFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
