/* ================================================================
   SWEET OVEN BAKERY — FOOTER
   Design: Modern Luxury Minimal
   Palette: #3C2F27 | #D9A273 | #FAF7F2 | #FFFFFF
   ================================================================ */

/* ── 1. LAYOUT SYSTEM ─────────────────────────────────────────── */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding-top: 100px;
    background-color: #FAF7F2;
    font-family: "Quicksand", sans-serif;
}

main {
    flex: 1 0 auto;
}

/* ================================================================
   2. CTA BANNER (phía trên footer — compact, light, flush)
   ================================================================ */
.footer-cta {
    background-color: #FAF7F2;
    padding: 36px 0 0; /* padding-bottom 0 → sát footer */
    border-top: 1px solid rgba(60, 47, 39, 0.08);
}

.footer-cta .cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 40px;
    background-color: #FFFFFF;
    border: 1px solid rgba(217, 162, 115, 0.3);
    border-bottom: none;           /* merge visually into footer */
    border-radius: 14px 14px 0 0;  /* top corners only */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-text {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Small icon accent */
.cta-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(217, 162, 115, 0.12);
    border: 1px solid rgba(217, 162, 115, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon svg {
    width: 20px;
    height: 20px;
    stroke: #D9A273;
    fill: none;
    stroke-width: 1.8;
}

.cta-copy .cta-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D9A273;
    margin-bottom: 3px;
}

.cta-copy strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #3C2F27;
    line-height: 1.3;
}

.cta-copy span {
    font-size: 0.85rem;
    color: rgba(60, 47, 39, 0.55);
}

.cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background-color: #3C2F27;
    color: #FAF7F2;
    font-family: "Quicksand", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn svg {
    width: 14px;
    height: 14px;
    stroke: #FAF7F2;
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.cta-btn:hover {
    background-color: #D9A273;
    color: #3C2F27;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 162, 115, 0.3);
}

.cta-btn:hover svg {
    stroke: #3C2F27;
    transform: translateX(3px);
}

/* ================================================================
   3. FOOTER SHELL
   ================================================================ */
footer.footer {
    background-color: #3C2F27;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Grain texture */
footer.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.012) 2px,
            rgba(255, 255, 255, 0.012) 4px
    );
    pointer-events: none;
    z-index: 0;
}

/* Gradient top border */
footer.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(217, 162, 115, 0.4) 20%,
            rgba(217, 162, 115, 0.9) 50%,
            rgba(217, 162, 115, 0.4) 80%,
            transparent 100%
    );
}

footer.footer .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding-top: 64px;
    padding-bottom: 0;
}

/* ── Columns layout — no dividers, just generous gap ─────────── */
.footer-cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 0 56px;
    align-items: start;
}

/* ── Subtle column separator via left border on non-first cols ── */
.footer-col-contact,
.footer-col-hours {
    padding-left: 40px;
    border-left: 1px solid rgba(217, 162, 115, 0.1);
}

/* ================================================================
   4. BRAND COLUMN
   ================================================================ */
.footer-brand {
    padding-right: 16px;
}

.brand-wordmark .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    display: block;
}

.brand-wordmark .brand-tagline {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: #D9A273;
    text-transform: uppercase;
    margin-top: 5px;
    display: block;
}

.brand-desc {
    font-size: 0.9rem;
    line-height: 1.85;
    color: rgba(250, 247, 242, 0.58);
    margin: 22px 0 30px;
    max-width: 300px;
}

/* Social icons */
.social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(217, 162, 115, 0.08);
    border: 1px solid rgba(217, 162, 115, 0.18);
    color: rgba(250, 247, 242, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease,
    color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.social-links a:hover {
    color: #FFFFFF;
    transform: translateY(-4px);
    border-color: transparent;
}

.social-links a.facebook:hover {
    background-color: #1877F2;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
}

.social-links a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 6px 16px rgba(214, 36, 159, 0.35);
}

.social-links a.youtube:hover {
    background-color: #FF0000;
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.35);
}

.social-links a.tiktok:hover {
    background-color: #111;
    border: 1px solid rgba(254, 44, 85, 0.4);
    box-shadow: 0 6px 16px rgba(254, 44, 85, 0.3);
}

/* ================================================================
   5. SECTION HEADINGS
   ================================================================ */
.footer-section-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D9A273;
    margin-bottom: 22px;
    padding-bottom: 14px;
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 1.5px;
    background-color: #D9A273;
    border-radius: 2px;
}

/* ================================================================
   6. CONTACT LIST
   ================================================================ */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(217, 162, 115, 0.1);
    border: 1px solid rgba(217, 162, 115, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-icon-wrap i {
    color: #D9A273;
    font-size: 0.8rem;
}

.contact-text {
    font-size: 0.9rem;
    color: rgba(250, 247, 242, 0.72);
    line-height: 1.55;
}

/* ================================================================
   7. HOURS
   ================================================================ */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(217, 162, 115, 0.08);
    gap: 12px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-day {
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.5);
    font-weight: 500;
}

.hours-time {
    font-size: 0.85rem;
    color: #FAF7F2;
    font-weight: 600;
    text-align: right;
}

.hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.63rem;
    letter-spacing: 0.1em;
    background: rgba(217, 162, 115, 0.1);
    color: #D9A273;
    border: 1px solid rgba(217, 162, 115, 0.25);
    border-radius: 20px;
    padding: 4px 12px;
    margin-top: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

.hours-badge .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #6fcf7a;
    flex-shrink: 0;
}

/* ================================================================
   8. FOOTER BOTTOM BAR
   ================================================================ */
.footer-bottom {
    margin-top: 52px;
    padding: 20px 0;
    border-top: 1px solid rgba(217, 162, 115, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom .copyright {
    font-size: 0.8rem;
    color: rgba(250, 247, 242, 0.3);
    letter-spacing: 0.02em;
}

.footer-bottom .footer-legal {
    display: flex;
    gap: 20px;
}

.footer-bottom .footer-legal a {
    font-size: 0.78rem;
    color: rgba(250, 247, 242, 0.3);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-bottom .footer-legal a:hover {
    color: #D9A273;
}

/* ================================================================
   9. RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
    .footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .footer-brand .brand-desc {
        max-width: 100%;
    }

    .footer-col-contact,
    .footer-col-hours {
        padding-left: 0;
        border-left: none;
        padding-top: 20px;
        border-top: 1px solid rgba(217, 162, 115, 0.1);
    }

    .footer-cta .cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 22px 24px;
        gap: 16px;
        border-radius: 12px 12px 0 0;
    }

    .cta-text {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    footer.footer .container {
        padding-top: 48px;
    }

    .footer-cols {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
        text-align: center;
    }

    .footer-brand .brand-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col-contact,
    .footer-col-hours {
        text-align: center;
        padding-left: 0;
        border-left: none;
        padding-top: 24px;
        border-top: 1px solid rgba(217, 162, 115, 0.1);
    }

    .contact-list li {
        justify-content: center;
    }

    .hours-list li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .hours-badge {
        display: inline-flex;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 36px;
    }

    .footer-cta {
        padding: 40px 0;
    }

    .footer-cta .cta-inner {
        border-radius: 14px;
        padding: 36px 24px;
    }

    .cta-text h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hours-list li {
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }

    .hours-time {
        text-align: center;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}