/* ==========================================================================
   DannyCarlton.org Custom Styles
   Built on AppStrap 3.4 with red-dark color scheme
   Primary: #a10f2b  Dark: #720b1f
   ========================================================================== */

/* ---------- Hero Section ---------- */
.hero-section {
  background-color: #1a0a0e;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

/* Dark overlay so text is readable over photo */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 5, 7, 0.7) 0%,
    rgba(26, 10, 14, 0.6) 50%,
    rgba(10, 5, 7, 0.8) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.hero-badge .badge {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 50px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 620px;
  opacity: 0.85;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-buttons .btn {
  min-width: 200px;
}

.hero-stats {
  position: relative;
  z-index: 1;
}

.stats-number {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 4px;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .stats-number {
    font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-content {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  .stats-number {
    font-size: 1.75rem;
  }
}


/* ---------- Support Page Hero ---------- */
.support-hero {
  background: linear-gradient(135deg, #2a1015 0%, #1a0a0e 50%, #2a1218 100%);
  position: relative;
}

.support-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(161, 15, 43, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(161, 15, 43, 0.1) 0%, transparent 40%);
  pointer-events: none;
}


/* ---------- Portfolio Cards ---------- */
.portfolio-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  border-radius: 6px;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
}

.portfolio-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.portfolio-card:hover .card-img-top {
  opacity: 0.92;
}

.portfolio-card .card-title a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.portfolio-card .card-title a:hover {
  color: #a10f2b !important;
}


/* ---------- Badges ---------- */
.badge-primary {
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.badge-info {
  background-color: #17a2b8;
  font-weight: 600;
  font-size: 0.7rem;
}

.badge-secondary {
  font-weight: 600;
  font-size: 0.7rem;
}

.badge-warning {
  font-weight: 600;
  font-size: 0.7rem;
}


/* ---------- Filter Buttons ---------- */
#portfolio-filter .btn {
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 2px;
  transition: all 0.2s ease;
}

#portfolio-filter .btn.active,
#portfolio-filter .btn:hover {
  background-color: #a10f2b;
  border-color: #a10f2b;
  color: #fff;
}

@media (max-width: 767px) {
  #portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #portfolio-filter .btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}


/* ---------- Support Page Cards ---------- */
.border-left-primary {
  border-left: 4px solid #a10f2b !important;
}

.border-left-3 {
  border-left-width: 4px !important;
}


/* ---------- Photo Background Sections ---------- */
.bg-photo-bible {
  background: url('/1014404-bible-762841_1920.jpg') center / cover no-repeat !important;
  position: relative;
}

.bg-photo-bible::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 35, 50, 0.8);
  pointer-events: none;
}

.bg-photo-bible > * {
  position: relative;
  z-index: 1;
}


/* ---------- Color Bar Override ---------- */
.bg-red-dark {
  background-image: url('/red-leather-prestige.jpg') !important;
  background-repeat: repeat !important;
  box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.4), inset 0 -8px 16px rgba(0, 0, 0, 0.4);
}


/* ---------- Stats Display ---------- */
.display-4 {
  font-size: 2.5rem;
}

@media (max-width: 767px) {
  .display-4 {
    font-size: 2rem;
  }
  .display-3 {
    font-size: 2.2rem;
  }
}


/* ---------- Kill AppStrap teal footer border ---------- */
#footer {
  border-top: none;
}

/* ---------- Hero-to-content separator ---------- */
.hero-stats {
  border-top: 1px solid #444444;
}

/* ---------- General Refinements ---------- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

.header-brand-text h2 .text-primary {
  font-size: 1.1em;
}

.btn-rounded {
  border-radius: 50px;
}

footer a.text-white-50:hover {
  color: #a10f2b !important;
  text-decoration: none;
}

.bg-light .card {
  border: 1px solid rgba(0,0,0,0.04);
}

.portfolio-item {
  transition: opacity 0.3s ease;
}

.bg-red-dark h3,
.bg-red-dark h4 {
  line-height: 1.4;
}

.rounded-circle i {
  line-height: 1;
}

#footer 
	{
	border-top:none;
	}

.hero-stats
	{
	border-top: 1px solid #444444;
	}
