:root {
    /* Primary Branding Colors */
    --color-orange: #e46602;
    --color-dark-grey: #495053;
    --color-darker-grey: #293135;
    --color-white: #ffffff;
    --color-tinted-bg: #f7f7f7;
    --color-figcaption: #0c5ca1;
    --color-h2: #0c5ca1;
    --color-green: #37854e;
    --color-red: #cc0d00;

    /* Accent & Utility Colors */
    --color-light-grey: #f4f4f4;
    --color-mid-grey: #5c5c5c;
    --color-outline-grey: #dcdcdc;

    /* Text Colors */
    --color-text-dark: #2a3135;
    --color-text-light: #eeeeee;
    --color-text-muted: #888888;
}

main {
    width: 95%;
    margin: auto;
}

main a, .footer a{
	color: #E46602;
    text-decoration: none;
}

.card p.carousel-item-heading{
	color: var(--color-h2);
	font-size: 1.2rem;
	font-weight: bold;
}

@font-face {
  font-family: 'Swiss721BT-Roman';
  src: url('fonts/Swiss721BT-Roman/font.woff2') format('woff2'),
       url('fonts/Swiss721BT-Roman/font.woff') format('woff');
       
  font-weight: normal;
  font-style: normal;
}


body{
    font-family: 'Swiss721BT-Roman', sans-serif !important;
}

/* HEADER STYLES ************************************************ */

.chevron {
    /* background: url(img/chevron.png) no-repeat;
            min-height: 80px;
            background-size: 100% 100%; */
    fill: var(--color-dark-grey);
}

.header-top {
    height: 460px;
    background-color: #293135;
    background-color: var(--color-dark-grey);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-bottom {
    height: 160px;
    background-image: url(img/Mapp-topPanel-ArrowDown-Desktop1650.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
}



.header-top h1, p.main-heading {
    font-size: 3.1rem;
	text-wrap: balance;
}

.header-top form {
    width: 100%;
}

.header-top #search-input {
    border-radius: 100px;
    padding: 20px;
    margin-top: 40px;
    width: 50%;
    background: var(--color-white) url(img/search-icon.svg) no-repeat 92%;
    background-size: 30px;
    color: var(--color-orange);
    font-size: 1.5rem;
}

.header-top #search-input::placeholder {
    color: var(--color-orange);
    font-size: 1.5rem;
}

.logo {
    width: 30%;
    max-width: 170px;
    height: 230px;
    background-color: var(--color-orange);
    position: absolute;
    top: 0;
    left: 30px;
    background-image: url(img/Mapp-Logo-3-leaves.svg);
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: 20px 20px;
    padding: 80px 20px;
}

.logo-text-1 {
    font-size: 1.45rem;
    font-weight: bold;
    line-height: 1.3;
}

.logo-text-2 {
    color: var(--color-white);
    font-size: 2.75rem;
    font-weight: bold;
}

.logo-text-2 span {
    color: black;
}

.navbar {
    display: flex;
    align-items: flex-end;
    padding: 20px 40px;
    background-color: var(--color-bg);
}

.nav-bar {
    /* display: flex;
    align-items: flex-end;
    padding: 20px 40px;
    background-color: var(--color-bg); */
    height: 125px;
    display: flex;
    justify-content: end;
    /* justify-content: center; */
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    padding: 10px;
    margin: 0;
    font-size: 0.85rem;
}

.nav-links li a {
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.nav-links li .login-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 15px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    background-image: url(img/Mapp-User-Icon-white.png);
    /* background-image: url(img/profile-icon.svg); */
    background-repeat: no-repeat;
    background-position: 90% center;
    background-size: 40px;
    width: 150px;

}

.hamburger,
.profile-icon {
    width: 45px;
    padding: 5px;
}

.profile-icon {
    height: 65px;
    background: url(img/Mapp-User-Icon-orange.png) no-repeat;
    background-size: 45px;
}

.mobile-links {
    display: none;
    position: relative;
}

.mobile-nav-links {
    display: none;
}

.mobile-nav-links {
    position: absolute;
    z-index: 1001;
    background-color: var(--color-light-grey);
    border: 1px solid var(--color-outline-grey);
    padding: 10px;
    top: 65px;
    right: 85px;
    width: 200px;
}

.mobile-nav-links li {
    margin: 15px;
}

.show {
    display: block;
}

.hamburger-line {
    fill: none;
    stroke: var(--color-orange);
    stroke-width: 1px;
}

.profile-icon-lines {
    fill: none;
    stroke: var(--color-orange);
    stroke-width: 0.75px;
}





/* FILTER/MAP STYLES ******************************************* */
.filter-tabs {
    /* background: var(--color-white); */
    border-radius: 12px;
    overflow: hidden;
    margin: auto;
    transform: translateY(-190px);
    font-size: .85rem;
    width: 82%;
    /* height: 930px; */
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    align-items: flex-start;
    background: var(--color-orange);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    width: 490px;

}




.tab-buttons .open {
    background-color: var(--color-light-grey);
    color: var(--color-text-dark);
}

.tab-buttons button span:before {
    content: ' +';
}

.tab-buttons button.open span:before {
    content: ' -';
}

/* .tab-buttons *:not(.open)::after{
    content: ' -';
    font-size: 1.25rem;
}

.tab-buttons .open:after{
   content: ' +';
   font-size: 1.25rem;
} */

.tab-button {
    flex: 1;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 12px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
}

.tab-button:first-child {
    border-right: 1px solid var(--color-white);
}

.tab-button:last-child {
    border-left: 1px solid var(--color-white);
}

.tab-button:hover,
.tab-button.active {
    background: var(--color-tinted-bg);
    color: var(--color-dark-grey);
}

.tab-content {
    display: none;
    padding: 15px;
    background-color: var(--color-tinted-bg);
}

.tab-content.open {
    display: block;
}

.tab-content form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#map {
    height: 640px;
    margin: 0 auto;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 180px;
    /* uniform width */
    height: 50px;
    /* uniform height */
    border: 2px solid var(--color-orange);
    border-radius: 30px;
    color: var(--color-orange);
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s, color 0.2s;
    /*text-align: center;*/
    padding: 0 10px;
    box-sizing: border-box;
}

.ga{
	background-image: url(/map-icons/general-activity.svg);
	background-repeat: no-repeat;
	background-size: 20px;
	background-position: 90%;
}

.wws{
	background-image: url(/map-icons/wild-wee-spaces.svg);
	background-repeat: no-repeat;
	background-size: 20px;
	background-position: 90%;
}

.dofe{
	background-image: url(/map-icons/dofe.svg);
	background-repeat: no-repeat;
	background-size: 20px;
	background-position: 90%;
}

#clear-filters{
    display: none;width: 100%; padding: 10px; background-color: var(--color-figcaption); color: var(--color-white);
}

/* Mobile: Single column layout */
@media (max-width: 600px) {
    .filter-options {
        flex-direction: column;
    }

    .filter-checkbox {
        width: 100%;
        text-align: center;
    }

    .tab-button {
        font-size: 0.85rem;
        height: 65px;
    }
}



.filter-checkbox input[type="checkbox"],
.filter-checkbox input[type="radio"] {
    display: none;
}

.filter-checkbox:has(input:checked) {
    background-color: var(--color-dark-grey);
    border-color: var(--color-dark-grey);
    color: var(--color-white);
}

/* CAROUSELS ****************************************************** */
.scroller {
    display: flex;
    padding: 80px 0;
}

.first-scroller {
    margin-top: -160px;
}

.second-scroller {
    background: var(--color-tinted-bg);
}

.section-title {
    border-bottom: 2px solid var(--color-text-dark);
    /* display: inline-block; */
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.carousel-wrapper {
    position: relative;
    width: 78%;
    overflow: hidden;
}

.carousel-controls {
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: baseline;
}

.carousel-btn {
    background: var(--color-orange) url(img/Mapp-User-Arrow.svg) no-repeat center;
    background-size: 50%;
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    width: 45px;
    height: 45px;

}

#prevBtn,
#recentPrev, #recentNewsPrev {
    left: 0;
    transform: rotate(180deg);
}

#nextBtn {
    right: 0;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
	height: 60vw;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 10px;

}

.card {
    flex: 0 0 33.3333%;
    /* padding: 1rem; */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    background: var(--color-tinted-bg);
}

.second-scroller .card {
    background: var(--color-white);
}

.card>div {
    padding: 1rem;
    height: 260px;
    display: flex;
    flex-direction: column;
}

/* .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
} */

.card-img {
    height: 200px;
}

.card h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: var(--color-figcaption);
    font-weight: normal;
}

.card p {
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.6em;
    /* Ensures consistent spacing */
}

.read-more {
    font-size: 0.95rem;
    margin-top: auto;
    align-self: flex-start;
    background: var(--color-orange);
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 2rem;
    font-weight: bold;
}

.leaf-separator {
    width: 100%;
    height: 40px;
    background: url(img/Mapp-3-col-leaves-with-lines.svg) no-repeat center;
    background-size: contain;
    margin-top: 20px;
}

/* Medium Screens (Tablets) */
@media (max-width: 960px) {

    .carousel-wrapper {
        width: 100%;
    }

    .card {
        flex: 0 0 50%;
        /* 2 per row */
    }

    .card>div {
        text-align: center;
    }

    .read-more{
        margin: auto;
    }
}

/* Small Screens (Mobiles) */
@media (max-width: 768px) {
    .card {
        flex: 0 0 100%;
        /* 1 per row */
    }

    .card-img {
        height: 380px !important;
    }

    .card>div {
        text-align: center;
    }

    .logo {
        width: 115px;
        padding: 60px 14px;
        height: 170px;
        background-size: 60%;
    }

    .logo-text-1 {
        font-size: 1rem;
    }

    .logo-text-2 {
        font-size: 2rem;
    }
}






@media screen and (max-width: 960px) {
    .nav-links {
        display: none;
    }

    .mobile-links {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        position: absolute;
        right: 30px;
        top: 30px;
        gap: 15px;
    }

    .mobile-links img{
        height: 35px;
    }

    .header-top {
        justify-content: center;
        height: 435px;
    }

    .header-top>div {
        /* background-color: red; */
        /* margin-top: 90px; */
    }

    .header-top>div h1, .header-top>div p.main-heading {
        font-size: 4rem;
		text-wrap: balance;
    }

    .header-top>div p {
        max-width: 400px;
    }

    .nav-bar {
        height: auto;
        /* padding: 20px; */
    }

    .header-top #search-input {
        width: 80%;
    }

    .filter-tabs {
        margin: auto 0;
        /* height: 720px; */
        width: 100%;
        transform: translateY(0);
    }

    .scroller {
        flex-direction: column;
    }

    .first-scroller {
        margin-top: 20px;
        padding-top: 10px;
    }

    .carousel-controls {
        flex-direction: row;
        justify-content: space-between;
    }

    

    .section-title {
        flex: 1;
        margin-right: 10px;
        margin-top: 37px;
    }



}

@media screen and (max-width: 852px) {
    .header-top {
        align-items: flex-end;
    }

    .header-top>div {
        padding-right: 50px;
    }

    .header-top #search-input {
        margin-top: 30px;
        width: 80%;
    }

    .mobile-links {
        padding-right: 40px;
    }
}

@media screen and (max-width: 663px) {
    .header-top {
        /* text-align: right; */
    }

    .header-top>div {
        /* padding-right: 15px;
        padding-top: 30px; */
        padding-right: 15px;
        padding-top: 50px;
        width: 90%;
        padding-left: 85px;
    }

    .header-top>div h1, .header-top>div p.main-heading {
        font-size: 2.3rem;
        padding-left: 27px;
		text-wrap: balance;
    }

    

    .header-top>div p {
        font-size: 1rem;
        width: 100%;
        /* text-align: right; */
        margin-top: 10px;
        /* padding-left: 160px; */
    }

    .mobile-links {
        padding-right: 0;
    }


    .header-top form {
        text-align: center;
    }

    .header-top #search-input {
        margin-top: 20px;
        margin-bottom: 20px;
        width: 90%;
    }

    .filter-tabs {
        transform: translateY(-65px);
    }

    .tab-buttons {
        width: auto;
    }

    .tab-button {
        height: 80px;
    }

    .tab-button>span {
        display: block;
    }

    .tab-content{
        /* height: 144px;
        overflow: auto; */
    }

    
}




