/*=====================================================
Description     : HomeBlinds Website (c)2025
Author          : Stuart Ward
Version         : custom.css 1.0
=======================================================*/

/* ================================
   HOMEBLINDS HERO PICTURE TOP
================================ */
.ad-area.hb-hero-bg {
    position: relative;
    min-height: 520px;
    background-image: url("https://www.homeblinds.co.uk/assets/img/hb-hero/homeblinds-hero.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile-specific hero image */
@media (max-width: 768px) {
    .ad-area.hb-hero-bg {
        background-image: url("https://www.homeblinds.co.uk/assets/img/hb-hero/homeblinds-hero-mobile.webp");
        background-position: center top;
    }
}

/* Translucent soft background panel */
.ad-area.hb-hero-bg::before {
    content: "";
    position: absolute;
    z-index: 0;

    border-radius: 8px;

    /* YOUR EXACT VALUES – UNCHANGED */
    top: 18px;
    bottom: 18px;
    left: 160px;
    right: 160px;

    background: rgba(237, 244, 245, 0.40);
}

/* Ensure existing content stays above overlay */
.ad-area.hb-hero-bg > .container {
    position: relative;
    z-index: 1;
}

/* Mobile override – YOUR EXACT VALUES */
@media (max-width: 768px) {
    .ad-area.hb-hero-bg::before {
        left: 12px;
        right: 12px;
    }
}

.hb-area-section {
    display: inline-block;
    background: rgba(255, 255, 255, 0.70);
    padding: 14px 4px; /* unchanged */
    border-radius: 8px;
}


/* ================================
   HOMEBLINDS POPUP (SEO SAFE)
================================ */

#hb-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;                /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 999999;              /* Above all site elements */
    padding: 20px;
}

.hb-popup-box {
    background: #ffffff;
    max-width: 380px;
    width: 100%;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    position: relative;
}

.hb-popup-box h3 {
    margin-bottom: 8px;
    font-size: 20px;
    color: #333;
}

.hb-popup-box p {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.4;
}

.hb-popup-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 26px;
    font-weight: 400;
    cursor: pointer;
    color: #555;
    line-height: 1;
}

@media (max-width: 480px) {
    .hb-popup-box {
        max-width: 90%;
        padding: 20px 18px;
    }
    .hb-popup-box h3 {
        font-size: 18px;
    }
    .hb-popup-box p {
        font-size: 14px;
    }
}

/*=================================
= BOTTOM FOOTER LINK STYLE  =
=================================*/



.hb-area-link {
    color: #fff !important;
    text-decoration: none !important;
}
.hb-area-link:hover {
    color: #666 !important;
}

/*=================================
= BLIND PRODUCT PAGES TEXT AND BUTTON STYLES  =
=================================*/
.blind-text a {
  color: #002173;
  text-decoration: none;
  transition: 0.2s ease;
}

.blind-text a:hover {
  color: #E5097F;
  text-decoration: underline;
}

/* Independent custom button styling */
.hb-cta-btn {
  display: inline-block;
  padding: 14px 26px;
  background: #ffffff;        /* white */
  color: #666666;
  border: 1px solid #CCCCCC;  /* faint border */
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.hb-cta-btn:hover {
  background: #CCD4E8;        /* hover colour */
  color: #666666;
  border-color: #CCD4E8;      /* border matches hover background */
  text-decoration: none;
}

.hb-cta-btn i {
  margin-left: 8px;
}
/*=================================
= BLIND PRODUCT PAGES TEXT AND BUTTON STYLES END =
=================================*/

/* AREA LINK DEFAULT = paragraph grey, CLICKED = darker grey, 
   HOVER = HomeBlinds green + modern underline */

.hb-area-section a {
  color: inherit;                     /* same grey as <p> */
  text-decoration: none;              /* no underline by default */
  transition: 
      color 0.2s ease,
      text-decoration-color 0.2s ease; 
}

.hb-area-section a:hover {
  color: #f373f3;                     /* button pink hover */
  text-decoration: underline;         /* underline on hover */
  text-decoration-thickness: 1.5px;   /* thicker, modern underline */
  text-underline-offset: 3px;         /* moves underline slightly down */
}

.hb-area-section a:active,
.hb-area-section a:focus,
.hb-area-section a:visited {
  color: #4a4a4a;                     /* darker grey after click */
  text-decoration: none;
}

/*=================================
=        BREADCRUMB STYLES       =
=================================*/

.site-breadcrumb {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-breadcrumb .container {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
}

.site-breadcrumb-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

.site-breadcrumb .site-breadcrumb-wrap,
.site-breadcrumb .breadcrumb-title,
.site-breadcrumb-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-breadcrumb .breadcrumb-title {
  line-height: 0;
}

/*=================================
=     INLINE TEXT & ICON STYLES  =
=================================*/
.homeblinds-header-tight {
    margin-top: -10px !important;
}

.navbar .dropdown-toggle::after {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important; /* solid style */
    content: "\f078" !important;
    margin-left: 6px;
}

.about-experience {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.inline-white-text {
  color: white;
  display: inline;
  text-align: center;
  white-space: nowrap;
}

.tick-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: #fff;
  color: #675654;
  border-radius: 50%;
  border: 1px solid #675654; /* Thin border matching text colour */
  font-size: 14px;
  margin-right: 10px;
}

/*=================================
=     SALE BANNER HOVER EFFECT   =
=================================*/
.sale-banner-link img {
  transition: filter 0.3s ease;
}

.sale-banner-link:hover img {
  filter: grayscale(30%) brightness(85%);
  cursor: pointer;
}

/*=================================
=     CHOOSE SECTION STYLES      =
=================================*/
.choose-wrapper {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 30px 20px;
  position: relative;
  z-index: 0;
}

.choose-wrapper .col-lg-4 {
  padding-left: 30px;
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

.choose-wrapper .col-lg-4:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background-color: #ccc;
  z-index: 1;
}

.site-title {
  margin-bottom: 40px !important;
}

.choose-area .row.g-4.align-items-center {
  margin-bottom: 0 !important;
}

.choose-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/*=================================
=     MEGA MENU ITEM STYLES      =
=================================*/
.mega-menu-item .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
}

.mega-menu-item .dropdown-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

/*=================================
=     GREEN BUTTON      =
=================================*/
.button-green {
    background-color: #ffffff; /* white */
    color: #675654;            /* White text */
    border: 1px solid #675654; /* Thin border matching text colour */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-green:hover,
.button-green:focus,
.button-green:active {
    background-color: #218838; /* Darker green on hover/click */
    color: #FFFFFF;            /* Keep text white */
    text-decoration: none;
}

/*=================================
=     ADVERT BOX FRONT PAGE SPACING IN MOBILE TOP AND BOTTOM OF BOXEX      =
=================================*/
/* Custom spacing for image boxes in ad-area */
.ad-area .team-img {
  margin-bottom: 40px;
}
.footer-service-areas {
    border-top: 0px solid #333;     /* Subtle divider (currently unused) */
    font-size: 10px;
    color: #777777 !important;      /* Light grey font for good contrast */
    padding: 10px 0;
}
.process-item img {
    border-radius: 12px;
}

.rounded-image {
    border-radius: 12px;
}
.form-group {
    margin-bottom: 15px; /* Adjust if needed */
}

.datepicker-dropdown {
  z-index: 9999;
}

.about-list ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.3;
    color: #757F95 !important;  /* force colour */
}

.about-list ul li {
    margin-bottom: 2px;
    font-weight: normal;
    color: #757F95 !important;  /* force each line */
}

.about-list ul li .highlight {
    font-weight: 600;
    color: #000 !important;  /* force first word darker */
}

.about-list ul li i {
    font-size: 12px;
    margin-right: 6px;
    color: #757F95 !important;  /* soften icons */
    vertical-align: middle;
}

/*=================================
=     Blind pages banner top with arrow      =
=================================*/


/* Banner container */
.options-banner {
  position: relative;
  display: flex;
  align-items: stretch;
  margin: 20px 0;
  border: 0px solid #ddd;
  border-radius: 8px;
  background: #f7f7f7;
  overflow: visible; /* so the chevron can stick out */
}

/* LEFT: flexible arrow box */
.options-banner__left {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 20px 32px;
  background: #CCD4E8;
  border-radius: 8px 0 0 8px;
  white-space: nowrap;             /* keep text on one line */
}

/* Chevron tip */
.options-banner__left::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -48px;                    /* stick out from the box */
  width: 48px;
  background: #CCD4E8;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Text inside left arrow */
.left-label {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #666666;       /* ~80% black */
}

/* RIGHT: paragraph area */
.options-banner__right {
  flex: 1;
  padding: 20px 32px;
  margin-left: 56px;               /* 48px chevron + 8px gap */
  display: flex;
  align-items: center;
}

/* Text on the right */
.options-banner__right p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;       /* ~80% black */
}
/*=================================
=     Blind pages banner top with arrow END      =
=================================*/


/* Responsive tweak */
@media (max-width: 576px) {
  .options-banner { padding: 18px 12px; }
  .options-banner__left { width: 60%; }
  .options-banner__left::after { right: -36px; width: 36px; }
}
/* Mobile-friendly override */
@media (max-width: 576px) {
  .options-banner {
    flex-direction: column; /* stack neatly */
    padding: 15px;
  }

  .options-banner__left {
    position: relative;      /* no absolute overlay */
    width: 100%;             /* full width */
    justify-content: flex-start;
    border-radius: 6px;
    padding: 12px 15px;
  }

  .options-banner__left::after {
    display: none;           /* hide arrow on mobile */
  }

  .options-banner h2 {
    margin-top: 10px;        /* spacing below left box */
  }
}
