/* Patel Traders - Main Stylesheet */

/* Global Styles */
:root {
    --primary-color: #4e73df;
    --secondary-color: #1cc88a;
    --dark-color: #5a5c69;
    --light-color: #f8f9fc;
    --danger-color: #e74a3b;
    --warning-color: #f6c23e;
    --info-color: #36b9cc;
}

body {
    font-family: 'Nunito', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #2e59d9;
}

/* Header & Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.dropdown-item:active {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../uploads/hero/hero.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 150px 0;
    margin-bottom: 40px;
    position: relative;
    background-position: center center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Categories Section */
.categories-section {
    padding: 40px 0;
    background-color: #f8f9fc;
}

.category-box {
    background-color: white;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.category-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 0.5rem 2rem 0 rgba(58, 59, 69, 0.2);
}

.category-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.category-box p {
    color: #6c757d;
    margin-bottom: 20px;
}

/* Featured Products */
.featured-products {
    padding: 40px 0;
    height: au ;
}

.product-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: auto;
    /* overflow: hidden; */
}

.product-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 0.5rem 2rem 0 rgba(58, 59, 69, 0.2);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-box:hover .product-image img {
    transform: scale(1.1);
}

.product-box h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0 10px;
}

.product-box .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-box .rating {
    color: var(--warning-color);
    margin-bottom: 15px;
}

/* Special Offers */
.special-offers {
    padding: 40px 0;
    background-color: #f8f9fc;
}

.offer-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    margin-bottom: 30px;
    height: 100%;
}

.offer-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-box:hover img {
    transform: scale(1.1);
}

.offer-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 15px 0 10px;
    padding: 0 15px;
}

.offer-box p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--danger-color);
    padding: 0 15px;
    margin-bottom: 15px;
}

/* Product Detail Page */
.product-detail-image {
    border-radius: 8px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: auto;
}

/* Shopping Cart */
.cart-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    max-width: 80px;
}

/* Checkout */
.checkout-form label {
    font-weight: 600;
}

/* Main CSS file for Patel Traders */

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
}

a {
    text-decoration: none;
    color: #0d6efd;
}

a:hover {
    color: #0a58ca;
}

/* Header Styles */
.site-header {
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #0d6efd;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: #0a58ca;
}

.search-form {
    width: 100%;
    position: relative;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    border-radius: 0 0 4px 4px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    border: 1px solid #dee2e6;
    border-top: none;
}

.search-result-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.header-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.icon-link {
    font-size: 20px;
    color: #495057;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-link:hover {
    color: #0d6efd;
    background-color: #e9ecef;
    transform: translateY(-2px);
}

/* Navigation Styles */
.navbar {
    padding: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    background-color: #212529;
    color: white;
    padding: 40px 0 20px;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
}

footer ul li a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .category-box, .product-box, .offer-box {
        margin-bottom: 20px;
    }

    .hero-section .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }

    .hero-section .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

.logo {
    font-size: 18px;
    font-weight: 700;
    color: #0d6efd;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: #0a58ca;
}
}

/* Category Banner */
.category-banner {
    padding: 40px 0;
    margin-bottom: 30px;
    background-color: #f8f9fc;
}

.category-banner h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.category-banner i {
    color: var(--primary-color);
}

/* Order Confirmation */
.order-confirmation i.fa-check-circle {
    color: var(--secondary-color);
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding-left: 0;
    margin-bottom: 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Print Styles */
@media print {
    header, footer, .breadcrumb, .btn {
        display: none !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.required {
  &:after {
    content: "*";
    color: red;
    padding-left: 0.2rem;
  }
}


.cart-icon {
    line-height: 1.85em !important;
}



.secondary-hero-btn {
    color: white;
    border-color: white;
}

.secondary-hero-btn:hover {
    border-color: transparent !important;
}
