/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    font-size: 16px;
}



.site-header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: white;
    justify-content: center;
    align-items: center;
    will-change: transform;
}


.header-top {
    height: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

.site-branding {
    font-weight: bold;
    color: black;
    text-transform: lowercase;
    padding-left: 7vw; 
}

.menu-toggle {
    padding-right: 42vw;
    visibility: visible; /* Always visible */
}


.site-branding, .menu-toggle {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0;
    font-family: "dm-sans";
    
}

button {
    color:black;
    text-decoration: none;
    border: none;
    background-color: transparent;
    padding: 0;
   
}


/* Default state: menu is hidden */
#navbarNavAltMarkup {
    display: none;
}

.navbar-toggler .menu-toggle .collapsed {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}

/* When the menu is visible, show the navigation */
.menu-visible #navbarNavAltMarkup {
    display: block;
}

/* Optional: Styling for the menu toggle button */
.menu-toggle {
    cursor: pointer;
    font-weight: bold;
    border: none;
    background-color: white;
    background-blend-mode: hard-light;
}

.menu-toggle:hover {
    text-decoration: none;
    cursor: pointer;
}

.main-menu-button a {
    text-decoration: none;
    cursor: pointer;
    color: black;
}

.main-menu-button:hover a {
    text-decoration: none;
    cursor: pointer;
    color: black;
    text-shadow: 0 0 5px #0080ff, 0 0 10px #00ff00, 0 0 15px #00ff00;
}

.main-menu-button:visited a {
    color: black;
    text-decoration: none;
}

/* Styling for closed and opened menu labels */
.closed-menu-label, .opened-menu-label {
    transition: color 0.3s ease;
}

.opened-menu-label {
    opacity: 1;
}

.closed-menu-label {
    display: block;
    opacity: 1;
}

.menu-visible .closed-menu-label {
    display: none;
    opacity: 0;
}

.opened-menu-label {
    display: none;
}

.menu-visible .opened-menu-label {
    display: block;
    opacity: 1;
}

#primary-menu {
    font-family: "dm-sans";
    font-weight: bold;
    padding-left: 7vw;
    padding-bottom: 2vw;
}


#primary-menu li {
    padding-top: 5px; 
    padding-bottom: 5px; 
}

.sub-menu {
    padding-left: 30px;
    margin: 1rem 0;
}
/* General styles for main menu items */
.menu-item-temp > a {
    text-decoration: none;
    color: black;
}

/* Hover effect for the main menu item */
.menu-item-temp:hover > a {
    color: black;
    text-shadow: 0 0 5px #0080ff, 0 0 10px #00ff00, 0 0 15px #00ff00;
}

/* General styles for submenu items */
.sub-menu .menu-item-temp-2 a {
    color: black;
    text-decoration: none;
}

/* Ensure submenu items don't inherit parent hover styles */
.menu-item-temp:hover .sub-menu a {
    color: black;
    text-shadow: none; /* Ensure submenu items do not have hover shadow from parent */
}

/* Hover effect specifically for submenu items */
.sub-menu .menu-item-temp-2:hover > a {
    color: black;
    text-shadow: 0 0 5px #0080ff, 0 0 10px #00ff00, 0 0 15px #00ff00;
}

/* Optional: reset visited state for submenu items */
.sub-menu .menu-item-temp-2:visited a {
    color: black;
}

.hidden {
    display: none; /* Hide the menu */
}

.collapsed .opened-menu-label {
    display: none; /* Hide the "X" when collapsed */
}

.collapsed .closed-menu-label {
    display: block; /* Show "Menu" when collapsed */
}

.expanded .opened-menu-label {
    display: block; /* Show "X" when expanded */
}

.expanded .closed-menu-label {
    display: none; /* Hide "Menu" when expanded */
}

.header-bottom {
    background-color: white;
    display: none; /* Hidden by default */
    overflow: hidden;
    height: 0; /* Start with no height */
    transition: height 0.4s ease-out;
    -webkit-transition: height 0.4s ease-out;
  
}

/* Expanded menu state */
.header-bottom.open {
    display: block;
    height: 7rem; /* Example height for your menu */
    overflow: hidden;
}

/* Page content shifts down */
.site-content {
    transition: margin-top 0.4s ease-out;
    -webkit-transition: margin-top 0.4s ease-out;
}

.site-content.shifted {
    margin-top: 7rem; /* Same height as expanded menu */
}


.contact-footer {
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center; /* Align vertically in the middle */
    height: 40px; /* Set a specific height if needed */
    width: 100%; 
    position: fixed; /* Fixed at the bottom */
    margin: 0;
    bottom: 0; /* Align to the bottom */
    left: 0; /* Align to the left */
    background-color: white;
    opacity: 0.5;
    z-index: 1000; /* Ensure it stays above other content */
}

.contact {
    padding: 6px;
    border: none;
    background-color: white; /* Keep background for button */
    font-weight: bold;
    font-family: "dm-sans", Arial, Helvetica, sans-serif;
    cursor: pointer; /* Show pointer on hover */
    z-index: 1000;
}
 
 .contact:hover {
     color: rgb(135, 66, 175);
     text-shadow: 0 0 5px #0080ff, 0 0 10px #00ff00, 0 0 15px #00ff00;
     text-decoration: none;
     cursor: pointer;
 }


 @media (min-width: 1367px) {
    html {
        font-size: 12px; 
    }
    .site-branding, .menu-toggle, .contact {
        font-size: 1.25rem;  
    }

    #primary-menu {
        font-size: 1rem;
    }



}

@media (max-width: 1366px) {
    html {
        font-size: 13px; 
    }
    .site-branding, .menu-toggle, .contact {
        font-size: 1.25rem;  
    }

    #primary-menu {
        font-size: 1rem;
    }

    .featured-title {
        font-size: 5rem;
    }

    .featured-subtitle {
        font-size: 3.5rem;
    }

}

/* Tablets (Portrait & Landscape) */
@media (max-width: 1024px) {
    html {
        font-size: 14px; 
    }
    .site-branding, .menu-toggle, .contact {
        font-size: 1.25rem;  
    }

    #primary-menu {
        font-size: 1.25;

    }

}

/* Mobile Phones (Landscape) and small tablets */
@media (max-width: 768px) {
    html {
        font-size: 16px; 
    }

    .site-content.shifted {
        margin-top: 8rem; /* Same height as expanded menu */
    }

    .site-branding, .menu-toggle, .contact {
        font-size: 1.5rem; 
    }


    #primary-menu {
        font-size: 1.25rem;
    }

}

/* Mobile Phones (Portrait) */
@media (max-width: 500px) {
    html {
        font-size: 18px; 
    }

    .site-branding, .menu-toggle, .contact {
        font-size: 1.5rem; 
    }

    #primary-menu {
        font-size: 1.5rem;
    }
}