/* =========================================
   Sharjeel Jewellers – Ivory + Light Brown + Black Theme
   ========================================= */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* prevent horizontal scroll */
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: #fdfcf7; /* ivory */
  color: #222;
  line-height: 1.6;
}

a {
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: #555;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Cinzel", serif;
  font-weight: 700; /* Bold all headings */
  text-align: center;
  margin-bottom: 15px;
  color: #222;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4, h5, h6 { font-size: 1.2rem; }

/* ===============================
   Header / Navbar
   =============================== */
.navbar {
  background: #d7c298; /* light brown ivory */
  padding: 12px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.navbar-brand {
  font-family: "Cinzel", serif;
  font-weight: bold;
  font-size: 2rem;
  color: #222 !important;
}


.navbar .nav-link {
  color: #fff !important; /* white links */
  font-weight: 500;
  transition: color 0.2s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link:active {
  color: #000 !important; /* black on hover/click */
}
.navbar-toggler {
  border: none;
  font-size: 1.4rem;
  color: #fff;
}
.navbar-toggler:hover {
  color: #000;
}

/* Search Bar Right Icon */
.search-input {
  position: relative;
  width: 100%;
}
.search-input input {
  width: 100%;
  padding-right: 35px;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 6px 10px;
}
.search-input .fa-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #a8927f; /* gold accent */
  pointer-events: none;
}

/* ===============================
   Buttons
   =============================== */
.btn, .btn-elegant {
  display: inline-block;
  background: #d7c298; /* Button background color */
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  font-weight: 500;
  transition: 0.2s ease;
  text-align: center;
}
.btn:hover, .btn-elegant:hover {
  background: #d7c298;  /* Same background color on hover */
  color: #000; /* Black text on hover */
}

/* ===============================
   Product Cards
   =============================== */
.product-card, .card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}
.product-card:hover, .card-hover:hover {
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.product-card img, .card-img-top {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
.product-card h3, .card-title {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.product-card .price {
  color: #000;
  font-weight: bold;
}

/* ===============================
   Product Detail
   =============================== */
.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}
.product-detail .pd-left img {
  max-width: 420px;
  width: 100%;
  border-radius: 8px;
}
.product-detail .info { flex: 1; }
.product-detail h3 { font-weight: 600; margin-bottom: 15px; }
.product-detail p { font-size: 15px; color: #333; }

/* ===============================
   Feedback / Reviews
   =============================== */
.feedback-section { background: #f7f3ef; }
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
  margin: 30px auto;
}
.review-card {
  background: #fff;
  padding: 20px;
  border: 1px solid #f0e6d2;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: 0.3s;
  text-align: center;
}
.review-card:hover {
  transform: translateY(-3px);
  background: #fdfbf9;
}
.more-review { display: none; }
#toggleReviews {
  margin-top: 25px;
  padding: 10px 25px;
  background: #d7c298;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
#toggleReviews:hover { background:#d7c298; color: #fff; }

/* ===============================
   Contact Form
   =============================== */
.contact-section {
  background: #f7f3ef;
  padding: 60px 20px;
}
.contact-form {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: #a8927f;
  outline: none;
  box-shadow: 0 0 6px rgba(200,182,166,0.4);
}

/* ===============================
   WhatsApp Floating Button
   =============================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #a8927f;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: 0.3s;
}
.whatsapp-float:hover {
  background: #a8927f;
  transform: scale(1.1);
}

/* ===============================
   Footer
   =============================== */
.site-footer {
  background: #d7c298; /* same as header */
  color: #000;
  padding: 28px 18px;
  text-align: center;
}
.footer-bottom {
  text-align: center;
  padding: 12px 0;
  color: #fff;
  background: #a8927f;
}
.footer-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center; /* center all content */
}
.footer-col {
  flex: 1 1 220px;
  min-width: 160px;
  text-align: center; /* align all content to center */
}
.footer-col h5 {
  color: #222;
  margin-bottom: 10px;
}
.footer-col a, .footer-col p, .footer-col li {
  color: #fff;
  text-decoration: none;
}
.footer-col a:hover { color: #000; }

/* ===============================
   Responsive Tweaks
   =============================== */
@media (max-width:768px) {
  .row > [class*='col-'] {
    width: 50% !important;
    float: left;
    box-sizing: border-box;
    padding: 6px;
  }
  .card-img-top { height: 150px !important; object-fit: cover; }
  .search-wrap { max-width: 220px !important; }
  .header-icons .cart-link { order: 1; margin-right: 8px; }
  .header-icons .login-link { display: inline-block; }
  .hamburger { order: 3; margin-left: -8px; }
  .footer-grid { flex-direction: column; }
  .footer-col.location { order: 2; }
  .footer-col.follow { order: 3; align-self: flex-end; }
}
/* Styling for Submit Feedback Button */
.btn-submit-feedback {
  margin-top: 25px;
  padding: 10px 25px;
  background: #d7c298;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hover effect for Submit Button */
.btn-submit-feedback:hover {
  background: #d7c298;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
/* Styling for View Details Button */
.btn-view-details {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 25px;
  background-color: #d7c298 !important; /* Force background color */
  color: #000 !important; /* Force text color */
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  text-decoration: none;
}

/* Hover effect for View Details Button */
.btn-view-details:hover {
  background-color: #d7c298 !important; /* Force background color */
  color: #fff !important; /* Force text color */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
/* Custom Button Styles for View Products */
.btn-view-products {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 25px;
  background-color: #d7c298 !important; /* Force background color */
  color: #000 !important; /* Force text color */
  font-weight: 600 !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  text-align: center;
  text-decoration: none !important;
}

/* Hover effect */
.btn-view-products:hover {
  background-color: #d7c298 !important; /* Force background color */
  color: #fff !important; /* Force text color */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
.section-heading {
  font-weight: bold;
}

/* Footer content alignment */
footer .row {
  justify-content: center; /* Align all columns to the center */
}

footer .col-md-3 {
  text-align: center; /* Center-align the text in each column */
}

footer .col-md-3 p {
  text-align: left; /* Ensure the paragraphs inside the columns are left-aligned */
}
/* Button Styling (for all buttons like 'View Details') */
a.btn-elegant {
  display: inline-block;
  background-color: #d7c298; /* Background color */
  color: black; /* Text color */
  padding: 10px 25px; /* Padding */
  border-radius: 50px; /* Rounded corners */
  font-weight: 600;
  text-align: center;
  transition: 0.3s;
  text-decoration: none; /* Remove underline */
}

a.btn-elegant:hover {
  background-color: #d7c298; /* Hover background */
  color: white; /* Hover text color */
}

a.btn-elegant:active {
  transform: scale(0.98); /* Slightly scale down on click */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Shadow on click */
}

a.btn-elegant.mt-2 {
  margin-top: 15px;
}
/* Button Styling (for 'View Details' and other buttons) */
a.btn-register {
  display: inline-block;
  background-color: #d7c298; /* Background color */
  color: white; /* Text color */
  padding: 10px 25px; /* Padding */
  border-radius: 50px; /* Rounded corners */
  font-weight: 600;
  text-align: center;
  transition: 0.3s;
  text-decoration: none; /* Remove underline */
  width: 100%; /* Full width */
}

a.btn-register:hover {
  background-color: #d7c298; /* Hover background */
  color: #fff; /* Hover text color */
}

a.btn-register:active {
  transform: scale(0.98); /* Slightly scale down on click */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Shadow on click */
}

a.btn-register.w-100 {
  width: 100%; /* Make button full width */
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #d7c298 !important; /* WhatsApp button color */
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.whatsapp-float i {
  font-size: 2rem;
  color: #fff; /* White icon color */
}

.whatsapp-float:hover {
  background-color:  #d7c298 !important; /* Darker brown on hover */
}

.whatsapp-float:active {
  transform: scale(0.95); /* Slight scale down on click */
}

.whatsapp-float:focus {
  outline: none; /* Remove outline on focus */
}
/* Product Detail Section */
.product-detail {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 20px 0;
}

.product-image-container {
  width: 45%; /* Image now takes 45% of the container */
  text-align: center;
}

.product-image {
  width: 100%;
  height: auto;
  max-width: 200px; /* Smaller image size */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-info {
  width: 50%; /* Product info takes 50% of the container */
  padding-left: 20px; /* Space between image and text */
  text-align: left; /* Align text to the left */
}

.product-info h3 {
  font-size: 2rem;
  color: #3a2a1f; /* Dark brown text */
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-info p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-info .mt-3 {
  margin-top: 1.5rem;
}

/* Price Styling */
.product-info .price {
  font-size: 1.5rem;
  font-weight: 600;
  color: #3a2a1f;
}
/* Ensure product details section is aligned properly */
.product-detail .col-12.col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Reduce space between description and button */
.product-detail .col-12.col-md-6 p {
  margin-bottom: 10px; /* Less space below the paragraph */
}

/* Adjust the button */
.btn-talk {
  margin-top: 5px; /* Smaller margin */
  padding: 12px 30px;
  background-color: #d7c298 !important;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-talk:hover {
  background-color: #d7c298 !important;
  transform: scale(1.05);
}


.btn-talk:focus {
  outline: none; /* Remove outline on focus */
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-detail {
    flex-direction: column; /* Stack image and text vertically */
    text-align: center;
  }

  .product-image-container {
    width: 100%; /* Image takes full width */
    margin-bottom: 1.5rem; /* Space below image */
  }

  .product-info {
    width: 100%; /* Full width for text */
    padding-left: 0; /* Remove padding */
    text-align: center; /* Center align text on small screens */
  }

  .product-info h3 {
    font-size: 1.8rem;
  }

  .product-info p {
    font-size: 1.1rem;
  }
}

.search-dropdown {
    position: absolute;
    background: #fff;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ccc;
    z-index: 1000;
}
.search-suggestion {
    display: flex;
    align-items: center;
    padding: 5px 8px;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #f0f0f0;
}
.search-suggestion img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
}
.search-suggestion span {
    flex: 1;
}
.search-suggestion:hover {
    background-color: #f8f8f8;
}
.no-result {
    padding: 5px 10px;
    color: #999;
}
/* Mobile header icons in a row */
@media (max-width: 991px) {
    .navbar-nav.d-lg-none {
        display: flex;
        flex-direction: row;
        gap: 10px; /* spacing between icons */
        margin-left: auto;
        align-items: center;
    }

    /* Optional: remove extra margin from list items */
    .navbar-nav.d-lg-none .nav-item {
        margin: 0;
    }
}
