/**
 * ==============================================================================
 * NAKSHANA - PAGE SPECIFIC STYLESHEET
 * ==============================================================================
 * Description: Contains component and layout styling extracted from individual 
 *              page templates (Index, About, Shop, Product Details, Cart, Checkout,
 *              Contact, Thank You, Payment Final).
 * ==============================================================================
 */

/* ==============================================================================
   1. HOME PAGE (INDEX.PHP) STYLES
   ============================================================================== */
.stone-collection {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.stone-card {
  transition: var(--transition-fast);
  border: 1px solid #f0f2ff;
  border-radius: 12px;
  overflow: hidden;
}

.stone-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(26, 26, 204, 0.1);
}

.stone-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.stone-img img {
  transition: transform 0.5s ease;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.stone-card:hover .stone-img img {
  transform: scale(1.05);
}

.stone-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(26, 26, 204, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stone-card:hover .stone-overlay {
  opacity: 1;
}

.testimonial-carousel-section {
  background: #ffffff;
  border-top: 1px solid #e8eaf2;
  border-bottom: 1px solid #e8eaf2;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e6e8f2;
  border-radius: 16px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(26, 26, 204, 0.04);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(26, 26, 204, 0.08);
}

.testimonial-inner {
  padding: 2rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.testimonial-img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  padding: 3px;
}

.testimonial-header h5 {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.testimonial-header p {
  color: #515151;
  font-size: 0.9rem;
  margin: 0;
}

.testimonial-text {
  color: #333333;
  font-size: 1rem;
  line-height: 1.7;
  font-style: normal;
  position: relative;
  padding-left: 25px;
}

.testimonial-text::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -10px;
  color: var(--gold);
  font-size: 2rem;
  opacity: 0.2;
}

.swiper-pagination-bullet {
  background-color: var(--dark) !important;
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 992px) {
  .testimonial-inner {
    padding: 1.5rem;
  }
  .testimonial-img {
    width: 55px;
    height: 55px;
  }
}

/* ==============================================================================
   2. ABOUT PAGE (ABOUT.PHP) STYLES
   ============================================================================== */
.about-section {
  background: radial-gradient(circle at top, var(--light), #ffffff);
  overflow: hidden;
}

.fashion-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  animation: floatImage 6s ease-in-out infinite;
}

.fashion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.fashion-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 1rem;
}

.fashion-title span {
  background: linear-gradient(90deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fashion-text {
  color: #444444;
  line-height: 1.8;
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 2rem 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.fashion-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, var(--dark), var(--primary)) !important;
  color: #ffffff !important;
  padding: 15px 40px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(55, 27, 23, 0.25) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  border: none !important;
  cursor: pointer !important;
}

.fashion-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--gold)) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 35px rgba(126, 60, 49, 0.35) !important;
  transform: translateY(-4px) !important;
}

.fashion-btn:hover i {
  transform: translateX(5px) !important;
}

.custom-btn,
.offer-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, var(--dark), var(--primary)) !important;
  color: #ffffff !important;
  padding: 14px 36px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(55, 27, 23, 0.25) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  border: none !important;
}

.custom-btn:hover,
.offer-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--gold)) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 35px rgba(126, 60, 49, 0.35) !important;
  transform: translateY(-4px) !important;
}



/* ==============================================================================
   3. SHOP PAGE (SHOP.PHP) STYLES
   ============================================================================== */
.shop-section {
  padding-top: 7rem !important;
}

.view-btn {
  border: 2px solid var(--royal-blue);
  background: rgba(186, 148, 107, 0.65) !important;
  color: var(--dark) !important;
  padding: 10px 0;
  border-radius: 10px;
  font-weight: 600;
  display: block;
  transition: var(--transition-fast);
  text-align: center;
}

.view-btn:hover {
  background: var(--primary) !important;
  color: var(--light) !important;
}

.product-card {
  transition: var(--transition-fast);
  border-radius: 12px;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(26, 26, 204, 0.18);
}

.shop-swiper {
  width: 100%;
  height: 250px;
}

.shop-swiper .swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .shop-swiper {
    height: 200px;
  }
  .shop-swiper .swiper-slide img {
    height: 200px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================================
   4. PRODUCT DETAILS PAGE (PRODUCT-DETAILS.PHP) STYLES
   ============================================================================== */
.product-wrapper {
  max-width: 1150px;
  margin: 40px auto;
  padding: 0 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 25px;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.main-img-box {
  border-radius: var(--gold);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.main-img-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: 0.3s;
}

.main-img-box img:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.thumb-row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumb {
  width: 78px;
  height: 78px;
  border-radius: 10px;
  object-fit: cover;
  border: 3px solid transparent;
  cursor: pointer;
  transition: 0.2s;
}

.thumb.active {
  border-color: var(--gold);
  transform: scale(1.05);
}

.details-card {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}

.price {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}

.old-price {
  font-size: 16px;
  color: #999999;
  text-decoration: line-through;
  margin-left: 8px;
}

.btn-buy {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  padding: 12px;
  border-radius: 10px;
  border: 0;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}

.btn-buy:hover:not(:disabled) {
  background: var(--gold);
  color: var(--light) !important;
}

/* Upgraded Uniform Added To Cart Button Style */
.btn-buy:disabled,
.btn-buy.added-btn,
.add-to-cart-btn:disabled,
.add-to-cart-btn.added {
  background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%) !important;
  color: #ffffff !important;
  border: 1px solid #1b4332 !important;
  box-shadow: 0 6px 18px rgba(45, 106, 79, 0.25) !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
}

.btn-buy.added-btn i,
.add-to-cart-btn.added i {
  color: #74c69d !important;
}

/* Quantity Stepper Control */
.quantity-stepper {
  border: 1px solid #dcdcdc !important;
  background: #ffffff !important;
  width: fit-content;
}

.quantity-stepper .qty-btn {
  background-color: #f8f9fa !important;
  color: var(--dark) !important;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.quantity-stepper .qty-btn:hover:not(:disabled) {
  background-color: #e9ecef !important;
}

.quantity-stepper .qty-btn:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

.quantity-stepper .qty-input {
  box-shadow: none !important;
  font-weight: 700;
  color: var(--dark) !important;
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
}

.quantity-stepper .qty-input::-webkit-outer-spin-button,
.quantity-stepper .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.quantity-stepper .qty-input:disabled {
  background-color: #f8f9fa !important;
}

/* Disabled Size Selector Buttons */
.size-btn:disabled,
.size-btn.disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}


/* ==============================================================================
   5. CART PAGE (CART.PHP) STYLES
   ============================================================================== */
.cart-container {
  padding-top: 7rem !important;
  min-height: 70vh;
}

.cart-title {
  color: var(--dark);
  font-weight: 700;
}

.cart-table th {
  background: var(--dark);
  color: var(--white);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

.quantity-btn {
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-weight: bold;
}

.checkout-section {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.btn-checkout {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
}

.btn-checkout:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ==============================================================================
   6. CHECKOUT PAGE (CHECKOUT.PHP) STYLES
   ============================================================================== */
.checkout-container {
  padding-top: 7rem !important;
}

.checkout-card,
.order-summary {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.section-title {
  color: var(--dark);
  font-weight: 700;
}

.btn-place-order {
  background: var(--dark) !important;
  color: var(--light);
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  transition: var(--transition-fast);
}

.btn-place-order:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

/* High-Contrast Button Styling & Hover Contrast Fixes */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: linear-gradient(135deg, #128C7E 0%, #0a584e 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4) !important;
  transform: translateY(-2px);
}

.btn-whatsapp i {
  color: #ffffff !important;
}

.btn-dark-custom {
  background: #212529 !important;
  color: #ffffff !important;
  border: 1px solid #212529 !important;
  transition: all 0.3s ease !important;
}

.btn-dark-custom:hover:not(:disabled),
.btn-dark-custom:focus:not(:disabled) {
  background: var(--gold) !important;
  color: var(--dark) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 8px 20px rgba(186, 148, 107, 0.3) !important;
  transform: translateY(-2px);
}

.btn-dark-custom:disabled,
.btn-dark-custom.disabled {
  background: #6c757d !important;
  color: #ffffff !important;
  border-color: #6c757d !important;
  opacity: 0.75 !important;
  cursor: not-allowed !important;
}

.btn-dark-custom:disabled i,
.btn-dark-custom.disabled i {
  color: #ffffff !important;
}

.checkout-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.payment-option-box {
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  background: #ffffff !important;
}

.payment-option-box:hover,
.payment-option-box.active {
  border-color: var(--primary) !important;
  background: rgba(126, 60, 49, 0.04) !important;
  box-shadow: 0 4px 15px rgba(126, 60, 49, 0.08) !important;
}

.checkout-card .form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}

/* ==============================================================================
   7. CONTACT PAGE (CONTACT.PHP) STYLES
   ============================================================================== */
.contact-section-modern {
  background: linear-gradient(135deg, var(--light), #ffffff);
}

.contact-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--dark);
}

.contact-title span {
  background: linear-gradient(90deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-subtitle {
  max-width: 720px;
  color: #555555;
  font-size: 1.05rem;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.contact-info-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.contact-info-card h5 {
  font-weight: 700;
  color: var(--dark);
}

.contact-form-box {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 45px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.contact-form-box h4 {
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 25px;
}

.modern-input {
  border-radius: 14px;
  border: 1px solid #dddddd;
}

.modern-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(126, 60, 49, 0.25);
}

.contact-btn {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: #ffffff;
  border: none;
  padding: 15px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.4s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.modern-map {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.modern-map iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.map-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==============================================================================
   8. THANK YOU & PAYMENT PAGES STYLES
   ============================================================================== */
.thank-container {
  padding-top: 8rem !important;
  padding-bottom: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thank-box {
  background: var(--light);
  padding: 3rem;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 5px 35px rgba(26, 26, 204, 0.12);
}

.thank-box img {
  width: 100px;
}

.order-id {
  margin-top: 15px;
  font-weight: 600;
  color: var(--dark);
}

.btn-continue {
  background: var(--dark);
  color: #ffffff;
  padding: 12px 25px;
  display: inline-block;
  margin-top: 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-continue:hover {
  background: var(--gold);
  color: #ffffff !important;
}

.payment-section {
  padding-top: 7rem;
  padding-bottom: 4rem;
  background: var(--light-blue);
}

/* ==============================================================================
   9. REDESIGNED WHY CHOOSE US SECTION STYLES
   ============================================================================== */
.why-choose-nakshana {
  background: linear-gradient(180deg, #ffffff 0%, #fcf8f3 50%, #f7eee4 100%) !important;
  border-top: 1px solid #f0e6dc;
  border-bottom: 1px solid #f0e6dc;
  padding: 5rem 0 !important;
}

.why-choose-nakshana .overlay {
  display: none !important;
}

.why-choose-nakshana .section-chip {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(186, 148, 107, 0.15) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(186, 148, 107, 0.35) !important;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.why-choose-nakshana .section-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--dark) !important;
}

.why-choose-nakshana .section-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: #665a54 !important;
  font-size: 1.05rem;
}

.why-choose-nakshana .choose-card {
  background: #ffffff !important;
  border: 1px solid #eee4da !important;
  border-radius: 20px !important;
  padding: 35px 25px !important;
  text-align: center;
  box-shadow: 0 10px 30px rgba(55, 27, 23, 0.04) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.why-choose-nakshana .choose-card:hover {
  transform: translateY(-8px) !important;
  background: #ffffff !important;
  border-color: var(--gold) !important;
  box-shadow: 0 20px 40px rgba(126, 60, 49, 0.12) !important;
}

.why-choose-nakshana .choose-card .icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 22px auto;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(126, 60, 49, 0.22);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-choose-nakshana .choose-card:hover .icon-wrap {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 25px rgba(126, 60, 49, 0.35);
}

.why-choose-nakshana .choose-card h5 {
  color: var(--dark) !important;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.why-choose-nakshana .choose-card p {
  color: #666666 !important;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ==============================================================================
   10. MOBILE & TABLET RESPONSIVE REFINEMENTS
   ============================================================================== */
@media (max-width: 991px) {
  .checkout-container,
  .cart-container,
  .shop-section,
  .payment-section {
    padding-top: 5rem !important;
  }

  .checkout-card,
  .order-summary {
    padding: 1.25rem !important;
  }
}

@media (max-width: 576px) {
  .checkout-container,
  .cart-container,
  .shop-section,
  .payment-section {
    padding-top: 4rem !important;
  }

  .payment-option-box {
    padding: 0.85rem !important;
  }

  .payment-option-box small {
    font-size: 0.8rem !important;
  }

  .section-title {
    font-size: 1.3rem !important;
  }

  .main-img-box img {
    height: 320px !important;
  }

  .thumb {
    width: 60px !important;
    height: 60px !important;
  }
}
