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;
}

.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;
}

.jumbotron-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.jumbotron-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

/* The black box */


.jumbotron-overlay {
    position: absolute;
    bottom: 10px; /* moves box up from bottom */
    left: 10px;
    background: rgba(0, 0, 0, 0.75); /* translucent black */
    color: white;
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
    width: 80%; /* adjust as needed */
    max-width: 1000px; /* prevents it from getting too wide */
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* vertical + horizontal centering */
    text-align: center;
}


.jumbotron-overlayindex {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
    width: 80%;
    max-width: 1000px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.photo-block {
    width: 50%;
    height: 380px;
    background-image: url('/images/truck.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 22px;
    overflow: hidden;
}

.column-hover {
    background-color: #f2f2f2; /* normal color */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .column-hover:hover {
        background-color: #35A211; /* hover color */
        color: white; /* optional: change text color */
        transform: translateY(-4px); /* optional: lift effect */
    }



/*this is for the front page*/
/* Ensure the layout adapts to different screen sizes */
.page-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns of equal width */
    gap: 20px; /* Spacing between items */
    padding: 20px;
    background-color: rgb(53, 162, 17); /* Green background color */
}

/* Style for text sections */
.text-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

/* Style for the card items (image containers) */
.card-item {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-image-container {
    position: relative;
    width: 100%;
    height: auto;
}

.card-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Style for the 'CLICK HERE' button overlay */
.click-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(53, 162, 17);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

/* Media query for responsiveness on smaller screens */
@media screen and (max-width: 768px) {
    .page-container {
        grid-template-columns: 1fr; /* Stacks items vertically on small screens */
    }
}

/* Small screens Truck */ .logo-small {
    width: 80px;
    height: auto;
    border-radius:50px;
}

/* Default (closed) */
.navbar-toggler {
    border-color: #35A211;
}

    /* When ACTIVE (menu open) */
    .navbar-toggler:not(.collapsed) {
        background-color: #35A211;
        border-color: #35A211;
    }

        /* Optional: change the icon color */
        .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
            filter: brightness(0) invert(1); /* makes the icon white */
        }
/* Default state (collapsed) */
.navbar-toggler {
    border-color: #35A211;
    background-color: white;
}
header, nav.navbar {
    margin: 0 !important;
    padding: 0;
}


.btn {
    background-color: #35A211 !important;
    border-color: #35A211 !important;
    color: white !important;
}

    .btn:hover {
        background-color: #2d820e !important; /* darker green on hover */
        border-color: #2d820e !important;
    }


.contact-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

    .contact-images img {
        height: 50px; /* adjust as needed */
        object-fit: contain;
    }



footer.footer {
    padding: 15px 0; /* adds height */
}
