* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header */
.header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 15px 30px;
    background: #FFF9C4;
    position: relative;
}

.logo
{
    display: flex;
    align-items: center;
}
.logo img {
    height: 100px;
    margin-top: 0px !important;
    margin-right: 10px;
    padding:0px;
}

/* Navigation */
.nav {
    text-align: right;
    z-index: 999;
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
    color: #1A237E;
}

/* ACTIVE MENU ITEM */
.nav a.active {
    color: #fff;
    background: #1A237E;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Optional hover polish */
.nav a:hover {
    color: #fff;
    background: #3949AB;
    border-radius: 4px;
}


/* Hamburger animation */
#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: 0.4s;
}

/* Animate to X */
#menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Slider */
.slider {
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #5e91b3;
    position: relative; /*2301*/
}

.slides {
  
    height: 100%;
    width: 100%;
    position: relative;
}

.slides img {
    /* min-width: 100%;
    min-height: 90%;
    object-fit: cover; */

    /*2301*/
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    
}

.slides img.active {
    opacity: 1;
    z-index: 1;
}


.swastikaimg
{
    text-align: center;
    padding: 0px;
}
.swastikaimg img
{
    width: 140px;
    height: auto;
    align-items: center;
}

/* Sections */
.about, .bake, .order {
    padding: 40px;
    text-align: center;
}

.about {
    margin-top: 0x;
    /* padding-top: 20px; */
}

.bake-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 30px 0;
}

.bake-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.order {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.order img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}


/* Online Web page */
.products-container {
    padding: 20px;
     padding-top: 80px;
}

.category h2 {
    margin: 20px 0 10px;
    color: #5a2d0c;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.product-card {
    display: grid;
    /* border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background: #fff; */
    grid-template-rows: 180px auto auto;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    background: #fff;
}

.product-card h3 {
    font-size: 16px;
}

.product-card p {
    font-weight: bold;
    color: #b12704;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

.modal-content img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.close {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 24px;
    cursor: pointer;
}

.add-cart {
    background: #f0c14b;
    border: none;
    padding: 10px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}

/* SEARCH BAR */
.search-bar {
    position: sticky;
    top: 70px;           /* height of your header */
    height: 60px;        /* IMPORTANT */
    padding: 10px 15px;
    background: #fff;
    z-index: 10;
}

.search-bar input {
    width: 40%;
    max-width: 500px;
    padding: 10px;
    font-size: 16px;
}

/* SUGGESTIONS */
.suggestions {
    max-width: 500px;
    background: white;
    border: 1px solid #ddd;
    display: none;
}

.suggestions div {
    padding: 8px;
    cursor: pointer;
}

.suggestions div:hover {
    background: #f0f0f0;
}

/* HIGHLIGHT */
.highlight {
    background: yellow;
}

/* NO RESULTS */
.no-results {
    display: none;
    text-align: center;
    font-size: 18px;
    color: #999;
    margin: 20px 0;
}


/* CART SIDEBAR */
#cartSidebar {
    position: fixed;
    top: 0;
    right: -400px; /* hidden by default */
    width: 400px;
    max-width: 90%; /* for small screens */
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.3);
    z-index: 2000;
    overflow-y: auto;
    transition: right 0.3s ease;
    padding: 20px;
}

#cartSidebar.show {
    right: 0; /* slide in */
}

/* CART BACKDROP */
#cartBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1500;
}

#cartBackdrop.show {
    opacity: 1;
    visibility: visible;
}

/* CART ITEMS */
.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 10px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info p {
    margin: 4px 0;
}

.cart-item-info div button {
    padding: 2px 8px;
    margin-right: 5px;
    cursor: pointer;
}

/* REMOVE BUTTON */
.remove-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.cart-toggle {
    position: fixed;
    top: 20px;       /* distance from top */
    right: 20px;     /* distance from right */
    z-index: 2500;   /* above everything */
    background: #f0c14b;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

/* Hover effect */
.cart-toggle:hover {
    background: #e6b800;
}

/* RESPONSIVE FOR MOBILE */
@media (max-width: 600px) {
    #cartSidebar {
        width: 80%;
        padding: 15px;
    }

    .cart-toggle {
        top: 10px;      /* closer to top */
        right: 10px;    /* closer to right */
        padding: 8px 12px;
        font-size: 14px;
    }
}




/* Online web page ends here */

/* Footer */
.footer {
    background: #333;
    padding: 20px;
    text-align: center;
}

.footer a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}



/* Registration Form Starts Here */
.register {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.register h2 {
    margin-bottom: 30px;
    color: #333;
}

.register-form {
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #f5c16c;
}

.register-form button {
    width: 100%;
    padding: 12px;
    background: #f5c16c;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

.register-form button:hover {
    background: #e5ae54;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    text-align: left;
}

.contact-left p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contact-right iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}




/* Ends Here */


/*Footer Starts Here*/
.footer-new {
    background: #e6e6e6;
    padding: 25px 15px;
    font-size: 20px;
    color: #333;
}

.footer-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
}

.footer-row:last-child {
    border-bottom: none;
}

.icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-new a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-new a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.footer-copy {
text-align: center;
margin-top: 15px;
padding-top: 10px;
border-top: 1px solid #ccc;
font-size: 13px;
color: #bdb5b5;
}

.copyright-strip {
background: #222;
color: #ccc;
text-align: center;
padding: 12px 10px;
font-size: 13px;
width: 100%;
}

/* Footer Ends Here */

/* Mobile & iPad */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100px;
        right: 0;
        background: #FFF9C4;
        width: 100%;
        text-align: center;
    }

    .nav a {
        display: block;
        margin: 15px 0;
    }



    #menu-toggle:checked + .hamburger + .nav {
        display: block;
    }

    /* .slides img {
        height: 250px;
    } */

    .bake-grid {
        grid-template-columns: 1fr;
    }

    .order {
        grid-template-columns: 1fr;
    }

    .arrow {
        font-size: 22px;
        padding: 8px 12px;
    }

    .slider {
        height: 45vh; 
    }

    .register-form {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about {
    text-align:justify;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-right iframe {
        height: 250px;
    }
}
