@import "fonts.css";
@import "base.css";
@import "header-footer.css";
@import "bricks.css";

/*------------------------*/
/* theme colors
/*------------------------*/

:root {
    --textDarker: #102f02;
    --textDark: rgb(2, 27, 0);
    --textMedium: rgba(38, 50, 56, 0.7);
    --borderMedium: rgba(38, 50, 56, 0.2);
    --borderLight: rgba(38, 50, 56, 0.075);
    --accent: #37aa02;
    --accentDarker: #22870084;
    --light: rgba(38, 50, 56, 0.035);
}
/*------------------------*/
/* turn grayscale off
/*------------------------*/

img {filter: grayscale(0);}

/*------------------------*/
/* colorize_image
/*------------------------*/

.colorize_image {filter: contrast(1) sepia(1) hue-rotate(160deg) grayscale(0.8)!important;}

/*------------------------*/
/* black_2_textDark
/*------------------------*/

.map::after, .black_2_textDark {filter: contrast(0.7) sepia(1) hue-rotate(160deg)!important;}

/*------------------------*/
/* black_2_textMedium
/*------------------------*/

.black_2_textMedium {filter: contrast(0.3) sepia(0.3) hue-rotate(160deg) brightness(1.4)!important;}

/*------------------------*/
/* black_2_accent
/*------------------------*/

.black_2_accent {filter: contrast(0.11) sepia(1) hue-rotate(340deg) contrast(13)!important;}


/*------------------------ CSS overrides below ------------------------*/




/* General Styling */
.filled-icon-box-section {
    padding: 30px 0;
    --textDark: white; /* Override only in this section */
}

/* Grid Layout */
.filled-icon-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each Image Box */
.filled-icon-box {
    position: relative;
    width: 100%;
    height: 200px; /* Default height */
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    overflow: hidden;
}

.filled-icon-box:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Clickable Link Wrapper */
.filled-icon-box-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

/* Image Background */
.filled-icon-box-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

/* Overlay for Readability */
.filled-icon-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(82, 82, 82, 0.21); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    z-index: 5;
}

/* Text Styling */
.filled-icon-box-text {
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .filled-icon-box-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .filled-icon-box {
        height: 120px;
    }
    .filled-icon-box-text {
        font-size: 0.85rem;
    }
}


h6 {
    font-size: 3.25rem;  /* Same as h1 */
    margin-bottom: 1.75rem;  /* Same as h1 */
    color: rgb(255, 255, 255) !important;  /* Ensures white color */
    line-height: 1.1;  /* Same as h1 */
    font-weight: inherit;  /* Keeps any existing weight */
    font-family: var(--fontTitles) ;
}
