/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(90deg, #4a90e2, #0078d7);
    color: white;
    padding: 20px 0;
    position: static; /* ডিফল্ট হিসেবে স্থির থাকবে */
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
   display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.left-content {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 170px;
    margin-right: 20px;
    border-radius: 8px;
    border: 2px solid white;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.brand h1 {
    font-size: 2.2rem;
    margin: 0;
    color: white;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.brand .slogan {
    font-size: 1rem;
    color: #e0f7fa;
    margin-top: 5px;
    font-style: italic;
}

.contact-info {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: #f3f3f3;
    margin-left: 20px;
}

.right-content .cover-image {
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Navigation Bar */
nav {
    background-color: #333;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #4a90e2;
}


/* quantity Section */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px; /* Betteer space between elements */
}

.quantity-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.quantity-btn.decrease {
    background-color: #ff6b6b; /* Red for minus */
    color: white;
}

.quantity-btn.increase {
    background-color: #4caf50; /* Green for plus */
    color: white;
}

.quantity-btn:active {
    transform: scale(0.95); /* Button pressed effect */
}

.product-checkbox {
    margin-top: 10px;
}








/* Product Section */
.product-list {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 15px;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.product-name {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #333;
    font-weight: bold;
}

.product-price {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #0078d7;
}

/* Form Section */
.customer-info {
    background: #f9f9f9;
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.customer-info label {
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.customer-info input,
.customer-info textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.customer-info button {
    background: #4a90e2;
    color: white;
    font-size: 1rem;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.customer-info button:hover {
    background: #0078d7;
}







/* Styling the dropdown container */
#customer_location {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fdfdfd;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Hover and focus effects */
#customer_location:focus {
    border-color: #007bff;
    background-color: #f9f9f9;
    box-shadow: 0px 3px 8px rgba(0, 123, 255, 0.2);
    outline: none;
}

/* Adding custom arrow to dropdown */
#customer_location {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns%3D%22http://www.w3.org/2000/svg%22 width%3D%2220%22 height%3D%2220%22 viewBox%3D%220 0 20 20%22 fill%3D%22none%22%3E%3Cpath fill%3D%22%23007bff%22 d%3D%22M6 8l4 4 4-4%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

/* Adding transition for smooth interaction */
#customer_location:hover {
    background-color: #f3f3f3;
}



/* quantity Section */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center; /* Center the buttons */
}

.quantity-btn {
    width: 50px;
    height: 50px;
    font-size: 24px; /* Larger font size for better readability */
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
    transform: scale(1.1);
}

.quantity-btn.decrease {
    background-color: #ff6b6b; /* Red for minus */
    color: green;
}

.quantity-btn.increase {
    background-color: #4caf50; /* Green for plus */
    color: Red;
}

.quantity-btn:active {
    transform: scale(0.95); /* Button pressed effect */
}

.product-checkbox {
    margin-top: 10px;
    transform: scale(1.5); /* Scale the checkbox to make it bigger */
    display: inline-block;
}

.product-checkbox label {
    font-size: 16px; /* Optional: Increase label text size for better readability */
    margin-left: 5px;
}



/* Mobile responsive design */
@media (max-width: 768px) {
    
    
    .header-content {
         position: static;
        
    }

    .right-content .cover-image {
        max-width: 100%;
        margin-top: 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
    
     #customer_location {
        font-size: 14px;
        padding: 8px;
    }
    
    .quantity-btn {
        width: 60px; /* Increase width on mobile */
        height: 60px; /* Increase height on mobile */
        font-size: 28px; /* Larger font size for better mobile view */
    }

    /* Ensure that the colors remain consistent on mobile */
    .quantity-btn.decrease {
        background-color: #ff6b6b; /* Red for minus */
        color: white;
    }

    .quantity-btn.increase {
        background-color: #4caf50; /* Green for plus */
        color: white;
    }
    
      
    .product-checkbox {
        transform: scale(1.8); /* Make the checkbox slightly bigger for mobile */
    }

    .product-checkbox label {
        font-size: 18px; /* Increase label text size for mobile */
    }
    
    
}
