/* ========================================
   PROMOTION BANNER - FIGMA MATCHED DESIGN
   ======================================== */

.promotion-banner {
  background: #ffffff;
  border: none;
  position: relative;
}

/* INLINE DISPLAY */
.promo-inline {
  margin: 60px auto;
  padding: 30px 40px;
  max-width: 1360px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* POPUP DISPLAY */
.promo-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  max-width: 90vw;
  width: 1290px;
  max-height: 100vh;
  overflow-y: auto;
  padding: 30px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  display: none;
  padding-bottom: 10px;
}

.promo-popup.active {
  display: block;
}

/* POPUP OVERLAY */
.promo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 99998;
  display: none;
}

.promo-overlay.active {
  display: block;
}

/* CLOSE BUTTON */
.promo-close {
  position: absolute;
  top: 10px;
  right: 5px;
  background: transparent;
  border: none;
  font-size: 40px;
  line-height: 1;
  color: #000000;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.2s;
}

.promo-close:hover {
  transform: scale(1.2);
}

/* HEADER - Logo and Location Info */
.promo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 0;
}

.promo-logo img {
  max-width: 280px !important;
  height: auto !important;
}
 
.promo-location-info {
  text-align: right;
  font-size: 18px;
  font-weight: 500;
  color: #003DA6;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 30px;
}

.promo-address,
.promo-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  justify-content: flex-end;
}

/* Add separator line between address and phone */
.promo-address {
  position: relative;
  padding-right: 40px;
}

.promo-address::after {
  content: "|";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: #003DA6;
  font-size: 25px;
  font-weight: 500;
}

/* Hide separator if phone doesn't exist */
.promo-address:last-child::after {
  display: none;
}

.promo-address img,
.promo-phone img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* MAIN WRAPPER - WITH BACKGROUND IMAGE */
.promo-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
  position: relative;
  min-height: 500px;
  background-image: url('https://mastermechanic.ca/content/uploads/2026/03/Mask-group-8.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  padding: 0;
  background-size: 60%;
}

/* LEFT CONTENT */
.promo-content-left {
  padding-right: 20px;
  flex: 0 0 60%;
  z-index: 2;
  position: relative;
}

/* TITLE */
.promo-title {
  font-size: 52px;
  font-weight: bold;
  line-height: 1.1;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.highlight-orange {
  color: #FF8300;
}

.highlight-blue {
  color: #003DA6;
}

/* DETAILS */
.promo-details {
  font-size: 20px;
  color: #000000;
  margin: 0 0 30px 0;
  line-height: 1.5;
  max-width: 80%;
  font-weight: 500;
}

/* BUTTONS */
.promo-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0px 0px 22.12px 0px #DC262680;
}

.promo-btn-call {
  background: #0052A3;
  color: #ffffff;
}

.promo-btn-call:hover {
  background: #003d7a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 82, 163, 0.3);
}

.promo-btn-book {
  background: #FF8300;
  color: #ffffff;
}

.promo-btn-book:hover {
  background: #e67e00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.promo-btn svg {
  width: 16px;
  height: 16px;
}

/* HIDE RIGHT CONTENT (using background instead) */
.promo-content-right {
  /* display: none; */
}
.promo-content-right img{
    display: none;
}

/* BADGE - Now positioned on wrapper */
.promo-badge {
  position: absolute;
    top: 50px;
    right: 260px;
  background: #FF8C00;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 27px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
  z-index: 7;
  width: 219px;
}

.badge-icon {
  width: 35px;
  height: 35px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .promo-title {
    font-size: 48px;
  }
  
  .promo-wrapper {
    gap: 40px;
    min-height: 500px;
  }
  
  .promo-location-info {
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .promo-wrapper {
    flex-direction: column;
    gap: 30px;
    min-height: auto;
    background-image: none;
    padding: 20px 0;
  }
  
  .promo-content-left {
    flex: 1 1 100%;
    width: 100%;
    padding-right: 0;
  }
  
  /* Show right content on mobile */
  .promo-content-right {
    display: block;
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    flex: 1 1 100%;
    width: 100%;
    height: 400px;
  }
  
  .promo-image {
    width: 100%;
    max-width: 100%;
    height: 380px;
    display: block;
    border-radius: 12px;
    position: relative;
    object-fit: contain;
  }
  
  .promo-badge {
    position: absolute;
    top: 30px;
    left: 27px;
  }
  
  .promo-title {
    font-size: 40px;
  }
  
  .promo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .promo-location-info {
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .promo-address {
    padding-right: 0;
  }
  
  .promo-address::after {
    display: none;
  }
  
  .promo-address,
  .promo-phone {
    justify-content: flex-start;
  }
  
  .promo-popup,
  .promo-inline {
    padding: 25px;
  }
  
  .promo-details {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .promo-title {
    font-size: 32px;
  }
  .promo-content-right img{
      display: block;
  }
  .promo-buttons {
    flex-direction: row;
  }
  
  .promo-btn {
    width: max-content;
    font-size: 13px;
    padding: 12px 14px;
  }
  
  .promo-popup,
  .promo-inline {
    padding: 20px;
    padding-bottom: 0;
  }
  
  .promo-badge {
    top: 15px;
    left: 15px;
    font-size: 20px;
    padding: 10px 20px;
    width: 180px;
  }
  
  .badge-icon {
    width: 24px;
    height: 24px;
  }
  
  .promo-location-info {
    font-size: 14px;
  }
  
  .promo-logo img {
    max-width: 220px !important;
  }
  
  .promo-content-right {
    height: 350px;
  }
  
  .promo-image {
    height: 330px;
  }
  
  .promo-details {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .promo-title {
    font-size: 24px;
  }
  
  .promo-logo img {
    max-width: 150px !important;
  }
  
  .promo-location-info {
    font-size: 12px;
  }
  
  .promo-address img,
  .promo-phone img {
    width: 20px;
    height: 24px;
  }
  
  .promo-content-right {
    height: 300px;
    padding-bottom: 0;
  }
  
  .promo-image {
    height: 175px;
  }
  
  .promo-badge {
    font-size: 16px;
    width: 140px;
  }
  
  .promo-details {
    font-size: 14px;
  }
}

.promo-image-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  line-height: 0;
}

.promo-book-btn {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #E8702A;
  color: #ffffff !important;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
  line-height: normal;
}

.promo-book-btn:hover {
  background: #c95e1e;
  color: #ffffff !important;
  transform: translateX(-50%) translateY(-2px);
}

@media(max-width: 900px){
    .promo-book-btn{
        bottom: -45px;
    }
}