﻿/* ===============================
   FOOTER WRAPPER
=================================*/
.site-footer {
    font-family: Arial, Helvetica, sans-serif;
    color: #555;
}

    .site-footer a {
        color: #555;
        text-decoration: none;
        transition: all 0.2s ease;
    }

        .site-footer a:hover {
            text-decoration: underline;
        }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ===============================
   TOP CONTACT BAR
=================================*/

/* Section */
.contact-section {
    width: 100%;
    background-color: #474747;
    color: #fff;
    padding: 75px 20px;
}

/* Container (matches ~1280px design) */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

/* Left */
.contact-left h2 {
    font-size: 40px;
    margin: 0 0 10px;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    font-weight: 400;
    line-height: 1.2;
}

.contact-left .hours {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
}

/* Right */
.contact-right {
    display: flex;
    align-items: start;
    gap: 40px;
}

    .contact-right .header__phone {
        margin: 0 !important;
        font-weight: 400 !important;
        line-height: 1.2 !important;
    }

.contact-item {
    text-align: center;
    min-width: 140px;
}

.label {
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 15px;
    color: #fff;
    font-weight: 600;
}

.value {
    font-size: 18px;
    color: #d1d1d1;
}

    .value.link {
        text-decoration: underline;
        cursor: pointer;
    }

/* Divider */
.divider {
    width: 1px;
    height: 100px;
    background-color: rgba(255,255,255,0.3);
}

/* ========================= */
/* 📱 Responsive */
/* ========================= */
@media (max-width: 900px) {
    .contact-left h2 {
        text-align: center;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .contact-right {
        width: 100%;
        width: 100%;
        justify-content: space-around;
    }

    .divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .contact-right {
        gap: 0px;
    }

    .contact-left h2 {
        font-size: 28px;
    }

    .contact-left .hours {
        font-size: 16px;
    }
}


/* ===============================
   MAIN FOOTER AREA
=================================*/
.footer-main {
    padding: 50px 0;
}

/* Section Headings */
.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #363636;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Company Grid */
.company-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.company-info-wrapper {
    width: 50%;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-section ul li a {
        font-size: 14px;
        color: #5a5a5a;
    }

        .footer-section ul li a:hover {
            color: #000;
        }

/* Divider between top categories and bottom area */
.footer-main hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}


/* ===============================
   BOTTOM GRID (Company + Newsletter)
=================================*/
.footer-bottom-grid {
    display: flex;
    gap: 40px;
    align-items: start;
}

.vertical-divider-main {
    width: 1px;
    background: #ddd;
}


/* ===============================
   NEWSLETTER
=================================*/

.footer-newsletter {
    width: 50%;
}

    .footer-newsletter h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #262626;
    }

    .footer-newsletter p {
        font-size: 14px;
        color: #474747;
        margin-bottom: 15px;
    }

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

    .newsletter-form input {
        flex: 1;
        padding: 10px 12px;
        border: 1px solid #ccc;
        font-size: 18px;
    }

        .newsletter-form input:focus {
            outline: none;
            border-color: #999;
        }

    .newsletter-form button {
        background: #cc0100;
        color: #fff;
        border: none;
        padding: 0 20px;
        font-size: 18px;
        cursor: pointer;
        transition: background 0.2s ease;
    }

        .newsletter-form button:hover {
            background: #b51218;
        }

.visually-hidden-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}

/* Social Icons */
.footer-newsletter .socials a i {
    height: 20px;
    width: 20px;
}

.social-icons {
    padding-bottom: 50px;
}

    .social-icons ul {
        margin-top: 20px;
        gap: 10px;
        display: flex;
    }

/* ===============================
   COPYRIGHT SECTION
=================================*/
.footer-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 40px 0 20px;
}

.footer-copyright {
    text-align: center;
    font-size: 13px;
    color: #AAA;
    line-height: 1.6;
}

    .footer-copyright a {
        color: #AAA;
    }

        .footer-copyright a:hover {
            color: #000;
        }

    .footer-copyright .header__phone {
        font-size: 13px;
        text-align: center;
        font-size: 13px;
        color: #AAA;
        line-height: 1.6;
        margin: 0px;
    }

/* ===============================
   MOBILE RESPONSIVE
=================================*/
@media (max-width: 440px) {

    .contact-right {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .categories-grid,
    .company-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .social-icons ul {
        display: flex;
        justify-content: space-around
    }

    .company-info-wrapper,
    .footer-newsletter {
        width: 100%;
    }

    /* Mobile only collapse */
    .footer-section.collapsible .footer-content {
        display: none;
    }

    .footer-section.collapsible.active .footer-content {
        display: block;
    }

    .footer-section .ico-arrow {
        display: block !important;
    }

    /* Add arrow icon */
    .footer-heading.toggle::after {
        content: "+";
        position: absolute;
        right: 0;
        top: 0;
        font-size: 18px;
    }

    .footer-section.active .footer-heading.toggle::after {
        content: "−";
    }

    /* Align text + icon in one line */
    .footer-heading.toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

    /* Arrow base style */
    .footer-heading .ico-arrow {
        display: inline-block;
        transition: transform 0.3s ease;
        font-size: 14px; /* adjust if needed */
    }

    /* Default: arrow pointing DOWN */
    .footer-section .ico-arrow {
        transform: rotate(0deg);
    }

    /* Active: arrow pointing UP */
    .footer-section.active .ico-arrow {
        transform: rotate(180deg);
    }

    .horizontal-divider {
        margin: 10px;
    }
}

@media (max-width: 768px) {
    .footer-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        cursor: pointer;
        margin-bottom: 15px;
    }

    .footer-bottom-grid {
        gap: 0px;
    }

    .social-icons ul {
        display: flex;
        justify-content: space-around
    }
}

@media (max-width: 768px) and (min-width: 426px) {

    /* Contact Section */
    .footer-top-inner {
        flex-direction: column;
        gap: 30px;
    }

    .footer-heading.active + .footer-content {
        display: block;
        margin-top: 15px;
    }

    .categories-grid,
    .company-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .company-info-wrapper,
    .footer-newsletter {
        width: 100%;
    }

        .footer-newsletter .footer__badges {
            float: none;
        }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

        .newsletter-form button {
            height: 42px;
        }

    .footer-bottom-grid {
        display: grid;
    }
}

.ico-call-us {
    width: 37px;
    height: 37px;
    background-image: url(../Content/images/ico-call-us.png);
}

.ico-email-us {
    width: 37px;
    height: 37px;
    background-image: url(../Content/images/ico-email-us.png);
}

.ico-visit-us {
    width: 37px;
    height: 37px;
    background-image: url(../Content/images/ico-visit-us.png);
}

.ico-instagram {
    width: 37px;
    height: 37px;
    background-image: url(../Content/images/ico-instagram.png);
}

.ico-arrow {
    width: 15px;
    height: 7px;
    background-image: url(../Content/images/ico-arrow.png);
}

.footer-section .ico-arrow {
    display: none;
}