/* Custom CSS for Nisha Home Foods */

/* Root Variables */
:root {
    --primary-color: #D2691E;
    --secondary-color: #8B4513;
    --accent-color: #FF6347;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #FFF8DC;
    --bg-white: #FFFFFF;
    --border-color: #E8E8E8;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Main Content Offset */
.main-content {
    margin-top: 80px; /* Account for fixed navbar */
}

/* Bootstrap Override */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.2rem;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.brand-tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FFF8DC 0%, #F5F5DC 100%);
    padding: 60px 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-content .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* Menu Styles */
.menu-header {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.menu-nav {
    padding: 1rem 0;
    z-index: 100;
}

.menu-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.category-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.menu-item-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.menu-item-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.menu-item-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item-card:hover .menu-item-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item-header {
    display: flex;
    justify-content: between;
    align-items: start;
    margin-bottom: 1rem;
}

.menu-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    flex: 1;
}

.menu-item-price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.menu-item-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 0;
}
    margin-left: 1rem;
}

.menu-item-actions {
    margin-top: auto;
}

/* Floating Order Button */
.floating-order-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-order-btn .btn {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
}

.order-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    padding-right: 2rem;
}

.about-stats {
    padding-left: 2rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Feature Cards */
.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Package Cards */
.package-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.package-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.package-header {
    background: var(--bg-light);
    padding: 2rem;
    text-align: center;
}

.package-content {
    padding: 2rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.package-price {
    text-align: center;
    padding: 1rem;
    border-top: 2px solid var(--border-color);
}

.package-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Step Cards */
.step-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Contact Styles */
.contact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-form-container {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.25);
}

.hours-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    height: 100%;
}

.hours-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.service-link-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.service-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
}

/* Product Category Cards */
.product-category-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.3rem 0;
    color: var(--text-light);
}

/* Mission Vision Cards */
.mission-card,
.vision-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Value Cards */
.value-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Team Cards */
.team-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Achievement Cards */
.achievement-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.achievement-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

/* Event Cards */
.event-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Size Cards */
.size-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.size-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Occasion Cards */
.occasion-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.occasion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .about-content,
    .about-stats {
        padding: 0;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .menu-categories {
        flex-direction: column;
        align-items: center;
    }

    .category-btn {
        width: 100%;
        max-width: 200px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .floating-order-btn {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .package-card.featured {
        transform: none;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-medium);
}

.rounded-custom {
    border-radius: 15px;
}

/* Print Styles */
@media print {
    .navbar,
    .floating-order-btn,
    .cta-section,
    .btn {
        display: none !important;
    }

    .main-content {
        margin-top: 0;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .service-card,
    .menu-item-card,
    .contact-card {
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
}

/* Custom Styles */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

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

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    height: 200px;
    background-color: #f8f9fa;
}

.product-card-body {
    background: white;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Product Detail Page */
.product-detail-header {
    background: #f8f9fa;
}

.product-image img,
.placeholder-image {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.variant-item {
    background: #f8f9fa;
    transition: background-color 0.3s ease;
}

.variant-item:hover {
    background: #e9ecef;
}

/* Cart and Order Styles */
.quantity-controls {
    display: flex;
    align-items: center;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
}

#cart-summary, #packaged-cart-summary {
    max-width: 300px;
}

.delivery-info, .shipping-info {
    border-left: 4px solid var(--primary-color);
}

/* Package Cards */
.package-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.package-card.featured {
    border-color: var(--primary-color);
    position: relative;
}

.package-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 20px;
    font-size: 0.8rem;
    border-radius: 0 0 10px 10px;
}

.package-card.custom {
    border-color: #6c757d;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.package-header {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
}

.package-content {
    padding: 20px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.package-features li:last-child {
    border-bottom: none;
}

/* Dynamic Form Fields */
.form-group {
    margin-bottom: 1rem;
}

/* Step Cards */
.step-card {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-3px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* Product Cards Enhancements */
.product-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

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

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    height: 200px;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #000;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.variants-section {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
}

/* Modal Enhancements */
.modal-dialog {
    margin: 1.75rem auto;
}

.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1.5rem;
}

/* Toast Notifications */
.toast {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
}

.toast-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #cart-summary, #packaged-cart-summary {
        position: fixed !important;
        bottom: 10px !important;
        right: 10px !important;
        left: 10px !important;
        max-width: none !important;
    }

    .package-card {
        margin-bottom: 20px;
    }

    .quantity-controls {
        flex-direction: column;
        gap: 5px;
    }
}

/* Add any additional custom styles here */