/* ==========================================================
   Thornton Iron & Metal - Custom additions
   Loaded after style.css. Do not edit theme files.
   ========================================================== */

/* ---------- Quick stat badges (Why Choose Us) ---------- */
.tim-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}
.tim-stat {
    flex: 1 1 calc(50% - 12px);
    min-width: 130px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    padding: 14px 16px;
}
.tim-stat strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 2px;
}
.tim-stat span {
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* ---------- Metal chip lists (Metals We Buy / Exports) ---------- */
.tim-chips {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tim-chips li {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 30px;
    background: #f4f4f4;
    border: 1px solid #e3e3e3;
    color: #333;
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
}
.text-light .tim-chips li {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

/* Metal category cards */
.tim-metal-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-top: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.tim-metal-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Unacceptable items panel */
.tim-warning {
    background: #fff6f6;
    border: 1px solid #f0caca;
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 25px 30px;
    margin-top: 30px;
}
.tim-warning h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.tim-warning h3 i {
    color: var(--primary-color);
    margin-right: 8px;
}
.tim-warning ul {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 40px;
}
.tim-warning ul li {
    position: relative;
    padding: 4px 0 4px 22px;
    break-inside: avoid;
    font-size: 14px;
}
.tim-warning ul li:before {
    content: "\f00d";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}
@media (max-width: 767px) {
    .tim-warning ul {
        columns: 1;
    }
    .tim-stat {
        flex: 1 1 100%;
    }
}

/* ---------- FAQ accordion (native details/summary) ---------- */
.tim-faq details {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}
.tim-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 50px 18px 22px;
    font-weight: 600;
    font-size: 16px;
    color: #222;
    position: relative;
}
.tim-faq summary::-webkit-details-marker {
    display: none;
}
.tim-faq summary:after {
    content: "\f067";
    font-family: FontAwesome;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 14px;
    transition: transform 0.2s ease;
}
.tim-faq details[open] summary:after {
    content: "\f068";
}
.tim-faq details[open] summary {
    border-bottom: 1px solid #eee;
}
.tim-faq .faq-body {
    padding: 16px 22px 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- Location cards in contact section ---------- */
.tim-location h3 {
    margin-bottom: 5px;
}
.tim-location .tim-loc-phone {
    display: inline-block;
    margin: 6px 0 12px;
    font-size: 18px;
    font-weight: 600;
}
.tim-location iframe {
    border: 0;
    width: 100%;
    height: 380px;
    border-radius: 8px;
}

/* ---------- Mobile spacing: stacked text-over-image sections ---------- */
/* On mobile the side image drops below the text; give the text room to breathe */
@media (max-width: 991px) {
    #choose .container,
    #export .container {
        padding-bottom: 50px;
    }
    #choose .tim-stats {
        margin-bottom: 10px;
    }
}

/* ---------- Location cards (contact section) ---------- */
.tim-location {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 4px solid var(--primary-color);
    border-radius: 10px;
    padding: 25px 20px 20px;
    margin-bottom: 30px;
}
.tim-location h3 {
    margin-top: 0;
}
.tim-location p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.75);
}
/* Keep the three cards equal height on desktop rows */
@media (min-width: 768px) {
    #contact .row:last-of-type {
        display: flex;
        flex-wrap: wrap;
    }
    .tim-location {
        display: flex;
        flex-direction: column;
    }
    .tim-location iframe {
        flex: 1;
        min-height: 320px;
    }
}
/* Extra separation when stacked on mobile */
@media (max-width: 767px) {
    .tim-location {
        margin-bottom: 35px;
        padding: 22px 15px 15px;
    }
}
