/* ========================================================
   PHONG THỦY ĐỖ BẢO - HEADER & FOOTER STYLESHEET
   ======================================================== */

:root {
    --pt-primary: #8b0000;       /* Đỏ chu sa hoàng gia */
    --pt-primary-dark: #660000;  /* Đỏ sẫm */
    --pt-gold: #d4af37;          /* Vàng kim */
    --pt-gold-light: #f3e5ab;    /* Vàng nhạt */
    --pt-dark: #1e130c;          /* Nâu đen cổ điển */
    --pt-dark-card: #281910;     /* Thẻ chân trang */
    --pt-bg-warm: #fcf8f2;       /* Nền trang ấm áp */
}

/* Base Body adjustments */
body {
    background-color: var(--pt-bg-warm);
    color: #2d3748;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content-wrapper {
    flex: 1 0 auto;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 20px;
}

/* 1. TOP BAR */
.pt-topbar {
    background: linear-gradient(90deg, #5c0b0b 0%, #7d1010 50%, #5c0b0b 100%);
    color: #f7e6c4;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.pt-topbar a {
    color: #f7e6c4;
    text-decoration: none;
    transition: color 0.2s;
}

.pt-topbar a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 2. MAIN HEADER */
.pt-header {
    background: linear-gradient(180deg, #910000 0%, #7a0000 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--pt-gold);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.pt-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.pt-brand-logo:hover {
    text-decoration: none;
}

.pt-brand-logo img {
    height: 46px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.pt-brand-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.pt-brand-subtitle {
    font-size: 11px;
    color: var(--pt-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 600;
}

/* Navigation items */
.pt-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.pt-nav-item a {
    color: #fdf5e6;
    font-size: 15px;
    font-weight: 600;
    padding: 9px 13px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.pt-nav-item a:hover,
.pt-nav-item.active a {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 -2px 0 var(--pt-gold);
}

.pt-badge-hot {
    background: #e67e22;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Call to Action button */
.pt-btn-cta {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #4a0d0d !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.pt-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f1c40f 0%, #c69512 100%) !important;
    text-decoration: none;
}

/* Mobile Toggle Hamburger */
.pt-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.6);
    color: #fff;
    font-size: 20px;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
}

/* 3. FOOTER */
.pt-footer {
    background: linear-gradient(180deg, #24140a 0%, #170d06 100%);
    color: #d1c4b2;
    border-top: 3px solid var(--pt-gold);
    padding: 45px 0 0 0;
    margin-top: 35px;
    flex-shrink: 0;
}

.pt-footer-title {
    color: var(--pt-gold);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.pt-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--pt-gold);
}

.pt-footer p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.pt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.pt-footer-links a {
    color: #d1c4b2;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.pt-footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
    text-decoration: none;
}

.pt-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pt-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.pt-contact-icon {
    color: var(--pt-gold);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pt-footer-bottom {
    background: #0f0804;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 16px 0;
    margin-top: 35px;
    text-align: center;
    font-size: 13px;
    color: #9c8e7c;
}

/* Responsive */
@media screen and (max-width: 991px) {
    .pt-menu-toggle {
        display: block;
    }

    .pt-nav-collapse {
        display: none;
        width: 100%;
        background: #6e0000;
        padding: 15px 12px;
        border-top: 1px solid rgba(212, 175, 55, 0.3);
    }

    .pt-nav-collapse.show {
        display: block;
    }

    .pt-nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        width: 100%;
    }

    .pt-nav-item {
        width: 100%;
    }

    .pt-nav-item a {
        width: 100%;
        padding: 10px 12px;
        box-sizing: border-box;
    }

    .pt-header-right {
        margin-top: 12px;
        width: 100%;
    }

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