/* ==========================================================================
   Madras Spices - Custom Traditional South Indian Footer Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* Main Footer Container */
.madras-footer-wrap {
    position: relative;
    background-color: #610c02;
    background-image: url('../img/footer-bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    color: #f3ece4;
    font-family: 'Plus Jakarta Sans', 'Nunito', sans-serif;
    overflow: hidden;
}

/* Compact padding so all content fits gracefully above the bottom bar */
.madras-footer-main {
    position: relative;
    padding: 34px 0 18px 0;
    z-index: 2;
}

@media (max-width: 991px) {
    .madras-footer-wrap {
        background-position: center center;
    }
    .madras-footer-main {
        padding: 35px 0 20px 0;
        background: rgba(45, 6, 2, 0.82);
    }
}

/* Footer Typography & Titles */
.madras-footer-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.madras-gold-bar {
    width: 36px;
    height: 2px;
    background: #deb36b;
    margin-top: 6px;
    margin-bottom: 14px;
}

.madras-footer-text {
    font-size: 13.5px;
    line-height: 1.48;
    color: #e8ded4;
    margin-bottom: 14px;
}

/* Column Dividers (Desktop) */
@media (min-width: 1200px) {
    .footer-col-divider {
        border-right: 1px solid rgba(222, 179, 107, 0.22);
        padding-right: 24px;
    }
    .footer-col-pl {
        padding-left: 24px;
    }
}

/* Column 1 - Catering Block */
.madras-catering-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.madras-catering-box .catering-icon {
    width: 26px;
    height: 26px;
    color: #deb36b;
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}

.madras-catering-box .catering-info {
    font-size: 13.5px;
    line-height: 1.38;
}

.madras-catering-box .catering-info .catering-label {
    display: block;
    color: #f3ece4;
    font-weight: 500;
}

.madras-catering-box .catering-info .catering-days {
    display: block;
    color: #ffffff;
    font-weight: 600;
}

.madras-catering-box .catering-info .catering-note {
    display: block;
    color: #deb36b;
    font-style: italic;
    font-size: 12.5px;
    margin-top: 1px;
}

/* Social Icons */
.madras-follow-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.madras-social-links {
    display: flex;
    align-items: center;
    gap: 9px;
}

.madras-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(222, 179, 107, 0.65);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.madras-social-btn:hover {
    background: #deb36b;
    color: #241409;
    border-color: #deb36b;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(222, 179, 107, 0.35);
}

/* Column 2 - Explore Links */
.madras-explore-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.madras-explore-links li {
    margin-bottom: 9px;
}

.madras-explore-links a {
    color: #f0ece6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.madras-explore-links a .arrow-prefix {
    color: #deb36b;
    font-weight: 700;
    font-size: 13px;
    transition: transform 0.25s ease;
}

.madras-explore-links a:hover {
    color: #deb36b;
    transform: translateX(3px);
}

.madras-explore-links a:hover .arrow-prefix {
    transform: translateX(2px);
}

/* Column 3 - Center Brand */
.madras-brand-col {
    text-align: center;
}

.madras-brand-logo-wrap {
    margin-bottom: 8px;
}

.madras-brand-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
    transition: transform 0.35s ease;
}

.madras-brand-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .madras-brand-logo {
        width: 92px;
        height: 92px;
    }
}

.madras-brand-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1px 0;
    letter-spacing: 0.4px;
}

.madras-brand-tagline-script {
    color: #deb36b;
    font-family: 'Caveat', cursive;
    font-size: 18px;
    margin-bottom: 8px;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.madras-brand-tagline-script .script-line {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: rgba(222, 179, 107, 0.6);
}

.madras-brand-desc {
    font-size: 12px;
    line-height: 1.45;
    color: #e3d9cc;
    max-width: 440px;
    margin: 0 auto 10px auto;
}

.madras-contact-badges {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: 0 auto;
    text-align: left;
}

.madras-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.25s ease;
}

.madras-contact-item:hover {
    color: #deb36b;
    transform: translateY(-1px);
}

.madras-contact-item .contact-badge-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #deb36b;
    color: #5a0c06;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Column 4 - Order & Catering */
.madras-action-cards {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.madras-action-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    padding: 3px 0;
    transition: all 0.25s ease;
}

.madras-action-link .action-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #deb36b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #deb36b;
    font-size: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: transparent;
}

.madras-action-link .action-text .action-title {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    transition: color 0.25s ease;
}

.madras-action-link .action-text .action-sub {
    display: block;
    color: #cfc2b4;
    font-size: 11.5px;
    line-height: 1.25;
    margin-top: 1px;
}

.madras-action-link:hover .action-icon-circle {
    background: #deb36b;
    color: #5a0c06;
    border-color: #deb36b;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(222, 179, 107, 0.35);
}

.madras-action-link:hover .action-text .action-title {
    color: #deb36b;
}

.madras-quote-script {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    line-height: 1.1;
    color: #deb36b;
    font-weight: 700;
    text-align: right;
    margin-top: 10px;
    padding-right: 10px;
    transform: rotate(-3deg);
    letter-spacing: 0.3px;
}

.madras-quote-script .heart-symbol {
    font-size: 20px;
    display: inline-block;
    margin-left: 2px;
}

@media (max-width: 991px) {
    .madras-quote-script {
        text-align: left;
        margin-top: 10px;
        transform: none;
    }
}

/* Footer Bottom Bar */
.madras-footer-bottom {
    background: #241409;
    border-top: 1px solid rgba(222, 179, 107, 0.45);
    padding: 12px 0;
    font-size: 13px;
    color: #cbbba8;
    position: relative;
    z-index: 2;
}

.madras-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.madras-bottom-left {
    color: #d8cdbe;
}

.madras-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.madras-bottom-right a {
    color: #d8cdbe;
    text-decoration: none;
    transition: color 0.25s ease;
}

.madras-bottom-right a:hover {
    color: #deb36b;
}

.madras-bottom-right .sep {
    color: rgba(222, 179, 107, 0.5);
    font-size: 12px;
}

.madras-bottom-script {
    font-family: 'Caveat', cursive;
    font-size: 17px;
    color: #deb36b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 4px;
}

@media (max-width: 767px) {
    .madras-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .madras-bottom-right {
        justify-content: center;
    }
}

/* Food Hygiene Rating (FSA) Embed Badge */
.madras-fsa-badge-box {
    margin-top: 20px;
    width: 100%;
}

.fsa-rating-badge-wrapper {
    display: block;
    line-height: 1;
}

.fsa-rating-badge-wrapper a {
    display: block;
    line-height: 1;
    text-decoration: none;
}

.fsa-rating-badge-wrapper img {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 540px !important;
    height: auto !important;
    display: block;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fsa-rating-badge-wrapper a:hover img {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

@media (max-width: 767px) {
    .madras-fsa-badge-box {
        text-align: center;
    }
    .fsa-rating-badge-wrapper {
        display: inline-block;
    }
    .fsa-rating-badge-wrapper img {
        margin: 0 auto;
    }
}
