/*===========================================
  ADDA KITCHENS — Professional Footer CSS
  Brand color: #ff8d2f (orange)
===========================================*/

/* ---- CSS Variables ---- */
:root {
    --footer-bg:        #111827;
    --footer-bg-alt:    #1f2937;
    --footer-border:    rgba(255, 255, 255, 0.07);
    --footer-text:      #9ca3af;
    --footer-text-light:#d1d5db;
    --footer-heading:   #f9fafb;
    --footer-accent:    #ff8d2f;
    --footer-accent-2:  #ff6b00;
    --footer-radius:    12px;
    --footer-transition:0.3s ease;
}

/* =========================================
   BACK TO TOP BUTTON
========================================= */
.back-to-top-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 46px;
    height: 46px;
    background: var(--footer-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 141, 47, 0.4);
}
.back-to-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top-btn:hover {
    background: var(--footer-accent-2);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
    transform: translateY(-3px);
}

/* =========================================
   FOOTER BASE
========================================= */
.adda-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1;
}

/* =========================================
   NEWSLETTER STRIP
========================================= */
.footer-newsletter-strip {
    background: linear-gradient(135deg, #1a0a00 0%, #2d1500 50%, #1a0a00 100%);
    border-top: 3px solid var(--footer-accent);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}
.footer-newsletter-strip::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,141,47,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.footer-newsletter-strip::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,141,47,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-tag {
    display: inline-block;
    background: rgba(255,141,47,0.2);
    color: var(--footer-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,141,47,0.3);
    margin-bottom: 10px;
}
.newsletter-text h4 {
    color: var(--footer-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}
.newsletter-text p {
    color: var(--footer-text-light);
    font-size: 0.85rem;
    margin: 0;
}

.newsletter-form {
    width: 100%;
}
.newsletter-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    overflow: hidden;
    padding-left: 16px;
    transition: border-color var(--footer-transition), box-shadow var(--footer-transition);
}
.newsletter-input-wrap:focus-within {
    border-color: var(--footer-accent);
    box-shadow: 0 0 0 3px rgba(255,141,47,0.15);
}
.newsletter-icon {
    color: var(--footer-accent);
    font-size: 1rem;
    margin-right: 8px;
    flex-shrink: 0;
}
.newsletter-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--footer-heading);
    font-size: 0.875rem;
    padding: 14px 8px 14px 0;
    min-width: 0;
}
.newsletter-input-wrap input::placeholder { color: var(--footer-text); }
.newsletter-btn {
    background: var(--footer-accent);
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background var(--footer-transition);
    white-space: nowrap;
}
.newsletter-btn:hover { background: var(--footer-accent-2); }
.newsletter-note {
    font-size: 0.75rem;
    color: var(--footer-text);
    margin-top: 8px;
    padding-left: 4px;
}

/* =========================================
   FOOTER MAIN BODY
========================================= */
.footer-main-body {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--footer-border);
}

/* ---- Brand Column ---- */
.footer-brand-col { }
.footer-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 18px;
    filter: brightness(1.1);
    transition: opacity var(--footer-transition);
}
.footer-logo-link:hover .footer-logo { opacity: 0.85; }
.footer-brand-desc {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--footer-text);
    margin-bottom: 24px;
}

/* Social Icons */
.footer-social { margin-top: 4px; }
.footer-social-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--footer-text);
    margin-bottom: 12px;
}
.footer-social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon-btn {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    transition: transform var(--footer-transition), box-shadow var(--footer-transition);
    border: 1px solid rgba(255,255,255,0.1);
}
.social-icon-btn:hover {
    transform: translateY(-4px);
    color: #fff;
}
.social-icon-btn.facebook  { background: #1877f2; box-shadow: 0 2px 8px rgba(24,119,242,0.3); }
.social-icon-btn.instagram {
    background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
    box-shadow: 0 2px 8px rgba(220,39,67,0.3);
}
.social-icon-btn.youtube   { background: #ff0000; box-shadow: 0 2px 8px rgba(255,0,0,0.3); }
.social-icon-btn.whatsapp  { background: #25d366; box-shadow: 0 2px 8px rgba(37,211,102,0.3); }
.social-icon-btn.facebook:hover  { box-shadow: 0 6px 16px rgba(24,119,242,0.5); }
.social-icon-btn.instagram:hover { box-shadow: 0 6px 16px rgba(220,39,67,0.5); }
.social-icon-btn.youtube:hover   { box-shadow: 0 6px 16px rgba(255,0,0,0.5); }
.social-icon-btn.whatsapp:hover  { box-shadow: 0 6px 16px rgba(37,211,102,0.5); }

/* ---- Column Titles ---- */
.footer-col-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--footer-heading);
    margin-bottom: 20px;
}
.title-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.title-underline::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 35px; height: 3px;
    background: var(--footer-accent);
    border-radius: 3px;
}

/* ---- Quick Links ---- */
.footer-links-list {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-links-list li { margin-bottom: 10px; }
.footer-links-list li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--footer-transition), gap var(--footer-transition);
}
.footer-links-list li a i {
    color: var(--footer-accent);
    font-size: 1rem;
    transition: transform var(--footer-transition);
}
.footer-links-list li a:hover {
    color: var(--footer-accent);
    gap: 8px;
}
.footer-links-list li a:hover i { transform: translateX(3px); }

/* ---- Contact Column ---- */
.footer-contact-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.contact-icon-wrap {
    width: 38px; height: 38px;
    min-width: 38px;
    background: rgba(255,141,47,0.12);
    border: 1px solid rgba(255,141,47,0.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--footer-accent);
    font-size: 1rem;
    margin-top: 2px;
}
.contact-detail { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--footer-accent);
    margin-bottom: 2px;
}
.contact-detail a,
.contact-detail address {
    font-size: 0.82rem;
    color: var(--footer-text-light);
    text-decoration: none;
    font-style: normal;
    line-height: 1.6;
    display: block;
    transition: color var(--footer-transition);
}
.contact-detail a:hover { color: var(--footer-accent); }

/* ---- Business Hours Column ---- */
.footer-hours-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: border-color var(--footer-transition), background var(--footer-transition);
}
.hours-item:hover {
    background: rgba(255,141,47,0.05);
    border-left-color: var(--footer-accent);
}
.hours-day {
    font-size: 0.8rem;
    color: var(--footer-text-light);
    font-weight: 500;
}
.hours-time {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.hours-time.open    { background: rgba(34,197,94,0.15);  color: #4ade80; }
.hours-time.special { background: rgba(255,141,47,0.15); color: var(--footer-accent); }
.hours-time.closed  { background: rgba(239,68,68,0.15);  color: #f87171; }

/* Kitchen Status Badge */
.footer-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 7px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.status-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--footer-text-light);
}

/* WhatsApp Button */
.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--footer-transition), transform var(--footer-transition), box-shadow var(--footer-transition);
    box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.footer-whatsapp-btn i { font-size: 1.1rem; }
.footer-whatsapp-btn:hover {
    background: #1fa855;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.4);
}

/* =========================================
   GOOGLE MAPS SECTION
========================================= */
.footer-map-section {
    margin-top: 40px;
    border-top: 1px solid var(--footer-border);
    padding-top: 30px;
}
.footer-map-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.footer-map-header i {
    color: var(--footer-accent);
    font-size: 1.1rem;
}
.footer-map-header h6 {
    color: var(--footer-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}
.footer-map-embed {
    border-radius: var(--footer-radius);
    overflow: hidden;
    border: 1px solid var(--footer-border);
}
.footer-map-embed iframe {
    display: block;
    filter: brightness(0.85) saturate(0.9);
    transition: filter var(--footer-transition);
}
.footer-map-embed:hover iframe { filter: brightness(1) saturate(1); }

/* =========================================
   FOOTER BOTTOM BAR
========================================= */
.footer-bottom-bar {
    background: #0b1120;
    padding: 18px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copyright p,
.footer-developer-credit p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--footer-text);
}
.footer-copyright strong { color: var(--footer-accent); }
.footer-developer-credit a {
    color: var(--footer-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--footer-transition);
}
.footer-developer-credit a:hover { color: var(--footer-accent-2); }

.footer-policy-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-policy-links a {
    color: var(--footer-text);
    font-size: 0.78rem;
    text-decoration: none;
    transition: color var(--footer-transition);
}
.footer-policy-links a:hover { color: var(--footer-accent); }
.footer-policy-links .divider {
    color: var(--footer-border);
    font-size: 0.75rem;
}

/* ---- Spin animation for newsletter loader ---- */
.spin-icon { animation: spinAnim 0.8s linear infinite; display: inline-block; }
@keyframes spinAnim { to { transform: rotate(360deg); } }

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 991.98px) {
    .footer-main-body { padding: 50px 0 30px; }
    .footer-newsletter-strip { padding: 30px 0; }
    .newsletter-text { margin-bottom: 20px; }
    .newsletter-text h4 { font-size: 1.1rem; }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-policy-links { justify-content: center; }
}

@media (max-width: 767.98px) {
    .footer-main-body { padding: 40px 0 24px; }
    .footer-newsletter-strip { padding: 24px 0; }
    .newsletter-input-wrap { border-radius: 12px; padding: 0 0 0 14px; }
    .newsletter-btn { border-radius: 0 12px 12px 0; padding: 13px 18px; font-size: 0.8rem; }
    .newsletter-input-wrap input { padding: 13px 8px 13px 0; }
    .footer-hours-list { gap: 8px; }
    .footer-brand-col { text-align: center; }
    .footer-social-icons { justify-content: center; }
    .footer-logo { margin: 0 auto 16px; display: block; }
    .back-to-top-btn { bottom: 75px; right: 14px; width: 40px; height: 40px; }
    .footer-map-embed iframe { height: 160px; }
}

@media (max-width: 575.98px) {
    .footer-col-title { font-size: 0.95rem; }
    .footer-bottom-inner { gap: 8px; }
    .footer-copyright p, .footer-developer-credit p { font-size: 0.75rem; }
    .hours-item { flex-direction: column; align-items: flex-start; gap: 4px; }
    .footer-newsletter-strip::before,
    .footer-newsletter-strip::after { display: none; }
}
