/* MedLocker Footer Styles */

/* Font Face Declarations */
@font-face {
    font-family: 'Helvetica';
    src: url('../assets/font/Helvetica.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica';
    src: url('../assets/font/Helvetica-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica';
    src: url('../assets/font/Helvetica-Black Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Footer CSS Variables */
:root {
    --cta-orange: #FE5A13;
    --header-bg: #FFFAF5;
    --product-button: #FAD9C8;
    --font-color-1: #4B4B4B;
    --font-color-2: #000000;
    --grey: #FBFBFB;
    --white: #FFFFFF;
    --blue: #435EA2;
    --border-color: #e1e5e9;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --font-primary: 'Helvetica', sans-serif;
}

/* Main Footer */
.main-footer {
    background-color: var(--grey);
    padding: 50px 50px 10px 25px;
    font-family: var(--font-primary);
    margin: 40px 50px 40px 50px;
    border-radius: 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr 1fr 1fr;   
    gap: 40px;
    margin-bottom: 40px;
}

/* Company Info Section */
.company-info {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    display: block;
    transition: var(--transition);
}

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

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.company-description {
    color: var(--font-color-1);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.payment-item {
    display: flex;
    align-items: center;
}

.payment-logo {
    width: auto;
    object-fit: contain;
    filter: grayscale(0.2);
}


/* Individual payment logo heights */
.payment-item:nth-child(1) .payment-logo {
    height: 25px; /* ACH logo */
}

.payment-item:nth-child(2) .payment-logo {
    height: 25px; /* Mastercard logo */
}

.payment-item:nth-child(3) .payment-logo {
    height: 18px; /* VISA logo */
}

.payment-item:nth-child(4) .payment-logo {
    height: 40px; /* Zelle logo */
}

/* Footer Headings */
.footer-heading {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    color: #2D2E29;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--cta-orange);
}

/* Menu Links Section */
.menu-links {
    min-width: 200px;
}

.menu-columns {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 20px;
}

.menu-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-column li {
    margin-bottom: 12px;
}

.menu-column a {
    color: var(--font-color-1);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.menu-column a:hover {
    color: var(--cta-orange);
}

/* Operating Hours Section */
.operating-hours {
    min-width: 150px;
}

/* Care Experts Logo */
.care-experts-logo {
    margin: 15px 0 10px 0;
}

.care-experts-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Customer Support Text */
.customer-support-text {
    margin-bottom: 15px;
}

.support-label {
    margin: 0 0 3px 0;
    color: var(--font-color-1);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-primary);
}

.support-brand {
    margin: 0;
    color: var(--font-color-1);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-primary);
}

.hours-info p {
    margin: 0;
    color: var(--font-color-1);
    font-size: 0.9rem;
}

.days {
    font-weight: 700;
    margin-bottom: 5px;
}

.time {
    font-weight: 400;
}

/* Contact Info Section */
.contact-info {
    min-width: 200px;
}

.contact-details {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--font-color-1);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--cta-orange);
    width: 16px;
    text-align: center;
}

.contact-item span {
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #8D8D8B;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--cta-orange);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 16px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding: 20px 0;
}

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

.copyright {
    color: var(--font-color-1);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--font-color-1);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cta-orange);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-footer {
        padding: 40px 0 0;
        margin: 50px 50px 10px 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .company-info {
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .menu-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .menu-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .menu-links .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .operating-hours {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .operating-hours .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .care-experts-logo {
        display: flex;
        justify-content: center;
    }
    
    .customer-support-text {
        text-align: center;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 0;
        margin: 50px 50px 10px 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .company-info {
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .menu-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .menu-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .menu-links .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .operating-hours {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .operating-hours .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .care-experts-logo {
        display: flex;
        justify-content: center;
    }
    
    .customer-support-text {
        text-align: center;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 30px 0 0;
    }
    
    .footer-content {
        gap: 25px;
        text-align: center;
    }
    
    .footer-logo-img {
        height: 40px;
    }
    
    .payment-methods {
        gap: 10px;
        justify-content: center;
    }
    
    /* Individual payment logo heights for mobile */
    .payment-item:nth-child(1) .payment-logo {
        height: 20px; /* ACH logo */
    }

    .payment-item:nth-child(2) .payment-logo {
        height: 25px; /* Mastercard logo */
    }

    .payment-item:nth-child(3) .payment-logo {
        height: 25px; /* VISA logo */
    }

    .payment-item:nth-child(4) .payment-logo {
        height: 23px; /* Zelle logo */
    }
    
    .footer-heading {
        font-size: 0.9rem;
    }
    
    .menu-column a,
    .contact-item,
    .hours-info p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 20px;
    }
    
    .footer-links {
        gap: 15px;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-logo-img {
        height: 35px;
    }
    
    .care-experts-img {
        height: 35px;
    }
    
    .support-label,
    .support-brand {
        font-size: 0.8rem;
    }
    
    /* Center orange dividers on small mobile */
    .menu-links .footer-heading::after,
    .operating-hours .footer-heading::after,
    .contact-info .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
