/* David Bell Fabrications - Custom Styles */
:root {
  --dbf-green: #3fbf3f;
  --dbf-green-dark: #2ea32e;
  --dbf-green-light: #e8f8e8;
  --dbf-dark: #333333;
  --dbf-gray: #f5f5f5;
}

/* General */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

a {
  color: var(--dbf-green-dark);
}

/* Navbar */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar-brand img {
  height: 50px;
}

.navbar .nav-link {
  font-weight: 600;
  color: #333 !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--dbf-green) !important;
}

/* Buttons */
.btn-dbf {
  background-color: var(--dbf-green);
  border-color: var(--dbf-green);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.8rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-dbf:hover {
  background-color: var(--dbf-green-dark);
  border-color: var(--dbf-green-dark);
  color: #fff;
}

.btn-dbf-outline {
  border: 2px solid var(--dbf-green);
  color: var(--dbf-green);
  font-weight: 600;
  padding: 0.6rem 1.8rem;
  border-radius: 6px;
  background: transparent;
  transition: all 0.2s;
}

.btn-dbf-outline:hover {
  background-color: var(--dbf-green);
  color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  color: #333;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.hero .btn-dbf,
.hero .btn-dbf-outline {
  position: relative;
  z-index: 1;
}

/* Section headings */
.section-title {
  font-weight: 700;
  color: var(--dbf-dark);
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--dbf-green);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

/* Service cards */
.service-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-card .card-body {
  padding: 2rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--dbf-green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--dbf-green);
  font-size: 1.5rem;
}

/* About section / page */
.about-section {
  background-color: var(--dbf-gray);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--dbf-green) 0%, var(--dbf-green-dark) 100%);
  color: #fff;
  padding: 4rem 0;
}

.cta-section h2 {
  font-weight: 700;
}

/* Footer */
footer {
  background-color: #e8e8e8;
  color: #555;
  padding: 3rem 0 1.5rem;
}

footer h5 {
  color: #333;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--dbf-green);
}

footer .footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* Contact form */
.contact-form .form-control {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
}

.contact-form .form-control:focus {
  border-color: var(--dbf-green);
  box-shadow: 0 0 0 0.2rem rgba(63, 191, 63, 0.25);
}

/* Page header (inner pages) */
.page-header {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  color: #333;
  padding: 4rem 0 3rem;
}

.page-header h1 {
  font-weight: 800;
}

/* Value props */
.value-card {
  text-align: center;
  padding: 2rem 1rem;
}

.value-card .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--dbf-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--dbf-green);
  font-size: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 4rem 0; }
}
