/* Default font for everything */
body {
    font-family: 'Quicksand', sans-serif;
}

/* Stronger headings */
h1,
h2,
h3,
.display-4 {
    font-weight: 700;
    /* bold */
    letter-spacing: 1px;
}

p {
    font-weight: 400;
    line-height: 1.6;
}




/* ==================
   Toast Notification Styling
===================== */
#successToast .toast-header {
    background-color: #5f69c8; /* Your brand's indigo */
    color: white;
    font-weight: 700;
}

#successToast .toast-body {
    background-color: #fdf8f0; /* Your warm background */
    color: #343a40;
    font-weight: 600;
}

/* Header section///////////////////////////////////////////// */

@media (max-width: 768px) {
  .navbar-collapse {
    background-color: #1a1a1a; /* Dark background for mobile menu */
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    z-index: 1000; /* Ensures it sits on top of other content */
  }
  
  /* Centers buttons on mobile */
  .d-flex.justify-content-end {
    justify-content: center !important;
  }
}

/* Ensure the links look correct */
.nav-link {
  font-size: 1.1rem; /* Matches your original look */
  font-weight: 500;
}

header {
    background:#000000dd !important;
    background-image: url();
    border-bottom: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    /* keep nav links above overlay */

    padding-top: 15px !important;   /* Was 2rem (approx 32px) */
        padding-bottom: 15px !important; 
        padding-left: 15px !important;  /* Reduce side padding too */
        padding-right: 15px !important;
        backdrop-filter: blur(5px);
}

.nav-link:hover, .nav-link.active {
    color: #747fe7 !important; /* Purple hover */
}

.navbar {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
/* .btn-outline-primary {
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #5f69c8; /* New background color on hover 
  --bs-btn-hover-border-color: #000000; /* New border color on hover */
   /* New text color on hover 


} */

#Home {
    color: #cfcac5;
    font-weight: bold;
}


/* login////////////////////////////////// */

.btn-primary {
    --bs-btn-bg: #747fe7;
    --bs-btn-border-color: #747fe7;
    --bs-btn-hover-bg: #5f69c8;
    --bs-btn-hover-border-color: #5f69c8;
    --bs-btn-active-bg: #5f69c8;
    --bs-btn-active-border-color: #5f69c8;
    --bs-btn-focus-shadow-rgb: 116, 127, 231;}

.btn-outline-primary {
    --bs-btn-color: #747fe7;
    --bs-btn-border-color: #747fe7;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #747fe7;
    --bs-btn-hover-border-color: #747fe7;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #5f69c8;
    --bs-btn-active-border-color: #5f69c8;
    --bs-btn-focus-shadow-rgb: 116, 127, 231;
}


/* ========== Auth Modal Styling ========== */
.auth-modal-content {
    border-radius: 20px;
    border: none;
    background-color: #fdf8f0; /* Warm background */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auth-modal-content .modal-header {
    background-color: #5f69c8; /* Your brand's indigo */
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: none;
    padding: 1.5rem;
}

.auth-modal-content .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.auth-modal-content .modal-body {
    padding: 2rem;
}

.auth-modal-content .form-label {
    font-weight: 600;
    color: #343a40;
}

.auth-modal-content .form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ced4da;
    background-color: #fff;
}

.auth-modal-content .form-control:focus {
    border-color: #747fe7;
    box-shadow: 0 0 0 0.25rem rgba(116, 127, 231, 0.25);
}

.auth-btn {
    background-color: #747fe7;
    border-color: #747fe7;
    font-weight: 700;
    border-radius: 50px; /* Fun, pill-shaped button */
    padding: 12px;
    transition: background-color 0.2s ease;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.auth-btn:hover {
    background-color: #5f69c8;
    border-color: #5f69c8;
}

.switch-form-text a {
    color: #5f69c8;
    font-weight: 700;
    text-decoration: none;
}
.switch-form-text a:hover {
    text-decoration: underline;
}


/* hero section ///////////////////////////////////// */

#hero {
    background: url("./imgs/b62ac820-e2c3-40ea-bf0f-3b53fc732bc1.png") no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    padding: 0%;
}

/* Text above overlay */
.hero-text {
    margin-top: 9rem;
    z-index: 1;
}

.hero-text h3 {
    font-family: 'Quicksand', sans-serif;
    color: #d7cac0;
    /* light grey for subtext */
}

.hero-text p {
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f3e8df;
    /* light grey for subtext */
}

#cstm-button {
    border-color: #5f69c8;
    color: #747fe7;
}

#cstm-button:hover {
  background-color: #5f69c8;
  color: #ffffff; /* makes text white on hover */
  border-color: #5f69c8;
}

#kits {
    color: #747fe7;
}

#playzone {
    color: #747fe7;
}

#about {
    color: #747fe7;
}

#contact {
    color: #747fe7;
}

#signup {
    background-color: #747fe7;
}

/* Cursorcanvas ///////////////////////////*/


#fireflyCanvas {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
    min-width: 100%;
    z-index: 6;
    /* push it further back */
    pointer-events: none;
    /* allows clicks through canvas */
}

#hero .overlay {
    z-index: 1;
    /* overlay sits above canvas */
}

.hero-text,
.jugnu-header,
section,
footer {
    position: relative;
    z-index: 2;
    /* make sure content sits above canvas */
}


/*/////////////// parallax effect section css */


/* .sectionsection1 {
    z-index: 3;
    height: 800px;
    width: auto; 
    margin-top: 3% ;
    bottom:0;
    left:0;
    right:0;
    background-image: url(./imgs/section\ bg\ img\ 2.png);
    align-content: center;
    background-size: cover;
    background-repeat: no-repeat;

} 

#Bestsellers {
   margin-top: 190px; 
   font-size: 50px;
   color:#4f58a7;
}

.product-card {
  margin-top: 30px;
  border-radius: 20px;
  overflow: hidden;
  border: none;
  background:  #fffcf2; 
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #4f58a7;
}

.product-card img {
  height: 220px;
  object-fit: cover;
}

.floating-card {
  will-change: transform;
}

.floating-card:hover {
  transform: scale(1.05);  
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.newbutton{
 background-color: #5961a9;
 padding: 5px;
 padding-left: 7px;
 padding-right: 7px;
 border-radius: 7px;
 border-color:#4f58a7 ;
 color:#ebe7e3;
 
}
 .newbutton:hover {
    background-color: #3e4693;
    transform: scale(1.05);  
 } */

 /* --- SECTION CONTAINER --- */
.sectionsection1 {
    z-index: 3;
    /* 1. REMOVED fixed height (was 800px). Use auto so it grows with the content */
    height: auto; 
    min-height: 800px; /* Optional: ensures it's at least this tall on big screens */
    width: 100%; /* Changed from auto to 100% to prevent overflow */
    margin-top: 3%;
    position: relative; /* Changed from static to control positioning */
    
    background-image: url(./imgs/section\ bg\ img\ 2.png);
    background-size: cover;
    background-position: center center; /* Keeps image centered */
    background-repeat: no-repeat;
    
    /* Add padding to bottom so content doesn't touch the edge */
    padding-bottom: 60px; 
}

/* --- HEADING --- */
#Bestsellers {
    /* 2. Adjusted top margin so it doesn't push down too far on mobile */
    margin-top: 190px; 
    font-size: 50px;
    color: #4f58a7;
    font-weight: bold;
}

/* --- CARDS --- */
.product-card {
    margin-top: 30px;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background: #fffcf2;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #4f58a7;
    /* 3. Ensure cards don't overflow width */
    max-width: 100%; 
}

.product-card img {
    height: 220px;
    width: 100%; /* Forces image to fit the card width */
    object-fit: cover;
}

.floating-card {
    will-change: transform;
}

.floating-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

/* --- BUTTONS --- */
.newbutton {
    background-color: #5961a9;
    padding: 8px 15px; /* Increased padding slightly for touch targets */
    border-radius: 7px;
    border: 1px solid #4f58a7;
    color: #ebe7e3;
    margin-bottom: 15px; /* Adds space inside the card */
    z-index: 5000;
}

.newbutton:hover {
    background-color: #3e4693;
    transform: scale(1.05);
}

/* --- 4. IMPORTANT: MOBILE RESPONSIVE RULES --- */
@media (max-width: 768px) {
    .sectionsection1 {
        margin-top: 0; /* Remove extra top margin on mobile */
        padding-bottom: 40px;
        /* Optional: Adjust background image for mobile if needed */
        background-position: top center; 
    }

    #Bestsellers {
        /* Reduce the huge top gap on mobile */
        /* text-align: left; */
        margin-top: 250px; 
        /* Make font smaller so it fits on screen */
        font-size: 38px; 
        font-weight:bolder;
        margin-bottom: 20px;
    }

    .product-card {
        /* Add space between stacked cards */
        margin-bottom: 20px; 
    }
}

/* why choose jugnu?////////////////////////////////////////////// */

.section2 {
    background-color: #fff4dc;
    margin-top: 15px;
}

#choosejugnu {
    
    color:#4f58a7;
    font-size: 42px;
    margin-top: 40px;
   
}

.custom-divider {
    border-bottom: 1.5px solid #4f58a7;
    padding-bottom: 0.9rem;
}

#features-heading1, #features-heading2, #features-heading3 {
    color:#4f58a7;
}


/* Testimonials////////////////////////////////////////////////////////// */

.testimonials{
    background-color:#fff4dc ;
    margin-top: 15px;
}

.testimonial-card {
            background-color: #fffdf2; /* A subtle background color for the card */
            border: none;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);}


/* gallery////////////////////////////////////////////////////////// */

#slider {
  margin-top: 15px;
}

#slider h2 {
  font-family: 'Quicksand', sans-serif;
  color: #4f58a7;
  font-size: 42px;
  margin-top: 10px;
}

html{
    scroll-behavior:smooth;
}

/* body{ */
    /* font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
    /* background: #fff; */
/* } */

.slider{

    /* margin-bottom: 200px; */
    position: relative;
}

.slider-card{
    background-color: #f47878;
    margin: 50px 15px 90px 15px;
    border-radius: 10px;
    box-shadow: 1 15px 45px -20px #999595;
    transform: scale(0.9);
    opacity: 0.7;
    transition: all 0.3s;

}
.slider-card img{

    border-radius: 10px 10px;
    height: 250px;
    
}

.slider .owl-item.active.center .slider-card{

    transform: scale(1.20);
    opacity: 1;
    /* background-image: linear-gradient(to top, #f0edef 0%, #f1eeb3 1%, #b8b4ba 100%); */
    /* color: #fff; */

}



.owl-nav .owl-next{
    position:absolute;
    /*top:calc(50% - 25px);*/
    top: 100px;
    right:0;
    opacity: 1;
    font-size: 30px !important;
    z-index: 1;
}

.owl-nav .owl-prev{
    position:absolute;
   /* top:calc(50% - 25px);*/
    top:100px;
    left:0;
    opacity: 1;
    font-size: 30px !important;
    z-index: 1;
}



/* faqs////////////////////////////////////////////////////////////// */
/* ========== FAQ Section Styling ========== */
.faq-section {
    margin-top: 15px;
    padding: 80px 0;
    background-color: #f5f6fd; /* A soft, complementary lavender background */
}

.faq-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #5f69c8;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
}

.accordion-item {
    background-color: #fff;
    border: none;
    border-radius: 15px !important; /* Important to override Bootstrap */
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    color: #343a40;
    border-radius: 15px !important;
}

/* Style for the active/open accordion item */
.accordion-button:not(.collapsed) {
    color: white;
    background-color: #747fe7;
    box-shadow: none;
}

/* Remove the focus shadow */
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* Style the accordion arrow icon to be white when open */
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    line-height: 1.6;
}

/* Footer////////////////////////////////////////////////////////// */
    
.footer{
    margin-top: 20px;
    background-color: #5f69c8bd;
    color: #fdfcd9;
}

.last{
    color: #cdbdb1;
    text-decoration: none;
}






