/* --- 1. Fonts & Reset --- */
@font-face {
    font-family: Inter;
    src: url('Fonts/Inter-font.ttf');
}

@font-face {
    font-family: ArialB;
    src: url('Fonts/ArialB.TTF');
}

@font-face {
    font-family: ArialBlack;
    src: url('Fonts/ArialBlack.TTF');
}

@font-face {
    font-family: MorgantonDemoRegular;
    src: url('Fonts/MorgantonDemoRegular.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: #1e1e1e;
    font-family: Inter, sans-serif;
    overflow-x: hidden;
    width: 100%;
}

/* --- 2. Hero Background --- */
.Hero {
    background-image: url('Images/Hero_img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* --- 3. Navigation Bar --- */
.NavBar {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 20px 5vw;
    z-index: 100;
}

.Logo {
    width: clamp(100px, 15vw, 110px);
    height: auto;
}

.Nev-links {
    display: flex;
    gap: 20px;
}

/* --- Navigation Link Styles --- */
.Nlink, .Nlink-Active {
    background: linear-gradient(135deg, #ffffff 0%, #D1D9E1 50%, #97A2B0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: clamp(14px, 2vw, 25px);
    width: 100px;
    padding: 10px 0;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.Nlink::after, .Nlink-Active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #bbbbba 100%);
    border-radius: 2px;
    transition: width 0.3s ease-in-out;
}

.Nlink:hover {
    background: linear-gradient(135deg, #ffffff 0%, #bbbbba 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.Nlink:hover::after {
    width: 60%;
}

.Nlink-Active::after {
    width: 65%;
    background: linear-gradient(135deg, #ffffff 0%, #E5E4E2 100%);
}

/* --- 4. Hero Content Layout --- */
.Hero-Content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    flex-grow: 1;
    margin-top: -5vw;
}

.Text-Group {
    max-width: 700px;
}

.Hero-text01 {
    color: white;
    font-family: MorgantonDemoRegular, sans-serif;
    opacity: 0.7;
    font-size: clamp(24px, 3.5vw, 45px);
    margin-bottom: 15px;
}

.Hero-text02 {
    color: white;
    font-family: MorgantonDemoRegular, sans-serif;
    line-height: 1;
    text-transform: uppercase;
    font-size: clamp(6vw, 70vw, 6vw);
    letter-spacing: 7px;
    font-weight: 900;
}

/* --- 5. Buttons (Glow & Lift Effects) --- */
.Button-Container {
    display: flex;
    gap: 20px;
    margin-top: -5vw;
    margin-bottom: 6vw;
    flex-direction: column;
    align-items: center;
}

.Shop-Button {
    text-decoration: none;
    font-weight: bold;
    background-image: linear-gradient(to left, #ffffff, #949494, #ffffff, #ffffff);
    background-size: 300%;
    background-position: 0 0;
    border-radius: 5vw;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    font-size: clamp(16px, 1.2vw, 20px);
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.Shop-Button:hover {
    background-position: 100% 0;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

/* --- 6. Hero Jewelry Image --- */
.Hero-image {
    margin-top: 4vw;
    width: 40vw;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.392));
}

/* --- 7. Our Work --- */
.Our_Work {
    color: #ffffff;
    font-size: 5vw;
    margin-left: 5vw;
    margin-top: 5vw;
    font-family: MorgantonDemoRegular, sans-serif;
    font-weight: 900;
    letter-spacing: 9px;
}

.Our_work_para {
    color: #ffffff;
    font-size: 2vw;
    margin-left: 5vw;
    margin-top: 1vw;
    font-family: Inter, sans-serif;
    font-weight: 300;
    max-width: 60%;
    text-align: justify;
}

.Our_Work_img {
    float: right;
    width: 23vw;
    margin-right: 5.5vw;
    margin-top: -23vw;
    border-radius: 2vw;
    box-shadow: 1vw 1vw 2vw #0000007c;
}

/* --- 8. Infinite Carousel Styling --- */
.Carousel-Section {
    margin-top: 8vw;
    padding: 8vw 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1e1e;
}

.Carousel-Container {
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.Carousel-Track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    /* REMOVE scroll-behavior: smooth; from here! */
    scrollbar-width: none;
    padding: 20px 0;
    scroll-snap-type: x mandatory; 
}

.Carousel-Track::-webkit-scrollbar {
    display: none;
}

.Product-Card {
    position: relative;
    flex: 0 0 calc(33.333% - 14px); 
    min-width: calc(33.333% - 14px);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: center;
}

.Product-Card img {
    max-width: 100%; 
    max-height: 100%;
    object-fit: contain; 
    display: block;
    transition: transform 0.6s ease;
    border-radius: 24px;
    box-shadow: 0.25vw 0.25vw 0.5vw #0000007c;
}

.Nav-Btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: 0.2s;
}

.Nav-Btn:hover {
    width: 55px;
    height: 55px;
}

.Prev-Btn { left: -65px; }
.Next-Btn { right: -65px; }

.Pagination-Dots {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.Dot {
    width: 8px;
    height: 8px;
    background: #444;
    border-radius: 50%;
    transition: 0.3s;
}

.Dot.Active {
    background: white;
    width: 20px;
    border-radius: 10px;
}

.Best_of_us_text {
    color: #ffffff;
    position: absolute;
    float: right;
    font-size: 5vw;
    margin-left: 60vw;
    margin-bottom: -4vw;
    font-family: MorgantonDemoRegular, sans-serif;
    font-weight: 900;
    letter-spacing: 9px;
}

/* --- 9. More Info Section --- */
/* Container: Uses Flexbox to create the grid and handle gaps */
.more_info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px; /* Consistent gap between all cards */
    padding: 40px;
    max-width: 1200px; /* Prevents it from getting too stretched on huge monitors */
    margin: 0 auto; /* Centers the whole block */
    box-sizing: border-box;
    margin-bottom: -35vw;
}

/* Base Card Styling (Applied to all 4 cards) */
.card {
    background-color: #282828;
    border: solid 2px #303030;
    border-radius: 2vw;
    padding: 40px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
    color: #ffffff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hover Effects */
.card:hover {
    transform: translateY(-5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    border-color: #404040;
    box-shadow: 10px 15px 25px rgba(0, 0, 0, 0.4);
}

/* Specific Card Widths to recreate the asymmetrical layout */
/* The calc() subtracts the gap space so they fit perfectly in one row */
.more1 { width: calc(55% - 12px); }
.more2 { width: calc(45% - 12px); }
.more3 { width: calc(70% - 12px); }
.more4 { width: calc(30% - 12px); }

/* Typography */
.more_heading, .more_heading4 {
    font-size: 2.5rem;
    font-family: 'Arial Black', sans-serif;
    margin: 0 0 15px 0; /* Replaces gaps with standard margins */
}

.more_heading4 { 
    line-height: 1.2; 
}

.more_para {
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.5;
    color: #eaeaea;
    max-width: 90%;
}

.more_para4 {
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #c2c1be;
    letter-spacing: 3px; /* Spaces out the stars slightly */
}

/* --- 10. Footer Section --- */
.Footer {
    background-color: #ffffff;
    text-align: center;
    padding: 3vw 0 5vw 0;
    margin-top: 40vw;
    border-radius: 3vw 3vw 0 0;
}

.more_btn {
    background-color: #000000;
    color: #ffffff;
    border: 3px solid transparent;
    padding: 15px 40px;
    font-size: clamp(16px, 1.2vw, 20px);
    border-radius: 5vw;
    font-family: Inter, sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.more_btn:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #000000;
}

.Footer-text {
    color: #a0a0a0;
    font-size: 1.5vw;
    margin-top: 2vw;
}

.Social-btn-container {
    margin-top: 2.5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.FB-icon, .IN-icon, .TT-icon, .WA-icon, .Call-icon {
    width: 3vw;
    margin: 1vw 2vw 1vw 0vw;   
    transition: 0.3s;
    opacity: 0.3; 
}

.FB-icon:hover, .IN-icon:hover, .TT-icon:hover, .WA-icon:hover, .Call-icon:hover {
    opacity: 1;
}

.Subtext-Container {
    display: flex;
    margin-top: 2vw;
}

.Subtext-Container p {
    color: #ffffff;
    font-size: clamp(2vw, 1.2vw, 20px);
    font-family: MorgantonDemoRegular, sans-serif;
    letter-spacing: 2px;
}

/* --- 12. Loading Screen --- */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Changed from 120vh to 100% */
    background-color: #1e1e1e; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Ensure this is higher than everything else */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    margin-top: -5%;
}

.loading-gif {
    /* Adjusting clamp for better mobile sizing */
    width: clamp(120px, 20vw, 200px); 
    height: auto;
    margin-bottom: 20px;
}

/* Utility classes applied by JS */
.hide-loading {
    opacity: 0;
    visibility: hidden;
}

body.no-scroll {
    overflow: hidden;
}

/* From Uiverse.io by satyamchaudharydev */ 
.loader {
  display: block;
  --height-of-loader: 4px;
  --loader-color: #ffffff;
  width: 130px;
  height: var(--height-of-loader);
  border-radius: 30px;
  background-color: rgba(0,0,0,0.2);
  position: relative;
}

.loader::before {
  content: "";
  position: absolute;
  background: var(--loader-color);
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  border-radius: 30px;
  animation: moving 1s ease-in-out infinite;
  ;
}

@keyframes moving {
  50% {
    width: 100%;
  }

  100% {
    width: 0;
    right: 0;
    left: unset;
  }
}

/* --- 11. Consolidated Media Queries --- */
@media (max-width: 1024px) {
    .Hero-Content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 40px;
        margin-top: 5vw;
    }
    .Button-Container {
        justify-content: center;
    }
    .Hero-image {
        width: 50%;
        margin-top: 50px;
        margin-bottom: 10vw;
    }
    .Product-Card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .Subtext-Container {
        flex-direction: column;
        gap: 10px;
        margin-top: 5vw;
    }

    .Subtext-Container p {
        font-size: 3.5vw;
        letter-spacing: 2px;
    }

    .Text-Group {
        max-width: 500px;
    }

}

@media (max-width: 768px) {
    .NavBar {
        flex-direction: column;
        gap: 7px;
        margin: 1vw;
    }
    .Nlink, .Nlink-Active {
        width: 19vw;
        font-size: 5vw;
    }
    .Hero-text01 {
        margin-top: -10vw;
    }
    .Hero-text02 {
        font-size: 10vw;
    }
    .Button-Container {
        flex-direction: column;
        align-items: center;
    }
    .Shop-Button {
        width: 240px;
        border-radius: 10vw;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }
    .Shop-Button:hover {
        box-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
    }
    .Hero-image {
        width: 100%;
    }
    .Our_Work {
        font-size: 10vw;
        margin-left: 0;
        text-align: center;
        letter-spacing: 6px;
    }
    .Our_work_para {
        font-size: 4vw;
        max-width: 90%;
    }
    .Our_Work_img {
        float: none;
        width: 80%;
        border-radius: 8vw;
        margin-left: 9vw;
        margin-top: 5vw;
    }
    .Product-Card {
        flex: 0 0 85%;
        min-width: 85%;
        margin-top: 4vw;
    }
    .Nav-Btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    .Nav-Btn:hover {
        width: 40px;
        height: 40px;
    }
    .Prev-Btn { left: -7px; }
    .Next-Btn { right: -7px; }
    
    .Best_of_us_text {
        font-size: 10vw;
        margin-bottom: 3vw;
        margin-left: 21vw;
        letter-spacing: 6px;
    }
    .more_info {
        margin-top: 5vw;
        margin-bottom: 1vw;
    }

    .more1 { height: auto; }
    .more1, .more2, .more3, .more4 {
        position: static;
        width: 100%;
        margin-left: 0vw;
        text-align: center;
        border-radius: 5vw;
        padding: 5vw;
    }
    .more1:hover, .more2:hover, .more3:hover, .more4:hover {
        transform: none;
        text-shadow: 0 0 10px #ffffff7c;
        border-color: #404040;
        box-shadow: 1vw 1vw 1vw #00000067;
    }
    .more_para, .more_para4 {
        font-size: 4vw;
        max-width: 100%;
    }
    .more_heading4, .more_heading {
        font-size: 6vw;
    }
    .Footer {
        margin-top: 2vw;
        padding-top: 10vw;
        border-radius: 6vw 6vw 0 0;
    }
    .more_btn {
        border-radius: 10vw;
    }
    .Footer-text {
        font-size: 4vw;
        margin-top: 10vw;
    }
    
    .Social-btn-container {
        margin-top: 15vw;
    }
    .FB-icon, .IN-icon, .TT-icon, .WA-icon, .Call-icon {
        width: 10vw;
        margin: 0; 
    }

    .Subtext-Container {
        flex-direction: column;
        gap: 10px;
        margin-top: 10vw;
    }

    .Subtext-Container p {
        font-size: 5vw;
        letter-spacing: 2px;
    }

    .Text-Group {
        max-width: 550px;
    }

    #loading-screen {
        margin-top: -15%;
}
}