/* 
 * Footer CSS
 * Version: 1.0 
 * 
*/

.footer-credits {
	background-color: black;
	color: white;
}

.footer-credits a {
	color: white;
}

.footer-container {
	color: white;
	width: 100%;
	  background: 
    /* top, transparent red, faked with gradient */ 
    linear-gradient(
      rgba(0, 0, 0, 0.7), 
      rgba(0, 0, 0, 0.7)
    ),
    /* bottom, image */
    url(img/bg-footer.jpg) no-repeat center center fixed;
     -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.footer-container ul {
  list-style-type: none; /* Remove bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margins */
}

.footer-container a {
	color: white;
	text-decoration: none;
}

/* =========================================
   Plant Hire - WordPress Footer Widgets
   ========================================= */

.site-footer {
    position: relative;

    color: #cccccc;
    background-color: var(--dark-color);

    font-size: 0.95rem;
    line-height: 1.7;
}

.site-footer a {
    color: #dddddd;
    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.site-footer a:hover {
    color: var(--primary-color);
}


/* =========================================
   Footer Widget Area
   ========================================= */

.footer-widgets {
    padding-top: 60px;
    padding-bottom: 45px;
}

.footer-widgets .row {
    row-gap: 35px;
}


/* =========================================
   Individual Widgets
   ========================================= */

.footer-widgets .widget,
.site-footer .widget {
    margin-bottom: 30px;
}

.footer-widgets .widget:last-child,
.site-footer .widget:last-child {
    margin-bottom: 0;
}


/* =========================================
   Widget Titles
   ========================================= */

.footer-widgets .widget-title,
.site-footer .widget-title,
.wp-block-group h2.wp-block-heading {
    position: relative;

    margin: 0 0 22px;
    padding: 0 0 13px;

    color: var(--light-color);

    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;

    text-transform: uppercase;
    letter-spacing: 0.03em;

    border-bottom: 1px solid #333333;
}


/* Orange title accent */

.footer-widgets .widget-title::after,
.site-footer .widget-title::after,
.wp-block-group h2.wp-block-heading:after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -1px;

    width: 45px;
    height: 3px;

    background-color: var(--primary-color);
}


/* =========================================
   Widget Text
   ========================================= */

.footer-widgets .widget p,
.site-footer .widget p {
    margin-bottom: 15px;

    color: #cccccc;

    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-widgets .widget p:last-child,
.site-footer .widget p:last-child {
    margin-bottom: 0;
}


/* =========================================
   Widget Lists
   ========================================= */

.footer-widgets .widget ul,
.site-footer .widget ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-widgets .widget li,
.site-footer .widget li {
    position: relative;

    margin: 0;
    padding: 8px 0 8px 18px;

    border-bottom: 1px solid #292929;

    line-height: 1.5;
}

.footer-widgets .widget li:last-child,
.site-footer .widget li:last-child {
    border-bottom: 0;
}


/* Orange arrow */

.footer-widgets .widget li::before,
.site-footer .widget li::before {
    content: "›";

    position: absolute;
    left: 0;
    top: 7px;

    color: var(--primary-color);

    font-size: 1.15rem;
    font-weight: 700;
}

.footer-widgets .widget li a:hover,
.site-footer .widget li a:hover {
    padding-left: 3px;
}


/* =========================================
   Navigation Menu Widget
   ========================================= */

.footer-widgets .widget_nav_menu li,
.site-footer .widget_nav_menu li {
    padding-left: 0;
}

.footer-widgets .widget_nav_menu li::before,
.site-footer .widget_nav_menu li::before {
    display: none;
}

.footer-widgets .widget_nav_menu a,
.site-footer .widget_nav_menu a {
    display: block;
    padding: 8px 0;
}

.footer-widgets .widget_nav_menu .current-menu-item > a,
.site-footer .widget_nav_menu .current-menu-item > a {
    color: var(--primary-color);
    font-weight: 700;
}


/* =========================================
   Recent Posts
   ========================================= */

.footer-widgets .widget_recent_entries li,
.site-footer .widget_recent_entries li {
    padding-left: 0;
}

.footer-widgets .widget_recent_entries li::before,
.site-footer .widget_recent_entries li::before {
    display: none;
}

.footer-widgets .widget_recent_entries a,
.site-footer .widget_recent_entries a {
    display: block;

    color: #dddddd;
    font-weight: 600;
}

.footer-widgets .widget_recent_entries a:hover,
.site-footer .widget_recent_entries a:hover {
    color: var(--primary-color);
}

.footer-widgets .post-date,
.site-footer .post-date {
    display: block;

    margin-top: 3px;

    color: #888888;

    font-size: 0.78rem;
}


/* =========================================
   Categories
   ========================================= */

.footer-widgets .widget_categories li,
.site-footer .widget_categories li {
    display: flex;
    justify-content: space-between;
}

.footer-widgets .widget_categories .count,
.site-footer .widget_categories .count {
    color: var(--primary-color);
    font-size: 0.8rem;
}


/* =========================================
   Archives
   ========================================= */

.footer-widgets .widget_archive li,
.site-footer .widget_archive li {
    display: flex;
    justify-content: space-between;
}


/* =========================================
   Tag Cloud
   ========================================= */

.footer-widgets .tagcloud,
.site-footer .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.footer-widgets .tagcloud a,
.site-footer .tagcloud a {
    display: inline-block;

    padding: 6px 10px;

    color: #cccccc;
    background-color: #1a1a1a;

    border: 1px solid #333333;
    border-radius: 3px;

    font-size: 0.78rem !important;
    line-height: 1;
}

.footer-widgets .tagcloud a:hover,
.site-footer .tagcloud a:hover {
    color: var(--light-color);

    background-color: var(--primary-color);
    border-color: var(--primary-color);
}


/* =========================================
   Footer Images / Logos
   ========================================= */

.footer-widgets .widget img,
.site-footer .widget img {
    max-width: 100%;
    height: auto;
}


/* =========================================
   Footer Contact Details
   ========================================= */

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact strong {
    color: var(--light-color);
}

.footer-contact a {
    color: #dddddd;
}

.footer-contact a:hover {
    color: var(--primary-color);
}


/* =========================================
   Footer Contact Items
   ========================================= */

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 12px;
}

.footer-contact-icon {
    flex: 0 0 22px;

    color: var(--primary-color);

    font-size: 1rem;
    text-align: center;
}


/* =========================================
   Footer CTA Widget
   ========================================= */

.footer-cta {
    padding: 25px;

    color: var(--light-color);
    background-color: #151515;

    border-left: 4px solid var(--primary-color);
}

.footer-cta .widget-title {
    margin-bottom: 15px;
    border-bottom: 0;
}

.footer-cta .widget-title::after {
    display: none;
}

.footer-cta p {
    margin-bottom: 20px;
    color: #cccccc;
}


/* =========================================
   CTA Button
   ========================================= */

.footer-cta .btn,
.footer-cta .button {
    display: inline-block;

    padding: 11px 20px;

    color: var(--light-color);
    background-color: var(--action-color);

    border: 2px solid var(--action-color);
    border-radius: 3px;

    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.footer-cta .btn:hover,
.footer-cta .button:hover {
    color: var(--dark-color);

    background-color: var(--light-color);
    border-color: var(--light-color);
}


/* =========================================
   Footer Forms
   ========================================= */

.footer-widgets .widget input[type="text"],
.footer-widgets .widget input[type="email"],
.footer-widgets .widget input[type="url"],
.footer-widgets .widget input[type="tel"],
.footer-widgets .widget input[type="number"],
.footer-widgets .widget input[type="password"],
.footer-widgets .widget textarea,
.site-footer .widget input[type="text"],
.site-footer .widget input[type="email"],
.site-footer .widget input[type="url"],
.site-footer .widget input[type="tel"],
.site-footer .widget input[type="number"],
.site-footer .widget input[type="password"],
.site-footer .widget textarea {
    width: 100%;
    padding: 11px 13px;

    color: var(--light-color);
    background-color: #1a1a1a;

    border: 1px solid #3a3a3a;
    border-radius: 3px;

    box-sizing: border-box;
}

.footer-widgets .widget input:focus,
.footer-widgets .widget textarea:focus,
.site-footer .widget input:focus,
.site-footer .widget textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}


/* =========================================
   Submit Buttons
   ========================================= */

.footer-widgets .widget input[type="submit"],
.site-footer .widget input[type="submit"] {
    padding: 11px 20px;

    color: var(--light-color);
    background-color: var(--action-color);

    border: 1px solid var(--action-color);
    border-radius: 3px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.footer-widgets .widget input[type="submit"]:hover,
.site-footer .widget input[type="submit"]:hover {
    color: var(--dark-color);

    background-color: var(--light-color);
    border-color: var(--light-color);
}


/* =========================================
   Social Media
   ========================================= */

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: var(--light-color);
    background-color: #1a1a1a;

    border: 1px solid #333333;
    border-radius: 3px;

    font-size: 0.9rem;
}

.footer-social a:hover {
    color: var(--light-color);

    background-color: var(--primary-color);
    border-color: var(--primary-color);
}


/* =========================================
   Footer Bottom
   ========================================= */

.footer-bottom {
    padding: 20px 0;

    background-color: #111111;

    border-top: 1px solid #292929;

    color: #888888;

    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
    color: #888888;
    font-size: 0.82rem;
}

.footer-bottom a {
    color: #aaaaaa;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}


/* =========================================
   Footer Legal Links
   ========================================= */

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 15px;
}

.footer-legal a {
    color: #888888;
    font-size: 0.82rem;
}

.footer-legal a:hover {
    color: var(--primary-color);
}


/* =========================================
   Responsive
   ========================================= */

@media (max-width: 991px) {

    .footer-widgets {
        padding-top: 45px;
        padding-bottom: 35px;
    }

    .footer-widgets .widget {
        margin-bottom: 25px;
    }

}


@media (max-width: 767px) {

    .footer-widgets {
        padding-top: 40px;
        padding-bottom: 25px;
    }

    .footer-widgets .widget-title,
    .site-footer .widget-title {
        font-size: 1.1rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        margin-top: 10px;
    }

}