/* Tom's Chefskiss - Premium Styling */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(to bottom right, #050505, #121233);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional: creates a subtle parallax effect */
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Main Container */
.main-container {
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Header Section */
.hero-header {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://images.unsplash.com/photo-1623073284788-0d846f75e329);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4), rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.brand-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.brand-title h1 {
    font-size: 4rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 1rem;
}

.chefskiss-text {
    color: #fbbf24;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.crown-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.tagline p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    font-style: italic;
    margin: 0 0.5rem;
}

.star-icon {
    font-size: 1rem;
    color: #fbbf24;
}

/* Category Navigation */
.category-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
	font-size: 20px;
	font-style: italic;
    font-family: 'Playfair Display', serif;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
}

.category-btn.active .sparkle-icon {
    display: inline-block;
    animation: pulse 2s infinite;
}

.category-btn:not(.active) .sparkle-icon {
    display: none;
}

.category-icon {
    font-size: 1.25rem;
}

.sparkle-icon {
    font-size: 1rem;
}

/* Category Title */
.category-title {
    text-align: center;
    margin-bottom: 3rem;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.title-container h2 {
    font-size: 3rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0 1rem;
    font-family: 'Playfair Display', serif;
}

.title-icon {
    font-size: 2rem;
    color: #fbbf24;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.divider-line {
    width: 2rem;
    height: 2px;
    background-color: #fbbf24;
}

.divider-line-lg {
    width: 3rem;
    height: 2px;
    background-color: #fbbf24;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
    padding: 0 1rem;
}

/* Menu Item Card */
.menu-item {
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
	 -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(251, 191, 36, 0.1);
}

.menu-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(60%);
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #e0bbff, #d8b4f8, #fcbad3, #ff99cc);
    color: #000000;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.premium-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
    color: #C10366;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.menu-item-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.menu-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    flex-grow: 1;
}

.menu-item:hover h3 {
    color: #fbbf24;
}

.menu-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    min-height: 3rem;
}

.menu-item-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.add-to-order-btn {
    flex: 1;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #000000;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.25);
}

.add-to-order-btn:hover {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.nutrition-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nutrition-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(251, 191, 36, 0.5);
}

/* Order Summary Section */
.order-summary {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(17, 24, 39, 0.9));
}

.order-header {
    text-align: center;
    margin-bottom: 4rem;
}

.order-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.order-title h2 {
    font-size: 4rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 1rem;
}

.order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.order-card,
.order-details-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
	 -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.card-icon-wrapper {
    padding: 0.5rem;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-cart p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.empty-cart-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.order-item:hover {
    border-color: rgba(251, 191, 36, 0.3);
}

.order-item img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 8px;
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.order-item-info p {
    color: #fbbf24;
    font-weight: bold;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-btn {
    width: 2rem;
    height: 2rem;
    border: 1px solid;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.quantity-btn.minus {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.quantity-btn.plus {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.quantity-btn:hover {
    transform: scale(1.1);
}

.remove-btn {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.order-total {
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.total-label {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.total-amount {
    color: #fbbf24;
}

/* Order Form */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.order-btn {
    width: 100%;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #000000;
    border: none;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.25);
    margin-top: 1rem;
}

.order-btn:hover {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.order-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.required-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    border: 2px solid #f59e0b;
    border-radius: 50%;
    color: #000000;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
    animation: floatIn 0.5s ease-out;
}

.floating-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(251, 191, 36, 0.6);
}

.cart-count {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: #000000;
    color: #fbbf24;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid #fbbf24;
}

/* Nutrition Modal */
.nutrition-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.nutrition-modal.show {
    display: flex;
}

.modal-content {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h4 {
    color: #ffffff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.close-modal:hover {
    color: #ffffff;
}

.nutrition-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nutrition-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.nutrition-row span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

.nutrition-row .calories {
    color: #fbbf24;
    font-weight: 600;
}

.nutrition-row .protein {
    color: #10b981;
}

.nutrition-row .carbs {
    color: #3b82f6;
}

.nutrition-row .fat {
    color: #f97316;
}

.nutrition-row .fiber {
    color: #8b5cf6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .order-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .brand-title h1 {
        font-size: 2.5rem;
    }
    
    .category-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .category-btn {
        width: 200px;
        justify-content: center;
    }
    
    .title-container h2 {
        font-size: 2rem;
    }
    
    .order-title h2 {
        font-size: 2.5rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .main-container {
        padding: 0 0.5rem;
    }
    
    .hero-header {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .brand-title h1 {
        font-size: 2rem;
    }
    
    .order-card,
    .order-details-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}