/* ----------------- Base product style ----------------- */
/* ---- Controling Width & Height of Product Card i.e. Shoe Product Box ---- */

/*body{*/
/*    font-family: Arial;*/
/*}*/

/*.products-container{*/
/*    width:90%;*/
/*    margin:auto;*/
/*}*/


body {
    padding-top: 0px; /* height of your navbar + small extra space */
}

/* Background overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

/* Center box */
.modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 10px;
    border-radius: 10px;
}

/* Image inside box */
.modal-box img {
    width: 300px;
    max-width: 90vw;
}

.modal-box h3 {
    margin: 10px 0 5px;
    text-align: center;
}

.modal-box p {
    text-align: center;
    color: gray;
}

/* Close button */
.close-btn {
    position: absolute;
    top: -10px;
    right: 5px;
    font-size: 30px;
    cursor: pointer;
}
























html{
    scroll-behavior:smooth;
}

h1{
    text-align:left;
}

h1[id] {
    scroll-margin-top: 90px; /* same height as navbar */
}


.product {
    display: inline-block;
    text-align: center;
    margin: 10px;
    border: 2px solid transparent;
    padding: 10px;
    transition: all 0.3s ease;
    vertical-align: top;
    width: 220px;
    height: 280px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    border-radius: 5px;
}

/* Smaller products for index page */
.index-product {
    width: 180px;
    height: 200px;
}

.index-product img {
    width: 140px;
    height: 140px;
}

/* Image container for price overlay */
.image-container {
    position: relative;
}

.product img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.product img:hover {
    transform: scale(1.05);
}

.shoes-page .product img:hover {
    transform: scale(1.15);  /* yahan 1.15 ya jitna zoom chahiye set karen */
}

.pants-page .product img:hover {
    transform: scale(1.15);  /* yahan 1.15 ya jitna zoom chahiye set karen */
}

/* Product title */
.product span {
    display: block;
    margin-top: 5px;
    font-weight: 500;
}

/* Hover effect on card */
.product:hover {
    border: 2px solid #3498db;
    background-color: #f0f8ff;
    transform: translateY(-5px);
}

/* Price box top-left */
.product .price {
    position: absolute;
    top: 5px;
    left: 5px;
    font-weight: bold;
    /*background-color: white;*/
    color: blue;
    padding: 2px 6px;
    border-radius: 3px;
    display: none;
}

/* Sizes horizontal */
.sizes {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 5px;
}

/* Individual size */
.size {
    cursor: pointer;
    position: relative;
    display: inline-block;
    font-weight: 500;
}

/* Blue underline on hover */
.size:hover::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: blue;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:white;
    padding:15px 40px;
    position: sticky;
    top:0;
    z-index: 100;  /* important so content doesn’t go above navbar */
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.logo{
    font-size:22px;
    font-weight:bold;
    color:#3498db;
}

.navbar a{
    color:#333;
    text-decoration:none;
    margin:0 20px;
    font-size:18px;
    font-weight:500;
    position:relative;
}

.navbar a::after{
    content:"";
    position:absolute;
    width:0%;
    height:2px;
    background-color:#3498db;
    bottom:-5px;
    left:0;
    transition:0.3s;
}

.navbar a:hover::after{
    width:100%;
}

.about-section{
    width:60%;
    margin-left:10px;
    margin-top:5px;
}

.established{
    font-size:16px;
    font-weight:bold;
    text-align:left;
}

.about-section h4{
    margin-bottom:5px;
}

.about-section p{
    margin-top:0;
    text-align:justify;
    font-size:16px;
    line-height:1.20;
}

.bold-line {
    font-weight: bold;
    font-size: 18px;   /* optional: thoda bada */
    line-height: 1.2;  /* tight line spacing */
}

/* Reduce gap between About Us heading and card */
h1#about {
    margin-top: 40px;   /* upar ka space, adjust kar sakte ho */
    margin-bottom: 10px; /* heading ke neeche ka gap, reduce */
}

/* About Us product-card style, similar to products */
.product-card {
    display: inline-block; /* inline-block like products */
    vertical-align: top;   /* aligns with other inline-blocks */
    text-align: left;
    margin: 10px;          /* same as product margin */
    padding: 0px 20px; /* top/bottom 10px, left/right 20px */
    border: 2px solid transparent;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    transition: all 0.3s ease;
    width: auto;          /* same width as index-product */
    height: auto;          /* let height adjust to content */
}


.product-card:hover {
    border: 2px solid #3498db;
    background-color: #f0f8ff;
    transform: translateY(-3px);
}

.main-content {
    padding-top: 0px; /* space for sticky navbar */
}

.contact-section {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding: 0px 10px 20px; /* top/bottom 10px, left/right 20px */
    margin: 0 10px 5px 10px; /* top 0, bottom 20px */
    border: 2px solid transparent;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    transition: all 0.3s ease;
    width: auto;
    height: auto;
}

.contact-section h1 {
    margin:  0;   /* default margin remove */
    padding: 0;
    margin-bottom: 4px; /* optional, thoda gap for text */
    font-size: 24px;  /* adjust size if chahiye */
}

.contact-section p {
    margin:  0;   /* default margin remove */
    padding: 0;
    margin-bottom: 4px; /* optional, thoda gap for text */
    line-height: 1.2;
    font-size: 20px;  /* adjust size if chahiye */
}
.contact-section:hover {
    border: 2px solid #3498db;
    background-color: #f0f8ff;
    transform: translateY(-3px);
}

.footer{
    text-align: center;
    margin-top: 0px;
    padding: 20px 15px;
    background-color: black;
    color: white;
    border-radius: 10px;
}

.footer p{
    font-size: 14px;
}

/* -------- SAFE MOBILE FIX -------- */
@media (max-width: 768px) {

    /* Navbar */
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    .nav-links {
        margin-top: 10px;
    }

    .navbar a {
        margin: 5px 10px 5px 0;
        font-size: 16px;
    }

    /* Products (ONLY SIZE CHANGE — no layout change) */
    .product {
        width: 45%;
        height: auto;
    }

    .index-product {
        width: 45%;
        height: auto;
    }

    /* Images responsive */
    .product img,
    .index-product img {
        width: 100%;
        height: auto;
    }

    /* About & Contact full width */
    .about-section,
    .contact-section {
        width: 95%;
    }

    /* Text adjust */
    h1 {
        font-size: 22px;
    }
}