/*
Theme Name: Mensday
Theme URI: 
Author: Amir
Author URI: https://amirence.com/
Text Domain: mensday
Description: Wordpress Theme
Version: 1.0.0
*/

@font-face {
  font-family: 'Praxis Next';
  src: url('assets/fonts/praxis_Next_Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Alverata';
  src: url('assets/fonts/Alverata.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


:root {
  /* Navigation Bar */
  --color-nav-bg: #e73439;
  /* Red */
  --color-nav-text: #ffffff;
  /* White */
  --color-nav-hover: #2eac53;
  /* Green */

  /* Buttons */
  --color-btn-primary-bg: #e73439;
  /* Red */
  --color-btn-primary-text: #ffffff;
  /* White */
  --color-btn-secondary-bg: #2eac53;
  /* Green */
  --color-btn-secondary-alt-bg: #00a6e0;
  /* Blue */
  --color-btn-secondary-text: #ffffff;
  /* White */

  /* Headings and Titles */
  --color-heading-primary: #e73439;
  /* Red */
  --color-heading-secondary: #808080;
  /* Gray */

  /* Backgrounds */
  --color-bg-main: #ffffff;
  /* White */
  --color-bg-alt: #f5f5dc;
  /* Light Beige */
  --color-bg-alt2: #f0fff0;
  /* Faint Green */

  /* Footer */
  --color-footer-bg: #f3f3f3;
  /* Dark Gray */
  --color-footer-text: #333333;
  /* White */
  --color-footer-alt-text: #d3d3d3;
  /* Light Gray */
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Alverata', serif;
  margin: 0;
  line-height: 1.2;
  color: var(--color-footer-text);
}

body {
  /* background-color: var(--color-bg-main); */
  font-family: 'Praxis Next', sans-serif;
}

#menu {
  display: none;
}

.custom-logo-link {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding: 10px 0px;
}

.custom-logo-link img {
  /* max-width: 270px; */
  width: 100px;
  /* height: 100px; */
  height: auto;
}

/* Header Menu */
.primary-menu-wrapper ul {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.primary-menu-wrapper ul li {
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.primary-menu-wrapper ul li:hover a {
  /* color: var(--color-nav-hover); */
}

.dropdown-icon {
  margin-left: 30px;
}

.primary-menu-wrapper ul li,
.primary-menu-wrapper ul li a {
  text-transform: uppercase;
  color: var(--color-nav-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
}

.primary-menu-wrapper ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-bg-main);
  transition: width 0.3s ease;
}

.primary-menu-wrapper ul li a:hover::after {
  width: 100%;
}

.primary-menu-wrapper ul li.current_page_item a {
  color: var(--color-bg-main);
}

.primary-menu-wrapper ul li.current_page_item a::after {
  width: 100%;
}

/* End of Header Menu */


/* Hero */
.heroSwiper .swiper-button-next:after, .heroSwiper .swiper-button-prev:after {
  content: '';
}

.heroSwiper .swiper-button-prev span i,
.heroSwiper .swiper-button-next span i {
  font-size: 20px;
  background-color: var(--color-btn-primary-bg);
  height: 30px;
  width: 30px;
  border-radius: 100%;
  color: var(--color-bg-main);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* End of Hero */

/* Post Carousal */
.postSwiper .swiper-slide {
  height: auto;
}

/* End of Post Carousal */

/* Footer */
.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu-wrapper ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-menu li a {
  text-decoration: none;
  color: var(--color-btn-primary-text);
}

.footer-menu li a:hover {
  color: var(--color-nav-hover);
}

/* End of Footer */


/* Style for the dropdown */
.menu li {
  position: relative;
}

.menu li ul {
  display: none;
  position: absolute;
  top: 25px;
  left: 0;
  background-color: var(--color-nav-bg);
  list-style: none;
  padding: 0px 0px;
  margin: 0;
  z-index: 999;
}

.menu li:hover>ul {
  display: block;
}

.menu li ul li {
  width: 200px;
}

.menu li ul li a {
  display: block;
  padding: 10px 15px;

  color: var(--color-nav-text);
  text-decoration: none;
}

.menu li ul li a:hover {
  background-color: var(--color-nav-text);
  color: var(--color-nav-bg);
}

.primary-menu-wrapper .menu ul li a::after {
  background-color: var(--color-nav-bg);
}

/* End of Dropdown Menu */


/* Comments Form */
.commentsSection textarea {
  height: 100px;
  border: 1px solid var(--color-btn-primary-bg);
  width: 100%;
  background-color: var(--color-footer-alt-text);
  outline: none;
  padding: 10px;
  color: var(--color-heading-primary);
}

.commentsSection #respond {
  margin: 20px 0;
}

.commentsSection .form-submit #submit {
  background-color: var(--color-btn-primary-bg);
  color: var(--color-bg-main);
  padding: 12px 40px;
  border-radius: 100px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* End of Comments Form */

/* Blog single Page */
.blogSingle h1 {
  color: var(--color-footer-text);
  font-size: 36px;
  /* Larger size for H1 */
  margin-bottom: 10px;
}

.blogSingle h2 {
  color: var(--color-footer-text);
  font-size: 30px;
  /* Slightly smaller for H2 */
  margin-bottom: 8px;
}

.blogSingle h3 {
  color: var(--color-footer-text);
  font-size: 24px;
  /* Smaller for H3 */
  margin-bottom: 8px;
}

.blogSingle h4 {
  color: var(--color-footer-text);
  font-size: 20px;
  /* Similar to your original */
  margin-bottom: 6px;
}

.blogSingle h5 {
  color: var(--color-footer-text);
  font-size: 18px;
  /* Smaller for H5 */
  margin-bottom: 6px;
}

.blogSingle h6 {
  color: var(--color-footer-text);
  font-size: 16px;
  /* Smallest for H6 */
  margin-bottom: 5px;
}


.blogSingle strong {
  color: var(--color-footer-text);
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 5px;
}

.blogSingle p {
  margin: 10px 0px;
}

.blogSingle ul {
  list-style-type: disc;
  margin: 10px 20px;
  padding: auto;
}

.blogSingle a {
  color: var(--color-footer-text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.blogSingle a:hover {
  text-decoration: underline;
}

.blogSingle hr {
  background-color: var(--color-btn-primary-bg);
  height: 2px;
  border: 0px;
  width: 70%;
  margin: 30px auto;
}

.blogSingle table thead tr th {
  color: var(--color-btn-primary-bg);
}

.blogSingle table tbody tr td,
.blogSingle table thead {
  border: 1px solid var(--color-btn-primary-bg);
}

/* End of Blog Single Page */


/* Contact Form */
.contactForm .nf-form-content textarea,
.contactForm .nf-form-content input[type="text"],
.contactForm .nf-form-content input[type="email"],
.contactForm .nf-form-content input[type="tel"] {
  background: var(--color-footer-bg);
  border: 1px solid var(--color-btn-secondary-alt-bg);
  border-radius: 0;
  color: var(--color-btn-secondary-bg);
  padding: 10px;
}

.contactForm .nf-form-content textarea {
  height: 100px;
}

.contactForm .nf-form-content textarea::placeholder,
.contactForm .nf-form-content input[type="email"]::placeholder,
.contactForm .nf-form-content input[type="text"]::placeholder,
.contactForm .nf-form-content input[type="tel"]::placeholder {
  color: var(--color-footer-text);
}

.contactForm .nf-form-content label,
.contactForm .nf-before-form-content {
  display: none;
}

.contactForm .nf-form-content input[type="submit"] {
  background-color: var(--color-btn-secondary-bg);
  color: #ffffff;
  padding: 10px 40px;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 2px 2px 5px 3px rgba(0, 0, 0, 0.27);
}

.contactForm .nf-form-content input[type="submit"]:hover {
  color: var(--color-seafoam);
  background-color: var(--color-btn-secondary-bg);
}

.contactForm nf-fields-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0px -10px;
}

.contactForm nf-fields-wrap nf-field {
  width: 50%;
  padding: 10px;
}

.contactForm nf-fields-wrap nf-field:first-child,
.contactForm nf-fields-wrap nf-field:nth-child(4),
.contactForm nf-fields-wrap nf-field:nth-child(5) {
  flex-basis: 100%;
}

.contactForm .nf-field-container {
  margin-bottom: 5px;
}

/* End of Contact Form */

/* Password protected Form */
.post-password-form input[type="password"] {
  border: 1px solid rgba(0, 0, 0, 0.34);
}

.post-password-form input[type="submit"] {
  padding: 0px 30px;
  background-color: var(--color-btn-secondary-bg);
  color: #fff;
  cursor: pointer;
}

.post-password-form input[type="submit"]:hover {
  background-color: var(--color-btn-secondary-alt-bg);
  color: #000;
}

.post-password-form p:last-child {
  margin: 20px 0px;
}

/* End of Password protected Form */
.swiperPast .swiper-slide,
.swiperUpcoming .swiper-slide {
  height: auto;
}

.swiperPast .swiper-button-next:after,
.swiperPast .swiper-button-prev:after,
.swiperUpcoming .swiper-button-next:after,
.swiperUpcoming .swiper-button-prev:after {
  content: '';
}

.swiperUpcoming .swiper-button-prev span i,
.swiperUpcoming .swiper-button-next span i {
  background-color: var(--color-nav-hover);
}

.swiperPast .swiper-button-prev span i,
.swiperPast .swiper-button-next span i {
  background-color: var(--color-nav-bg);
}

.swiperUpcoming .swiper-button-prev span i,
.swiperUpcoming .swiper-button-next span i,
.swiperPast .swiper-button-prev span i,
.swiperPast .swiper-button-next span i {
  font-size: 20px;
  height: 30px;
  width: 30px;
  border-radius: 100%;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .primary-menu-wrapper ul {
    flex-direction: column;
    gap: 10px;
  }

  .primary-menu-wrapper ul li:not(:last-child) {
    border-bottom: 1px solid var(--color-bg-main);
  }

  .footer-menu-wrapper ul {
    flex-direction: column;
    align-items: normal;
  }

  .custom-logo-link {
    justify-content: center;
  }

}

@media (max-width: 480px) {
  .custom-logo-link img {
    max-width: 100%;
  }

  .custom-logo-link {
    justify-content: center;
  }
}



@media (min-width: 1024px) {
  #menu {
    display: flex !important;
  }
}