/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://prevly.com
 Description:  Custom child theme for Prevly
 Author:       Ryan / Premier Atlanta Real Estate
 Author URI:   https://www.premieratlantarealestate.com
 Template:     generatepress
 Version:      1.0.0
*/

/* Add custom styles below this line */

.custom-hero-outer {
  width: 100%;
  background-color: #f9f9f9;
  text-align: center;
  padding: 60px 20px;
}

.custom-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.custom-hero-inner h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.custom-hero-inner h3 {
  font-size: 22px;
  font-weight: normal;
  margin-top: 0;
}

.custom-hero-inner p {
  font-size: 16px;
  max-width: 700px;
  margin: 20px auto;
}

.hero-button {
  display: inline-block;
  background-color: #0053ba;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 20px;
  font-weight: bold;
}

.hero-button:hover {
  background-color: #003f8a;
}

.hero-logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px; /* centers the image horizontally */
}

@media (min-width: 768px) {
  .hero-logo {
    max-width: 480px;
  }
}

/*
 * Inner Page Hero Styles
 */
.custom-inner-hero-outer {
  width: 100%;
  background-color: #f0f0f0; /* A slightly different background color */
  text-align: left;
  padding: 70px 10px; /* Reduced padding for a shorter hero */
}

.custom-inner-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.custom-inner-hero-inner h1 {
  font-size: 36px; /* Slightly smaller font size for inner pages */
  margin: 0;
  color: #333;
}
/*
 * Inner Page Hero with Featured Image
 */
.custom-inner-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px; /* Adds space between the text and image */
}

.inner-hero-content {
  flex: 1; /* Allows the text content to grow and shrink */
}

.inner-hero-image {
  flex-shrink: 0; /* Prevents the image from shrinking */
}

.inner-hero-image img {
  max-width: 320px; /* Controls the max width of the image */
  height: auto;
  border-radius: 8px; /* Optional: adds rounded corners to the image */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .custom-inner-hero-inner {
    flex-direction: column; /* Stacks text and image vertically */
    text-align: center; /* Center-aligns the text on mobile */
  }

  .inner-hero-content {
    order: 2; /* Puts the text below the image on mobile */
  }

  .inner-hero-image {
    order: 1; /* Puts the image above the text on mobile */
    margin-bottom: 20px;
  }
}

/*
 * Hide the duplicate "Page Header" featured image
 */
.page-header-image {
  display: none;
}

.prevly-button {
  background-color: #1e3d61;
  color: #ffffff;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.prevly-button:hover {
  background-color: #274a72; /* Slightly lighter on hover */
  color: #ffffff;
  text-decoration: none;
}