/* =====================================================
   SITE FOOTER - Matches reference image design
   4 columns: Brand | Links | Categories | Catalogue
   ===================================================== */

/* ── Colour tokens ── */
:root {
    --footer-bg:          #025b59;
    --footer-border:      #fff;
    --footer-text:        #fcfcfc;
    --footer-muted:       #fcfcfc;
    --footer-link:        #fcfcfc;
    --footer-link-hover:  #ffb237;   /* warm orange – matches VRTAJ brand accent */
    --footer-heading:     #fcfcfc;
    --footer-bottom-bg:   #025b59;
    --footer-accent:      #014c4b;
}

/* ── Wrapper ── */
.site-footer {
    font-family: inherit;
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text);
    font-size: 14px;
    line-height: 1.6;
}

/* ── Main section ── */
.footer-main {
    padding: 48px 0 32px;
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 8.6fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* ── Shared column ── */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Column headings ── */
.footer-col-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--footer-heading);
    margin: 0 0 14px 0;
    letter-spacing: 0.01em;
}

/* =======================
   COL 1 – Brand / Address
   ======================= */
.footer-col--brand {
    gap: 12px;
}

.footer-brand-link {
    display: inline-block;
    margin-bottom: 4px;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    display: block;
}

.footer-address {
    font-style: normal;
    color: var(--footer-muted);
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0;
}

.footer-contact-line {
    margin: 0;
    font-size: 13.5px;
    color: var(--footer-muted);
}

.footer-contact-line a {
    color: var(--footer-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-line a:hover {
    color: var(--footer-link-hover);
}

.footer-contact-line strong {
    color: var(--footer-heading);
    font-weight: 700;
}

/* Get direction link */
.footer-direction-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--footer-heading);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.footer-direction-link:hover {
    color: var(--footer-link-hover);
    
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1.5px solid #cccccc;
    border-radius: 50%;
    color: var(--footer-text);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    background: #fff;
    color: #014c4b;
}

.footer-social-icon:hover {
    background: #014c4b;
    border-color: var(--footer-link-hover);
    color: #fff;
    transform: translateY(-2px);
}

/* =======================
   COL 2 & 3 – Nav lists
   ======================= */
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list li a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    position: relative;
}

.footer-nav-list li a:hover {
    color: var(--footer-link-hover);
}

/* =======================
   COL 4 – Catalogue
   ======================= */
.footer-catalogue-card {
    display: inline-block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.14);
    text-decoration: none;
    max-width: 180px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-catalogue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.footer-catalogue-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.footer-catalogue-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(2, 91, 89, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    padding: 7px 6px;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

/* =======================
   FOOTER BOTTOM BAR
   ======================= */
.footer-bottom {
    background: var(--footer-bottom-bg);
    border-top: 1px solid var(--footer-border);
    padding: 14px 24px;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--footer-muted);
}

/* Partner logo (from footer-partner.css – kept compatible) */
.footer-partner {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    text-align: left;
}

.footer-partner-by {
    font-size: 12px;
    color: var(--footer-muted);
    margin: 0;
}

.footer-partner-logo {
    max-height: 28px;
    display: inline-block;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.footer-partner-logo:hover {
    opacity: 1;
}

/* =======================
   RESPONSIVE
   ======================= */

/* Tablet: 2-column grid (brand full-width, then 3 cols) */
@media (max-width: 960px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-col--brand {
        grid-column: 1 / -1; /* full width */
    }
}

/* Mobile: single column stack */
@media (max-width: 580px) {
    .footer-main {
        padding: 36px 0 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-col--brand {
        grid-column: auto;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-catalogue-card {
        max-width: 140px;
    }
}
