html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Custom Additions for GainFoundry */

/* Foundry Theme Colors */
:root {
    --foundry-dark: #1a1a1a;
    --foundry-steel: #2c3e50;
    --foundry-orange: #d35400;
    --foundry-gold: #f39c12;
    --foundry-molten: linear-gradient(135deg, #2c3e50 0%, #000000 100%); /* Deep Steel to Black */
    --foundry-accent: linear-gradient(45deg, #d35400, #f39c12); /* Molten Fire */
}

/* Navbar Enhancements */
nav.navbar {
    border-bottom: 3px solid var(--foundry-orange) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.navbar-brand {
    font-weight: 800 !important;
    letter-spacing: 1.5px;
    font-size: 1.7rem !important;
    text-transform: uppercase;
    color: var(--foundry-steel) !important;
}

.hero-section {
    background: var(--foundry-molten);
    color: #ffffff; /* Changed to white for better contrast */
    border: none !important;
    border-bottom: 5px solid #d35400 !important; /* Molten accent line */
}

.hero-section h1 {
    color: #ffffff; /* Ensure heading is white */
}

.btn-primary, .btn-primary:hover, .btn-primary:focus {
    background-color: #d35400;
    border-color: #d35400;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--foundry-accent);
    color: white;
}

.service-card {
    transition: transform 0.2s;
    border-color: #dee2e6;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.2); /* Orange glow */
    border-color: #f39c12;
}

/* Override Bootswatch Lux navbar active state for better visibility on white */
.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show > .nav-link {
    color: #d35400;
}