/*
 Theme Name:   PBR 
 Theme URI:    https://poweredbyrio.com
 Description:  Powered by RIO Child Theme
 Author:       Mistie Crovo
 Author URI:   https://mistiecrovo.com
 Template:     generatepress
 Version:     1.0
*/

.image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
}

/* The image gets zoomed and rotated */
.zoom-image {
  display: block;
  width: 100%;
  transition: transform 0.5s ease;
}

.image-wrapper:hover .zoom-image {
  transform: scale(1.1) rotate(-6deg);
}

/* Overlay text + button */
.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 90%);
  color: white;
  text-align: center;
  z-index: 2;
  pointer-events: none; /* So hover still hits the image */
}

.overlay-content h2 {
  font-size: 30px;
	font-weight: 700;
	font-style: italic;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.overlay-button {
  display: inline-block;
  background-color: #00000000;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
	border-color: #fff;
	border: solid;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  pointer-events: auto; /* Allows the button to be clickable */
}

.overlay-button:hover {
  background-color: #00000000;
	color: white;
}
/* NEW: Dark overlay background layer */
.image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 480px) {
	/* Overlay text + button */
.overlay-content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, 90%);
  color: white;
  text-align: center;
  z-index: 2;
  pointer-events: none; /* So hover still hits the image */
}
.overlay-content h2 {
  font-size: 20px;
	padding: 2px 0px 2px 0px;
	font-weight: 700;
	font-style: italic;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
}

.main-navigation.navigation-stick, .main-navigation.navigation-stick ul ul {
    background-color: #fff; /* Example background color */
}

.main-navigation.navigation-stick .main-nav ul li a {
    color: #000 !important; /* Example text color */
}
.main-navigation.navigation-stick .main-nav ul li a:hover {
    color: red !important;
}
.main-navigation.navigation-stick .main-nav ul li.current-menu-item a {
    color: red !important;
}

.custom-hr {
  width: 50px;
  height: 2px;
  background: #f33337;
  border: none;
  margin: 2rem auto;
	text-align:center;
}
a {
  text-decoration: none;
}
.icon-style {
  color: #fff;        
  text-align: center;     
  display: block;       
  margin: 0 auto; 
	font-size: 100px;
}

[class^="flaticon-"]:before {
	margin-left: 0px;
	margin-right: 10px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pricing-table td {
  border: 1px solid #dedede;
  padding: 6px;
  vertical-align: middle;
}

.pricing-table .feature {
  width: 80%;
  align-items: center;
}

.pricing-table .price {
  width: 20%;
  text-align: right;
}

.double-border {
  border: 5px double #333;
  padding: 1rem;
}
.double-border-red {
  border: 5px double #f33337;
  padding: 1rem;
}


.wpforms-form input[type=submit],
.wpforms-form button[type=submit] {
    background-color: #000 !important; /* Grey background */
    border: 1px solid #ddd; /* Dark grey border */
    color: #333; /* Black text color */
    font-size: 1em; /* Size of text */
    padding: 10px 15px; /* Distance between text and border */
}


.wpforms-form input[type=submit]:hover,
.wpforms-form input[type=submit]:active,
.wpforms-form button[type=submit]:hover,
.wpforms-form button[type=submit]:active,
.wpforms-form .wpforms-page-button:hover,
.wpforms-form .wpforms-page-button:active {
    background-color: #000 !important; /* Darker grey background */
    border: 1px solid #ccc; /* Lighter grey border */
}
.swiper {
  width: 90%;
  padding: 2rem 0;
}

.swiper-slide img {
  width: auto;
  height: auto;
  display: block;
  object-fit: cover;
}
@media (max-width: 960px){
.gb-element-67726595 {
	width: 450px;
}
}
@media (max-width: 480px){
.gb-element-67726595 {
	width: 100%;
}	
}
@media (max-width: 960px) {
	/* Overlay text + button */
.overlay-content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, 90%);
  color: white;
  text-align: center;
  z-index: 2;
  pointer-events: none; /* So hover still hits the image */
}
.overlay-content h2 {
  font-size: 20px;
	padding: 2px 0px 2px 0px;
	font-weight: 700;
	font-style: italic;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
}
