/*
Theme Name: whatsnew-raw
Theme URI: https://edisonoil.com/wp-content/themes/edisonoil
Author: Synergy Web Design and Marketing - Lora Champion
Author URI: https://snwebdm.com/
Description: This theme works best with Elementor, although you can also use blocks with it (remove bottom section from functions.php to enable block editor). Recommended plugins: Elementor, Yoast, Contact7, woocommerce, ultimate member
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, block-styles, wide-blocks
Version: 1:012422
Requires at least: 5.0
Tested up to: 5.8.3
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whatsnew-raw
This theme, like WordPress, is licensed under the GPL.
Tested up to: 5.8
Requires PHP: 7.0
*/

:root {
  --bs-logo: #255574;
  --bs-primary: #1f4a6b; /* Your deep blue */
  --bs-body-color: #5e5e61; /* Medium gray for text */
  --bs-body-bg: #ffffff; /* White background */
  --bs-secondary-bg: #f5f5f5; /* Light gray sections */
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--bs-body-color) !important;
  background-color: var(--bs-body-bg) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  color: #1f4a6b;
}

/* Override link colors */
a {
  color: var(--bs-primary);
}
a:hover {
  color: #1d445f; /* Slightly darker blue */
}

/* Buttons use Bootstrap primary by default */
.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}
.btn-primary:hover {
  background-color: #1f4a6b !important;
  border-color: #1f4a6b !important;
}

a.btn-contact {
    background-color: #F4A261!important;
    font-family: "Montserrat", Sans-serif!important;
    font-size: 18px!important;
    font-weight: 700!important;
    text-transform: uppercase!important;
    fill: #1F4A6B!important;
    color: #1F4A6B;
    border-style: none;
    border-radius: 0px 0px 0px 0px;
    text-decoration: none;
    margin: 33px;
    padding: 8px 10px 8px 10px!important;
}

.bg-light-custom {
  background-color: var(--bs-secondary-bg) !important;
}

#mega-menu-primary .mega-contact-btn a.mega-menu-link:hover {
  background: #1f4a6b !important;
  color: white !important;

}
#mega-menu-primary .mega-contact-btn a.mega-menu-link {
  background: #f4a261 !important;
  color: #1f4a6b !important;
}

/* mega menu styling */
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link {
  color: #245573;
 
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link:hover {
  color: #245573;
 
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  color: #1f4a6b;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  position: relative;
  text-decoration: none;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link::before {
  transform: scaleX(1);
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link::before,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #1f4a6b;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.3s ease;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover::before,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover::before {
  transform: scaleX(1);
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  position: relative;
  text-decoration: none;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-item-has-children
  > a.mega-menu-link
  > span.mega-indicator {
  margin: 0 0 0 0;
}

/* parallax scroll use class parallax-section */

.parallax-container {
  position: relative;
  overflow: hidden;
  height: 100vh;
  flex-direction: column;
  justify-content: flex-end; /* Push content to bottom */
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  background-image: url("https://edisonoil.com/wp-content/uploads/2025/07/505578436_3021033724740577_2573175239295243676_n.jpg"); /* Or use a dynamic background */
  background-size: cover;
  will-change: transform;
  z-index: 1;
  background-position: bottom center; /* Change this line */
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay: adjust 0.4 as needed */
  z-index: 2;
}

.parallax-content {
  position: relative;
  z-index: 3;
  padding: 15%;
  color: white;
  text-align: left;
}

/* contact 7 form */
/* POPUP FORM */

.wpcf7-list-item {
  display: block;
  margin-bottom: 8px; /* Optional spacing between items */
}

.wpcf7-form textarea,
.wpcf7-form label,
.wpcf7-form  input {
  width: 100%;
}

.wpcf7-form-control.wpcf7-checkbox label,
.wpcf7-form-control.wpcf7-checkbox input,
.wpcf7-form-control.wpcf7-radio label,
.wpcf7-form-control.wpcf7-radio input {
  width: auto !important;
}


.wpcf7-form label {
  font-size: 24px;
}

.wpcf7-form h3 {
  font-size: 24px!important; 
}

.wpcf7-form p {
  font-size: 24px!important;
}


.wpcf7-form-control::placeholder {
    color: #ccc; /* Standard syntax */
}

.wpcf7-form-control::-webkit-input-placeholder { /* Chrome, Opera, Safari */
    color: #ccc;;
}

.wpcf7-form-control::-moz-placeholder { /* Firefox 19+ */
    color: #ccc;;
}

.wpcf7-form-control:-ms-input-placeholder { /* IE 10+ */
    color: #ccc;;
}


.text-screen {
    color: rgba(94,94,94,.6);
}

#popup_751 .popup-content {
  font-weight: normal;
  margin: auto;
}

#popup_751 p {
  margin-bottom: 6px;
}

#popup_751.popup-overlay.popup-rtp h2 {
  font-size: 24px;
  font-weight: 600;
}

#popup_751.popup-overlay.popup-rtp h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 6px;
}

#popup_751.popup-overlay.popup-rtp span.red {
  color: #9b2242;
  margin-left: 3px;
}

#popup_751 select {
  padding: 6px;
  width: 100%;
}

#popup_751 .wpcf7-form.init .wpcf7-submit {
  background-color: #9b2242 !important;
  border: 1px solid #9b2242 !important;
  color: #fff !important;
  width: auto;
  padding: 6px 20px;
  margin-top: 30px !important;
}

#popup_751 .wpcf7-form.init .wpcf7-submit:hover {
  background-color: #fff !important;
  border: 1px solid #9b2242 !important;
  color: #9b2242 !important;
  width: auto;
  padding: 6px 20px;
}

/* end SNWEB FORM */

span.red {
  color: #9b2242 !important;
}

/* ***************** @media ************************************* */

@media (max-width: 1140px) {
  .parallax-content {
    position: relative;
    z-index: 3;
    padding: 10% !important;
    color: white;
    text-align: left;
  }
}


@media (max-width: 768px) {
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link {
    color: #fff!important
}

}

@media (max-width: 575px) {
  .parallax-content {
    padding: 30% 3% !important;
  }

  .parallax-content h1,
  .parallax-content h2,
  .parallax-content p {
    font-size: 21px !important;
    line-height: normal !important;
  }

  .wpcf7-form label {
  font-size: 18px;
}

.wpcf7-form h3 {
  font-size: 16px!important; 
}

.wpcf7-form p {
  font-size: 20px!important;
}
}



