/* ============================================
   HEADER NEW LAYOUT
   ============================================ */
.header-new-layout {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0 80px !important;
  position: sticky !important;
  top: 0 !important;
  overflow: visible !important;
  z-index: 1001 !important;
  max-height: 120px;
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.header-new-layout .logo-wrapper {
  margin-left: 0 !important;
  flex-shrink: 0 !important;
  z-index: 2 !important;
  background: transparent !important;
  overflow: hidden !important;
  max-height: 80px;
}

.header-new-layout .logo-wrapper img {
  display: block !important;
  background: transparent !important;
  overflow: hidden !important;
}

.header-new-layout .menu-wrapper {
  margin-right: 0 !important;
  flex: 1 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  position: relative !important;
  z-index: 1000 !important;
}

.header-new-layout .menu-wrapper ul {
  font-size: 14px !important;
  position: relative !important;
  z-index: 1000 !important;
}

.header-new-layout .burger {
  margin-right: 0 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 1002 !important;
}

/* ============================================
   SUBMENU - Override sub-menu.css
   ============================================ */
.menu {
  position: relative !important;
  z-index: 1000 !important;
}

.menu li {
  position: relative !important;
  z-index: 1000 !important;
}

.menu li:hover {
  z-index: 1002 !important;
}

.menu li .sub-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% - 2px) !important;
  left: 0 !important;
  background-color: white !important;
  list-style: none !important;
  min-width: 150px !important;
  max-width: 80vw !important;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1) !important;
  z-index: 1003 !important;
  padding: 10px !important;
  flex-direction: column !important;
  gap: 0 !important;
  max-height: 50vh !important;
  overflow-y: auto !important;
  isolation: isolate !important;
}

.menu li:hover .sub-menu,
.menu li .sub-menu:hover {
  display: block !important;
  background-color: white !important;
}

.menu li .sub-menu li {
  flex: none !important;
  width: 100% !important;
  min-width: auto !important;
  white-space: nowrap !important;
  text-align: left !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 1003 !important;
  background-color: white !important;
}

.menu li .sub-menu a {
  display: block !important;
  padding: 10px 15px !important;
  color: #000 !important;
  text-decoration: none !important;
  background: #FFF !important;
  transition: background 0.3s ease !important;
}

.menu li .sub-menu a:hover {
  text-decoration: underline !important;
  background-color: #f5f5f5 !important;
}

.sub-menu a::after {
  content: none !important;
  display: none !important;
}

.menu li:last-child .sub-menu {
  left: auto !important;
  right: 0 !important;
  background-color: white !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-contact {
  width: 100%;
  background-color: #f5f5f5;
}

.footer-contact .contact {
  position: relative;
  padding: 0 5% 10em;
  display: flex;
  flex-direction: column;
  row-gap: 2em;
}

.footer-contact .contact__logo {
  width: 252px;
  height: 60px;
  overflow: hidden;
  margin: 2em 0;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #000;
}

.footer-contact .contact__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  background: transparent;
}

.footer-contact .contact__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
  font-weight: extrabold;
  text-transform: uppercase;
  margin: 0 0 3em;
  position: relative;
  padding: 0 10px;
  z-index: 1;
  align-self: center;
}

.footer-contact .contact__title::before,
.footer-contact .contact__title::after {
  content: '';
  width: 200px;
  height: 1px;
  background: #000;
  flex-shrink: 0;
}

.footer-contact .contact__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  justify-items: center;
}

.footer-contact .contact__block {
  font-size: 14px;
}

.footer-contact .contact__block strong {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
}

.footer-contact .contact__form {
  margin-bottom: 2em;
}

.footer-contact .contact__copyright {
  text-align: center;
  font-size: 13px;
  padding-top: 2em;
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* ============================================
   PAGE SECTIONS
   ============================================ */
.about-section-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 1100px;
}

.default-section-content,
.default-section {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: left;
  margin: 0 5% 14.8em;
  padding: 4em 10vw;
  font-family: AvenirBook;
}

.default-section h1,
.default-section h2 {
  font-family: FreightBigBook;
  line-height: 130%;
}

.default-section h1 {
  font-size: 38px;
  margin: 0 0 1em;
}

.default-section h2 {
  font-size: 32px;
  margin: .5em 0 1em;
}

.default-section h6 {
  font-weight: bolder;
  margin: 0;
}

.default-section p {
  font-size: 16px;
}

.default-section .post-thumbnail {
  text-align: center;
}

.default-section .post-thumbnail img , .post-content img{
    width: auto;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.page-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5vw;
  padding: 2vw 2vw 0;
  align-items: center;
  font-family: AvenirBook;
}

.page-section-content {
  margin: 0 10%;
  align-items: center;
  font-family: AvenirBook;
  max-width: 100%;
}

.page-section__left {
  width: 80%;
  max-width: 760px;
  justify-self: end;
}

.page-section__right {
  max-width: 760px;
}

.page-section__left__title,
.page-section__right__title,
h1 {
  font-family: FreightBigBook;
  font-size: 38px;
  margin: 0;
  line-height: 130%;
}

.page-section h2,
.page-section-content h2 {
  font-family: FreightBigBook;
  font-size: 32px;
  margin: .5em 2rem 1em 0;
  line-height: 130%;
}

.page-section h3,
.page-section-content h3 {
  font-size: 24px;
  margin: .5em 2rem 1em 0;
}

.page-section h4,
.page-section-content h4 {
  font-size: 20px;
  font-weight: bolder;
  margin: .5em 2rem 1em 0;
}

.page-section h6,
.page-section-content h6 {
  font-weight: bolder;
  margin: .5em 2rem 1em 0;
}

.page-section p,
.page-section-content p {
  font-size: 16px;
  margin: .5em 2rem 1em 0;
}

.page-section li,
.page-section-content li {
  line-height: 2rem;
}

.page-section .hero-image img {
  width: 100%;
  height: auto;
  min-height: 50vh;
  object-fit: cover;
}

/* ============================================
   IMAGE TEXT BLOCKS
   ============================================ */
.image-text-block {
  overflow: hidden;
  display: block;
  margin-bottom: 3em;
  clear: both;
}

.image-text-block .image-frame {
  width: 300px;
  height: 300px;
  overflow: hidden;
  float: right;
  margin: .5rem 0 20px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.image-text-block.alignleft .image-frame {
  float: left;
  margin: 1rem 2rem 1.5rem 0;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.image-text-block .text-content {
  overflow: hidden;
}

/* ============================================
   SERVICE IMAGE CARDS
   ============================================ */
.service-image-card {
  text-align: left;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-image-card__title {
  font-size: 23px;
  font-family: FreightBigBook;
  text-transform: capitalize;
  margin-bottom: 1em;
}

.service-image-card__link {
  display: block;
  width: 100%;
  text-decoration: none;
  margin-bottom: 1.5em;
}

.service-image-card__image {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-image-card > .service-image-card__image {
  margin-bottom: 1.5em;
}

.service-image-card__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-image-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.service-image-card__button {
  position: absolute;
  bottom: 25px;
  left: 28px;
  display: inline-block;
  padding: 12px 30px;
  background-color: #000;
  color: white;
  text-decoration: none;
  font-family: AvenirBook;
  font-size: 16px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.service-image-card__link:hover .service-image-card__overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.service-image-card__link:hover .service-image-card__button {
  background-color: #fff;
  color: black;
  transform: translateY(-2px);
}

.service-image-card__link:hover .service-image-card__image img {
  transform: scale(1.05);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.slider {
  margin-top: 0;
}

.sub-title {
  max-width: 900px;
  padding: 20px 0 20px 20px;
}

.one-service {
  text-align: left;
}

.alignright {
  float: right;
  padding: 20px 0 20px 40px;
}

.alignleft {
  float: left;
  padding: 20px 40px 20px 0;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.custom-2col {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 6em;
}

.custom-2col-left {
  display: block;
  width: 12%;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
}

.custom-2col-right {
  width: 84%;
}

.filter-btn {
  text-align: left;
  display: block;
  width: 100%;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.top-title {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 30px;
  padding: 4rem;
}

.child-title {
  text-align: center;
  margin: 2.5rem 0 2rem;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Aladin', cursive;
}

.elsie-regular {
  font-family: "Elsie", serif;
  font-weight: 400;
  font-style: normal;
}

.elsie-black {
  font-family: "Elsie", serif;
  font-weight: 900;
  font-style: normal;
}

/* ============================================
   BRANDS GRID
   ============================================ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.brand-card {
  height: 400px;
  width: 100% !important;
  display: block !important;
  position: relative;
  overflow: hidden;
  margin: 0 !important;
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brands-header {
  margin: 0 auto 4rem;
  text-align: center;
  font-family: 'Noto Sans', sans-serif;
}

.brands-hero {
  margin: 4rem 0;
}

.brands-hero h1,
.brands-hero p {
  font-size: 30px;
  font-family: 'Noto Sans';
  font-weight: 600;
  line-height: 1.25;
  color: #000;
  margin: 0;
}

.brands-hero p {
  color: #9fb3a5;
}

.brands-description p {
  font-size: 30px;
  line-height: 1.6;
  font-weight: 300;
  color: #000;
  margin: 0 0 1rem;
  opacity: 0.85;
  text-align: left;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Tablet and below (1100px) */
@media only screen and (max-width: 1100px) {
  .header-new-layout {
    padding: 0 49px !important;
  }

  .header-new-layout .menu-wrapper {
    position: fixed !important;
    margin: 0 !important;
    flex: 0 !important;
    min-width: 240px !important;
    z-index: 1000 !important;
  }

  .header-new-layout .burger {
    z-index: 1002 !important;
  }

  .page-section {
    grid-template-columns: 1fr 3fr 1fr;
    column-gap: 0;
    row-gap: 3em;
  }

  .page-section__left {
    padding-top: 0;
    width: 90%;
    grid-column: 1/3;
  }

  .page-section__right {
    padding-top: 0;
    grid-column: 2/4;
    width: 90%;
  }

  .page-section .hero-image img {
    min-height: 0 !important;
  }

  .service-image-card {
    width: initial;
  }

  .service-image-card__title {
    font-size: 2.1vw;
  }

  .service-image-card__button {
    font-size: 1.4vw;
    padding: 1vw 2.5vw;
    bottom: 1.5vw;
    left: 1.5vw;
  }
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .custom-2col {
    flex-direction: column;
  }

  .custom-2col-left,
  .custom-2col-right {
    width: 100%;
  }

  .custom-2col-left {
    display: none;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-card {
    grid-column: auto !important;
  }
}

/* Mobile (768px) */
@media only screen and (max-width: 768px) {
  .header-new-layout {
    padding: 0 20px !important;
  }

  .header-new-layout .logo-wrapper {
    margin-left: 0 !important;
  }

  .header-new-layout .burger {
    margin-right: 0 !important;
  }
  .post-content img {
          width: 100%;
          height: auto;
  }
  .footer-contact .contact__info {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
  }

  .footer-contact .contact__title {
    display: none;
  }

  .footer-contact .contact__logo {
    align-self: center;
  }

  .footer-contact .contact {
    row-gap: 0;
  }

  .image-frame {
    float: none !important;
    margin: 0 auto 2em;
    display: block;
  }

  .service-image-card {
    width: 90%;
  }

  .service-image-card__title {
    font-size: 23px;
  }

  .service-image-card__button {
    font-size: 16px;
    padding: 12px 30px;
    bottom: 20px;
    left: 20px;
  }

  .child-title {
    font-size: 22px;
  }

  .brands-hero {
    font-size: 24px;
  }
}

/* Small Mobile (560px) */
@media (max-width: 560px) {
  .brands-grid {
    grid-template-columns: 1fr;
  }
}
