/* Custom Footer Widget Styles */

.custom-footer {
    background: transparent; /* Let Elementor control background */
    color: #333333; /* Default text color - controllable via Elementor */
    padding: 60px 20px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

/* Footer Left - Logo & Contact */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-contact {
    line-height: 1.6;
}

.footer-contact .contact-info {
    margin: 15px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.footer-contact .contact-info:hover {
    transform: translateX(8px);
}

.footer-contact .contact-icon {
    font-size: 16px;
    width: 20px;
    color: #8B0000;
    flex-shrink: 0;
}

.footer-contact .address {
    margin: 0 0 5px 0;
    color: inherit;
}

.footer-contact .address-line2 {
    margin-left: 32px; /* Align with first line after icon */
}

.footer-contact .contact-info a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-contact .contact-info a:hover {
    color: #8B0000;
    transform: translateX(3px);
}

.footer-contact .contact-info a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #8B0000;
    transition: width 0.3s ease;
}

.footer-contact .contact-info a:hover::after {
    width: 100%;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #b8860b;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #daa520;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.social-icon.facebook:hover {
    background-color: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.yelp:hover {
    background-color: #ff1a1a;
}

/* Footer Right - Menus & Hours */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: bold;
    color: inherit;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 60px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-menu li:hover {
    transform: translateX(10px);
}

.footer-menu li::before {
    content: '▶';
    position: absolute;
    left: -20px;
    color: #8B0000;
    font-size: 12px;
    transition: all 0.3s ease;
    opacity: 0;
}

.footer-menu li:hover::before {
    left: -15px;
    opacity: 1;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu a {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    padding: 5px 0;
}

.footer-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 0;
    background-color: #8B0000;
    transition: width 0.4s ease;
}

.footer-menu a:hover::after {
    width: 100%;
}

.footer-menu a:hover {
    color: #8B0000;
    font-weight: 600;
}

/* Business Hours */
.footer-hours {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 10px;
    border-left: 4px solid #8B0000;
    transition: all 0.3s ease;
}

.footer-hours:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hours-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #8B0000;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-hours:hover .hours-icon {
    transform: rotate(360deg);
    background-color: #a50000;
}

.hours-text {
    flex: 1;
}

.hours-text p {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: inherit;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.footer-hours:hover .hours-text p {
    transform: translateX(5px);
}

.hours-text p:last-child {
    margin-bottom: 0;
}

/* Footer Bottom - Copyright */
.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 25px;
    margin-top: 40px;
    transition: border-color 0.3s ease;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: inherit;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    transform: translateY(-1px);
}

.footer-links .separator {
    opacity: 0.6;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #b8860b;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #daa520;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.social-icon.facebook:hover {
    background-color: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.yelp:hover {
    background-color: #ff1a1a;
}

/* Footer Right - Menus & Hours */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: block;
}

.footer-menu a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Business Hours */
.footer-hours {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 10px;
    border-left: 4px solid #8B0000;
}

.hours-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #8B0000;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
}

.hours-text {
    flex: 1;
}

.hours-text p {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.hours-text p:last-child {
    margin-bottom: 0;
}

/* Footer Bottom - Copyright */
.footer-bottom {
    border-top: 1px solid #444444;
    padding-top: 25px;
    margin-top: 40px;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #cccccc;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links .separator {
    color: #666666;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .footer-logo img {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .custom-footer {
        padding: 40px 15px 15px;
    }
    
    .footer-top {
        gap: 30px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-left {
        text-align: center;
        gap: 20px;
        align-items: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact .contact-info {
        justify-content: center;
    }
    
    .footer-contact .address-line2 {
        margin-left: 0;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-logo img {
        max-width: 160px;
    }
    
    .footer-hours {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hours-icon {
        align-self: center;
    }
    
    .footer-copyright {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .custom-footer {
        padding: 30px 10px 10px;
    }
    
    .footer-left {
        gap: 15px;
    }
    
    .footer-logo img {
        max-width: 140px;
    }
    
    .footer-contact .address,
    .footer-contact .contact-info {
        font-size: 14px;
    }
    
    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-menu a {
        font-size: 14px;
    }
    
    .footer-hours {
        padding: 20px;
    }
    
    .hours-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hours-text p {
        font-size: 14px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .footer-social {
        gap: 12px;
        justify-content: center;
    }
}

/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
    .custom-footer {
        background-color: #1a1a1a;
    }
    
    .footer-hours {
        background-color: rgba(255,255,255,0.08);
    }
    
    .footer-bottom {
        border-color: #333333;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .custom-footer {
        border-top: 2px solid #ffffff;
    }
    
    .footer-menu a,
    .footer-contact .contact-info a,
    .footer-links a {
        border-bottom: 1px solid transparent;
    }
    
    .footer-menu a:hover,
    .footer-contact .contact-info a:hover,
    .footer-links a:hover {
        border-color: #ffffff;
    }
    
    .social-icon {
        border: 2px solid #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .social-icon,
    .footer-menu a,
    .footer-contact .contact-info a,
    .footer-links a {
        transition: none !important;
    }
    
    .social-icon:hover {
        transform: none !important;
    }
    
    .footer-menu a:hover {
        padding-left: 0 !important;
    }
}

/* Print styles */
@media print {
    .custom-footer {
        background: none !important;
        color: #000000 !important;
        padding: 20px 0 !important;
    }
    
    .footer-social,
    .footer-links a {
        display: none !important;
    }
    
    .footer-contact .contact-info a {
        color: #000000 !important;
        text-decoration: underline !important;
    }
}

/* Animation utilities */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state */
.custom-footer.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility improvements */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus indicators */
.footer-menu a:focus,
.footer-contact .contact-info a:focus,
.footer-links a:focus,
.social-icon:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}