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 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ---- Installux brand palette ---- */
:root {
    --color-charcoal: #2F2F2F;
    --color-olive: #55624F;
    --color-sage: #A7B39F;
    --color-stone: #D7C6B8;
    --color-linen: #EFE8DD;
    --color-terracotta: #C46A44;
}

body {
    background-color: var(--color-linen);
    color: var(--color-charcoal);
}

a {
    color: var(--color-olive);
}

a:hover {
    color: var(--color-terracotta);
}

.installux-navbar {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid var(--color-stone);
}

.installux-logo {
    height: 100px;
    width: auto;
}

.installux-navbar .navbar-brand,
.installux-navbar .nav-link {
    color: var(--color-charcoal) !important;
}

.installux-navbar .nav-link:hover {
    color: var(--color-terracotta) !important;
}

.installux-footer {
    background-color: var(--color-charcoal);
    color: var(--color-sage);
    padding: 1.25rem 0;
}

.installux-footer a {
    color: var(--color-stone);
}

.installux-footer a:hover {
    color: var(--color-linen);
}

.hero {
    background-color: var(--color-charcoal);
    color: var(--color-linen);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-stone);
}

.hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

section img.rounded {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.btn-installux {
    display: inline-block;
    background-color: var(--color-terracotta);
    color: var(--color-linen);
    padding: 0.65rem 1.5rem;
    border-radius: 4px;
    margin-top: 1.25rem;
    font-weight: 600;
    border: none;
}

.btn-installux:hover {
    background-color: var(--color-stone);
    color: var(--color-charcoal);
}

.product-card {
    background-color: #fff;
    border: 1px solid var(--color-stone);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
}

.product-card h3 {
    color: var(--color-charcoal);
}

.product-card .price {
    color: var(--color-terracotta);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.75rem 0;
}

.form-group-alt {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert-installux-success {
    background-color: var(--color-sage);
    color: var(--color-charcoal);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
}
/* ---- Staff area ---- */
.staff-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1rem;
    padding: 0.5rem 0.75rem;
    background-color: #fff;
    border: 1px solid var(--color-stone);
    border-radius: 6px;
}

.staff-nav a {
    text-decoration: none;
    font-weight: 600;
}

.staff-form {
    background-color: #fff;
    border: 1px solid var(--color-stone);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 48rem;
}

.job-card {
    border: 1px solid var(--color-stone);
}

.job-card h2 a {
    text-decoration: none;
}

.stat-card {
    background-color: #fff;
    border: 1px solid var(--color-stone);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    height: 100%;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-terracotta);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.75rem;
}

.schedule-day {
    background-color: #fff;
    border: 1px solid var(--color-stone);
    border-radius: 8px;
    padding: 0.75rem;
    min-height: 8rem;
}

.schedule-day.is-today {
    border-color: var(--color-terracotta);
    box-shadow: inset 0 3px 0 var(--color-terracotta);
}

.schedule-item {
    display: block;
    background-color: var(--color-linen);
    border-radius: 4px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--color-charcoal);
}

.schedule-item:hover {
    background-color: var(--color-stone);
    color: var(--color-charcoal);
}

.job-details dd {
    margin-bottom: 0.75rem;
}
