/* ========================================
   COASTAL FOOTER STYLES - Easy Maintenance
   ======================================== */

/* Brand Color Variables - Alles Brothers Furniture Company
   Primary: #ffffff (White) - Text, headings on dark background
   Secondary: #242833 (Dark Slate) - Background
*/
:root {
    --footer-text: #ffffff;
    --footer-text-light: #cccccc;
    --footer-heading: #ffffff;
    --footer-bg: #242833;
    --footer-bg-dark: #1a1a1a;
    --footer-link: #ffffff;
    --footer-link-hover: #E4E1D8;
    --footer-border: #333333;
    --footer-white: #ffffff;
}

/* ========================================
   FOOTER MAIN STYLES
   ======================================== */

/* Footer Background - Black theme */
.footer-area {
    background: var(--footer-bg, #242833) !important;
    border-top: 3px solid var(--footer-link-hover, #E4E1D8) !important;
    margin-top: auto !important;
}

/* Footer Section Spacing - Bootstrap Best Practices */
.footer__section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Center footer columns properly */
@media (min-width: 992px) {
    .footer__section {
        display: flex !important;
        flex-wrap: wrap !important;
    }
}

@media (min-width: 768px) {
    .footer__section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

.footer__section .single__footer {
    margin-bottom: 2.5rem !important;
}

@media (min-width: 768px) {
    .footer__section .single__footer {
        margin-bottom: 0 !important;
    }
}

/* Footer Titles - Consistent spacing */
.footer__title {
    margin-bottom: 1.25rem !important;
}

.footer__title h5 {
    font-size: 1.1rem !important;
    letter-spacing: 0.5px !important;
}

/* Footer Menu Spacing */
.footer__menu {
    line-height: 1.8 !important;
}

.footer__menu ul {
    padding-left: 0 !important;
}

/* All footer text - white for black background */
.footer-area,
.footer-area p,
.footer-area span,
.footer-area strong,
.footer-area div,
.footer-area h1,
.footer-area h2,
.footer-area h3,
.footer-area h4,
.footer-area h5,
.footer-area h6 {
    color: var(--footer-text, #ffffff) !important;
}

/* Footer Section Titles */
.footer__title h5,
.footer-item__title {
    color: var(--footer-heading, #ffffff) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

/* ========================================
   FOOTER LINKS
   ======================================== */

/* Footer Menu Lists */
.footer-menu__list,
.footer__menu ul,
.term-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-menu__item,
.footer__menu ul li {
    padding-bottom: 8px !important;
    margin: 0 !important;
}

.footer-menu__item:last-child,
.footer__menu ul li:last-child {
    padding-bottom: 0 !important;
}

/* All footer links - White with beige hover */
.footer-area a,
.footer-menu__link,
.footer-contact-menu__item {
    color: var(--footer-link, #ffffff) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-weight: 500 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    display: inline !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.footer-area a:hover,
.footer-menu__link:hover {
    color: var(--footer-link-hover, #E4E1D8) !important;
    text-decoration: underline !important;
    background: none !important;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.footer-contact p {
    margin-bottom: 0.5rem !important;
}

.footer-contact p:last-child {
    margin-bottom: 0 !important;
}

.footer-contact p,
.footer-contact strong {
    color: var(--footer-text, #ffffff) !important;
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--footer-link, #ffffff) !important;
    font-weight: 600 !important;
}

.footer-contact a:hover {
    color: var(--footer-link-hover, #E4E1D8) !important;
}

.footer-contact .whitelink {
    color: var(--footer-link, #ffffff) !important;
    text-decoration: none !important;
}

.footer-contact .whitelink:hover {
    color: var(--footer-link-hover, #E4E1D8) !important;
    text-decoration: underline !important;
}

/* ========================================
   BUSINESS HOURS - MODERN DESIGN
   ======================================== */

.business-hours-modern {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.business-hours-modern * {
    box-sizing: border-box;
}

.hours-title {
    color: var(--footer-heading, #ffffff) !important;
    font-size: 1rem;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    background: transparent;
    border: none;
    padding: 0;
}

.hours-title i {
    color: var(--footer-text, #ffffff) !important;
    font-size: 1.1rem;
}

.hours-list {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 300px;
    overflow: visible;
    transition: box-shadow 0.3s ease;
}

.hours-list:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hours-row {
    display: flex;
    align-items: center;
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    margin: 0;
    min-height: 26px;
    width: 100%;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.15s ease;
    cursor: default;
    background: transparent;
    z-index: 1;
}

.hours-row:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    transform: translateX(2px);
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-row:first-child {
    padding-top: 0;
}

.hours-day,
.footer-area .hours-day,
.business-hours-modern .hours-day,
.hours-list .hours-day {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.8rem;
    flex: 0 0 auto;
    width: 75px; /* Increased from 60px to accommodate "Mon – Sat" */
    text-align: left;
}

.hours-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    height: 1px;
    min-width: 6px;
}

.hours-time,
.footer-area .hours-time,
.business-hours-modern .hours-time,
.hours-list .hours-time {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 0.8rem;
    text-align: right;
    white-space: nowrap;
    flex: 0 0 auto;
    background: transparent;
    padding: 0;
    border: none;
    width: auto;
    min-width: 90px;
}

.hours-row.closed .hours-day,
.hours-row.closed .hours-time {
    opacity: 0.6;
    background: transparent;
}

.hours-row.closed .hours-time {
    color: #ffffff !important;
    font-style: italic;
    background: transparent;
    border: none;
    padding: 0;
}

/* Social Title */
.social-title {
    color: var(--footer-heading, #ffffff) !important;
    font-size: 1rem;
    font-weight: 700 !important;
    margin-bottom: 0.75rem;
}

/* Social Icons List */
.footer__social .socials-list {
    margin-top: 0.5rem;
}

/* Old pf-hours - Keep for backwards compatibility */
.pf-hours {
    border: 2px solid var(--footer-border, #333333) !important;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.pf-hours .row-line {
    color: var(--footer-text, #ffffff) !important;
    border-bottom: 1px solid var(--footer-border, #333333) !important;
}

.pf-hours .day,
.pf-hours .time {
    color: var(--footer-text, #ffffff) !important;
}

/* ========================================
   SOCIAL MEDIA ICONS
   ======================================== */

.footer__social {
    margin-top: 20px;
}

.footer__social .socials-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: flex-start !important;
}

.footer__social .social-item {
    margin: 0 !important;
}

.footer__social .social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 2px solid var(--footer-text, #ffffff) !important;
    color: var(--footer-text, #ffffff) !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-size: 16px !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.footer__social .social-link i {
    color: var(--footer-text, #ffffff) !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
}

.footer__social .social-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 3px 6px rgba(255, 255, 255, 0.2) !important;
}

/* Brand-specific hover colors */
.footer__social .social-link.facebook:hover {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
}

.footer__social .social-link.facebook:hover i {
    color: white !important;
}

.footer__social .social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: #E4405F !important;
}

.footer__social .social-link.instagram:hover i {
    color: white !important;
}

.footer__social .social-link.pinterest:hover {
    background: #E60023 !important;
    border-color: #E60023 !important;
}

.footer__social .social-link.pinterest:hover i {
    color: white !important;
}

.footer__social .social-link.twitter:hover {
    background: #1e3a5f !important;
    border-color: #1e3a5f !important;
}

.footer__social .social-link.twitter:hover i {
    color: white !important;
}

.footer__social .social-link.linkedin:hover {
    background: #0077B5 !important;
    border-color: #0077B5 !important;
}

.footer__social .social-link.linkedin:hover i {
    color: white !important;
}

.footer__social .social-link.yelp:hover {
    background: #D32323 !important;
    border-color: #D32323 !important;
}

.footer__social .social-link.yelp:hover i {
    color: white !important;
}

.footer__social .social-link.houzz:hover {
    background: #4DBC15 !important;
    border-color: #4DBC15 !important;
}

.footer__social .social-link.houzz:hover i {
    color: white !important;
}

.footer__social .social-link.youtube:hover {
    background: #FF0000 !important;
    border-color: #FF0000 !important;
}

.footer__social .social-link.youtube:hover i {
    color: white !important;
}

/* ========================================
   BOTTOM FOOTER
   ======================================== */

.bottom-footer {
    background-color: #242833;
    border-top: 2px solid rgba(255, 255, 255, 0.15) !important;
    padding: 1rem 0;
}

.bottom-footer,
.bottom-footer *,
.bottom-footer span,
.bottom-footer a {
    color: #ffffff !important;
}

.bottom-footer a {
    text-decoration: underline;
}

.bottom-footer a:hover {
    color: #E4E1D8 !important;
    opacity: 1;
}

/* ========================================
   LOGO STYLING
   ======================================== */

.footer-logo img {
    max-width: 180px;
    height: auto;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 0.8;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

/* --- Medium screens: ≤991px --- */
@media (max-width: 991px) {
    .footer-locations-col {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 12px !important;
        padding-top: 1.5rem !important;
        margin-top: 1rem;
    }

    .loc-inline-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem 1rem;
    }
}

/* --- Tablet: ≤767px --- */
@media (max-width: 767px) {
    /* Center all footer columns */
    .footer-area .text-start {
        text-align: center !important;
    }

    .footer__section .single__footer {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }

    .footer__menu ul,
    .footer__menu ul li,
    .footer__menu ul li a {
        text-align: center !important;
        padding-left: 0 !important;
    }

    .footer__title {
        text-align: center !important;
    }

    .footer__title h5 {
        text-align: center !important;
    }

    /* Locations column centered */
    .footer-locations-col {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 12px !important;
        padding-top: 1.5rem !important;
        margin-top: 0.5rem;
        text-align: center !important;
    }

    .loc-group-label {
        text-align: center !important;
    }

    .loc-inline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .loc-card {
        text-align: center !important;
        align-items: center;
    }

    .loc-card-header {
        justify-content: center;
    }

    .loc-dir-btn {
        align-self: center;
    }

    /* Info bar stacks vertically, centered */
    .footer-info-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info-left {
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-links {
        justify-content: center;
    }

    /* Social centered */
    .footer__social .socials-list {
        justify-content: center !important;
    }

    /* Business hours legacy */
    .hours-title,
    .social-title {
        justify-content: center !important;
        text-align: center !important;
    }

    .business-hours-modern {
        text-align: center !important;
    }

    .footer-logo {
        text-align: center !important;
    }
}

/* --- Phone: ≤576px --- */
@media (max-width: 576px) {
    .footer__section {
        padding-top: 2rem !important;
        padding-bottom: 1rem !important;
    }

    .footer__section .single__footer {
        margin-bottom: 1.75rem !important;
    }

    /* Full-width single column for About/Furniture/Brands */
    .footer__section .single__footer.col-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Locations: two cards per row on mobile */
    .loc-inline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .loc-card {
        padding: 0.7rem 0.75rem;
    }

    .loc-city {
        font-size: 0.82rem;
    }

    .loc-addr {
        font-size: 0.72rem;
    }

    .loc-detail-row {
        font-size: 0.7rem;
    }

    .loc-dir-btn {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    /* Social icons smaller */
    .footer__social .socials-list {
        gap: 6px !important;
    }

    .footer__social .social-link {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
    }

    /* Info bar compact */
    .footer-info-bar {
        padding: 1rem 0 1.25rem;
    }

    .footer-info-left .footer-logo img {
        max-width: 120px;
    }

    .footer-contact-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Hours legacy styles */
    .hours-list {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 260px !important;
        width: 260px !important;
        padding: 0.6rem !important;
    }

    .hours-row {
        padding: 0.3rem 0 !important;
        min-height: 24px !important;
    }

    .hours-day {
        width: 55px !important;
        font-size: 0.75rem !important;
    }

    .hours-dots {
        margin: 0 4px !important;
    }

    .hours-time {
        min-width: 75px !important;
        font-size: 0.75rem !important;
    }

    .pf-hours {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 260px !important;
    }
}

/* Medium screens - tablets */
@media (min-width: 577px) and (max-width: 768px) {
    .hours-list {
        max-width: 280px !important; /* Increased from 260px */
    }
    
    .hours-day {
        width: 65px !important; /* Increased from 55px for tablets */
        font-size: 0.78rem !important;
    }
    
    .hours-time {
        min-width: 85px !important;
        font-size: 0.78rem !important;
    }
    
    .footer__social .social-link {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }
}

/* Large screens */
@media (min-width: 769px) {
    .hours-list {
        max-width: 300px !important; /* Increased from 280px */
    }
}

/* ========================================
   OVERRIDES FOR DESCRIPTION TEXT
   ======================================== */

.footer-item__desc {
    color: var(--footer-text, #ffffff) !important;
}

/* ========================================
   PRINT STYLES (Optional)
   ======================================== */

@media print {
    .footer-area {
        background: white !important;
        border-top: 2px solid #1e3a5f !important;
        color: #1e3a5f !important;
    }
    
    .footer-area * {
        color: #1e3a5f !important;
    }
}

/* ========================================
   TRADING AREAS LIST - Single Column Layout
   ======================================== */

.trading-areas-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.trading-areas-list .term-item {
    padding-bottom: 8px !important;
}

.trading-areas-list .term-item:last-child {
    padding-bottom: 0 !important;
}

.trading-areas-list .term-item span {
    color: var(--footer-text, #ffffff) !important;
    font-weight: 500 !important;
}

/* Google Review Link in Footer */
.google-review-link {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.google-review-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ========================================
   FOOTER LOCATIONS COLUMN (Integrated)
   ======================================== */

.footer-locations-col {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem !important;
}

.loc-brand-group {
    margin-bottom: 0;
}

.loc-group-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1e3a5f !important;
    margin-bottom: 0.6rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.loc-inline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* --- Location Card --- */
.loc-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.loc-card:hover {
    border-color: rgba(30, 58, 95, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.loc-card-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.15rem;
}

.loc-pin {
    color: #1e3a5f;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.loc-city {
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.loc-addr {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.76rem;
    line-height: 1.4;
}

.loc-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.15rem;
}

.loc-detail-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.5) !important;
}

.loc-detail-row i {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.65rem;
    width: 12px;
    text-align: center;
    flex-shrink: 0;
}

.loc-detail-row a {
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 0.76rem;
}

.loc-detail-row a:hover {
    color: #E4E1D8 !important;
    text-decoration: underline !important;
}

.loc-dir-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #1e3a5f !important;
    text-decoration: none !important;
    margin-top: 0.35rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(30, 58, 95, 0.3);
    border-radius: 4px;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.loc-dir-btn:hover {
    background: rgba(30, 58, 95, 0.12);
    border-color: rgba(30, 58, 95, 0.6);
    color: #e04a42 !important;
}

.loc-dir-btn i {
    font-size: 0.65rem;
    color: inherit !important;
}

/* ========================================
   FOOTER INFO BAR (Logo + Contact + Social)
   ======================================== */

.footer-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-info-left .footer-logo img {
    max-width: 140px;
    height: auto;
}

.footer-contact-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-contact-links a {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.85rem;
    text-decoration: none !important;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.footer-contact-links a:hover {
    color: #fff !important;
}

.footer-contact-links a i {
    color: #1e3a5f !important;
    font-size: 0.75rem;
}

/* Info bar social icons — no extra margin */
.footer-info-bar .footer__social {
    margin-top: 0 !important;
}

.footer-info-bar .footer__social .socials-list {
    margin-top: 0 !important;
}


