/* layout.css - Page structure, typography, header, and footer */

/* Typography and headings */
h1, h2, h3, h4, h5, h6 {
  color: #0f172a;
  font-weight: 800;
}

p {
  color: #475569;
  line-height: 1.6;
}

.ui-main-title {
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -2px;
  line-height: 1.1;
}

.ui-highlight-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 900;
  color: #e11d48;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.ui-subtitle {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
}

.ui-description {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  max-width: 540px;
}

/* Hero section */
.hero-bg-wrapper {
  position: relative;
  background: 
    radial-gradient(circle at 10% 20%, rgba(225, 29, 72, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(15, 23, 42, 0.04) 0%, transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%),
    url('../img/bikes/trek.jpg') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

/* Header and navigation */
.bg-custom-dark {
  background-color: #0f172a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand logo and animated icon */
.brand-logo {
  width: 42px;
  height: 42px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

.footer-logo {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.1) rotate(-4deg);
}

.footer-brand-accent:hover .footer-logo {
  transform: scale(1.1);
}

.brand-text {
  letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
  color: #94a3b8;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
}

.navbar-nav .nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.navbar-nav .nav-link.active {
  color: #ffffff !important;
}

/* Header action buttons */
.header-btn-login {
  color: #f8fafc;
  border: 1px solid #475569;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.9rem;
}

.header-btn-login:hover {
  background: #334155;
  color: #ffffff;
}

.header-btn-register {
  background: #e11d48;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: bold;
}

.header-btn-register:hover {
  background: #be123c;
  color: #ffffff;
}

.header-btn-logout {
  color: #fda4af;
  border: 1px solid #e11d48;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.9rem;
}

.header-btn-logout:hover {
  background: #e11d48;
  color: #ffffff;
}

/* Footer fixed at bottom */
footer.site-footer {
  margin-top: auto;
  background-color: #0f172a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-brand-accent {
  color: #e11d48;
}

.site-footer .footer-link {
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.site-footer .footer-link:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

/* Home bike image container */
.home-bike-img {
  will-change: transform;
}
