/*
 * Joy Concept — Footer Styles
 * Included within the main stylesheet via enqueue.php when needed.
 * For ZIP 1, added inline here for completeness.
 */

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.jc-footer {
    background-color: var(--jc-green);
    color:            rgba(255, 255, 255, 0.7);
    font-family:      var(--jc-sans);
}

.jc-footer__top {
    padding-block: var(--jc-sp-16) var(--jc-sp-12);
}

.jc-footer__grid {
    display:               grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap:                   clamp(2rem, 5vw, 4rem);
}

/* Brand column */
.jc-footer__logo      { display: block; text-decoration: none; margin-bottom: var(--jc-sp-3); }
.jc-footer__logo-name {
    font-family:  var(--jc-serif);
    font-size:    var(--jc-text-xl);
    font-weight:  300;
    color:        var(--jc-white);
}

.jc-footer__tagline {
    font-size:     var(--jc-text-sm);
    font-weight:   500;
    color:         var(--jc-gold-light);
    margin-bottom: var(--jc-sp-3);
    line-height:   var(--jc-lh-snug);
}

.jc-footer__desc {
    font-size:     var(--jc-text-sm);
    color:         rgba(255, 255, 255, 0.55);
    line-height:   var(--jc-lh-relaxed);
    max-width:     280px;
    margin-bottom: var(--jc-sp-3);
}

.jc-footer__founder {
    font-size:     var(--jc-text-xs);
    color:         rgba(255, 255, 255, 0.38);
    letter-spacing: var(--jc-ls-wide);
    margin-bottom: var(--jc-sp-5);
}

/* Social links */
.jc-footer__social {
    display:  flex;
    gap:      var(--jc-sp-3);
    flex-wrap: wrap;
}

.jc-footer__social-link {
    display:          flex;
    align-items:      center;
    justify-content:  center;
    width:            36px;
    height:           36px;
    border-radius:    50%;
    border:           1px solid rgba(255, 255, 255, 0.15);
    color:            rgba(255, 255, 255, 0.6);
    text-decoration:  none;
    transition:       border-color var(--jc-transition),
                      color var(--jc-transition),
                      background-color var(--jc-transition);
}

.jc-footer__social-link:hover {
    border-color:     var(--jc-gold);
    color:            var(--jc-gold-light);
    background-color: rgba(184, 134, 27, 0.1);
}

.jc-footer__social-link .jc-icon {
    width:  16px;
    height: 16px;
}

/* Nav columns */
.jc-footer__col-title {
    font-family:    var(--jc-sans);
    font-size:      var(--jc-text-xs);
    font-weight:    500;
    letter-spacing: var(--jc-ls-widest);
    text-transform: uppercase;
    color:          var(--jc-white);
    margin-bottom:  var(--jc-sp-5);
}

.jc-footer__links {
    list-style:     none;
    display:        flex;
    flex-direction: column;
    gap:            var(--jc-sp-3);
}

.jc-footer__links a {
    font-size:       var(--jc-text-sm);
    color:           rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition:      color var(--jc-transition);
    line-height:     1;
}

.jc-footer__links a:hover { color: var(--jc-white); }

/* Mini newsletter form */
.jc-footer__newsletter {
    margin-top: var(--jc-sp-6);
}

.jc-footer__newsletter-label {
    font-size:     var(--jc-text-xs);
    color:         rgba(255, 255, 255, 0.45);
    margin-bottom: var(--jc-sp-3);
    line-height:   1;
}

.jc-footer__form {
    flex-direction: column;
    gap:            var(--jc-sp-2);
}

.jc-footer__form .jc-input {
    background:   rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color:        var(--jc-white);
    font-size:    var(--jc-text-sm);
}

.jc-footer__form .jc-input::placeholder { color: rgba(255, 255, 255, 0.35); }

.jc-footer__form .jc-input:focus {
    border-color: var(--jc-gold);
    box-shadow:   0 0 0 3px rgba(184, 134, 27, 0.2);
}

/* Bottom bar */
.jc-footer__bottom {
    border-top:   1px solid rgba(255, 255, 255, 0.1);
    padding-block: var(--jc-sp-5);
}

.jc-footer__bottom-inner {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    gap:             var(--jc-sp-4);
    flex-wrap:       wrap;
}

.jc-footer__copyright {
    font-size: var(--jc-text-xs);
    color:     rgba(255, 255, 255, 0.35);
}

.jc-footer__legal {
    display:  flex;
    gap:      var(--jc-sp-3);
    flex-wrap: wrap;
    align-items: center;
}

.jc-footer__legal a {
    font-size:       var(--jc-text-xs);
    color:           rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition:      color var(--jc-transition);
}

.jc-footer__legal a:hover { color: rgba(255, 255, 255, 0.7); }

.jc-footer__legal span {
    color:     rgba(255, 255, 255, 0.2);
    font-size: var(--jc-text-xs);
}

/* Responsive */
@media (max-width: 960px) {
    .jc-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .jc-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .jc-footer__grid {
        grid-template-columns: 1fr;
    }

    .jc-footer__bottom-inner {
        flex-direction: column;
        align-items:    flex-start;
    }
}
