/*
Theme Name: Ecopark Hotel Child
Template: kadence
Version: 0.1.0
Description: Ecopark Luxury Hospitality child theme for Booking Ecopark.
License: GPL-2.0-or-later
*/

/*
 * Kadence owns global palette, typography, header and footer.
 * Never redeclare --global-palette* here. Component styling below consumes
 * Kadence tokens so client edits in the Customizer flow through automatically.
 */
body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.eco-header-hotline-wrapper {
    display: flex;
    align-items: center;
}

.eco-header-hotline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--global-palette3);
    text-decoration: none;
}

.eco-header-hotline-btn:hover,
.eco-header-hotline-btn:focus-visible {
    color: var(--global-palette1);
    background: var(--global-palette8);
}

.eco-header-hotline-btn:focus-visible {
    outline: 2px solid var(--global-palette1);
    outline-offset: 2px;
}

.eco-hotline-label {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    color: var(--global-palette5);
}

.eco-header-hotline-btn strong {
    display: block;
    font-size: 14px;
    line-height: 1.25;
}

.eco-footer-brand-widget h4,
.eco-footer-policy-widget h4,
.eco-footer-social-widget h4 {
    margin: 0 0 12px;
    color: var(--global-palette3);
    font-size: 16px;
    font-weight: 700;
}

.eco-footer-brand-widget p {
    margin: 0 0 8px;
    color: var(--global-palette5);
    font-size: 14px;
    line-height: 1.6;
}

.eco-footer-brand-widget a,
.eco-footer-policy-widget a,
.eco-footer-social-widget a {
    color: inherit;
    text-decoration: none;
}

.eco-footer-brand-widget a:hover,
.eco-footer-policy-widget a:hover,
.eco-footer-social-widget a:hover,
.eco-footer-brand-widget a:focus-visible,
.eco-footer-policy-widget a:focus-visible,
.eco-footer-social-widget a:focus-visible {
    color: var(--global-palette1);
}

.eco-footer-policy-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.eco-footer-policy-widget li + li {
    margin-top: 8px;
}

.eco-footer-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .eco-hotline-label {
        display: none;
    }

    .mobile-toggle-open-container .menu-toggle-open,
    #mobile-drawer .menu-toggle-close {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Planned navigation items remain visible without creating dead 404 links. */
.menu-item.eco-menu-pending > a { pointer-events: none; cursor: default; }


/* AG-09: client-controlled My Booking action beside Kadence hotline HTML item. */
.eco-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.eco-header-my-booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--global-palette7);
    border-radius: 10px;
    color: var(--global-palette3);
    background: var(--global-palette9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.eco-header-my-booking-btn:hover,
.eco-header-my-booking-btn:focus-visible {
    color: var(--global-palette1);
    border-color: var(--global-palette1);
    background: var(--global-palette8);
}

.eco-header-my-booking-btn:focus-visible {
    outline: 2px solid var(--global-palette1);
    outline-offset: 2px;
}

@media (max-width: 1024px) {
    .eco-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .eco-header-my-booking-btn,
    .eco-header-hotline-btn {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ==========================================================================
   CUSTOMER REFERENCE FOOTER (BE-GLB-02-FIX, Screenshot 2026-09-09 221203)
   4-Column Dark Navy Layout, Responsive, Zero Overflow
   ========================================================================== */
/* Kadence Site Footer Shell Integration */
#colophon.site-footer {
    background: #07203b !important;
    border-top: none;
    padding: 0;
    margin: 0;
}

#colophon.site-footer .site-footer-wrap {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.eco-reference-footer {
    background: #07203b !important;
    color: #cbd5e1 !important;
    font-family: inherit;
    padding: 56px 0 28px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.eco-reference-footer *,
.eco-reference-footer *::before,
.eco-reference-footer *::after {
    box-sizing: border-box;
}

.eco-footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.eco-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.15fr 1.1fr;
    gap: 48px 36px;
    align-items: start;
}

/* Common Footer Headings */
.eco-footer-heading {
    margin: 0 0 16px 0;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.eco-footer-subheading {
    margin: 0 0 12px 0;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

/* Link Lists */
.eco-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.eco-footer-links li {
    margin-bottom: 9px;
}

.eco-footer-links a {
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.5;
    transition: color 0.2s ease;
    display: inline-block;
}

.eco-footer-links a:hover,
.eco-footer-links a:focus-visible {
    color: #38bdf8 !important;
    text-decoration: underline;
}

.eco-footer-group + .eco-footer-group {
    margin-top: 28px;
}

/* Column 1: Brand & Contact & Payment Partners */
.eco-footer-brand-header {
    margin-bottom: 18px;
}

.eco-footer-text-logo {
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.eco-footer-text-logo .eco-footer-logo-accent {
    color: #38bdf8;
}

.eco-footer-text-logo .eco-footer-logo-domain {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.eco-footer-logo img {
    max-height: 48px;
    width: auto;
    display: block;
}

.eco-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 20px;
}

.eco-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #cbd5e1;
}

.eco-footer-contact-item .dashicons {
    color: #38bdf8;
    font-size: 17px;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
}

.eco-footer-contact-link {
    color: #cbd5e1 !important;
    text-decoration: none;
    transition: color 0.2s;
}

.eco-footer-contact-link:hover,
.eco-footer-contact-link:focus-visible {
    color: #38bdf8 !important;
}

/* BCT Badge */
.eco-footer-bct-wrap {
    margin-bottom: 22px;
}

.eco-footer-bct-badge {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.eco-footer-bct-badge:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.eco-bct-icon {
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Payment Partners Grid */
.eco-footer-payment-section {
    margin-top: 18px;
}

.eco-footer-payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    max-width: 270px;
}

/* Payment partner badge — canonical from CPT ecopark_pay_partner only */
.eco-pay-badge {
    background: #ffffff;
    border-radius: 4px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.eco-pay-badge img {
    max-height: 22px;
    width: auto;
    object-fit: contain;
}

/* R3-06: Removed legacy payment text/icon CSS classes that are no longer
 * used in production markup (payment rendered only from canonical CPT).
 * Classes removed: eco-pay-text variants (visa, jcb, amex, vietqr, napas,
 * vpbank, vib, vcb, onepay, mbb) and eco-pay-mc with sub-elements.
 */


/* Column 2: Social Stack */
.eco-footer-social-stack {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eco-footer-social-stack a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s, transform 0.2s;
}

.eco-footer-social-stack a:hover,
.eco-footer-social-stack a:focus-visible {
    color: #38bdf8 !important;
    transform: translateX(2px);
}

.eco-social-svg {
    flex-shrink: 0;
}

.eco-social-zalo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #0068ff;
    color: #ffffff;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
}

/* Column 3: Support CTA Box */
.eco-footer-support-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px;
}

.eco-footer-support-text {
    margin: 0 0 14px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #94a3b8;
}

.eco-footer-support-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eco-support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.eco-btn-phone {
    background: #10b981;
    color: #ffffff !important;
}

.eco-btn-phone:hover,
.eco-btn-phone:focus-visible {
    background: #059669;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.eco-btn-zalo {
    background: #0068ff;
    color: #ffffff !important;
}

.eco-btn-zalo:hover,
.eco-btn-zalo:focus-visible {
    background: #0054cc;
    box-shadow: 0 2px 8px rgba(0, 104, 255, 0.3);
}

.eco-btn-zalo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #ffffff;
    color: #0068ff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}

/* Column 4: Map Box */
.eco-footer-map-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
}

.eco-footer-map-iframe-wrap {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #0f172a;
}

.eco-footer-map-iframe-wrap iframe {
    display: block;
    width: 100%;
    border: none;
}

.eco-footer-map-placeholder {
    height: 100px;
    background: #0f172a;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 8px;
}

.eco-footer-map-placeholder .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #38bdf8;
}

.eco-footer-map-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #38bdf8 !important;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 0;
    transition: color 0.2s;
}

.eco-footer-map-action:hover,
.eco-footer-map-action:focus-visible {
    color: #7dd3fc !important;
    text-decoration: underline;
}

.eco-footer-map-action .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Bottom Legal Bar */
.eco-footer-bottom-bar {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12.5px;
    line-height: 1.8;
    color: #94a3b8;
}

.eco-footer-enterprise-details {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
}

.eco-footer-enterprise-details strong {
    color: #e2e8f0;
}

.eco-footer-enterprise-details .eco-sep {
    color: rgba(255, 255, 255, 0.2);
}

.eco-footer-copyright-text p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1024px, 768px, 390px)
   ========================================================================== */
@media (max-width: 1024px) {
    .eco-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
    }

    .eco-footer-bottom-bar {
        margin-top: 36px;
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .eco-reference-footer {
        padding: 40px 0 24px;
    }

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

    .eco-footer-payment-grid {
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
    }

    .eco-footer-enterprise-details {
        text-align: left;
        justify-content: flex-start;
        display: block;
        line-height: 1.7;
    }

    .eco-footer-enterprise-details .eco-sep {
        display: none;
    }

    .eco-footer-enterprise-details span {
        display: block;
        margin-bottom: 2px;
    }

    .eco-footer-copyright-text {
        text-align: left;
        margin-top: 12px;
    }
}

@media (max-width: 390px) {
    .eco-footer-container {
        padding: 0 16px;
    }

    .eco-footer-payment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

