/*
Template Name: Flooring
File: Layout CSS - Cleaned and Refactored
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: https://www.templateonweb.com/license
*/

/* ==========================================================================
  Table of Contents
  ==========================================================================
  1. Global Styles & Resets (body, typography, links, etc.)
  2. Reusable Components (buttons, forms, social icons, etc.)
  3. Utility / Helper Classes (.col_light, .font_14, .p_3, etc.)
  4. Page Section Styles (header, footer, blog, etc.)
  5. Media Queries (responsive styles)
========================================================================== */


/* ==========================================================================
  1. Global Styles & Resets
  ========================================================================== */

:root {
  --brand-primary: #a5799c;  /*#8A63D2*/
  --text-light: #f8f9fa;
  --text-muted: #adb5bd;
  --font-body: 'Poppins', sans-serif;
}

body {
  /* Set the default body font. Headings will override this. */
  font-family: 'Poppins', sans-serif;
}

ul {
  list-style: none;
  padding: 0;
}

hr {
  opacity: 1;
  background-color: #f7edca;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: bold;
}

h5, h6 {
  /* h5 and h6 will inherit Poppins from the body */
  font-weight: bold;
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
}

.page-title, .breadcrumb-item.active {
  color: var(--brand-primary) !important
}

.text-brand {
  color: var(--brand-primary) !important;
}


/* --- Links --- */
.callus {
  color: #ffffff;
  text-decoration: none;
}

a {
  color: #333;
  text-decoration: none;
}

/* Combined hover and focus states for efficiency */
a:hover,
a:focus {
  text-decoration: none;
  color: var(--brand-primary) !important;
}

.a_tag:hover,
.a_tag:focus {
  color: var(--brand-primary) !important;
}

.main-content {
  margin-top: 120px;
}

#page-header {
  padding-top: 2rem;
  /* padding-bottom: 2rem; */
  border-bottom: 1px solid #dee2e6; 
}

.w-70 {
  width: 70% !important;
}


/* ==========================================================================
  2. Reusable Components
  ========================================================================== */

/* --- Buttons (Refactored) --- */
/* Base button style */
.button {
  display: inline-block;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  border: 2px solid;
  border-radius: 30px;
  transition: all 0.3s ease;
}

/* Modifier: Solid button */
.button.button-solid {
  background-color: #b6702a;
  border-color: #b6702a;
  color: #fff;
}

.button.button-solid:hover {
  background-color: transparent !important; /* Note: !important was in original code */
  color: #9d8256 !important;
  border-color: #f7edca;
}

/* Modifier: Outline button */
.button.button-outline {
  background-color: transparent;
  border-color: #f7edca;
  color: #9d8256;
}

.button.button-outline:hover {
  background-color: #b6702a !important; /* Note: !important was in original code */
  border-color: #b6702a !important;
  color: #fff !important;
}

/* Modifier: Dark Transparent button */
.button.button-dark-transparent {
  padding: 14px 50px;
  background-color: rgba(0, 0, 0, 0.39);
  border-color: #9d8256;
  color: #9d8256;
}

.button.button-dark-transparent:hover {
  background-color: #000 !important; /* Note: !important was in original code */
  color: #fff !important;
}


/* --- Forms --- */
.form-control,
.form-select {
  border-color: #f7edca;
  box-shadow: none;
  border-radius: 0;
  height: 50px;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: #f7edca;
}

.form-select {
  color: #777;
}

.form_text {
  height: 150px !important;
}

.input-group .form-control {
  height: auto;
}

.form-check .form-check-input:checked {
  background-color: #b6702a;
  border-color: #b6702a;
}

/* --- Pagination --- */
.pages ul li {
  display: inline-block;
}

.pages ul li a {
  display: block;
  color: #0c121d;
  margin: 0 2px;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  border: 1px solid var(--brand-primary);
  background: #fff;
}

.pages ul li a:hover,
.pages ul li a.act {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff !important;
}

/* --- Social Icons --- */
ul.social-network {
  list-style: none;
  display: block;
  margin: 0 !important;
  padding: 0;
}

ul.social-network li {
  display: inline-block;
}

.social-circle li a {
  display: inline-block;
  position: relative;
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  color: #fff;
  transition: all 0.2s;
}

.social-circle li i {
  line-height: 40px;
  transition: all 0.8s;
}

.social-circle li a:hover {
  transform: rotate(360deg);
}

.social-network a.icoRss:hover { background-color: #F56505; }
.social-network a.icoFacebook:hover { background-color: #3B5998; }
.social-network a.icoYoutube:hover { background-color: #BD3518; }
.social-network a.icoInstagram:hover { background-color: #833AB4; }
.social-network a.icoTwitter:hover { background-color: #33ccff; }
.social-network a.icoGoogle:hover { background-color: #BD3518; }
.social-network a.icoVimeo:hover { background-color: #0590B8; }
.social-network a.icoLinkedin:hover { background-color: #007bb7; }


/* ==========================================================================
  3. Utility / Helper Classes
  ========================================================================== */

.col_light { color: #f5c494 !important; }
.col_brow { color: var(--brand-primary) !important; }

.bg_brow { background-color: #b6702a !important; }
.bg_back { background-color: rgba(0, 0, 0, 0.4) !important; }
.bg_back1 { background-color: rgba(0, 0, 0, 0.6) !important; }
.bg_backo { background-color: rgba(0, 0, 0, 0.9) !important; }

.font_8 { font-size: 8px; }
.font_10 { font-size: 10px; }
.font_12 { font-size: 12px; }
.font_13 { font-size: 13px; }
.font_14 { font-size: 14px; }
.font_15 { font-size: 15px; }
.font_50 { font-size: 50px; }
.font_60 { font-size: 60px; }

.line {
  height: 4px !important;
  width: 100px;
  background-color: #a5799c;
}

.p_3 {
  padding-top: 30px;
  padding-bottom: 30px;
}

.border_1 {
  border: 1px solid var(--brand-primary);
}

.shadow_box {
  box-shadow: 0px 4px 20px -3px rgb(22 36 62 / 15%);
}

.carousel-indicators [data-bs-target] {
  background-color: #b6702a;
}

.carousel_p {
  padding-bottom: 70px !important;
}

.carousel_p .carousel-indicators {
  bottom: -60px !important;
}

/* ==========================================================================
  4. Page Section Styles
  ========================================================================== */

/* --- Header & Navigation --- */
#header .navbar-brand {
  font-size: 30px;
}

#header .nav-link {
  padding: 30px 20px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
}

#header .nav-link:hover,
#header .nav-link:focus,
#header .active {
  background: none;
  color: #f5c494;
}

/* Dropdown Menu */
#header .drop_1 {
  min-width: 240px;
  border-radius: 0;
  margin-top: 0 !important;
  border: none;
  background: #000;
  padding: 0;
  left: auto !important;
  right: 0 !important;
}

#header .drop_1 a {
  padding: 15px;
  border-bottom: 1px solid #111;
  color: #fff;
  transition: 0.3s;
  text-transform: uppercase;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}

#header .drop_1 a:hover {
  background: none;
  color: #f5c494;
}

/* --- Main Content Sections --- */
.main_o {
  background-image: url(../img/25.jpg);
}

.main_1 {
  z-index: 3;
}

/* Figure hover effect */
.grid figure {
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

figure.effect-jazz figcaption::after,
figure.effect-jazz img {
  transition: opacity 0.35s, transform 0.35s;
}

figure.effect-jazz:hover img {
  transform: scale3d(1.05, 1.05, 1);
}

/* Shop specific styles */
.shop_1r1l:hover {
  box-shadow: 0px 4px 20px -3px rgb(22 36 62 / 15%);
  transition: 0.3s;
}

.shop_1r1l:hover .shop_1r1l1i1 {
  display: block;
  background: rgba(0, 0, 0, .6);
  transition: 0.3s;
}

.shop_1r1l1i1 {
  display: none;
}

.shop_1r1l1i1 ul li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  color: #fff;
}

.shop_1r1l1i1 ul li a:hover {
  background: #b6702a;
  border: 1px solid #b6702a;
}

/* Blog specific styles */
.blog_1im:hover .blog_1im1i1 {
  background: rgba(0, 0, 0, .6);
  transition: 0.3s;
}

.blog_1im2ir {
  margin-top: 12px;
}

/* --- Footer --- */
#footer {
  background-image: url(../img/1.jpg);
  background-position: center;
}

.footer_1i ul li a {
  background: #3a3737;
}

.footer_1i .input-group {
  border-color: #3a3737;
}

.footer_2 {
  border-top: 1px solid #3a3737;
}

#taps-products .nav-pills .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  background-color: #f1f1f1;
  border-radius: 50px;
  padding: 12px 30px;
  margin: 0 5px;
  transition: all 0.3s ease;
  opacity: 1 !important; /* This forces the inactive tabs to be visible */
}

/* Style for the currently active tab */
#taps-products .nav-pills .nav-link.active,
#taps-products .nav-pills .show > .nav-link {
  background-color: var(--brand-primary, #ec73fc) !important; /* Use brand color */
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hover effect for inactive tabs */
#taps-products .nav-pills .nav-link:not(.active):hover {
  background-color: #e0e0e0;
  color: #333;
}

#taps-products .tab-content {
  padding-top: 2rem;
}

#taps-products .nav-pills .nav-link {
  opacity: 1 !important; /* Force the tabs to be visible on page load */
}


/* ==========================================================================
  5. Media Queries
  ========================================================================== */

/* --- Mobile (up to 767px) --- */
@media screen and (max-width: 767px) {
  #header .drop_1,
  .sticky .drop_1 {
      margin-top: 0 !important;
      min-width: 100%;
  }

  #header .drop_1 a {
      font-size: 22px;
  }

  .line, .line_1 {
      margin-left: auto;
      margin-right: auto;
  }

  .pages ul li {
      margin-top: 5px;
      margin-bottom: 5px;
  }

  .center_sm { text-align: center !important; }
  .center_left { text-align: left !important; }

  .font_60 { font-size: 45px; }
  .font_50 { font-size: 36px; }

  .main_1 { position: static !important; }

  .serv_h1, .about_pgoi {
      text-align: center;
      margin-top: 8px;
      margin-bottom: 8px;
  }

  .about_pgoi p {
      text-align: left;
  }

  .shop_1r1l, .blog_1im, .footer_1i {
      margin-top: 8px;
      margin-bottom: 8px;
  }

  .blog_1im2il img { width: 40px; height: 40px; }
  .blog_1im2il h6 { font-size: 14px; }
  .blog_1im2ir h6 { font-size: 12px; }

  .footer_1i h5, .footer_1i h3, .footer_1i ul {
      text-align: center;
  }
  
  .footer_2 { text-align: left !important; }
}

/* --- Tablet (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-expand-md {
      flex-wrap: wrap !important;
  }
  .navbar {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }

  .drop_1 {
      left: auto !important;
      right: 0 !important;
  }

  #header .nav-link {
      padding: 30px 8px;
  }

  #header .navbar-brand {
      font-size: 24px;
  }

  .shop_1r1l1i1 ul li a {
      width: 30px;
      height: 30px;
      line-height: 30px;
      font-size: 13px;
  }

  .shop_1r1l2 .button_1 {
      padding-left: 10px;
      padding-right: 10px;
      font-size: 13px;
  }

  .blog_1im2il img { width: 30px; height: 30px; }
  .blog_1im2il h6 { font-size: 13px; }
  .blog_1im2ir h6 { font-size: 11px; }
  .blog_1im2 { padding: 10px !important; }
  
  .footer_1i ul li a {
      width: 30px;
      height: 30px;
      font-size: 14px;
  }
  .footer_1i ul li a i {
      line-height: 30px;
  }
}

.contact_4im .button_1 {
  background-color: transparent;
  font-family: inherit;
  transition: 0.3s;
  padding: 14px 40px;
  display: inline-block;
  font-size: 16px;
  color: rgb(0, 0, 0);
  border-color: #f7edca;
  border-style: solid;
  border-width: 0;
  text-transform: uppercase;
  font-weight: bold;
}

.contact_4im .button_1:hover,
.contact_4im .button_1:focus {
  color: var(--brand-primary);
  transform: translateY(-2px); 
}

/* --- Large Tablet / Small Desktop --- */
@media (min-width: 871px) and (max-width: 991px) {
  #header .nav-link {
      padding: 30px 15px;
  }
}

/* --- Desktop (992px - 1200px) --- */
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar-expand-md {
      flex-wrap: wrap !important;
  }
  .drop_1 {
      left: auto !important;
      right: 0 !important;
  }
  #header .nav-link {
      padding: 30px 15px;
  }
  .shop_1r1l2 .button_1 {
      padding-left: 15px;
      padding-right: 15px;
      font-size: 14px;
  }
}

/*
* =========================================
* PAGINATION FOR NEXT/PREV BUTTONS
* =========================================
*/
.pages ul li a.page-nav-btn {
    width: auto; /* Override the fixed 40px width */
    padding-left: 15px;
    padding-right: 15px;
}

/* ==========================================================================
   ELEGANT BACK-TO-TOP BUTTON
   ========================================================================== */

/* This enables smooth scrolling when the button is clicked */
html {
  scroll-behavior: smooth;
}

.back-to-top {
  position: fixed;
  bottom: 100px; 
  right: 30px;
  z-index: 99;
  width: 50px;
  height: 50px;
  background-color: var(--brand-primary, #ec73fc) !important;
  border-color: var(--brand-primary, #ec73fc) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) !important;
  transition: all 0.3s ease !important;
  padding: 10px !important;
}

/* The state when the button is visible */
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #faf9fa !important; /* A slightly darker shade of your brand color */
  border-color: #d65ae0 !important;
  transform: translateY(-1px) !important; /* 'Lift' the button on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

#wa-widget-send-button {
  margin-right: 0px !important;
  padding-right: 0px !important;
  padding-left: 10px !important;
}

/*
* =========================================
* Contact Us
* =========================================
*/

/* Card Styling */
.contact-card {
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.08) !important;
}

/* Icon Wrapper Styling */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f4effc; /* A light, elegant purple */
    color: var(--brand-primary);           /* A matching deep purple */
}

/* Custom Button Styling */
.btn-brand {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-weight: 500;
    /* Updated transition for a smooth hover effect on all properties */
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-brand:hover {
    background-color: #ffffff; /* Background becomes white */
    color: var(--brand-primary);             /* Text becomes purple to stay visible */
    border-color: var(--brand-primary);     /* Border color remains the same */
}

/* Clickable List Item Styling */
.contact-list a {
    color: var(--bs-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-list a:hover {
    color: var(--brand-primary); /* Main brand color on hover */
}

/* ==========================================================================
STYLISH SIDEBAR MENU
========================================================================== */

.stylish-sidebar-menu .list-group {
  border: none; /* Removes the default border from the list group */
}

/* General style for each menu item */
.stylish-sidebar-menu .list-group-item {
  color: #495057; /* A softer black for text */
  font-weight: 500;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 0.5rem; /* Space between items */
  border: none;
  position: relative; /* Required for the indicator bar */
  transition: all 0.3s ease;
}

/* Icon default styling */
.stylish-sidebar-menu .list-group-item .fa-solid {
  color: #adb5bd; /* A neutral color for inactive icons */
  transition: color 0.3s ease;
}

/* Hover effect for non-active items */
.stylish-sidebar-menu .list-group-item:not(.active):hover {
  background-color: #f8f9fa; /* A very light grey background on hover */
  color: #212529; /* Darken text on hover */
  transform: translateX(5px); /* Subtle slide effect */
}

.stylish-sidebar-menu .list-group-item:not(.active):hover .fa-solid {
  color: var(--brand-color); /* Use brand color for the icon on hover */
}

/* --- Active State Styling --- */

/* Style for the currently active menu item */
.stylish-sidebar-menu .list-group-item.active {
  background-color: transparent; /* Remove default blue background */
  color: var(--brand-color);
  font-weight: 700; /* Make active text bold */
}

/* Active state for the icon */
.stylish-sidebar-menu .list-group-item.active .fa-solid {
  color: var(--brand-color);
}

/* The stylish brand-colored indicator bar */
.stylish-sidebar-menu .list-group-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 80%; /* Or 100% if you prefer a full bar */
  width: 4px;
  background-color: var(--brand-color);
  border-radius: 0 4px 4px 0;
}