/*
Theme Name: Divi Child Theme
Version: 2.0
Description: Basic Child Theme
Author: D&GG Advertising
Template: Divi
*/
 
/*------- Theme Customizations------- */

/* ---------------------- Typography ---------------------- */
DIN 2014 Regular
font-family: "din-2014", sans-serif;
font-weight: 400;
font-style: normal;

DIN 2014 Italic
font-family: "din-2014", sans-serif;
font-weight: 400;
font-style: italic;

DIN 2014 Bold
font-family: "din-2014", sans-serif;
font-weight: 700;
font-style: normal;

DIN 2014 Bold Italic
font-family: "din-2014", sans-serif;
font-weight: 700;
font-style: italic;

DIN 2014 Narrow Regular
font-family: "din-2014-narrow", sans-serif;
font-weight: 400;
font-style: normal;

DIN 2014 Narrow Bold
font-family: "din-2014-narrow", sans-serif;
font-weight: 700;
font-style: normal;





h2 { 
font-family: "din-2014";
 }
 
 h3 { 
font-family: "din-2014";
 }
 
 h4 { 
font-family: "din-2014";
 }
 
 h5 { 
font-family: "din-2014";
 }
 
 h6 { 
font-family: "din-2014";
 }
 
 p { 
font-family: "din-2014";
 }
 
 body {
    font-family: "din-2014";
    }
    
  
  
/* ---------------------- Menu ---------------------- */    
    
/* Space between menu items */
.et_pb_menu .et-menu {
  column-gap: 15px;
}

/* Remove Divi dropdown pseudo-elements */
.et_pb_menu .menu-item-has-children > a::before {
  display: none !important;
}

/* Base menu link */
.et_pb_menu .et-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 10px;
}

/* Dropdown arrow spacing */
.et_pb_menu .et-menu > li.menu-item-has-children > a {
  gap: 6px;
}

/* Gold underline – anchored to text, not container */
.et_pb_menu .et-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 2px)!important; /* KEY LINE — locks underline under text */
  height: 2px;
  background: linear-gradient(
    90deg,
    #c9a24d,
    #f5d27a,
    #c9a24d
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Hover */
.et_pb_menu .et-menu > li > a:hover::after {
  opacity: 1;
}

/* Active page */
.et_pb_menu .et-menu > li.current-menu-item > a::after,
.et_pb_menu .et-menu > li.current_page_item > a::after {
  opacity: 1;
}

/* Optional active emphasis */
.et_pb_menu .et-menu > li.current-menu-item > a {
  font-weight: 600;
}

/* Default state (transparent) */
.sticky-bg {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Sticky background after scroll */
.sticky-bg.sticky-bg-active {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}



@media (max-width: 980px) {
.et_pb_menu .et_mobile_menu {
    top: 100%;
    padding: 2%;
    width: 220px;
    margin: 0px -50px 0;
}
}




/* ---------------------- Buttons ---------------------- */    

/* Uniform button sizing */
.uniform-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 20px;
  text-align: center;
	text-decoration-color: #c8b858;
}

@media (max-width: 767px) {
  .uniform-btn {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
  }

  .et_pb_button_module_wrapper,
  .et_pb_text_align_right {
    text-align: center !important;
  }
}
