/* FCMP Client Base Stylesheet */

:root {
    --primary-color: #ff4757;
    --primary-hover: #ff6b81;
    --bg-dark: #0a0715;
    --panel-dark: #120e24;
    --panel-border: rgba(255, 255, 255, 0.07);
    --text-light: #f8f9fa;
    --text-muted: #a0aec0;
    --theme-font: 'Outfit', sans-serif;
    --theme-radius: 16px;
    --primary-gradient: linear-gradient(135deg, #ff416c, #ff4b2b);
}

body {
    font-family: var(--theme-font);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

.min-height-100vh {
    min-height: 100vh;
}

/* Glassmorphism Navigation Bar */
.navbar-glass {
    background: rgba(10, 7, 21, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--panel-border);
    transition: all 0.3s;
}

.navbar-brand {
    color: var(--text-light) !important;
}

.navbar-brand .brand-icon {
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

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

.nav-link:hover, .nav-link.active {
    color: var(--text-light) !important;
}

/* Theme buttons and triggers */
.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--theme-radius);
    box-shadow: 0 4px 15px rgba(255,75,43,0.3);
    transition: all 0.3s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,75,43,0.5);
    color: #ffffff;
}

.btn-cart {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--panel-border);
    color: var(--text-light);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-cart:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Product Cards Grid and details */
.product-card {
    background: var(--panel-dark);
    border: 1px solid var(--panel-border);
    border-radius: var(--theme-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.product-img-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: #0f0b20;
}

.product-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-gradient);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.product-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.product-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Forms and checkouts styling */
.form-select, .form-control {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--panel-border);
    color: #ffffff;
}

.form-select option {
    background-color: #120e24;
    color: #fff;
}

.card-checkout {
    background: var(--panel-dark);
    border: 1px solid var(--panel-border);
    border-radius: var(--theme-radius);
    padding: 30px;
}

/* Micro-animations and highlights */
.food-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    color: var(--text-muted);
    margin-right: 8px;
    margin-bottom: 8px;
}

.food-tag-veg {
    border-color: rgba(57, 224, 155, 0.3);
    color: #39e09b;
}

.food-tag-allergen {
    border-color: rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

/* Custom Alert styling */
.alert {
    border-radius: var(--theme-radius);
}

/* Wishlist star button */
.btn-wishlist-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.btn-wishlist-toggle:hover, .btn-wishlist-toggle.active {
    background: #ffffff;
    color: #ff4757;
}
