/*
  Theme Name: AAM
  Text-Domain: AAM
  Version: 1.0
  Description: Antrosky's Custom AAM Theme
  Tags: bold, outgoing, newsletter
  Author: Anthony Oehling
  Author URI: https://youtube.com
*/

/* General Styles */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #444;
    background-color: #f9f9f9;
}

h1, h2, h3 {
    font-weight: 700;
    color: #111;
}

#counter_sect h1, #counter_sect h2, #counter_sect h3 {
	font-weight: 700;
    color: #EEE;
    margin-bottom: 20px;
}

p {
    color: #111; /* Slightly lighter paragraph color */
    font-size: 1.1em;
}

.hero p {
  color: #FFF;	
}

#mainNav {
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
	box-shadow: 0px 0px 8px 0px #111;
    z-index: 1030; /* Ensure it stays above other content */
    transition: transform 0.4s ease-in-out;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}

nav {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}

nav ul li {
    border-left: 2px groove black;
}

nav ul li ul li {
    border-top: 1px dotted grey !important;
	background-color: #111 !important;
}

nav ul li ul li:first-child {
    border-top: none !important;
}

nav ul li a {
    color: #FFF;
}

nav ul li ul li a {
    color: #CCC !important;
}


.navbar-nav .nav-link {
    font-weight: bold; /* Bold text */
	text-transform: uppercase;
	font-size: 90%;
    color: #ffffff;    /* White color for dark theme */
}

/* Define the gradient overlay */
.gra-ol {
  position: relative; /* for absolute positioning of pseudo-element */
}

/* Create the pseudo-element for the gradient overlay */
.gra-ol::before {
  content: ""; /* ensure pseudo-element is created */
  position: absolute; /* position it relative to the container */
  top: 0;
  left: 0;
  width: 75%;
  height: 100%;
  z-index: 1; /* ensure it's behind the content */
  background-image: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,1));
}

/* Optional: adjust the gradient overlay's opacity */
.gra-ol::before {
  opacity: 1; /* adjust to your desired level */
}

#heroslider {
	max-height: 35em;
}

#hero_message {
	position: absolute;
	padding: 1em;
	top: 4em;
	left: 4em;
	z-index: 100;
	max-width: 30%;
	color: #FFF;
	text-shadow: -3px 3px black, 0 0 5px #111;
}

#hero_message p {
	color: #FFF !important;
	font-size: 1.5em;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

#logo img {
    max-height: 40px; /* Adjust the height if necessary */
	width: auto;
	margin-left: 0.5em;
	z-index: 1050;
}


/* Smooth underline effect for all anchor tags except those inside nav */
a::before {
    content: ''; /* Create a pseudo-element */
    position: absolute; /* Position it absolutely */
    left: 50%;
    bottom: -5px; /* Place it below the text */
    width: 0%; /* Full width */
    height: 2px; /* Height of the underline */
    background-color: #DB2929; /* Color of the underline */
    transition: width 0.3s ease, left 0.3s ease; /* Smooth transition for the underline */
}

a:hover::before {
    width: 100%; /* Scale the underline to full width */
	left: 0%;
}

/* Remove unwanted psuedo elements */
.no-red-line::before {
	display: none;
}

#mainNav a::before {
    display: none;
}

.elementor-button::before {
	display: none;
}

a:has(img)::before {
	display: none;
}

.btn::before {
	display: none;
}

a {
    text-decoration: none; /* Remove default underline */
    color: #DB2929; /* Base color for the link */
    position: relative; /* Needed for the pseudo-element positioning */
    transition: color 0.3s ease !important; /* Smooth transition for color and transform */
}

a:hover {
    color: #D22; /* Change text color on hover */
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25); /* Subtle text shadow */
}

nav a:hover {
    color: #db2929; /* Change text color on hover for nav links */
    text-shadow: none; /* No text shadow for nav links */
}

nav a::before {
    display: none; /* Remove underline effect for nav links */
}

a {
	text-decoration: none !important; /* Ensure no underline on hover */
}

a:hover {
    text-decoration: none !important; /* Ensure no underline on hover */
}

.counter {
            font-size: 1.75em;
            font-weight: bold;
            color: #f87373;
            text-align: center;
        }

.counter:hover {
    color: #F22;
}

.nav-item {
	padding: 0;
}

.nav-item a {
	padding-top: 1em;
	padding-bottom: 1em;
}

.nav-item:hover {
    background-color: #444 !important;
	transition: background-color 0.3s ease;
}

.dropdown-item {
    font-family: inherit, sans-serif !important;
	font-weight: 100 !important;
	padding: 0.75em !important;
}

.dropdown-item:active {
	background-color: #F33;
}

.dropdown-menu {
    background-color: #333 !important;
}

ul li ul li:has(.dropdown-item) {
    transition: border-left 0.2s ease;
}

ul li ul li:has(.dropdown-item):hover {
    border-left: 2px solid red !important;
}

.dropdown-item:hover {
    background-color: #444 !important;
	transition: background-color 0.3s ease;
}

.donate-btn {
	background-color: #D22;
	transition: background-color 0.3s ease;
}

.donate-btn:hover {
    background-color: #A11 !important;
}

.current-menu-item > a,
.current-menu-item > a:hover,
.current-menu-item > a:focus {
    background-color: #777;
    color: #111 !important;
}

/* Highlight parent dropdown button when on a child page */
.current-menu-parent > a,
.current-menu-parent > a:hover,
.current-menu-parent > a:focus {
    background-color: #777;
    color: #111 !important;
}

/* Header Styles */
#counter_sect {
    background-color: #333;
    color: #CCC;
	padding: 1em;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Lighter shadow */
}

#counter_sect h1 {
    font-size: 2.2em; /* Slightly increased font size */
    margin: 0;
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('../images/index_hero.jpg') center center / cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3.8em;
    margin: 0;
    text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.6em;
    margin-top: 15px;
}

.hero .cta {
    margin-top: 30px;
}

.cta button {
    background-color: #EEE; /* Maize button color */
    color: #00274C; /* Navy blue text */
    border: none;
    padding: 35px 40px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#footer-cta {
	background-image: url(https://abolishabortionmichigan.com/wp-content/themes/AAM_theme/assets/images/AAM-subpage-hero.png);
	background-size: cover;
	background-repeat: no-repeat;
	text-align: center;
	font-size: 2rem;
	font-family: raleway, sans-serif;
}

#footer-cta h1 {
	color: #FFF !important;
	font-weight: 100;
	margin-top: 1rem;
	margin-bottom: 2rem;
}

#cta-btn {
	background-color: #c41f21;
	color: #FFF;
	max-width: 30%;
	margin-top: 2rem;
	margin-bottom: 1rem;
	padding: 0.75rem 2.75rem;
	font-size: 1rem;
	font-family: 'Lovelo', sans-serif;
}

#cta-btn-small {
	background-color: #c41f21;
	color: #FFF;
	font-size: 1rem;
	font-family: 'Lovelo', sans-serif;
}

.footer-icon::before {
	display: none;
}

.red-line {
	border: 1px solid #B11;
	width: 80px;
	opacity: 1;
	margin-left: auto;
	margin-right: auto;
}
	
.red-line-start {
	border: 1px solid #B11;
	width: 80px;
	opacity: 1;
	margin-right: auto;
}

#side-bar {
	background-color: #DDD;
	border: 2px solid #555;
	padding: 1em;
}

#post-header {
	text-align: center;
	background-color: #555;
	padding: 0.25em 0px 0.25em 0px;
	border-width: 2px 0 2px 0;
	border-color: grey;
	border-style: groove;
}

#post-header h4 {
	color: #DDD;
	text-transform: uppercase;
}

#post-header .row {
	background-color: #111;
	border-width: 2px 0 2px 0;
	border-color: grey;
	border-style: groove;
	margin: 0px !important;
	padding: 0px !important;
}

#post-header h5 {
	color: #F22;
	text-shadow: 0px 0px 4px #F00;
	font-family: Andale Mono, monospace;
	text-transform: uppercase;
	margin: 0px !important;
	padding: 0px !important;
}

	.font-weight-bold {
		font-weight: 700;
		font-family: 'Lovelo', sans-serif;
	}

  /* Keyframes for scrolling animation */
  @keyframes scrollText {
    0% {
      transform: translateX(100%); /* Start outside the screen */
    }
    100% {
      transform: translateX(-100%); /* End outside the screen */
    }
  }

/* Section Styles */
section {
    padding: 50px 20px;
    background-color: #ffffff;
    margin: 20px 0;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 2.7em;
    color: #00274C; /* Navy blue heading color */
}

section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer Styles */
.recent-post-banner {
	background-color: #111;
}

.recent-post-title {
    font-size: 1.25em;
	font-weight: lighter;
    color: #FFF;
    margin-bottom: 10px;
	padding: 0.25em 1em;
	border-top: 2px solid red;
}

.recent-post-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    max-width: 100%;
	border-top: 0.25em solid #222;
	border-bottom: 0.25em solid #222;
}

.recent-post-excerpt {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1em;
    text-align: center;
	margin-top: auto;
	margin-bottom: auto;
}


footer {
    background-color: #111;
    color: #EEE;
    text-align: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    font-size: 1em;
	color: #999;
}

@font-face {
    font-family: 'Lovelo';
    src: url(https://abolishabortionmichigan.com/wp-content/themes/AAM_theme/assets/fonts/lovelo/Lovelo-Black.otf) format('opentype');
    font-weight: bold;
    font-style: normal;
}

@media only screen and (max-width: 990px) {
    .nav-item .nav-link {
  		padding: 3px;
		margin: 0px;
    }
	
	.dropdown-menu {
		padding: 3px;
		margin: 0px;
	}
	
	nav ul li ul li {
    	padding: 0px;
		margin: 0px;
	}
}

.audio-clip {
	margin: 2em;
	padding: 1em;
	background-color: #EEE;
	box-shadow: 2px 2px 2px #CCC;
	border-left: 2px solid red;
}

.audio-clip h4 {
	background-color: #FFF;
	padding: 1em;
	border-radius: 4px;
}

.audio-clip audio {
	margin: 1em;
}

.audio-clip .description {
	background-color: #444;
	color: #FFF;
	padding: 1em;
	border-radius: 4px;
}

.audio-deets {
	background-color: #DDD;
	color: #444;
}

.audio-clip audio::-webkit-media-controls-panel {
  background-color: #FFF;
}

.pagination {
    display: flex;
    justify-content: center; /* Centers the pagination on the page */
    gap: 10px; /* Space between pagination items */
    margin-top: 20px; /* Space above pagination section */
}

.pagination .prev::before, .pagination .next::before, .pagination .page-numbers::before {
	display: none;
}

.pagination .page-numbers {
    padding: 8px 12px;
    margin: 0 5px; /* Space between each page number */
    border: 1px solid #ddd; /* Optional border for pagination items */
    color: #333;
    text-decoration: none;
    border-radius: 4px; /* Optional rounded corners */
}

.pagination .page-numbers:hover {
    background-color: #f0f0f0; /* Hover effect */
}

.pagination .current {
    background-color: #f00; /* Active page background color */
    color: #fff; /* Active page text color */
}

.pagination .prev,
.pagination .next {
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ddd;
    color: red;
    text-decoration: none;
    border-radius: 4px;
}

.pagination .prev:hover,
.pagination .next:hover {
    background-color: #f0f0f0;
}

.pagination .current:hover {
    background-color: #f00; /* Active page background color */
    color: #fff; /* Active page text color */
}