/* Product images fixed size for uniformity */
.product-img-fixed {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    background-color: #f8f8f8;
    border-radius: 10px;
    display: block;
    margin: 0 auto 2rem auto;
}

@media (max-width: 768px) {
    .product-img-fixed {
        max-width: 95vw;
        height: 260px;
    }
}

/* logo */
.navbar-brand #logo,
.navbar-brand img {
    width: auto !important;
    max-width: 80px !important;
    max-height: 80px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

#menu {
    text-align: center;
}

#title {
    font-size: 28px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: center;
    color: rgb(5, 44, 94);
    display: block;
    margin: 10px;
    margin-left: 2px;
    text-shadow: 1px 2px 3px black;
}

/* Carousel image */
.imgc {
    width: 100%;
    height: 420px;
    object-fit: cover;
    margin-top: 1vh;
    border-radius: 2vw;
}

@media (max-width:768px) {
    .imgc {
        height: 220px;
        width: 100%;
    }
}

/* SEARCH SECTION */

#productsearch{
    margin-top:10vh;
}

/* search form */
#searchbox{
    width:100%;
    max-width:900px;
    margin:auto;
}

/* search input */
#searchInput{
    height:50px;
}

/* search button */
#searchbtn{
    height:50px;
    margin-left:10px;
    border-radius: 4px;
}

/* ensure input + button have a consistent gap */
#searchbox .form-control {
    flex: 1 1 auto;
}

/* product search shadow */
.searchproduct{
    box-shadow:2px 3px 4px rgba(0,0,0,0.2);
}

/* collection heading */

#collectionhead{
    text-align:center;
    margin-top:5vh;
    text-shadow:2px 4px 8px rgba(0,0,0,0.3);
    font-weight: 800;
    color: #002e6c;
}

.section-heading {
    text-align: center;
    margin-top: 4vh;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 800;
    color: #163c76;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4), 1px 2px 3px rgba(0, 0, 0, 0.3);
    background-color: #f0f4f8;
    padding: 1rem;
    border-radius: 8px;
}

.section-subtitle {
    text-align: center;
    color: #4a4a4a;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.card {
    border: 1px solid rgba(0, 63, 179, 0.2);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

.card-body {
    padding: 2rem;
}

#aiimage {
    max-height: 320px;
    object-fit: cover;
}

.span{
    text-align:center;
}

/* product cards */

.productcard{
    box-shadow:2px 3px 4px black;
}

.product-card img{
    object-fit:cover;
}

@media (max-width:768px){
    .product-card img{
        height:180px;
    }
}

/* AI image section */

#aiiamgediv{
    width:100%;
    text-align:center;
}

#aiimage{
    background-image:url(../images/Ai\ iamge.jpeg);
    background-size:cover;
    width:100%;
}

#AIdiv{
    text-align:center;
}

/* Laptop screens */

@media (min-width: 992px){

.card-img-top{
    max-width:600px;
    height:50vh;
    object-fit:contain;
    object-position:center;
    background-color:#f8f8f8;
    margin:auto;
    display:block;
    border-radius:15px;
}

}

/* AI prompt */

#submitbtn{
    margin-top:10px;
    padding-right:6vw;
    padding-left:6vw;
}

#enter{
    text-align:center;
    position:relative;
    left:10vw;
    text-shadow:1px 2px 2px black;
}

#textfill{
    margin-top:20px;
    margin-bottom:20px;
    border-radius:8px;
    border-color:#0D6EFD;
}

.prompt{
    width:80%;
    text-align:center;
}

/* Beautify the three main blocks: custom upload, WhatsApp support, and product grid */
.custom-block {
    border: 1px solid rgba(0, 105, 250, 0.25);
    background: linear-gradient(135deg, rgba(245, 248, 255, 0.9), rgba(218, 231, 255, 0.7));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.09);
    border-radius: 18px;
    padding: 1.4rem;
    margin-bottom: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.WhatsApp-block {
    border: 1px dashed rgba(34, 162, 84, 0.45);
    background: linear-gradient(135deg, rgba(240, 255, 244, 0.95), rgba(220, 245, 230, 0.85));
}

.product-grid-container {
    border: 1px solid rgba(42, 77, 142, 0.18);
    background: #fff;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .custom-block, .product-grid-container, .WhatsApp-block {
        padding: 1rem;
    }
}

/* review section */

.com-section{
    max-width:1200px;
}

.comment-box{
    background:#ffffff;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,0.1);
}

#commentpara{
    font-size:24px;
    font-weight:600;
    color:#000000;
    text-shadow:1px 2px 3px black;
}

.commentinput{
    border-radius:10px;
    border:1px solid #ddd;
    padding:12px;
    box-shadow:2px 3px 4px black;
}

.commentinput:focus{
    border-color:#0d6efd;
    box-shadow:0 0 8px rgba(13,110,253,0.3);
}

#commentbtn{
    border-radius:30px;
    font-weight:600;
    padding:10px 30px;
    transition:0.3s;
    box-shadow:2px 3px 4px black;
}

#commentbtn:hover{
    background:#0b5ed7;
    transform:scale(1.05);
}

/* social icons */

#compney{
    text-align:center;
    font-size:40px;
    font-weight:700;
    margin-top:60px;
    text-shadow:1px 2px 3px #000000;
}

#icondiv{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    margin-top:20px;
    margin-bottom:40px;
}

.icon{
    width:60px;
    height:60px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#f2f2f2;
    transition:0.3s;
    text-decoration:none;
}

.icon img{
    width:30px;
    height:30px;
}

.icon:hover{
    transform:scale(1.2);
    background:#0d6efd;
}

/* footer */

.footer{
    background:#111;
    color:white;
    padding:50px 0 20px;
}

.footer-box h5{
    margin-bottom:15px;
    font-weight:600;
}

.footer-box p{
    font-size:14px;
    color:#ccc;
}

.footer-box ul{
    list-style:none;
    padding:0;
}

.footer-box ul li{
    margin-bottom:8px;
}

.footer-box ul li a{
    color:#ccc;
    text-decoration:none;
    font-size:14px;
}

.footer-box ul li a:hover{
    color:#0d6efd;
}

.footer hr{
    background:#444;
}

.copyright{
    text-align:center;
    font-size:14px;
    color:#aaa;
}

#reach{
    text-shadow:1px 2px 3px black;
}
.logintitle{
    text-shadow:1px 2px 3px black;
    text-align: center;
}

/* WhatsApp Chat Button */
#whatsappChatBtn {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
}

#whatsappChatBtn:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35), 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Product Gallery Styles */
.gallery-container {
    position: relative;
    max-width: 500px;
    margin-bottom: 1rem;
}

.gallery-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 10px 0;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.gallery-img {
    flex: 0 0 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 15px;
    scroll-snap-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    flex: 0 0 auto;
}

.thumb:hover, .thumb.active {
    border-color: #0d6efd;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-img {
        height: 280px;
    }
    .thumb {
        width: 50px;
        height: 50px;
    }
}

