/* ===== GLOBAL FIX ===== */
html, body {
  width: 100%;
  overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1224px;
  padding-left: 15px;
  padding-right: 15px;
}

/* ===== TOP BAR ===== */
.topbar {
  background: #fff;
  color: #000;
  font-size: 14px;
  padding: 6px 0;
  font-weight: bold;
}

/* ===== NAVBAR (STICKY FIX) ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar-brand img {
  height: 100px;
}

.nav-custom .nav-link {
  color: #0d141a;
  font-weight: 600;
  position: relative;
}

.nav-custom .nav-link:hover::after,
.nav-custom .active-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #0d141a;
}

.icons i {
  font-size: 22px;
  color: #0d141a;
}

@media (max-width: 991px) {
  .icons { display: none; }
}

/* ===== HERO (RESPONSIVE FIX) ===== */
.hero {
  background: url("../images/banner.png") center/cover no-repeat;
  height: 100vh;
  position: relative;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  padding: 0 15px;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: rgb(130,113,77);
}

.hero-content p {
  font-size: clamp(18px, 4vw, 30px);
  font-weight: 600;
  line-height: 1.5;
}

.banner-button {
  background: #9c835e;
  border-radius: 30px;
  padding: 14px 60px;
  border: none;
  color: #fff;
}

/* ===== ABOUT ===== */
.section-title-about {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #960000;
}

.section-text-about {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.7;
  color: #960000;
}

.about-img {
  border-radius: 25px;
}
.card {
  border-radius: 12px;
  overflow: hidden;
}

.card img {
  width: 100%;
  object-fit: cover;
}

/* ------------------------- */
/* PURE CSS SCROLL ANIMATION */
/* ------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth fade from sides */
.fade-left {
  transform: translateX(50px);
}
.fade-right {
  transform: translateX(-50px);
}

.visible.fade-left,
.visible.fade-right {
  transform: translateX(0);
}
.service-section {
  background: #f3e5c3;
}
.service-section h5 {
  font-size: 24px;
  color: #9c835e;
}
.service-section p {
  font-size: 24px;
  color: #9c835e !important;
}
.service-title {
  font-size: 48px;
}
.testimonial-section-two{
  padding: 100px 0px 30px 0px;
  color: white;
  background: #9c835e;
}
.testimonial-section {
  background: url('../images/review-cover.jpg') center/cover no-repeat;
  padding: 100px 0px 30px 0px;
  color: white;
  position: relative;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 20px;
}
.test-info {
  font-size: 18px;
}
.stars {
  color: #fff;
  font-size: 20px;
}
/* Animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.newsletter-section {
      background: url('../images/contact-cover.jpg') center/cover no-repeat;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px 15px;
      position: relative;
    }

    .newsletter-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.55);
    }

    .newsletter-content {
      position: relative;
      z-index: 2;
      max-width: 520px;
      width: 100%;
      background: #fff;
      border-radius: 16px;
      padding: 30px;
      box-shadow: 0 15px 40px rgba(0,0,0,0.3);
      animation: fadeUp 1s ease;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(40px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .newsletter-title {
      color: #fff !important;
      text-align: center;
      margin-bottom: 20px;
      font-size: 1rem;
      animation: fadeDown 1s ease;
    }

    @keyframes fadeDown {
      from { opacity: 0; transform: translateY(-30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .btn-custom {
      background: #a88a5d;
      color: #fff;
      border-radius: 50px;
      padding: 12px 30px;
      border: none;
      transition: all 0.3s ease;
    }

    .btn-custom:hover {
      background: #8f744d;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .form-control:focus {
      box-shadow: 0 0 0 0.2rem rgba(168,138,93,.25);
      border-color: #a88a5d;
    }

    @media (max-width: 576px) {
      .newsletter-content { padding: 20px; }
    }
  
    .alert-success { animation: popSuccess 0.6s ease; }
    .alert-danger { animation: popError 0.6s ease; }

    @keyframes popSuccess {
      0% { transform: scale(0.7); opacity: 0; }
      80% { transform: scale(1.05); }
      100% { transform: scale(1); opacity: 1; }
    }

    @keyframes popError {
      0% { transform: translateX(-20px); opacity: 0; }
      50% { transform: translateX(20px); }
      100% { transform: translateX(0); opacity: 1; }
    }
    /* ===== IMAGE STACKING ===== */
    .stack{
      position:relative;
      width:520px;
      height:360px;
    }

    .stack img{
      position:absolute;
      border-radius:14px;
      box-shadow:0 10px 25px rgba(0,0,0,.25);
      object-fit:cover;
    }

    /* TOP RIGHT STACK */
    .cigar-1{
      width:350px;
      height:323px;
      left:0;
      bottom:0;
      z-index:1;
    }

    .cigar-2{
      width:340px;
      height:315px;
      right:-49px;
      top:0;
      z-index:2;
    }

  
    /* BOTTOM LEFT STACK (FIXED OVERLAP) */
    .pipe-stack{
      position:relative;
      /* width:520px; */
      height:360px;
      margin-top:30px;
    }

    .pipe-stack img{
      position:absolute;
      border-radius:14px;
      box-shadow:0 10px 25px rgba(0,0,0,.25);
      object-fit:cover;
    }

    .pipe-1{
      width:422px;
      height:307px;
      right:0;
      top:0;
      /* z-index:2; */
      
    }

    .pipe-2{
      width:326px;
      height:220px;
      left:0;
      bottom:-150px;
      z-index:1;
    }

    /* SERVICES */
    .service h5{
      font-size:16px;
      font-weight:700;
      margin-bottom:6px;
    }

    .service p{
      font-size:14px;
      line-height:1.7;
    }
    .left-info p{font-size: 22px;}
    .left-info h2{font-size: 48px; font-weight: 600;} 
    .products{padding: 80px 0px; background: #F8E8C1;}
    .right-subtitle{font-size: 22px !important;}
    .service p{font-size: 16px; color: #56585e;}
    .wood-title{font-size: 45px;}
    /* RESPONSIVE */
    @media(max-width:992px){
      .stack,.pipe-stack{
        width:100%;
        height:auto;
      }

      .stack img,.pipe-stack img{
        position:relative;
        width:100%;
        height:auto;
        margin-bottom:15px;
      }
    }
    /* ===== GALLERY ===== */
    .ugx-wrap {
      /* max-width: 1200px; */
      margin: auto;
      padding: 40px 0px;
    }

    .ugx-title {
      text-align: center;
      margin-bottom: 30px;
    }

    /* REAL MASONRY */
    .ugx-masonry {
      column-count: 4;
      column-gap: 16px;
    }

    .ugx-item {
      break-inside: avoid;
      margin-bottom: 16px;
      opacity: 0;
      transform: translateY(30px);
      animation: ugxFadeUp .8s ease forwards;
    }

    .ugx-item:nth-child(odd) {
      animation-delay: .1s
    }

    .ugx-item:nth-child(even) {
      animation-delay: .2s
    }

    @keyframes ugxFadeUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .ugx-item img {
      width: 100%;
      display: block;
      border-radius: 18px;
      cursor: pointer;
      transition: transform .4s ease, box-shadow .4s ease;
      box-shadow: 0 12px 25px rgba(0, 0, 0, .18);
    }

    .ugx-item img:hover {
      transform: scale(1.05);
      box-shadow: 0 18px 35px rgba(0, 0, 0, .25);
    }

    /* Responsive */
    @media(max-width:1200px) {
      .ugx-masonry {
        column-count: 3
      }
    }

    @media(max-width:768px) {
      .ugx-masonry {
        column-count: 2
      }
    }

    @media(max-width:576px) {
      .ugx-masonry {
        column-count: 1
      }
    }

    /* ===== MODAL ===== */
    .ugx-modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .85);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 99999;
    }

    .ugx-modal img {
      max-width: 90%;
      max-height: 80vh;
      border-radius: 16px;
      animation: ugxZoom .4s ease;
    }

    @keyframes ugxZoom {
      from {
        transform: scale(.9)
      }

      to {
        transform: scale(1)
      }
    }

    /* Buttons */
    .ugx-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 42px;
      color: #fff;
      background: none;
      border: none;
      cursor: pointer;
      padding: 10px;
    }

    .ugx-prev {
      left: 20px
    }

    .ugx-next {
      right: 20px
    }

    .ugx-close {
      top: 20px;
      right: 20px;
      transform: none;
      font-size: 32px;
    }