/* Tony's Hibachi - Luxury Theme Styles */

/* Bootstrap Overrides */
.btn {
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Custom Luxury Elements */
.luxury-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    margin: 3rem auto;
    width: 100px;
}

.luxury-border {
    border: 2px solid var(--gold-accent);
    border-radius: 15px;
}

.luxury-shadow {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.luxury-gradient-bg {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--primary-red) 100%);
}

.luxury-text-gradient {
    background: linear-gradient(135deg, var(--gold-accent), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Cards */
.luxury-card-enhanced {
    position: relative;
    overflow: hidden;
}

.luxury-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.1), transparent);
    transition: left 0.5s ease;
}

.luxury-card-enhanced:hover::before {
    left: 100%;
}

.luxury-card-enhanced .card-img-top {
    transition: transform 0.5s ease;
}

.luxury-card-enhanced:hover .card-img-top {
    transform: scale(1.1);
}

/* Premium Navigation Enhancements */
.luxury-navbar.scrolled {
    background: #000000 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 0.75rem 0;
    backdrop-filter: blur(25px);
}

/* Hero Section Enhancements */
.carousel-caption {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold-accent);
    border: 2px solid var(--warm-white);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--primary-red);
    transform: scale(1.2);
}

/* Menu Category Enhancements */
.menu-category-card {
    position: relative;
    overflow: hidden;
}

.menu-category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--primary-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-category-card:hover::after {
    transform: scaleX(1);
}

/* Signature Dishes Section */
.luxury-card-dark {
    position: relative;
}

.luxury-card-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 165, 116, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.luxury-card-dark:hover::before {
    transform: translateX(100%);
}

/* Button Enhancements */
.btn-luxury {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-luxury:hover::before {
    left: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--primary-red));
    border-radius: 2px;
}

.section-header .lead {
    color: var(--slate-gray);
    font-size: 1.1rem;
}

/* Quick Info Bar Enhancements */
.quick-info {
    position: relative;
    overflow: hidden;
}

.quick-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.quick-info .row > div {
    position: relative;
    z-index: 1;
}

/* Footer Enhancements */
footer {
    position: relative;
    overflow: hidden;
    background: #000000 !important;
    background: linear-gradient(to bottom, #000000, #000000) !important;
    background: black !important;
    background: rgb(0, 0, 0) !important;
    background: rgba(0, 0, 0, 1) !important;
}

/* Force all footer elements to be transparent */
footer * {
    background: transparent !important;
}

/* Ensure footer logo blends perfectly */
footer .navbar-brand {
    background: transparent !important;
}

footer .navbar-brand img {
    background: transparent !important;
    filter: brightness(1) contrast(1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold-accent);
    color: var(--charcoal) !important;
    transform: translateY(-3px) rotate(5deg);
}

/* Loading Animations */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(212, 165, 116, 0.3);
    border-top: 4px solid var(--gold-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Global link hover effects with gold underlines */
a:not(.btn):not(.nav-link):not(.navbar-brand) {
    transition: all 0.3s ease;
    position: relative;
}

a:not(.btn):not(.nav-link):not(.navbar-brand)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--luxury-gold);
    transition: width 0.3s ease;
}

a:not(.btn):not(.nav-link):not(.navbar-brand):hover::after {
    width: 100%;
}

a:not(.btn):not(.nav-link):not(.navbar-brand):hover {
    color: var(--luxury-gold) !important;
}

/* Button hover effects */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

/* Card hover effects */
.luxury-card {
    transition: all 0.3s ease;
}

.luxury-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.2);
}

/* Menu Styles */
.menu-content {
    margin-top: 0;
    min-height: 100vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

/* Ensure body allows scrolling */
body {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Fix navbar z-index */
.luxury-navbar {
    z-index: 1030 !important;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

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

.menu-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--gold-accent);
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.15);
}

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

.item-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--charcoal);
    flex: 1;
    margin-right: 1rem;
}

.item-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-red);
    white-space: nowrap;
}

.item-description {
    color: var(--slate-gray);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.spicy-indicator {
    color: #ff6b35;
    margin-left: 0.5rem;
}

.chef-special {
    position: relative;
    border-left-color: var(--jade-green);
}

.chef-special::before {
    content: '⭐ Chef Special';
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--jade-green);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

/* Text Effects */
.text-glow {
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.5);
}

.text-shadow-dark {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Border Effects */
.border-glow {
    border: 2px solid var(--gold-accent);
    box-shadow: 0 0 15px rgba(212, 165, 116, 0.5);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .section-header h2::after {
        width: 60px;
    }
    
    .luxury-card-enhanced::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .section-header {
        margin-bottom: 2rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .luxury-navbar,
    .carousel-controls,
    .btn {
        display: none !important;
    }
    
    .carousel-item {
        height: auto;
        page-break-inside: avoid;
    }
    
    .carousel-caption {
        position: static;
        background: none;
        color: black;
    }
}
