/* Restaurant Opening Hours Widget Styles - Compact Footer Version */
.restaurant-hours-widget {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border-left: none;
}

.restaurant-hours-widget .status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.restaurant-hours-widget .status-open {
    background-color: #28a745;
    color: white;
}

.restaurant-hours-widget .status-closed {
    background-color: #dc3545;
    color: white;
}

.restaurant-hours-widget .weekly-schedule {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 8px;
    margin-top: 8px;
}

.restaurant-hours-widget .schedule-row {
    padding: 2px 0;
    border-bottom: none;
    font-size: 13px;
}

.restaurant-hours-widget .schedule-row:last-child {
    border-bottom: none;
}

.restaurant-hours-widget .schedule-row.today {
    background-color: rgba(212, 175, 55, 0.1);
    margin: 0 -5px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 3px;
}

.restaurant-hours-widget .day-name {
    min-width: 60px;
    font-size: 12px;
}

.restaurant-hours-widget .hours {
    font-size: 12px;
}

.restaurant-hours-widget .text-red {
    color: #dc3545;
}

.restaurant-hours-widget .fs-18 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
    color: white !important;
}

/* Compact status section */
.restaurant-hours-widget .d-flex.align-items-center.mb-15px {
    margin-bottom: 8px !important;
}

.restaurant-hours-widget .text-dark-gray.fs-14,
.restaurant-hours-widget .text-medium-gray.fs-14 {
    font-size: 11px !important;
}

/* Hide weekly schedule for ultra-compact version - only show today */
.restaurant-hours-widget.footer-compact .weekly-schedule {
    display: none;
}

/* Show only today's hours in footer */
.restaurant-hours-widget.footer-compact .current-hours-only {
    display: block;
    font-size: 12px;
    color: #e9ecef;
    margin-top: 4px;
}

/* Footer Logo Styles */
.footer-logo-container {
    text-align: center !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.footer-logo-link:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* Footer Logo Image Styles - 20% Larger (96px desktop, 72px mobile) */
.footer-logo-img,
footer .footer-logo-img,
footer.footer-dark .footer-logo-img {
    max-height: 96px !important;
    height: auto !important;
    width: auto !important;
    max-width: 360px !important;
    display: block !important;
    margin: 0 auto !important;
    transition: filter 0.3s ease, transform 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

footer.footer-dark .footer-logo-link:hover .footer-logo-img {
    filter: brightness(1.3) contrast(1.2);
    transform: scale(1.05);
}

/* Override responsive-img component styles for footer logo */
.footer-logo-img img,
.footer-logo-img picture img,
.footer-logo-img source,
.footer-logo-img picture source {
    max-height: 96px !important;
    height: auto !important;
    width: auto !important;
    max-width: 360px !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Ensure the responsive-img wrapper is centered */
.footer-logo-img {
    text-align: center !important;
    display: block !important;
}

/* Footer Logo Text Fallback Styles */
.footer-logo-text {
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
}

footer.footer-dark .footer-logo-text {
    color: white !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-align: center !important;
}

footer.footer-dark .footer-logo-link:hover .footer-logo-text {
    color: var(--primary-color, #d4af37) !important;
}

/* Legacy footer logo support (for backward compatibility) */
footer.footer-dark .footer-logo-link img {
    max-height: 96px !important;
    height: auto;
    filter: brightness(1.1) contrast(1.1);
    transition: filter 0.3s ease;
    margin: 0 auto !important;
    display: block !important;
}

footer.footer-dark .footer-logo-link:hover img {
    filter: brightness(1.3) contrast(1.2);
}

footer.footer-dark .footer-logo-link .text-dark-gray {
    color: white !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center !important;
}

footer.footer-dark .footer-logo-link:hover .text-dark-gray {
    color: var(--primary-color, #d4af37) !important;
}

/* Footer section headers - Make them white */
.footer-dark .fw-600,
.footer-dark .fw-700,
footer.footer-dark .fw-600,
footer.footer-dark .fw-700 {
    color: white !important;
}

/* Footer brand company name */
footer.footer-dark h5.fw-700 {
    color: white !important;
}

/* Footer Contact Info Styles */
.footer-contact-info .contact-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.footer-contact-info .contact-item i {
    font-size: 14px;
    width: 16px;
    flex-shrink: 0;
}

.footer-contact-info .contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info .contact-item a:hover {
    color: var(--primary-color, #d4af37) !important;
}

/* Footer Brand Section */
.letter-spacing-1px {
    letter-spacing: 1px;
}

.h-2px {
    height: 2px;
}

.bg-primary-color {
    background-color: var(--primary-color, #d4af37);
}

/* Override dark gray text in footer to be lighter */
footer.footer-dark .text-dark-gray {
    color: #e9ecef !important;
}

footer.footer-dark .text-medium-gray {
    color: #adb5bd !important;
}

/* Social Media Icons - Restaurant Style */
.elements-social ul.small-icon li a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    color: var(--primary-color, #d4af37);
    transition: all 0.3s ease;
}

.elements-social ul.small-icon li a:hover {
    background-color: var(--primary-color, #d4af37);
    color: white;
    transform: translateY(-2px);
}

/* Footer navigation links styling for dark footer */
footer.footer-dark ul li a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

footer.footer-dark ul li a:hover {
    color: var(--primary-color, #d4af37);
}

/* Responsive styles */
@media (max-width: 768px) {
    .restaurant-hours-widget {
        padding: 0;
    }
    
    .restaurant-hours-widget .schedule-row {
        font-size: 11px;
    }
    
    .restaurant-hours-widget .fs-18 {
        font-size: 14px !important;
    }
    
    .restaurant-hours-widget .day-name {
        min-width: 50px;
    }
    
    .footer-contact-info .contact-item {
        font-size: 13px;
    }
    
    /* Mobile footer logo - 20% larger (72px) */
    .footer-logo-img,
    footer .footer-logo-img,
    footer.footer-dark .footer-logo-img {
        max-height: 72px !important;
        max-width: 300px !important;
    }
    
    .footer-logo-img img,
    .footer-logo-img picture img,
    .footer-logo_img source,
    .footer-logo-img picture source {
        max-height: 72px !important;
        max-width: 300px !important;
    }
    
    .footer-logo-text,
    footer.footer-dark .footer-logo-link .text-dark-gray {
        font-size: 29px !important;
    }
}

/* Legacy footer logo styles for backward compatibility */
.footer-logo {
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(1);
}

@media (max-width: 768px) {
    .footer-logo {
        max-height: 72px !important;
    }
}