/*
Theme Name: Mr Bingle
Theme URI: https://pmgs.com.au
Author: PMGS Digital
Author URI: https://pmgs.com.au
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
Description: A modern, clean, minimal, blog, portfolio, business, corporate, agency, one page, landing page, responsive, customizable, tailwind css, html5, css3, javascript, jquery, php, wordpress theme.
Text Domain: mr-bingle
Tags: Modern, Clean, Minimal, Blog, Portfolio, Business, Corporate, Agency, One Page, Landing Page, Responsive, Customizable, Tailwind CSS, HTML5, CSS3, JavaScript, PHP, WordPress
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (C) 2024 PMGS Digital. This theme is licensed under the GPL v2 or later.
*/
:root {
  --color-primary: #84c224;
  --color-secondary: #f5f5f5;
  --color-tertiary: #2c3e50;
  --color-white: #fff;
}
html,
body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

/* Header Styles
--------------------------------------------- */
.site-header {
  background-color: #2c3e50;
  padding: 0;
  position: relative;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  min-height: 80px;
}

.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-branding .custom-logo {
  max-height: 60px;
  width: auto;
  margin-right: 10px;
}

.site-title {
  margin: 0;
  font-size: 1.2rem;
  color: #ffffff;
}

.site-title a {
  color: #ffffff;
  text-decoration: none;
}

.site-description {
  margin: 0;
  font-size: 0.9rem;
  color: #bdc3c7;
}

/* Header Contact Info */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #7cb342;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-email a,
.contact-phone a {
  color: #fff;
  text-decoration: none;
}

.contact-email a:hover,
.contact-phone a:hover {
  color: #9ccc65;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-icon {
  font-size: 0.8rem;
}

/* Navigation
  --------------------------------------------- */
.main-navigation {
  display: block;
  flex: 1;
  margin: 0 20px;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
  justify-content: center;
  gap: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
  background-color: #34495e;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
  padding: 10px 15px;
  color: #ffffff;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
  margin: 0;
}

.main-navigation a {
  color: #ffffff;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: capitalize;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--color-primary);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--color-primary);
}

/* Small menu. */
.menu-toggle {
  display: block;
  background-color: #34495e;
  color: #ffffff;
  border: 1px solid #2c3e50;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.menu-toggle:hover {
  background-color: #7cb342;
}

.main-navigation.toggled ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #34495e;
  z-index: 999;
}

.main-navigation.toggled ul li {
  width: 100%;
}

.main-navigation.toggled ul a {
  border-bottom: 1px solid #2c3e50;
}

@media screen and (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .header-container {
    padding: 15px 20px;
  }
}

@media screen and (max-width: 767px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px;
  }

  .main-navigation {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }

  .header-contact {
    order: 2;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  #owl-home-slider {
    height: 300px !important;
  }

  #owl-home-slider .swiper-slide {
    min-height: 300px;
  }

  #owl-home-slider .swiper-button-prev,
  #owl-home-slider .swiper-button-next {
    display: none !important;
  }

  #owl-home-slider .swiper-pagination {
    bottom: 10px !important;
  }

  #owl-home-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
  }

  #owl-home-slider .swiper-pagination-bullet-active {
    background: #fff;
  }
}

/* Tablet styles */
@media (min-width: 641px) and (max-width: 1024px) {
  #owl-home-slider {
    height: 400px !important;
  }

  #owl-home-slider .swiper-slide {
    min-height: 400px;
  }
}

@media (min-width: 1280px) {
  .main-navigation ul {
    display: flex;
  }
}
/* Desktop styles */
@media (min-width: 1025px) {
  #owl-home-slider {
    height: 550px !important;
  }

  #owl-home-slider .swiper-slide {
    min-height: 550px;
  }
}

/* Ensure images scale properly */
#owl-home-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay for better text readability */
#owl-home-slider .swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Ensure content appears above overlay */
#owl-home-slider .swiper-slide .slide-content {
  position: relative;
  z-index: 3;
}

/* Enhanced text shadows for better readability */
#owl-home-slider .swiper-slide h2 {
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.9) !important;
}

/* Improve text readability on mobile */
@media (max-width: 768px) {
  #owl-home-slider .swiper-slide h2 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
  }

  #owl-home-slider .swiper-slide .text-white {
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
  }

  #owl-home-slider .swiper-slide a {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
  }
}

/* Touch-friendly navigation on mobile */
@media (max-width: 768px) {
  #owl-home-slider .swiper-button-prev,
  #owl-home-slider .swiper-button-next {
    width: 40px !important;
    height: 40px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 50% !important;
    margin-top: -20px !important;
  }

  #owl-home-slider .swiper-button-prev::after,
  #owl-home-slider .swiper-button-next::after {
    font-size: 16px !important;
  }
}

/* Ensure content doesn't overflow on very small screens */
@media (max-width: 480px) {
  #owl-home-slider .swiper-slide .absolute {
    padding: 1rem !important;
  }

  #owl-home-slider .swiper-slide h2 {
    font-size: 1.25rem !important;
  }

  #owl-home-slider .swiper-slide .text-white {
    font-size: 0.75rem !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #owl-home-slider .swiper-slide img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
/* Modal */
.modal-container {
  max-height: -webkit-fill-available;
}
/* Accessibility improvements */
#owl-home-slider .swiper-button-prev:focus,
#owl-home-slider .swiper-button-next:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#owl-home-slider .swiper-pagination-bullet:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  #owl-home-slider .swiper-slide {
    transition: none !important;
  }

  #owl-home-slider .swiper-button-prev,
  #owl-home-slider .swiper-button-next {
    transition: none !important;
  }
}

/* Footer Styles
--------------------------------------------- */
.site-footer {
  background-color: #2c3e50;
  color: #bdc3c7;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 30px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #7cb342;
}

/* Social Media Links */
.footer-social {
  grid-column: span 1;
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links li {
  margin-bottom: 10px;
}

.social-link {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #7cb342;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: bold;
}

.social-link.gplus .social-icon {
  background-color: #dd4b39;
  color: #ffffff;
}

.social-link.facebook .social-icon {
  background-color: #3b5998;
  color: #ffffff;
}

.social-link.pinterest .social-icon {
  background-color: #bd081c;
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #34495e;
  padding: 20px 0;
}

.copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.copyright p {
  margin: 0;
  font-size: 1rem;
  color: #95a5a6;
  line-height: 1.4;
}

.copyright a {
  color: #7cb342;
  text-decoration: none;
}

.copyright a:hover {
  color: #9ccc65;
  text-decoration: underline;
}

/* Responsive Footer */
@media screen and (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .footer-social {
    grid-column: span 1;
  }
}

@media screen and (max-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-content {
    padding: 30px 15px 20px;
  }
}

@media screen and (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-content {
    padding: 25px 15px 15px;
  }

  .copyright p {
    font-size: 0.75rem;
  }
}
.entry-content h1 {
	font-size: 1.35rem;
	margin-bottom: 10px;
}
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-size: 1.2rem;
	margin-bottom: 10px;
}

.entry-content p {
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.8rem;
}
.entry-content p a {
  color: var(--color-primary);
}
.entry-content li a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 400;
  font-size: 0.95rem;
}
.entry-content ul.wp-block-list,
.entry-content ol.wp-block-list {
	padding: 0px 20px;
	list-style-type: disc;
	display: flex;
	flex-direction: column;
}
.entry-content ul li {
	margin: 5px 0px;
}
.entry-content li strong {
  font-weight: 700;
  font-size: 0.95rem;
}

/* Gravity Form 7 Styles
--------------------------------------------- */
.gform_heading .gform_title {
	display: none;
}
.gform-theme--foundation .gform_fields {
	row-gap: 15px!important;
}
#gform_submit_button_1 {
	background: #84c224!important;
	outline: none;
    padding: 14px 34px;
}
#gform_browse_button_1_4 {
	background: #84c224!important;
}
.gform-theme--framework .gfield:where(.gfield--type-fileupload,.gfield--input-type-fileupload) .gform_drop_area::before {
	color: #84c224!important;
}