/* ==================================================
   SITE.CSS – LEGEND™ PROTECT WEBSITE
   Header, layout, footer — clean, correct alignment
================================================== */

/* ------------------ GLOBAL ------------------ */
body {
    font-family: 'Inter', sans-serif;
    color: #111;
    background-color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.layout-content {
    padding-top: 2rem;
    padding-bottom: 3rem;
    flex-grow: 1;
}

footer.footer {
    background-color: #f8f8f8;
    color: #1a1a1a;
    border-top: 1.5px solid #d0d0d0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 1rem 0;
}

/* ------------------------ HEADER / NAVBAR ------------------------ */
header {
    width: 100%;
}

.navbar {
    background-color: #fff;
    border: 1.5px solid #a68023;
    border-radius: 12px;
    height: 180px;       /* FIXED banner height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical centering */
    padding: 0 2rem;
    box-sizing: border-box;
}

.navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;          /* fills navbar height */
}

.navbar-brand img {
    height: auto;          /* preserve aspect ratio */
    max-height: 170px;     /* fixed maximum height for the logo */
    width: auto;
    display: block;
}


.navbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-left .nav-link {
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: #1a1a1a !important;
    text-decoration: none;
    transition: all 0.25s ease;
}

.navbar-left .nav-link:hover,
.navbar-left .nav-link.active {
    color: #a68023 !important;
    background-color: rgba(166,128,35,0.12);
    transform: translateY(-3px);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-right .nav-link {
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: #1a1a1a !important;
    text-decoration: none;
    transition: all 0.25s ease;
}

.navbar-right .nav-link:hover,
.navbar-right .nav-link.active {
    color: #a68023 !important;
    background-color: rgba(166,128,35,0.12);
    transform: translateY(-3px);
}

.header-bottom {
    text-align: center;
    margin-top: 1rem;
    font-weight: 700;
    color: #a68023;
    font-size: 1.5rem;
    letter-spacing: 1.2px;
}

/* ------------------------ RESPONSIVE ------------------------ */
@media (max-width: 768px) {
    .navbar {
        height: auto;       /* let navbar grow if needed */
        padding: 1rem;
    }

    .navbar-top {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .navbar-left, .navbar-right {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .header-bottom {
        font-size: 1.25rem;
    }
}

/* =================== SECTION IMAGES =================== */
.mb-5 img {
    margin-bottom: 1.5rem;
}

/* ===================== GOLD BUTTON ===================== */
.btn-gold {
    background-color: #a68023;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #8c6120;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
}

/* =================== TOOLBOXES =================== */
.toolbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.toolbox {
    background-color: #fff;
    border: 2px solid #a68023;
    border-radius: 12px;
    padding: 1.5rem;
    flex: 1 1 calc(33.333% - 1rem);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px;
}

.toolbox h3 {
    color: #a68023;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.toolbox p {
    color: #111;
    font-size: 0.95rem;
    line-height: 1.5;
}

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

@media (max-width: 992px) {
    .toolbox {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 576px) {
    .toolbox {
        flex: 1 1 100%;
    }
}

/* ========================= Remove Buttons ========================= */
.remove-driver-btn,
.remove-vehicle-btn,
.remove-accident-btn,
.remove-violation-btn,
.remove-comploss-btn {
    background-color: #c9302c;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.remove-driver-btn:hover,
.remove-vehicle-btn:hover,
.remove-accident-btn:hover,
.remove-violation-btn:hover,
.remove-comploss-btn:hover {
    background-color: #a52723;
}

/* ========================= Thank You Message ========================= */
.thank-you-message {
    background-color: #f9f9f9;
    border: 2px solid #a68023;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

.thank-you-message h3 {
    color: #000;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.thank-you-message p {
    margin-bottom: 10px;
}

.thank-you-message .verse {
    font-style: italic;
    font-size: 0.9rem;
    color: #a68023;
}
