/* ==========================================================================
   IAGS - Construction Material Supply
   Red + Black skin on a white background, loaded after theme.css
   Palette: red #D71920 | black #111111 | white #FFFFFF
   ========================================================================== */

html[data-bs-theme] {
    --primary-color: #D71920;
    --gradient-color: #A50F15;
    --bs-primary-rgb: 215, 25, 32;
    --iags-red: #D71920;
    --iags-red-dark: #A50F15;
    --iags-black: #111111;
    --iags-ink: #1b1b1b;
    --iags-line: #111111;
    --iags-soft: #F4F4F4;
    --tc-neutral-0: #111111;
    --tc-neutral-100: #1b1b1b;
    --tc-neutral-200: #3d3d3d;
    --tc-neutral-300: #555555;
    --tc-neutral-400: #6b6b6b;
    --tc-neutral-800: #d9d9d9;
    --tc-neutral-900: #f4f4f4;
    --tc-neutral-1000: #ffffff;
    --tc-theme-secondary-1: #f4f4f4;
    --tc-bg-1: #f4f4f4;
    --tc-linear-1: linear-gradient(90deg, #D71920 0%, #A50F15 100%);
}

html[data-bs-theme] body {
    background: #fff;
    color: #1b1b1b;
}

::selection { background: #D71920; color: #fff; }

/* ---------- Typography ---------- */
html[data-bs-theme] h1, html[data-bs-theme] h2, html[data-bs-theme] h3,
html[data-bs-theme] h4, html[data-bs-theme] h5, html[data-bs-theme] h6 {
    color: #111;
    font-weight: 800;
    letter-spacing: -0.01em;
}
html[data-bs-theme] .text-primary { color: var(--iags-red) !important; }
html[data-bs-theme] .text-dark { color: #111 !important; }

/* Section titles: uppercase with a red bar */
.section-service-1 h3.ds-3,
.section-projects-1 h3.ds-3,
.section-testimonials h3.ds-3,
.section-faqs h3.ds-3,
.section-contact-1 h3.ds-3,
.section-work h3.ds-3 {
    color: #111 !important;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.section-service-1 h3.ds-3::after,
.section-projects-1 h3.ds-3::after,
.section-testimonials h3.ds-3::after,
.section-faqs h3.ds-3::after,
.section-contact-1 h3.ds-3::after,
.section-work h3.ds-3::after {
    content: "";
    display: block;
    width: 84px;
    height: 7px;
    margin-top: 14px;
    background: var(--iags-red);
}

/* ---------- Square, industrial shapes ---------- */
.rounded-3, .rounded-4, .rounded-5, .rounded-pill,
.card, .form-control, .form-select, .btn, .project-item {
    border-radius: 0 !important;
}

/* ---------- Buttons ---------- */
.btn {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-width: 2px;
}
html[data-bs-theme] .btn-gradient {
    --bs-btn-color: #fff;
    --bs-btn-bg: #D71920;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #111;
    --bs-btn-active-bg: #111;
    background: #D71920 !important;
    border: 2px solid #D71920 !important;
    color: #fff !important;
    box-shadow: 6px 6px 0 #111;
    transition: all .2s ease;
}
html[data-bs-theme] .btn-gradient:hover {
    background: #111 !important;
    border-color: #111 !important;
    box-shadow: 6px 6px 0 #D71920;
    transform: translate(-2px, -2px);
}
html[data-bs-theme] .btn-outline-secondary {
    --bs-btn-bg: #fff;
    --bs-btn-color: #111;
    background: #fff !important;
    color: #111 !important;
    border: 2px solid #111 !important;
}
html[data-bs-theme] .btn-outline-secondary:hover {
    background: #111 !important;
    color: #fff !important;
}

/* ---------- Header: black bar, red base line ---------- */
header .navbar,
.navbar-clone {
    background: #111 !important;
    border-bottom: 4px solid #D71920;
    box-shadow: none;
}
header::before {
    content: "";
    display: block;
    height: 6px;
    background: repeating-linear-gradient(-45deg, #D71920 0 14px, #111 14px 28px);
}
header .navbar .navbar-brand .site-name-text,
.navbar-clone .navbar-brand .site-name-text {
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.05rem !important;
    letter-spacing: 0.14em;
}
.navbar .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-item .nav-link,
.navbar-clone .navbar-nav .nav-link {
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 0.92rem;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-item.active > .nav-link,
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .current-menu-item > .nav-link {
    color: #D71920 !important;
}
.navbar .navbar-nav .dropdown-toggle:after { color: #fff; }
.navbar .navbar-nav li .sub-menu { background: #fff; border-top: 3px solid #D71920; border-radius: 0; }
.navbar .navbar-nav li .sub-menu .nav-item .nav-link { color: #111 !important; }
.navbar .navbar-nav li .sub-menu .nav-item .nav-link:hover { color: #D71920 !important; }
.navbar .navbar-social a, .navbar .navbar-social svg { color: #fff; }
.navbar .burger-icon { border-color: #fff !important; border-radius: 0 !important; }
.navbar .burger-icon span { background-color: #fff !important; }
.navbar-menu { background: #D71920 !important; color: #fff !important; }
.dark-light-switcher { display: none !important; }

/* Mobile menu */
.mobile-header-wrapper-style { background: #fff; border-right: 6px solid #D71920; }
.mobile-menu li a { text-transform: uppercase; font-weight: 700; color: #111; }
.mobile-menu li a:hover { color: #D71920; }

/* ---------- Hero ---------- */
.section-hero-1 {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
}
.section-hero-1::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 16px;
    z-index: 2;
    background: repeating-linear-gradient(-45deg, #D71920 0 14px, #111 14px 28px);
}
.section-hero-1 h1 {
    font-weight: 900;
    line-height: 1.02;
    text-transform: uppercase;
}
.section-hero-1 .text-dark,
html[data-bs-theme] .section-hero-1 .text-dark {
    display: inline-block;
    background: #111;
    color: #fff !important;
    padding: 6px 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 18px;
}
.section-hero-1 .filter-gray,
.section-hero-1 .filter-invert { filter: none !important; }

/* ---------- Stats: black band with red numbers ---------- */
html[data-bs-theme] .section-static-1,
html[data-bs-theme] .section-static-1.bg-900 {
    background: #111 !important;
    border-top: 6px solid #D71920;
    color: #fff;
}
.section-static-1 .odometer,
.section-static-1 .number-counter,
.section-static-1 .fw-bold,
.section-static-1 p { color: #fff !important; }
.section-static-1 .count,
.section-static-1 .plus-icon-counter { color: #D71920 !important; }
.section-static-1 .text-300 { color: #cfcfcf !important; }

/* ---------- Products (services list) ---------- */
html[data-bs-theme] .section-service-1 { background: #fff; }
.single-service-card-1 {
    border-top: 2px solid #111 !important;
    transition: background .25s ease, padding .25s ease;
}
.single-service-card-1:last-child { border-bottom: 2px solid #111; }
.single-service-card-1 .service-number { color: #D71920; font-weight: 800; }
.single-service-card-1 .service-card-title a {
    color: #111;
    text-transform: uppercase;
    font-weight: 800;
}
.single-service-card-1 .service-card-text { color: #555; }
.single-service-card-1 .service-card-icon {
    border-radius: 0 !important;
    border: 2px solid #111 !important;
    color: #111;
}
.single-service-card-1:hover { background: #111; }
.single-service-card-1:hover .service-card-title a,
.single-service-card-1:hover .service-card-text { color: #fff; }
.single-service-card-1:hover .service-card-icon {
    background: #D71920;
    border-color: #D71920 !important;
    color: #fff;
}

/* ---------- Projects ---------- */
html[data-bs-theme] .section-projects-1,
html[data-bs-theme] .fillter-project,
html[data-bs-theme] .bg-900 { background-color: #f4f4f4 !important; }
.project-item {
    background: #fff !important;
    border: 2px solid #111;
    box-shadow: 8px 8px 0 #111;
    transition: all .25s ease;
}
.project-item:hover { box-shadow: 8px 8px 0 #D71920; transform: translate(-3px, -3px); }
.project-item h3 { text-transform: uppercase; color: #111; font-weight: 800; }
.btn-filter {
    background: #fff !important;
    color: #111 !important;
    border: 2px solid #111 !important;
    font-weight: 800;
}
.btn-filter.active, .btn-filter:hover {
    background: #D71920 !important;
    border-color: #D71920 !important;
    color: #fff !important;
}

/* ---------- Testimonials ---------- */
.testimonials-block, .card-testimonial {
    border: 2px solid #111;
    background: #fff;
    border-radius: 0;
    padding: 24px;
}
.testimonials-content p { color: #111; }
.testimonials-block img { border-radius: 50%; border: 3px solid #D71920; }

/* ---------- FAQ ---------- */
.accordion-item { border: 2px solid #111 !important; margin-bottom: 10px; border-radius: 0 !important; }
.accordion-button { font-weight: 800; color: #111; background: #fff; border-radius: 0 !important; }
.accordion-button:not(.collapsed) { background: #111; color: #fff; box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: invert(1); }

/* ---------- Forms ---------- */
html[data-bs-theme] .form-control,
html[data-bs-theme] .form-select,
html[data-bs-theme] input[type=text],
html[data-bs-theme] input[type=email],
html[data-bs-theme] textarea {
    background: #fff;
    border: 2px solid #111;
    color: #111;
}
html[data-bs-theme] .form-control:focus,
html[data-bs-theme] textarea:focus {
    border-color: #D71920;
    box-shadow: 4px 4px 0 #D71920;
}
form label { color: #111 !important; font-weight: 700; }

/* ---------- Footer: black with red edge ---------- */
.section-footer, html[data-bs-theme] .section-footer.bg-secondary-1 {
    background: #111 !important;
    border-top: 6px solid #D71920;
    color: #fff;
}
.section-footer p, .section-footer span, .section-footer li,
.section-footer a, .section-footer h1, .section-footer h2,
.section-footer h3, .section-footer h4, .section-footer .text-300,
.section-footer .site-name-text { color: #fff !important; }
.section-footer a:hover { color: #D71920 !important; }
.section-footer .text-primary { color: #D71920 !important; }
.section-footer svg { color: #fff; }

/* Scroll-to-top */
.btn-scroll-top { border-radius: 0; }
.btn-scroll-top svg path { stroke: #D71920; }
.btn-scroll-top.style-btn-2 { background: #111; }

/* Pagination / misc */
.pagination .page-item.active .page-link { background: #D71920 !important; border-color: #D71920; }
