/* ========================================
   Old Hickory Loans - Main Stylesheet
   ======================================== */

/* Base Reset & Typography */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  font-family: 'Inter', sans-serif; 
  color: #111827; 
  background: #f9fafb; 
  line-height: 1.6; 
}

h1, h2, h3 { 
  font-family: 'Manrope', sans-serif; 
  font-weight: 600; 
}

a { 
  text-decoration: none; 
  color: inherit; 
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

/* ========================================
   Color Variables
   ======================================== */
:root {
  --primary-dark: #0D1B2A;
  --dark-secondary: #1e293b;
  --accent-orange: #f97316;
  --light-bg: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
}

/* ========================================
   Header Styles
   ======================================== */
header { 
  background: var(--primary-dark); 
  color: white; 
}

.top-bar { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 0.75rem 1.25rem; 
}

.logo-placeholder { 
  width: 140px; 
  height: 40px; 
  background: var(--dark-secondary); 
  border-radius: 6px; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  font-size: 0.75rem; 
  font-weight: 600; 
  letter-spacing: 0.05em; 
}

.top-cta { 
  display: flex; 
  gap: 0.75rem; 
  align-items: center; 
  font-size: 0.85rem; 
}

.btn-sm { 
  padding: 0.45rem 0.9rem; 
  border-radius: 9999px; 
  font-weight: 600; 
  font-size: 0.8rem; 
}

.btn-outline { 
  border: 1px solid var(--accent-orange); 
  color: var(--accent-orange); 
  background: transparent; 
}

.btn-outline:hover { 
  background: var(--accent-orange); 
  color: white; 
}

.phone { 
  font-weight: 600; 
}

/* ========================================
   Navigation
   ======================================== */
nav { 
  border-top: 1px solid #334155; 
  background: var(--primary-dark); 
}

nav ul { 
  list-style: none; 
  display: flex; 
  flex-wrap: wrap; 
  gap: 1.5rem; 
  padding: 0.75rem 1.25rem; 
  font-size: 0.9rem; 
  font-weight: 500; 
}

nav li.highlight a { 
  background: var(--accent-orange); 
  padding: 0.4rem 0.9rem; 
  border-radius: 9999px; 
  font-weight: 600; 
}

nav a { 
  color: #cbd5e1; 
  transition: color 0.2s; 
}

nav a:hover { 
  color: white; 
}

/* ========================================
   Hero Section
   ======================================== */
.hero { 
  background: linear-gradient(rgba(13,27,42,0.4), rgba(13,27,42,0.5)), url('images/banner-nexa.jpg');
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  color: white;
  padding: 4rem 1.25rem 4rem;
}

/* .hero h1 {
  font-size: 2.8rem; 
  line-height: 1.3; 
  margin-bottom: 1rem;
  padding: 0.8rem 1.5rem;
  background: rgba(13, 27, 42, 0.75);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: fit-content;
  max-width: 100%;
} */
.hero.h1 {
    font-size: ;
}
}

.hero p {
  font-size: 1rem;
  color: white;
  margin-bottom: 1.75rem;
  padding: 0.6rem 1.2rem;
  background: rgba(13, 27, 42, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: fit-content;
  max-width: 100%;
}

.hero h1, .hero p {  
  background: none !important; /* Kill block */  
  padding: 0.2rem 0 !important; /* Minimal padding */  
  color: #ffffff !important;  
  -webkit-text-stroke: 1px rgba(13,27,42,0.9) !important; /* Dark stroke */  
  text-shadow:  
    0 0 8px rgba(255,255,255,0.9),  /* White glow */  
    2px 2px 4px rgba(0,0,0,1) !important; /* Drop shadow */  
  font-weight: 800 !important;  
  display: inline-block !important; /* Shrink‑wraps text */  
  line-height: 1.2 !important;  
}  
.hero h1 { font-size: 3.2rem !important; }  

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem) !important; }  

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  background: rgba(13, 27, 42, 0.75);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid var(--accent-orange);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-inner { 
  display: grid; 
  grid-template-columns: 1fr 300px; 
  gap: 3rem; 
  align-items: start; 
}

.hero-actions { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 1rem; 
  margin-bottom: 2rem; 
}

.btn-primary { 
  background: var(--accent-orange); 
  color: white; 
  padding: 1rem 1.75rem; 
  border-radius: 9999px; 
  font-weight: 600; 
  font-size: 0.95rem; 
  box-shadow: 0 4px 14px rgba(249,115,22,0.4); 
  transition: all 0.2s; 
}

.btn-primary:hover { 
  background: #ea580c; 
  transform: translateY(-1px); 
}

.btn-ghost { 
  border: 1px solid #475569; 
  color: #e2e8f0; 
  padding: 0.95rem 1.5rem; 
  border-radius: 9999px; 
  font-weight: 500; 
  font-size: 0.95rem; 
}

.btn-ghost:hover { 
  border-color: var(--accent-orange); 
  color: white; 
}

.hero-meta { 
  font-size: 0.85rem; 
  color: #94a3b8; 
}

/* ========================================
   Hero Profile Card
   ======================================== */
.hero-right { 
  text-align: center; 
}

.hero-banner { 
  width: 100%; 
  height: 200px; 
  border-radius: 20px; 
  background: linear-gradient(135deg, var(--accent-orange), #fb923c); 
  margin-bottom: -70px; 
  position: relative; 
}

.profile-card { 
  background: var(--primary-dark); 
  border-radius: 20px; 
  padding: 1.5rem 1.5rem 2rem; 
  box-shadow: 0 25px 50px rgba(13,27,42,0.6); 
}

.avatar { 
  width: 110px; 
  height: 110px; 
  border-radius: 9999px; 
  margin: -70px auto 1rem; 
  border: 4px solid var(--accent-orange); 
  background: linear-gradient(135deg, #374151, #4b5563); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #94a3b8; 
  font-size: 0.85rem; 
  font-weight: 500; 
}

.profile-card h3 { 
  font-size: 1.1rem; 
  margin-bottom: 0.2rem; 
}

.profile-card p { 
  font-size: 0.85rem; 
  color: #94a3b8; 
  margin-bottom: 1rem; 
}

.socials { 
  display: flex; 
  justify-content: center; 
  gap: 0.75rem; 
  margin-bottom: 1rem; 
}

.social-pill { 
  font-size: 0.75rem; 
  padding: 0.35rem 0.75rem; 
  border-radius: 9999px; 
  border: 1px solid #475569; 
  color: #cbd5e1; 
  transition: all 0.2s; 
}

.social-pill:hover { 
  border-color: var(--accent-orange); 
  color: white; 
}

/* ========================================
   General Section Styles
   ======================================== */
section { 
  padding: 4rem 1.25rem; 
}

section h2 { 
  font-size: 2.1rem; 
  margin-bottom: 0.75rem; 
  color: var(--text-dark); 
}

.section-sub { 
  font-size: 1rem; 
  color: #6b7280; 
  margin-bottom: 2.5rem; 
  max-width: 700px; 
}

/* ========================================
   Loan Services Section
   ======================================== */
.loan-services { 
  background: var(--light-bg); 
}

.loan-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 1.25rem; 
}

.loan-card { 
  background: white; 
  border-radius: 16px; 
  padding: 1.5rem; 
  border: 1px solid #e2e8f0; 
  font-size: 0.95rem; 
  transition: all 0.2s; 
}

.loan-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}

.loan-title { 
  font-weight: 600; 
  margin-bottom: 0.5rem; 
  color: var(--text-dark); 
  font-size: 1.05rem; 
}

/* ========================================
   Market Pricing Section
   ======================================== */
.market { 
  background: white; 
}

.tabs { 
  display: flex; 
  gap: 0.5rem; 
  margin-bottom: 1.5rem; 
}

.tab { 
  padding: 0.6rem 1.1rem; 
  font-size: 0.85rem; 
  border-radius: 9999px; 
  border: 1px solid #d1d5db; 
  color: #64748b; 
  font-weight: 500; 
  cursor: pointer; 
}

.tab.active { 
  background: var(--primary-dark); 
  border-color: var(--primary-dark); 
  color: white; 
}

.market-widget { 
  border-radius: 16px; 
  border: 1px solid #e5e8eb; 
  padding: 2rem; 
  background: var(--light-bg); 
  text-align: center; 
}

/* ========================================
   Blog Section
   ======================================== */
.blog { 
  background: var(--light-bg); 
}

.blog-row { 
  display: flex; 
  gap: 1.5rem; 
  overflow-x: auto; 
  padding-bottom: 1rem; 
  scrollbar-width: none; 
}

.blog-row::-webkit-scrollbar { 
  display: none; 
}

.blog-card { 
  min-width: 280px; 
  flex-shrink: 0; 
  background: white; 
  border-radius: 16px; 
  border: 1px solid #e2e8f0; 
  padding: 1.5rem; 
}

.blog-tag { 
  font-size: 0.75rem; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
  color: #6b7280; 
  margin-bottom: 0.75rem; 
}

.blog-title { 
  font-size: 1rem; 
  font-weight: 600; 
  margin-bottom: 0.75rem; 
}

.blog-meta { 
  font-size: 0.8rem; 
  color: #9ca3b8; 
}

/* ========================================
   CTA Quote Section
   ======================================== */
.quote { 
  background: var(--primary-dark); 
  color: white; 
  text-align: center; 
  padding: 4rem 1.25rem; 
}

.quote h2 { 
  color: white; 
  margin-bottom: 1rem; 
}

.quote .section-sub { 
  color: #94a3b8; 
}

/* ========================================
   Footer
   ======================================== */
footer { 
  background: var(--dark-secondary); 
  color: #94a3b8; 
  padding: 2.5rem 1.25rem 2rem; 
  font-size: 0.85rem; 
}

.footer-top { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: space-between; 
  gap: 1.5rem; 
  align-items: center; 
  margin-bottom: 1rem; 
}

.legal { 
  line-height: 1.5; 
  opacity: 0.9; 
}

/* ========================================
   Mobile Responsive Styles
   ======================================== */
@media (max-width: 768px) {
  .hero-inner { 
    grid-template-columns: 1fr; 
  }
  
  .hero h1 { 
    font-size: 2rem; 
  }
  
  nav ul { 
    gap: 1rem; 
    font-size: 0.85rem; 
    flex-direction: column; 
  }
  
  .hero-actions { 
    flex-direction: column; 
    align-items: stretch; 
  }
}

/* Shrink + clean text backgrounds */  
.hero h1 {  
  padding: 0.5rem 1rem !important; /* Smaller padding */  
  background: rgba(13,27,42,0.85) !important; /* Tighter bg */  
  max-width: 90% !important; /* Contain to text */  
  margin: 0 auto !important;  
}  
.hero p {  
  padding: 0.4rem 0.8rem !important;  
  background: rgba(13,27,42,0.8) !important;  
  max-width: 80% !important;  
}  

/* Logo placeholder fix */  
.logo-placeholder {  
  width: 120px !important; /* Shrink */  
  height: 35px !important;  
  padding: 0.3rem 0.5rem !important; /* Tight fit */  
  line-height: 1.1 !important;  
  font-size: 0.7rem !important;  
  justify-content: center !important;  
}  

/* Circular profile pic */  
.avatar {  
  border-radius: 50% !important; /* Perfect circle */  
  width: 100px !important; height: 100px !important;  
  margin: -50px auto 1rem !important;  
  border-width: 3px !important;  
}  

/* Hero image tweak (newer/less busy) */  
.hero {  
  background-image: linear-gradient(rgba(13,27,42,0.6), rgba(13,27,42,0.4)),  
                    url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important; /* American home */  
}  

