/* Custom styles for Accounting Services Pro */

:root {
  --asp-primary: #142E49; /* Deep blue */
  --asp-accent: #F19E3B;  /* Warm accent */
  --asp-muted: #A7A8A7;   /* Neutral gray */
}

html {
  scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
}

body {
  font-family: "Eras Demi ITC", "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--asp-primary);
  padding-top: 6.5rem;
}

h1, h2, h3, h4, .navbar-brand {
  font-family: "Eras Demi ITC", "Segoe UI", Arial, Helvetica, sans-serif;
}

.text-primary-asp { color: var(--asp-primary) !important; }
.bg-primary-asp { background-color: var(--asp-primary) !important; }
.text-accent-asp { color: var(--asp-accent) !important; }
.bg-accent-asp { background-color: var(--asp-accent) !important; }
.text-muted-asp { color: var(--asp-muted) !important; }

/* Navbar */
.navbar {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-link {
  font-weight: 600;
}
.nav-link:hover, .nav-link:focus {
  color: var(--asp-accent) !important;
}
.contact-link {
    text-decoration: none;
}

.navbar .btn-contact {
  border: 2px solid var(--asp-accent);
  color: var(--asp-accent);
  font-weight: 700;
}
.navbar .btn-contact:hover {
  background: var(--asp-accent);
  color: var(--asp-primary);
}

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 85% -10%, rgba(241,158,59,0.2), rgba(20,46,73,0)) ,
              linear-gradient(180deg, #193656 0%, #11253b 100%);
  color: white;
  padding-top: 8rem;
  padding-bottom: 6rem;
}
.hero .lead {
  color: rgba(255,255,255,0.9);
}
.hero-section .btn-primary {
  background-color: var(--asp-accent);
  border-color: var(--asp-accent);
  color: var(--asp-primary);
  font-weight: 700;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-section .btn-primary:hover {
  filter: brightness(0.95);
}

.hero-section .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 1) !important;
  color: var(--asp-primary) !important;
  border-color: var(--asp-primary) !important;
}

/* Hero background image and overlay layering */
header.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff; /* High-contrast text color */
}
header.hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
header.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.6));
    z-index: 1;
}
header.hero .container {
    position: relative;
    z-index: 2;
}
/* Improve legibility of large and lead text */
header.hero h1,
header.hero p,
header.hero .lead {
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* Sections */
/*.section {*/
/*  padding-top: 2rem;*/
/*  padding-bottom: 2rem;*/
/*}*/
.section-title {
  color: var(--asp-primary);
  font-weight: 800;
}
/*.section-subtitle {*/
/*  color: var(--asp-muted);*/
/*}*/

/* Cards */
.card.service-card {
  border: 1px solid rgba(20,46,73,0.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.card.service-card .card-title {
  color: var(--asp-primary);
  font-weight: 700;
}
.card.service-card .badge {
  background: var(--asp-accent);
  color: #0b0d12;
}

/* Contact */
.form-control:focus, .form-select:focus {
  border-color: var(--asp-accent);
  box-shadow: 0 0 0 0.2rem rgba(241,158,59,0.25);
}
.btn-accent {
  background: var(--asp-accent);
  color: #0b0d12;
  border: none;
  font-weight: 700;
}
.btn-accent:hover {
  filter: brightness(0.95);
}

/* Footer */
footer {
  background: #0f2236;
  color: rgba(255,255,255,0.8);
}
footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
footer a:hover { color: var(--asp-accent); }

/* Utilities */
.hr-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--asp-accent), rgba(241,158,59,0.3));
  border: 0;
}

/* Ensure logo scales nicely */
.navbar-brand img {
  max-height: 64px;
}
