:root {
  --primary-black: #121212;
  --dark-black: #1a1a1a;
  --gold: #D4AF37;
  --light-gold: #F1E5AC;
  --yellow: #FFD700;
  --white: #FFFFFF;
  --light-gray: #f8f9fa;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--white);
  background-color: var(--primary-black);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.bg-black {
  background-color: var(--primary-black) !important;
}

.bg-dark-black {
  background-color: var(--dark-black) !important;
}

.text-gold {
  color: var(--gold) !important;
}

.text-yellow {
  color: var(--yellow) !important;
}

.navbar {
  padding: 10px 0;
  transition: all 0.3s ease;
  background-color: var(--primary-black);
}

.navbar-scrolled {
  padding: 10px 0;
  background-color: rgba(18, 18, 18, 0.95) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-weight: 800;
  font-size: 28px;
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s;
}

.nav-link:hover {
  color: var(--gold) !important;
}

.dropdown-menu {
  background-color: var(--dark-black);
  border: 1px solid var(--gold);
}

.dropdown-item {
  color: var(--white);
  transition: all 0.3s;
}

.dropdown-item:hover {
  background-color: var(--gold);
  color: var(--primary-black);
}

.hero-section {
  position: relative;
  padding: 180px 0 120px;
  color: white;
  overflow: hidden;
  background-image: linear-gradient(rgba(18, 18, 18, 0.1), rgba(18, 18, 18, 0.1));
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide:first-child {
  opacity: 1;
}
.hero-slide.active {
  opacity: 1;
}

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

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(transparent, var(--primary-black));
  z-index: 0;
}

/* Keep all your existing button styles unchanged */
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--yellow));
  border: none;
  color: var(--primary-black);
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
  color: var(--primary-black);
}

.navbar .btn-primary {
  font-size: 0.75rem;
  padding: 10px 25px;
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: rgba(0, 0, 0, 0.4) ;
  padding: 12px 33px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--primary-black);
}

.section-title {
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--yellow));
}


.feature-card {
  background-color: var(--dark-black);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.product-img {
  height: auto;
  max-width: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(18, 18, 18, 0.95));
  padding: 25px;
  color: white;
}

.testimonial-card {
  background: linear-gradient(145deg, var(--dark-black), var(--primary-black));
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  height: 100%;
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--gold);
}

.quote-form {
  background: linear-gradient(145deg, var(--dark-black), var(--primary-black));
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

footer {
  background-color: var(--dark-black);
  color: white;
  padding: 80px 0 30px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--yellow));
}

.social-icons a {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--dark-black), var(--primary-black));
  border-radius: 50%;
  margin-right: 15px;
  color: var(--gold);
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

.social-icons a:hover {
  background: linear-gradient(145deg, var(--gold), var(--yellow));
  color: var(--primary-black);
  transform: translateY(-3px);
  text-decoration: none !important;
}

.social-icons a:focus {
  outline: 3px solid rgba(212, 175, 55, 0.25);
  outline-offset: 3px;
  text-decoration: none !important;
}

.divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 50px 0;
  border: none;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
      
.product-card {
  background: linear-gradient(145deg, var(--dark-black), var(--primary-black));
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transform: scale(0.87);
}
        
.product-card:hover {
  transform: translateY(-10px);           
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
}       

.feature-box {
    background: linear-gradient(145deg, var(--dark-black), var(--primary-black));
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    height: 100%;
    transition: all 0.4s ease;
}
.feature-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
            border-color: rgba(212, 175, 55, 0.3);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: var(--gold);
        }
        
        .tab-content {
            padding: 30px;
            background: linear-gradient(145deg, var(--dark-black), var(--primary-black));
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(212, 175, 55, 0.1);
        }
        
        .nav-pills .nav-link {
            background: linear-gradient(145deg, var(--dark-black), var(--primary-black));
            color: var(--white);
            border-radius: 10px;
            margin-right: 10px;
            margin-bottom: 10px;
            padding: 15px 25px;
            border: 1px solid rgba(212, 175, 55, 0.1);
        }
        
        .nav-pills .nav-link.active {
            background: linear-gradient(135deg, var(--gold), var(--yellow));
            color: var(--primary-black);
            border: 1px solid var(--gold);
        }
        
        .color-option {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 10px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s;
        }
        
        .color-option.active {
            border-color: var(--gold);
            transform: scale(1.2);
        }
        
        .size-option {
            display: inline-block;
            padding: 8px 15px;
            margin-right: 10px;
            margin-bottom: 10px;
            background: var(--dark-black);
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .size-option.active {
            background: linear-gradient(135deg, var(--gold), var(--yellow));
            color: var(--primary-black);
            border-color: var(--gold);
        }
        
        .floating-shape {
            position: absolute;
            opacity: 0.05;
            z-index: 0;
        }
        
        .shape-1 {
            top: 20%;
            left: 5%;
            width: 200px;
            height: 200px;
            background: linear-gradient(135deg, var(--gold), var(--yellow));
            border-radius: 50%;
            filter: blur(20px);
        }
        
        .shape-2 {
            bottom: 20%;
            right: 5%;
            width: 150px;
            height: 150px;
            background: linear-gradient(135deg, var(--gold), var(--yellow));
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            filter: blur(15px);
        }
        
        .content-wrapper {
            position: relative;
            z-index: 1;
        }
        
        .custom-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(135deg, var(--gold), var(--yellow));
            color: var(--primary-black);
            padding: 5px 15px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 0.8rem;
            z-index: 2;
        }
        .printing-option {
            display: flex;
            align-items: center;
            padding: 15px;
            background: var(--dark-black);
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 10px;
            margin-bottom: 15px;
            transition: all 0.3s;
        }
        
        .printing-option.active {
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.1));
            border-color: var(--gold);
        }
        
        .printing-option input {
            margin-right: 15px;
        }
        
        .printing-icon {
            font-size: 1.5rem;
            color: var(--gold);
            margin-right: 15px;
        }
        
        .design-tool {
            background: linear-gradient(145deg, var(--dark-black), var(--primary-black));
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(212, 175, 55, 0.1);
            margin-bottom: 30px;
        }
        
        .design-preview {
            background-color: var(--dark-black);
            border-radius: 10px;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            border: 2px dashed rgba(212, 175, 55, 0.3);
        }
      
        
        .product-card:hover .product-img {
            transform: scale(1.05);
        }
        
        .product-content {
            padding: 25px;
        }
        
        .category-card img {
            transition: all 0.5s ease;
            height: auto;
            object-fit: cover;
            max-width: 100%;
        }
/* Hero section specific buttons */
.hero-request-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
}

.hero-request-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 30px;
}

.hero-request-btn:hover::before {
  opacity: 1;
}

.hero-request-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
  color: var(--primary-black);
}

/* Ensure the entire button area is clickable/hoverable */
.hero-request-btn,
.hero-explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none !important;
}

/* Hero Explore Button */
.hero-explore-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-explore-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gold);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 30px;
}

.hero-explore-btn:hover::before {
  opacity: 1;
}

.hero-explore-btn:hover {
  color: var(--primary-black);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Make sure both buttons have full hover area */
.hero-request-btn,
.hero-explore-btn {
  min-height: 50px;
  padding: 14px 35px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media (max-width: 768px) {
  .section-title {
            text-align: center;
          }

          .section-title::after {
            left: 50%;
            transform: translateX(-50%);
          }
           .category-card img {
            max-width: 100%;
            height: auto;
          }
  .product-card img{
    max-width: 100%;
    height: auto;
  }
 .hero-section{
    padding: 200px 0 100px;
 }
}
@media (max-width: 768px) {
  .feature-box .btn-primary {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .feature-card{
    transform: scale(0.87);
  }
}
@media (max-width: 768px) {
  /* Use more specific selectors to avoid clashes */
  .row:has(.feature-card) {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
  }
  
  /* Target ONLY columns containing feature-card */
  .col-md-6.col-lg-3 {
    width: 100%;
    max-width: 320px;
    padding: 0 10px;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  
  /* Or even more specific - target feature cards directly */
  .feature-card {
    margin: 0 auto;
    text-align: center;
  }
  
  .feature-card .card-body {
    text-align: center;
  }
  
  .feature-card .card-title {
    text-align: center;
    display: block;
  }
  
  .feature-card .card-body p {
    text-align: center;
  }
  
  .feature-card .btn-outline {
    display: inline-block;
    margin: 0 auto;
  }
}
/*Collection */
@media (max-width: 768px) {
  /* Product cards container */
  .row {
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Each product column */
  .col-md-6.col-lg-4.mb-4 {
    width: 100%;
    max-width: 350px; /* Reduced from full width */
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  
  /* Product card itself */
  .product-card {
    margin: 0 auto;
    width: 100%;
    transform: scale(1); /* Squeezes everything proportionally */
    transform-origin: center;
  }
  
  /* Product image */
  .product-img {
    width: 100%;
    height: auto;
    max-height: 250px; /* Reduced height */
    object-fit: contain; /* Keeps full image visible */
    padding: 10px;
  }
  
  /* Product content */
  .product-content {
    padding: 15px 20px;
  }
  
  .product-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .product-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 15px;
  }
  
  /* Button container */
  .d-flex.justify-content-between.align-items-center {
    justify-content: center !important;
  }
  
  /* Request Quote button */
  .product-card .btn-outline {
    padding: 10px 25px;
    font-size: 0.85rem;
  }
  
  /* Custom badge */
  .custom-badge {
    font-size: 0.7rem;
    padding: 4px 12px;
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .col-md-6.col-lg-4.mb-4 {
    max-width: 300px;
  }
  
  .product-card {
    transform: scale(1);
  }
  
  .product-img {
    max-height: 220px;
  }
  
  .product-content {
    padding: 12px 15px;
  }
  
  .product-content h4 {
    font-size: 1.1rem;
  }
  
  .product-content p {
    font-size: 0.85rem;
  }
  
  .product-card .btn-outline {
    padding: 8px 20px;
    font-size: 0.8rem;
  }
  .section-title{
    text-align: center;
  }
}
/*quote form*/
@media (max-width: 768px) {
  /* Fix form section squeezing */
  #quote .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  #quote .col-lg-8 {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  #quote .quote-form {
    padding: 25px 20px;
    margin: 0;
    border-radius: 12px;
  }
  
  #quote .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  #quote .col-md-6 {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
  }
  
  #quote .form-control,
  #quote .form-select {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  #quote .quote-form {
    padding: 20px 15px;
    border-radius: 10px;
  }
}
@media (max-width: 768px) {
  /* Fix Project Details alignment */
  #quote .col-12 {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  
  #quote .col-12 .form-label {
    margin-left: 0;
    padding-left: 0;
  }
  
  #quote .col-12 .form-control {
    margin-left: 0;
    padding-left: 20px;
    width: 100%;
  }
  
  /* Make all form columns have same padding */
  #quote .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }
  
  #quote .form-label {
    display: block;
    width: 100%;
    text-align: left;
    margin-left: 0;
  }
}
/* For ALL product card rows */
.row:has(.product-card) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* This centers all items */
  gap: 20px; /* Adds consistent spacing */
}

/* For product columns */
.row:has(.product-card) > .col-md-6.col-lg-4.mb-4 {
  flex: 0 0 auto;
  width: 100%;
  max-width: 350px; /* Adjust as needed */
  margin-bottom: 30px;
}

/* For desktop (3 columns) */
@media (min-width: 992px) {
  .row:has(.product-card) > .col-md-6.col-lg-4.mb-4 {
    width: calc(33.333% - 20px); /* 3 items per row with gap */
    max-width: none;
  }
}

/* For tablet (2 columns) */
@media (min-width: 768px) and (max-width: 991px) {
  .row:has(.product-card) > .col-md-6.col-lg-4.mb-4 {
    width: calc(50% - 20px); /* 2 items per row with gap */
    max-width: none;
  }
}

/* For mobile (1 column centered) */
@media (max-width: 767px) {
  .row:has(.product-card) > .col-md-6.col-lg-4.mb-4 {
    width: 100%;
    max-width: 350px;
  }
}