/* ====================================================================================== */
/* SERVICE PAGES GLASS EFFECT STYLES                                                      */
/* Used by: light-duty-towing.html, medium-duty-towing.html, heavy-duty-towing.html,     */
/*          motorcycle-towing.html, rv-towing.html, fuel-fluid-delivery.html,            */
/*          jump-starts-battery-service.html, flat-tire-change-repair.html,              */
/*          vehicle-lockout-service.html                                                  */
/* ====================================================================================== */

/* ====================================================================================== */
/* MOBILE ONLY GLASS EFFECT (max-width: 991px)                                           */
/* ====================================================================================== */
@media (max-width: 991px) {
  /* The Glass Container */
  .service-glass-container {
    background-color: rgba(0, 0, 0, 0.3) !important;
    padding: 30px 25px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  /* Heading inside glass container */
  .service-heading {
    color: #ffffff !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
  }

  /* Description text inside glass container */
  .service-description {
    color: #f0f0f0 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
  }

  /* Button container */
  .service-buttons {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    margin-top: 20px !important;
    justify-content: center !important;
  }

  /* Base button styles */
  .service-btn {
    padding: 12px 28px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    text-transform: capitalize !important;
  }

  /* Primary button (yellow background) */
  .service-btn-primary {
    background-color: #facc15 !important;
    color: #222222 !important;
    border: 2px solid #facc15 !important;
  }

  .service-btn-primary span {
    color: #222222 !important;
  }

  /* Secondary button (transparent with white border) */
  .service-btn-secondary {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
  }

  .service-btn-secondary span {
    color: #ffffff !important;
  }
}

/* Further adjustments for smaller mobile screens */
@media (max-width: 768px) {
  .service-glass-container {
    padding: 25px 20px !important;
  }

  .service-heading {
    font-size: 28px !important;
  }

  .service-description {
    font-size: 15px !important;
  }

  .service-btn {
    padding: 10px 22px !important;
    font-size: 0.9rem !important;
  }
}

/* ====================================================================================== */
/* DESKTOP RESET (min-width: 992px)                                                       */
/* ====================================================================================== */
@media (min-width: 992px) {
  .service-glass-container {
    background-color: rgba(0, 0, 0, 0.3) !important;
    padding: 40px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    max-width: 850px !important;
    text-align: left !important;
  }

  /* Ensure buttons are visible and styled correctly on desktop */
  .service-buttons {
    display: flex !important;
    gap: 15px !important;
    margin-top: 30px !important;
  }

  .service-btn {
    padding: 12px 28px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    text-decoration: none !important;
  }

  .service-btn-primary {
    background-color: #facc15 !important;
    color: #222222 !important;
    border: 2px solid #facc15 !important;
  }

  .service-btn-secondary {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
  }
}

/* ====================================================================================== */
/* FORCE OVERRIDE: Service Banner Heading - Maximum Specificity                          */
/* ====================================================================================== */
#main-h1.service-heading {
  font-size: 36px !important;
  text-align: left !important;
}

@media (max-width: 991px) {
  #main-h1.service-heading {
    text-align: center !important;
  }
}

/* ====================================================================================== */
/* END OF FILE                                                                           */
/* ====================================================================================== */
