:root{
      --red:#c70000;
      --red-deep:#a10000;
      --yellow:#ffcc00;
      --bg: #ffffff;
      --glass: rgba(255,255,255,0.85);
      --maxw: 1400px;
    }

    *{box-sizing:border-box}
    body{
      margin:0;
      font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
      color:#111;
      background:#fafafa;
    }

/* ======================================================= */

:root{
  --red:#D70000;
  --yellow:#F4C400;
  --dark:#1a1a1a;
}

/* ----------------------------------------------
   PREMIUM NAVBAR WITH BRUSHED METAL TEXTURE
----------------------------------------------- */
.cfg-navbar{
  width:100%;

    background:#ffffff url('https://www.transparenttextures.com/patterns/white-wall.png');
     

  background-size:cover;

  position:fixed;
  top:0;
  left:0;
  z-index:999999;

  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);

  box-shadow:
      0 4px 12px rgba(0,0,0,0.18),
      inset 0 -2px 4px rgba(255,255,255,0.5);

  transition:0.3s ease;
}

/* container */
.cfg-navbar .site-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:85px;
  padding:0 18px;
}

/* ----------------------------------------------
   LOGO
----------------------------------------------- */
.logo-box{
  display:flex;
  align-items:center;
  gap:12px;
}
.logo-box img{
  height:55px;
}
.logo-box span{
  font-size:24px;
  font-weight:700;
  color:var(--red);
  letter-spacing:0.4px;
}

/* ----------------------------------------------
   MENU (Desktop)
----------------------------------------------- */
.cfg-menu{
  display:flex;
  align-items: center;
  gap:42px;
}

.cfg-menu a{
  font-size:17px;
  font-weight:500;
  text-decoration:none;
  color:#111;
  padding:8px 4px;
  position:relative;
  transition:0.3s ease;
}

/* Hover glow */
.cfg-menu a:hover{
  color:var(--red);
  text-shadow:0 0 10px rgba(215,0,0,0.45);
}

/* underline animation */
.cfg-menu a::after{
  content:"";
  position:absolute;
  width:0;
  height:3px;
  bottom:0;
  left:0;
  background:var(--red);
  border-radius:20px;
  transition:0.3s ease;
}
.cfg-menu a:hover::after{
  width:100%;
}

/* ACTIVE button style */
.cfg-menu a.active{
  background:var(--red);
  color:#fff !important;
  padding:8px 18px;
  border-radius:20px;
  font-weight:600;
  box-shadow:0 4px 12px rgba(215,0,0,0.4);
}
.cfg-menu a.active::after{ width:0 !important; }

/* ----------------------------------------------
   MOBILE MENU ICON
----------------------------------------------- */
/* .cfg-menu-icon{
  display:none;
  font-size:36px;
  cursor:pointer;
  color:var(--red);
  transition:0.3s ease;
} */ 
 /* .cfg-menu-icon:hover{
  transform:scale(1.15);
} */

/* ----------------------------------------------
   SIDEBAR / MOBILE DRAWER
----------------------------------------------- */
.cfg-sidebar{
  position:fixed;
  top:0;
  left:0;
  height:100%;
  width:300px;

    background:#ffffff url('https://www.transparenttextures.com/patterns/white-wall.png');


  background-size:600px;

  transform:translateX(-100%);
  transition:0.4s ease;

  padding:50px 30px 30px;
  border-top-right-radius:22px;
  border-bottom-right-radius:22px;

  box-shadow:6px 0 25px rgba(0,0,0,0.25);
  z-index:999999;
}

/* active drawer */
.cfg-sidebar.active{
  transform:translateX(0);
}

/* close button */
.cfg-close-btn{
  font-size:38px;
  color:var(--red);
  cursor:pointer;
  margin-bottom:28px;
  transition:0.3s;
}
.cfg-close-btn:hover{
  transform:scale(1.2);
}

/* mobile links */
.cfg-sidebar a{
  font-size:20px;
  padding:16px 0;
  border-bottom:1px solid #ddd;
  display:block;
  text-decoration:none;
  color:#222;
  transition:0.3s;
}
.cfg-sidebar a:hover{
  color:var(--red);
  padding-left:10px;
}

/* ACTIVE in mobile */
.cfg-sidebar a.active{
  color:var(--red);
  font-weight:700;
  padding-left:12px;
}


/* ----------------------------------------------
   DROPDOWN (DESKTOP)
----------------------------------------------- */
.cfg-dropdown{
  position:relative;
}

.cfg-drop-btn{
  cursor:pointer;
  
}

.cfg-dropdown-menu{
  position:absolute;
  top:150%;
  left:1px;
  min-width:220px;
  background:#fff;
  border-radius:1px;
  padding:12px 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:0.35s ease;
  box-shadow:0 25px 45px rgba(0,0,0,0.18);
  z-index:9999;
}

.cfg-dropdown:hover .cfg-dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.cfg-dropdown-menu a{
  display:block;
  padding:12px 22px;
  font-size:15px;
  color:#222;
  text-decoration:none;
  transition:0.3s ease;
}

.cfg-dropdown-menu a:hover{
  background:rgba(215,0,0,0.01);
  color:var(--red);
  padding-left:28px;
}

.cfg-dropdown-menu .view-all{
  font-weight:600;
  color:var(--red);
}

/* ----------------------------------------------
   MOBILE PRODUCTS DROPDOWN
----------------------------------------------- */
.cfg-mobile-products{
  border-bottom:1px solid #ddd;
}

.cfg-mobile-title{
  font-size:20px;
  padding:16px 0;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.cfg-mobile-title span{
  font-size:22px;
  transition:0.3s ease;
}

.cfg-mobile-submenu{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.35s ease;
}

.cfg-mobile-submenu a{
  padding:12px 0 12px 14px;
  font-size:17px;
  display:block;
  text-decoration:none;
  color:#444;
}

.cfg-mobile-submenu a:hover{
  color:var(--red);
}

.cfg-mobile-products.active .cfg-mobile-submenu{
  max-height:300px;
}

.cfg-mobile-products.active .cfg-mobile-title span{
  transform:rotate(45deg);
}


/* ----------------------------------------------
   SIDEBAR HEADER (LOGO + CLOSE)
----------------------------------------------- */
.cfg-sidebar-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:30px;
}

/* logo inside sidebar */
.cfg-sidebar-logo{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left: -15px;
}

.cfg-sidebar-logo img{
  height:59px;
}

.cfg-sidebar-logo span{
  font-size:20px;
  font-weight:700;
  color:var(--red);
  letter-spacing:0.4px;
}

/* close button refinement */
.cfg-close-btn{
  font-size:36px;
  color:var(--red);
  cursor:pointer;
  line-height:1;
  transition:0.3s ease;
}

.cfg-close-btn:hover{
  transform:rotate(180deg) scale(1.1);
}

/* MOBILE MENU ICON (Animated) */
.cfg-menu-icon{
  display:none;
  width:28px;
   padding: 6px 0;
  cursor:pointer;
  /* display:flex; */
  flex-direction:column;
  justify-content:space-between;
}

.cfg-menu-icon span{
  display: block;
  height:3px;
  width:100%;
  background:var(--red);
  border-radius: 999px;
    margin-bottom: 8px;   /* ✅ REAL spacing (mobile-safe) */
    transition:
        transform 0.45s cubic-bezier(.68,-0.55,.27,1.55),
        opacity 0.3s ease;
}

.cfg-menu span:last-child{
margin-bottom: 0;
}

/* ACTIVE → CLOSE ICON */
.cfg-menu-icon.active span:nth-child(1){
    transform: translateY(11px) rotate(135deg);
}

.cfg-menu-icon.active span:nth-child(2){
   opacity: 0;
    transform: scale(0);
}

.cfg-menu-icon.active span:nth-child(3){
   transform: translateY(-11px) rotate(-135deg);
}





/* ----------------------------------------------
   RESPONSIVE
----------------------------------------------- */
@media(max-width:900px){
  .cfg-menu{display:none;}

  .cfg-menu-icon{
    display:flex;        
    align-items:center;
    justify-content:center;
  }
}

/* ======================================================= */

#cfg-gallery{
  padding:65px 0 100px;
  background:#ffffff;
  font-family:'Poppins',sans-serif;
  text-align:center;
}

/* FULL WIDTH CONTAINER */
.cfg-gallery-container{
  width:100%;
  max-width:1600px;     /* 👈 increased */
  margin:auto;
  padding:0 30px;       /* 👈 side breathing space */
}

#cfg-gallery h2{
  font-size:40px;
  font-weight:800;
  color:#1f1f1f;
  margin-bottom:12px;
}

#cfg-gallery p{
  font-size:17px;
  color:#555;
  margin-bottom:50px;
}

/* Masonry Grid */
.cfg-gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media(max-width:1200px){
  .cfg-gallery-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width:800px){
  .cfg-gallery-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:480px){
  .cfg-gallery-grid{
    grid-template-columns: 1fr;
  }
  .cfg-gallery-item img {
    height: 260px;
  }
  #cfg-gallery {
    padding: 60px 0;
  }
  #cfg-gallery h2 {
    font-size: 28px;
  }
  .cfg-gallery-container {
    padding: 0 16px;
  }
}


.cfg-gallery-item{
  position:relative;
  margin-bottom:18px;
  overflow:hidden;
  border-radius:10px;
  break-inside:avoid;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
  transform:translateY(40px);
  opacity:0;
  transition:all .6s ease;
}

.cfg-gallery-item img{
  width:100%;
  height: 450px;              /* 👈 IMPORTANT FIX */
  display:block;
  object-fit:cover;
  transition:transform .6s ease;
}

.cfg-gallery-item:hover img{
  transform:scale(1.06);
}

.cfg-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.15),transparent);
  color:#000000;
  display:flex;
  align-items:flex-end;
  padding:18px;
  font-size:14px;
  font-weight:600;
  opacity:0;
  transition:opacity .4s ease;
}

.cfg-gallery-item:hover .cfg-overlay{
  opacity:1;
}

/* Lightbox */
.cfg-lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.92);
  z-index:9999;
  align-items:center;
  justify-content:center;
}

.cfg-lightbox img{
  max-width:90%;
  max-height:85%;
  border-radius:10px;
}

.cfg-close{
  position:absolute;
  top:20px;
  right:30px;
  color:#fff;
  font-size:36px;
  cursor:pointer;
}

/* ======================================================= */

.cfg-marquee-content{
  display:flex;
  align-items:center;
}

/* TEXT */
.cfg-brand{
  color:#c70000;
  font-weight:800;
  font-size:24px;
  margin:0 40px;
}

.cfg-text{
  color:#fff;
  font-size:20px;
  margin-right:40px;
}

/* GEAR */
.cfg-gear{
  color:#c70000;
  font-size:26px;
  margin-right:40px;
  display:inline-flex;
}

/* MOBILE SCALE */
@media (max-width:768px){
  .cfg-brand{ font-size:18px; margin:0 24px; }
  .cfg-text{ font-size:15px; margin-right:24px; }
  .cfg-gear{ font-size:20px; margin-right:24px; }
}
