/* Main CSS file - imports all partials */

/* Import all CSS partials */
@import url('./partials/variables.css');
@import url('./partials/global.css');
@import url('./partials/layout.css');
@import url('./partials/components.css');
@import url('./layout/header.css');
@import url('./layout/footer.css');
@import url('./product-detail.css');

/* Import all pages CSS */
@import url('./pages/brand.css');
@import url('./pages/home.css');

/* Custom font import */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter_18pt-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter_18pt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter_18pt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter_18pt-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter_18pt-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../Fonts/inter/Inter_18pt-ExtraBold.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Icons */
@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icons/icomoon.eot?efmob');
  src: url('../fonts/icons/icomoon.eot?efmob#iefix') format('embedded-opentype'),
    url('../fonts/icons/icomoon.ttf?efmob') format('truetype'),
    url('../fonts/icons/icomoon.woff?efmob') format('woff'),
    url('../fonts/icons/icomoon.svg?efmob#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-home:before {
  content: "\e906";
}

.icon-search:before {
  content: "\e905";
}

.icon-tick:before {
  content: "\e902";
}

.icon-instagram:before {
  content: "\e903";
}

.icon-facebook:before {
  content: "\e904";
}

.icon-left-arrow:before {
  content: "\e900";
}

.icon-right-arrow:before {
  content: "\e901";
}

.icon-menu:before {
  content: "\e92f";
}


/* Additional global styles */
body {
  font-family: var(--font-primary);
}

/* Hero section styles */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: var(--font-size-large);
  margin-bottom: var(--spacing-xl);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Services section */
.services-section {
  padding: var(--spacing-xxl) 0;
  background-color: #f8f9fa;
}

/* Contact section */
.contact-section {
  padding: var(--spacing-xxl) 0;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.footer .social-links-list {
  justify-content: center;
  margin: 0;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar scroll effect */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Form error styles */
.form-control.error {
  border-color: var(--accent-color);
}

/* Mobile navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .navbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: var(--box-shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav li {
    margin: var(--spacing-sm) 0;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  /* .col-4 {
    flex: 0 0 100%;
  }
  
  .col-6 {
    flex: 0 0 50%;
  } */
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
  outline-color: var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  .btn {
    border: 1px solid black;
  }

  .navbar,
  .footer {
    display: none;
  }
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid #000;
  border-top: none;
  border-left: none;
  transform: rotate(-45deg);
  vertical-align: middle;
  font-size: 0px;
  margin-top: 10px;
  margin-right: 10px;
  padding: 0px;
}

.custom-breadcrumb .breadcrumb {
  padding: 0 1rem;
}

@media (max-width: 1200px) {
  .custom-breadcrumb .breadcrumb {
    padding: 0rem;
  }
}

@media (max-width: 768px) {
  .custom-breadcrumb {
    display: none;
  }
}

.news-list-view {
  .brand-card {
    .card-image {
      height: 200px;

      .news-img-wrap {
        height: 100%;

        img {
          width: 100%;
          object-fit: cover;
          border-radius: 0px;
        }
      }
    }

    p {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }
}

@media (min-width: 991px) {
  .blog-section-image {
    .ce-textpic {
      display: flex;
      overflow: visible;
      justify-content: space-between;

      .col-lg-6 {
        width: 48%;

        .ce-gallery {
          height: 100%;

          .ce-row {
            height: 100%;

            .ce-column {
              height: 100%;

              .image {
                height: 100%;

                img {
                  height: 100%;
                  object-fit: cover;
                }
              }
            }
          }
        }
      }
    }

    .container .frame-type-textpic:nth-child(even) {
      .ce-textpic {
        flex-direction: row-reverse;
      }
    }
  }

  .blog-detail h2 {
    max-width: 100%;
  }
}

.news-single {
  p {
    font-size: 20px;
  }
}

.blog-detail {
  padding-bottom: 1rem;

  h2 {
    text-align: center;
    max-width: 70%;
    margin: 2rem auto;
  }
}

.blog-section-image {
  .ce-textpic {
    margin-bottom: 3rem;
  }

  .container .frame-type-textpic:last-child {
    .ce-textpic {
      margin-bottom: 0rem;
    }
  }
}

.product-slider-wrapper {
  position: relative;
}

.product-slider .swiper-slide {
  height: auto;
  display: flex;
}

.product-slider .product-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-slider-next,
.product-slider-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-color);
}


.product-slider-next span,
.product-slider-prev span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slider-next i,
.product-slider-prev i {
  font-size: 20px;
}

.product-slider-section .product-slider-next {
  right: -35px !important;

  @media (max-width: 1200px) {
    right: -20px !important;
  }

  @media (max-width: 576px) {
    right: 0px !important;
  }
}

.product-slider-section .product-slider-prev {
  left: -35px !important;

  @media (max-width: 1200px) {
    left: -20px !important;
  }

  @media (max-width: 576px) {
    left: 0px !important;
  }
}

.product-slider-next.swiper-button-disabled,
.product-slider-prev.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}



.banner-section-bg {
  height: 100%;
  background-color: var(--background-color-light);

  .banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;

    .banner-head-text {
      font-size: var(--font-size-display);
      font-weight: 700;
      color: var(--text-color);
    }

    .banner-paragraph {
      font-size: var(--font-size-base);
      font-weight: 700;
      color: var(--text-color);
      margin: 0;
    }
  }

}

@media (max-width: 768px) {
  .banner-section-bg {
    .banner-content {
      text-align: left;
      align-items: flex-start;

      .banner-head-text {
        font-size: 2rem !important;
      }

      .banner-paragraph {
        font-size: 1rem !important;
      }
    }
  }
}