/* Importing fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins&display=swap');

a{
    text-decoration: none;
}
/* Global Styles */
body {
    background-color: black;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #1c1c1c;
  z-index: 9999;
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  color: #e0c97f;
  font-family: 'Cinzel', serif;
}

.spinner {
  border: 8px solid rgba(255, 255, 255, 0.2);
  border-top: 8px solid #e0c97f;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
  margin-top: 20px;
  font-size: 1.5rem;
  font-family: 'Cinzel', serif;
  color: #e0c97f;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeIn 1.5s ease-in-out infinite;
}

/* Background Video */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7;
  }
  

  /* Home Section */
.home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.753));
  color: #fff;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0), black);
}

.nav-item {
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.nav-item:hover {
  transform: translateY(-4px);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-link {
  font-size: 18px;
  transition: color 0.3s ease;
  color: #ccc;
}

.nav-link:hover {
  color: #fff;
}

.underline {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: goldenrod;
  transition: width 0.4s ease;
}

.nav-item:hover .underline {
  width: 100%;
}

/* Account Icon Animation */
.account {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.account i {
  transition: transform 0.4s ease;
}

.login-status {
  position: absolute;
  left: 50px;
  opacity: 0;
  font-size: 1rem;
  color: #ff8c00;
  font-weight: 700;
  background-color: transparent;
  padding: 5px;
  border-radius: 5px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateX(-20px);
}

.account:hover .login-status {
  opacity: 1;
  transform: translateX(0);
}

.account:hover i {
  transform: translateX(-8px);
}

.logout-button {
  cursor: pointer;
  font-weight: 500;
  border: 1px solid white;
  color: white;
  border-radius: 40px;
  text-decoration: none;
  padding: 5px 20px;
  transition: background-color 0.3s ease, transform 0.5s ease;
}

.logout-button:hover {
  transform: translateY(-5px);
  background-color: white;
  color: black;
}

/* Visitor Counter */
.visitor-counterr {
  position: absolute;
  top: 10px;
  left: -10px;
}

.counter-number {
  background-color: #1a1a1a;
  color: #ddd;
  text-align: center;
  padding: 5px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 5px rgba(255, 215, 0, 0.3);
  border: 1px solid goldenrod;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #ff8c00;
  font-weight: bold;
}

.account:hover .visitor-counter {
  transform: scale(1.1);
  background-color: #ffd700;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 50px 20px;
  margin-top: 50px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: goldenrod;
  text-shadow: 0 4px 10px rgba(255, 140, 0, 0.6);
  margin-bottom: 20px;
  animation: fadeInDown 1.2s ease;
}

.hero-description {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #ddd;
  animation: fadeIn 1.8s ease;
}

/* Fade Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-link {
    font-size: 16px;
  }

  .logout-button {
    padding: 5px 15px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }

  .nav-link {
    font-size: 15px;
  }

  .visitor-counterr {
    top: 5px;
    left: 5px;
  }

  .counter-number {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 40px 10px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }
}
/* Navbar */
.navbar {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0), black);
  z-index: 10; /* Ensure navbar stays above other content */
}

.navbar-toggler {
  display: block; /* Ensure it’s displayed on smaller screens */
  z-index: 11; /* Higher than the navbar itself if needed */
}


.popular-gems {
    background: linear-gradient(0deg, rgb(0, 0, 0), rgba(0, 0, 0, 0.291));
    padding: 50px 30px;
}

.container-gem {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    font-family: 'Playfair', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: goldenrod;
    text-shadow: 0 4px 15px rgba(255, 140, 0, 0.6);
    margin-bottom: 40px;
}

/* Card Styles */
.card-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.gem-card {
    background-color: #1c1c1c;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 30%;
    
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gem-card:hover {
    transform: translateY(-10px);
    box-shadow: 5px 3px 20px rgba(255, 255, 255, 0.7);
}

.gem-image {
    object-fit: cover;
    border-radius: 10px;
    width: 100%;
    height: auto;
}

.gem-name {
    font-size: 1.5rem;
    color: #ffc107;
    margin: 15px 0;
}

.gem-description {
    font-size: 1rem;
    color: #ccc;
    margin: 10px 0;
}

@media screen and (max-width: 992px) {
    .gem-card {
        width: 45%;
    }
}

@media screen and (max-width: 768px) {
    .gem-card {
        width: 100%;
    }

    .section-heading {
        font-size: 2rem;
    }
}

/* Offer Section */
.offer-section {
    background-color: #1a1a1a;
    padding: 60px 20px;
}

.offer-heading h1 {
    font-family: 'Playfair', serif;
    font-size: 3rem;
    font-weight: 700;
    color: goldenrod;
    text-shadow: 0 4px 15px rgba(255, 140, 0, 0.6);
}

.offer-heading {
    text-align: center;   
    margin-bottom: 50px;
    margin-top: 50px;
}
/* Main Container */
.offer-content {
    color: #eaeaea;
    background: linear-gradient(135deg, #1a1a1a, #333333);
    padding: 80px 50px;
    border-radius: 20px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
}

/* Flex container for offer details */
.offer-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Offer Image and Discount Badge */
.offer-image {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4500;
    color: #fff;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 12px 0px 12px 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Headline and Text Colors */
.text-golden {
  color: #ff8c00;
}

.text-gray {
    color: #b0b0b0;
}

.text-orange {
    color: #ff8c00;
}

/* Price Styling */
.original-price {
    font-size: 1rem;
    color: #b0b0b0;
}

.discounted-price {
    font-size: 1.8rem;
    color: #ff4500;
    font-weight: bold;
}

/* Button Styling */
.btn-outline-golden {
    color: #ffcc00;
    border: 1px solid #ffcc00;
    background-color: transparent;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-outline-golden:hover {
    background-color: #ffcc00;
    color: #1a1a1a;
}

/* Medium Screens - Adjust layout */
@media screen and (min-width: 768px) {
    .offer-details {
        flex-direction: row;
        text-align: left;
    }

    .offer-image {
        max-width: 440px;
        margin-right: 20px;
    }

    .offer-text {
        margin-left: 20px;
        text-align: left;
    }
}

/* Small Screens - Stack elements */
@media screen and (max-width: 576px) {
    .offer-heading h1 {
        font-size: 2.5rem;
    }

    .offer-content {
        padding: 20px;
    }

    .discounted-price {
        font-size: 1.5rem;
    }

    .offer-details {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .offer-image {
        max-width: 80%;
        margin-bottom: 15px;
    }

    .offer-text {
        margin-left: 0;
    }
}


/* section about us */


/* About Us Section */
.about-us {
    background-color: #1a1a1a;
    padding: 50px 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    max-width: 1200px;
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-title {
    font-family: 'Playfair', serif;
    font-size: 2.5rem;
    color: goldenrod;
    text-shadow: 0 4px 15px rgba(255, 140, 0, 0.6);
    margin-bottom: 20px;
}

.about-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-link-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: goldenrod;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-link-btn:hover {
    background-color: #ff8c00;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Styling */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        margin-bottom: 20px;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-description {
        font-size: 1rem;
    }
}



/* FOOTER */

/* fooooter */
.footer_section {
    background-color: #000;
    color: #ffffff;
    padding: 75px 40px 0px;
    text-align: center;
}

.footer_section h4 {
    font-size: 28px;
}

.footer_section p {
    color: #dbdbdb;
}


.footer_section .footer_contact .contact_link_box {
    display: flex;
    flex-direction: column;
}

.footer_section .footer_contact .contact_link_box a {
    margin: 5px 0;
    color: #ffffff;
}

.footer_section .footer_contact .contact_link_box a:hover {
    color: #ffbe33;
}



/* RATINGGG */
.rating-section {
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 8px;
  color: #d4af37;
  text-align: center;
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 10px 0;
}

.star {
  font-size: 30px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.star:hover,
.star.selected {
  color: #d4af37;
}

.comment-input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #d4af37;
  border-radius: 4px;
  background-color: #333;
  color: #fff;
  resize: none;
}

.submit-rating {
  background-color: #d4af37;
  color: #1f1f1f;
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-rating:hover {
  background-color: #f0c14b;
}

.comments-section {
  margin-top: 20px;
  text-align: left;
  color: #e0e0e0;
}

.comments-section h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.comment {
  border-bottom: 1px solid #444;
  padding: 10px 0;
}

.comment .comment-rating {
  color: #d4af37;
  font-size: 1em;
}

.comment .comment-text {
  font-size: 0.9em;
  color: #ccc;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .rating-section {
      padding: 15px;
  }

  .comment-input {
      font-size: 0.9rem;
  }

  .submit-rating {
      padding: 6px 16px;
      font-size: 0.9rem;
  }

  .star {
      font-size: 24px;
  }
}
