@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.cdnfonts.com/css/euclid-flex');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


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.521) , rgba(0, 0, 0, 0.897));
  color: #fff;
}

/* 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 Links */
.nav-link {
  font-size: 18px;
  transition: color 0.3s ease;
  color: #ccc;
}

.nav-link:hover {
  color: #fff;
}

/* Underline Animation */
.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 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 Counter */
.visitor-counterr {
position: absolute;
top: 10px;
left: -10px;


}

/* Visitor Counter Section */
.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;

}



.counter-number {
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: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
}



/* Brand section */
.main-brands {
    background-color: rgb(255, 255, 255);
}

.brand-section{
    margin-top: 60px;
}

.brand-section h1{
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    letter-spacing: 2px;
    color: #000;
}
.brand-detail{
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 20px;
    align-items: center;
}

.brand-logo{
    width: 100%;
    max-width: 500px; /* Adjust the max-width as needed */
    height: auto;
    align-items: flex-start;
    margin: 0 auto; /* Centers the image horizontally */
}
.brand-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}
.brand-info h2 {
    margin-bottom: 10px;
    font-size: 2.5rem;
    font-weight: 700;
}
.brand-info p{
    font-size: 1rem;
    color: #000000;
    font-weight: 600;
} 
@media (max-width: 768px) {
    .brand-detail {
        grid-template-columns: 1fr;
        text-align: center;
        justify-content: center;
    }

    .brand-info {
        padding: 0;
    }

    .brand-logo {
        margin-bottom: 20px;
    }
}


/* CATEGORY SECTION */
/* General styling for the section */
.new-in-section {
    padding: 20px;
    background-color: #F0EEE4;
    text-align: center;
    height: 100vh;
    margin-bottom: 60px;
  }
  
  .new-in-section h2 {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 20px;
  }
  
  /* Product card container styling */
  .c-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center; /* Centers items on small screens */
}

.c-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1); /* Transparent white with some opacity */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
}

.c-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.c-card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.c-card p {
    font-size: 1rem;
    color: #e0e0e0;
}

.c-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .c-container {
        grid-template-columns: 1fr; /* On small screens, each card will take full width */
        justify-items: center; /* Center the cards */
    }

    .c-card {
        max-width: 300px; /* Ensures the card does not stretch too wide */
    }
}
  /* Styling for the product info */
  .product-info {
    text-align: center;
  }
  
  .colors,
  .new,
  .coming-soon {
    font-size: 12px;
    background-color: #eee;
    color: #333;
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 10px;
  }
  
  .colors {
    background-color: #f0f0f0;
  }
  
  .new {
    background-color: #ffd700;
  }
  
  .coming-soon {
    background-color: #f08080;
  }
  
  .product-info h3 {
    font-size: 1.5rem;
    margin: 10px 0;
  }
 
  
  .product-info p {
    font-size: 14px;
    color: #777;
  }
  
  
  
/* Our Products Section */
.products-section{
    height: 100%;
    background: whitesmoke
}
.search-bar {
    position: relative;
    width: 100%;
}

.search-bar input[type="text"] {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-bar input[type="text"]:focus {
    border-color: #000000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Custom Dropdown Styling */


/* PRODUCTS SECTION */

.brand-heading h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background-color: maroon;
    /* Accent color */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}

.brand-heading h2 {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: black;
    text-transform: capitalize;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    font-family: Georgia, 'Times New Roman', Times, serif;
}


.product-section {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center;     /* Center content vertically */
    padding: 40px 0;         /* Add padding to give space around the section */
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px;
    justify-items: center; /* Ensure the cards are centered within each grid cell */
    max-width: 1000px;     /* Limit the max width of the entire container */
    width: 100%;           /* Ensure the container takes the full width of the page */
}

.product-card {
    text-align: center;
    padding: 20px;
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    
}

.product-card img {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
  
    padding: 10px 20px;

}

.product-card a {
    text-decoration: none;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    position: relative;
}

.product-card .view-product::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #000;
    margin: 5px auto;
}

.stars a {
    text-decoration: none;
    color: #ffbf00;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stars {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 3px;
    margin-top: 12px;
}

.price h4 {
    font-size: 1.3rem;
}

.cart a {
    width: 200px;
    background-color: #000;
    color: #fff;
    transition: background-color 0.3s ease;
    padding: 10px;
    border-radius: 12px;
}

.cart a:hover {
    background-color: #f0c14b;
}
  
.cart-title{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2px;
}
.cart-box{
    display: grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.cart-img{
    width: 100px;
    height: 100px;
    object-fit: contain;
    padding: 10px;
}
.detail-box{
    display: grid;
    row-gap: 0.5rem;

}
.cart-product-title{
    font-size: 1rem;
    text-transform: uppercase;
}
.cart-price{
    font-weight: 500;

}
.cart-quantity{
    border: 1px sold white;
    outline-color: black;
    width: 2.4rem;
    text-align: center;
    font-size: 1rem;
}
.cart-remove{
    font-size: 24px;
    color: #000;
    cursor: pointer;
}
.total{
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    border-top: 1px solid black;
}
.total-title{
    font-size: 1rem;
    font-family: 600;
}
.total-price{
    margin-left: 0.5rem;
}
.btn-buy{
     display: flex;
     margin: 1.5rem auto 0 auto;
     padding: 12px 20px;
     border: none;
     background-color: white;
     color: goldenrod;
     font-size: 1rem;
     font-weight: 500;
     cursor: pointer;
}
.btn-buy:hover{
    background-color: #d3d3d3;
}
#close-cart{
        position: absolute;
        top: 1rem;
        right: 0.8rem;
        font-size: 2rem;
}


/* CATEGORIES */
/* Earring SECTION */
/* Reset some default styles */


.earring-filter-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

#earring-search-bar {
    width: 75%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#earring-brand-filter {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Grid for earrings */
.earring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding-top: 20px;
}

/* Earring Card styling */
.earring-card {
    background-color: white;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.earring-card:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.earring-image {
    padding: 10px;
    text-align: center;
}

.earring-image img {
    max-width: 100%;
    height: auto;
}

.earring-info {
    padding: 15px;
    text-align: center;
}

.earring-info h4 {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 5px;
    color: #333;
}

.earring-info p {
    font-size: 0.875rem;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .earring-filter-container {
        flex-direction: row;
    }

    .earring-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}


.btn-view{
    padding: 10px 20px 10px 20px;
    background-color: black;
    font-size: 1.5rem;
    
    color: white;
text-decoration: none;

}



/* 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 {
  color: #ffffff;
}

.footer_section .footer_contact .contact_link_box a:hover {
  color: #ffbe33;
}
