/* ============================
   BEST SELLER SECTION CSS
=============================== */
.top-banner {
  width: 100%;
  height: 450px;
  background: #ced7be;
  overflow: hidden;
  position: relative;
  margin-top:-25px ;
  margin-bottom: 40px;
  
}

.top-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  padding: 0;
  
}

/* Hover Zoom */
.top-banner:hover img {
  transform: scale(1.08);
}
.best-seller {
    padding: 40px 0;
    text-align: center;
}

.section-title {
    font-size: 38px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #00bcd4;
    /* Aqua color like the second image */
    margin-bottom: 40px;
}

.product-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.products {
padding-top: 30px;
 gap: 40px;
 margin: 0 auto;
 display: grid;
}

.product h3 {
    margin-top: 25px;
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;

}

.product img {
    width: 300px;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}


.product-card {
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.product-card h3 {
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.product-card .price {
    color: #00bcd4;
    font-size: 15px;
    margin-top: 5px;
}

/* Hover Zoom + Lift */
.product-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card img {
    width: 100%;
    transition: transform 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);

}

.product-card:hover img {
    transform: scale(1.08);
}



/* RESPONSIVE ADJUSTMENTS */
.best-seller {
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 600;
    color: #7b8b5e;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.product-card {
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}

.product-card img {
    width: 100%;
    border-radius: 8px;
}

.product-card h3 {
    margin: 15px 0;
    font-size: 1.5rem;
    color: #444;
}

.view-btn {
    text-decoration: none;
    background: #ffffff;
    color: #7b8b5e;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    transition: 0.3s;
}

.view-btn:hover {
    background: #64764d;
}

.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.pagination a {
    background: #7b8b5e;
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.pagination a:hover {
    background: #6a7a53;
}

/* ===== PRODUCT MODAL STYLING ===== */

.modal-content {
    border-radius: 15px;
    border: none;
    padding: 10px 5px;
    background: #ffffff;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0px;
}

.modal-header .modal-title {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    color: #7b8b5e;
}

.modal-header .btn-close {
    background: #db8a20;
    opacity: 1;
    /* color: #7b8b5e; */
}

.modal-body {
    padding: 20px 30px;
}

.modal-body img {
    width: 100%;
    border-radius: 12px;
    /* box-shadow: 0px 4px 12px rgba(0,0,0,0.12); */
    background-color: 0px 4px 12px rgba(0, 0, 0, 0.12);
}

/* Right side content */
.modal-body h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #7b8b5e;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
}

.modal-body p {
    font-size: 15px;
    color: #7b8b5e;
    line-height: 1.6;
}

/* Specifications List */
.modal-body .list-group {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.modal-body .list-group-item {
    font-size: 15px;
    padding: 15px 18px;
    /* border: 1px solid #eaeaea; */
}

.modal-body .list-group-item strong {
    color: #db8a20;
    font-weight: 600;
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

/* modal2 */
.modal-content {
    border-radius: 15px;
    border: none;
    padding: 10px 5px;
    background: #ffffff;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0px;
}

.modal-header .modal-title {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    color: #7b8b5e;
}

.modal-header .btn-close {
    background: #db8a20;
    opacity: 1;
    /* color: #7b8b5e; */
}

.modal-body {
    padding: 20px 30px;
}

.modal-body img {
    width: 100%;
    border-radius: 12px;
    /* box-shadow: 0px 4px 12px rgba(0,0,0,0.12); */
    background-color: 0px 4px 12px rgba(0, 0, 0, 0.12);
}

/* Right side content */
.modal-body h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #7b8b5e;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
}

.modal-body p {
    font-size: 15px;
    color: #7b8b5e;
    line-height: 1.6;
}

/* Specifications List */
.modal-body .list-group {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.modal-body .list-group-item {
    font-size: 15px;
    padding: 15px 18px;
    /* border: 1px solid #eaeaea; */
}

.modal-body .list-group-item strong {
    color: #db8a20;
    font-weight: 600;
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

/* Responsive Fix */
@media(max-width: 768px) {
    .modal-body {
        padding: 20px;
    }

    .modal-body img {
        margin-bottom: 20px;
    }
}/* POPUP LIGHTBOX */
.img-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.img-popup.show {
    visibility: visible;
    opacity: 1;
}

/* POPUP IMAGE */
.img-popup img {
    width: 60%;
    max-width: 500px;
    border-radius: 10px;
    animation: popupZoom 0.3s ease;
    position: relative;
    z-index: 1;
}

/* ZOOM ANIMATION */
@keyframes popupZoom {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* CLOSE BUTTON */
.close-popup {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    z-index: 10000;
}

/* OPTIONAL IMAGE STYLE */
.popup-trigger {
    width: 200px;
    cursor: pointer;
}
/* Door Size Chart Section */
.door-size-footer {
  background-color: #f6f6f2;
  padding: 30px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}

/* Heading */
.door-size-footer h3 {
  text-align: center;
  color: #7a8b5a; /* NAVBAR GREEN */
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* Table Styling */
.door-size-footer table {
  background-color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
  font-size: 15px;
}

/* Table Head */
.door-size-footer thead th {
  background-color: #7a8b5a; /* NAVBAR GREEN */
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px;
  border: none;
}

/* Table Body */
.door-size-footer tbody td {
  color: #333333;
  padding: 12px;
  font-size: 14px;
  vertical-align: middle;
}

/* Hover Effect */
.door-size-footer table.table-hover tbody tr:hover {
  background-color: #eef2e6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .door-size-footer h3 {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .door-size-footer table {
    font-size: 13px;
  }
}
/* =====================================
   SPACING BETWEEN PRODUCT SECTION
   AND DOOR SIZE CHART
===================================== */

/* Last product section spacing */
.products,
.product-grid,
.best-seller {
  margin-bottom: 70px;
}

/* Tablet */
@media (max-width: 768px) {
  .products,
  .product-grid,
  .best-seller {
    margin-bottom: 55px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .products,
  .product-grid,
  .best-seller {
    margin-bottom: 40px;
  }
}


