/*
Theme Name: HEXXXA
Theme URI: https://hexxxa.com/
Author: NeoPixel s.r.o.
Author URI: https://neopixel.sk/
Description: Custom theme for HEXXXA Synergy (hexxxa.com): header, footer, homepage, product, cart, checkout, blog and content pages without page builders.
Version: 2.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hexxxa
*/

/* ===================================================================================
   HEXXXA FOOTER STYLES
====================================================================================== */

:root {
    --hexxxa-gold: #C8A882;
    --hexxxa-gold-dark: #b8986f;
    --hexxxa-brown: #8B7355;
    --hexxxa-brown-dark: #6b5a45;
    --hexxxa-cream: #f8f6f0;
    --hexxxa-dark: #2c2c2c;
    --hexxxa-white: #ffffff;
    --hexxxa-gray: #6b7280;
    --hexxxa-light-gray: #e5e7eb;
}

/* Newsletter Section - temporarily hidden */
.hexxxa-newsletter-section {
    display: none !important;
}

.hexxxa-newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hexxxa-newsletter-content {
    flex: 1;
    min-width: 300px;
}

.hexxxa-newsletter-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 10px 0;
    text-transform: none;
    letter-spacing: 0;
    opacity: 1 !important;
}

.hexxxa-newsletter-text {
    font-size: 16px;
    color: #ffffff !important;
    margin: 0;
    opacity: 0.9 !important;
}

.hexxxa-newsletter-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.hexxxa-newsletter-form .tnp-field {
    margin-bottom: 10px;
}

.hexxxa-newsletter-form label,
.hexxxa-newsletter-form .tnp-field label,
.hexxxa-newsletter-form .tnp-privacy-field,
.hexxxa-newsletter-form .tnp-privacy-field label {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

.hexxxa-newsletter-form .tnp-field input[type="email"],
.hexxxa-newsletter-form .tnp-field input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.15);
    color: var(--hexxxa-white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.hexxxa-newsletter-form .tnp-field input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.hexxxa-newsletter-form .tnp-field input:focus {
    outline: none;
    border-color: var(--hexxxa-white);
    background: rgba(255, 255, 255, 0.25);
}

.hexxxa-newsletter-form .tnp-submit,
.hexxxa-newsletter-form input[type="submit"] {
    width: 100%;
    padding: 14px 30px;
    background: var(--hexxxa-white);
    color: var(--hexxxa-brown);
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hexxxa-newsletter-form .tnp-submit:hover,
.hexxxa-newsletter-form input[type="submit"]:hover {
    background: var(--hexxxa-cream);
    transform: translateY(-2px);
}

/* Footer font override - parent theme uses decorative fonts */
.hexxxa-footer,
.hexxxa-footer * {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-style: normal;
}

/* Main Footer */
.hexxxa-footer-main {
    background: var(--hexxxa-dark);
    padding: 60px 0 40px;
}

.hexxxa-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.hexxxa-footer-col {
    color: var(--hexxxa-white);
}

.hexxxa-footer-logo {
    margin-bottom: 20px;
}

.hexxxa-footer-logo img,
.hexxxa-footer-logo .custom-logo {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hexxxa-logo-img {
    max-height: 50px;
    width: auto;
}

.hexxxa-footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.hexxxa-footer-social {
    display: flex;
    gap: 12px;
}

.hexxxa-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--hexxxa-white);
    transition: all 0.3s ease;
}

.hexxxa-footer-social a:hover {
    background: var(--hexxxa-gold);
    transform: translateY(-3px);
}

.hexxxa-footer-social svg {
    width: 20px;
    height: 20px;
}

.hexxxa-footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--hexxxa-white);
    margin: 0 0 25px 0;
    position: relative;
    padding-bottom: 12px;
}

.hexxxa-footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--hexxxa-gold);
}

.hexxxa-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hexxxa-footer-links li {
    margin-bottom: 12px;
}

.hexxxa-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.hexxxa-footer-links a:hover {
    color: var(--hexxxa-gold);
    padding-left: 5px;
}

.hexxxa-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hexxxa-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hexxxa-footer-contact li svg {
    flex-shrink: 0;
    color: var(--hexxxa-gold);
    margin-top: 2px;
}

.hexxxa-footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hexxxa-footer-contact a:hover {
    color: var(--hexxxa-gold);
}

/* Trust Badges */
.hexxxa-trust-badges {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hexxxa-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.hexxxa-trust-badge svg {
    color: var(--hexxxa-gold);
}

/* Payment Methods */
.hexxxa-footer-payments {
    background: #1f1f1f;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hexxxa-payments-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hexxxa-payments-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.hexxxa-payment-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Uniform white tiles, sharp corners (brand rule). Logos = official marks with their
   plates removed and cropped to the logo (assets/img/payments/*.svg). */
.hexxxa-payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 40px;
    padding: 8px 10px;
    background: #ffffff;
    box-sizing: border-box;
}

.hexxxa-payment-icon img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.hexxxa-payment-icon--text {
    width: auto;
    gap: 6px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #2c2c2c;
    white-space: nowrap;
}

.hexxxa-payment-icon--text svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #2c2c2c;
    stroke-width: 1.6;
    stroke-linejoin: round;
}

/* Bottom Footer */
.hexxxa-footer-bottom {
    background: #1a1a1a;
    padding: 25px 0;
}

.hexxxa-footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.hexxxa-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.hexxxa-copyright p {
    margin: 0 0 5px 0;
}

.hexxxa-copyright strong {
    color: var(--hexxxa-white);
}

.hexxxa-company-info {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

.hexxxa-footer-bottom-links {
    display: flex;
    gap: 25px;
}

.hexxxa-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.hexxxa-footer-bottom-links a:hover {
    color: var(--hexxxa-gold);
}

/* Container */
.hexxxa-footer .hexxxa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hexxxa-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hexxxa-newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hexxxa-newsletter-title {
        font-size: 22px;
    }

    .hexxxa-newsletter-form {
        max-width: 100%;
    }

    .hexxxa-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hexxxa-footer-col {
        text-align: center;
    }

    .hexxxa-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hexxxa-footer-social {
        justify-content: center;
    }

    .hexxxa-footer-contact li {
        justify-content: center;
    }

    .hexxxa-trust-badges {
        align-items: center;
    }

    .hexxxa-footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .hexxxa-copyright {
        order: 2;
    }

    .hexxxa-footer-bottom-links {
        order: 1;
    }
}

@media (max-width: 480px) {
    .hexxxa-newsletter-section {
        padding: 35px 0;
    }

    .hexxxa-newsletter-title {
        font-size: 20px;
    }

    .hexxxa-footer-main {
        padding: 40px 0 30px;
    }

    .hexxxa-payment-icons {
        justify-content: center;
    }
}
