/*
Theme Name: Hoàng Dương Healthcare
Theme URI: http://hoangduong.local
Author: Hoàng Dương Healthcare
Author URI: http://hoangduong.local
Description: Theme WordPress tùy chỉnh cho Hoàng Dương Healthcare - Đồng hành cùng sức khỏe người Việt
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hoang-duong
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* === Global Transparent Background ===
   Quy tắc kế thừa từ giao diện cũ: ép trong suốt mọi khối có nền.
   Đã loại trừ phần header/footer mới của Hoàng Dương (đánh dấu .hd-scope),
   nếu không toàn bộ nền Tailwind (bg-white, bg-navy-950...) sẽ bị xoá. */
section:not(.hd-scope):not(.hd-scope *),
.container:not(.hd-scope):not(.hd-scope *),
main#main:not(.hd-scope):not(.hd-scope *),
.site-content-wrapper:not(.hd-scope):not(.hd-scope *),
.bg-white:not(.hd-scope):not(.hd-scope *),
.bg-slate-50:not(.hd-scope):not(.hd-scope *),
[class*="bg-"]:not(.hd-scope):not(.hd-scope *) {
    background-color: transparent !important;
}

/* === Base Styles === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: transparent !important;
}

img {
    max-width: 100%;
    height: auto;
}

/* === Utility Classes === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* === Header === */
.site-header {
    background: transparent !important;
    box-shadow: none !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-branding {
    padding: 1rem 0;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

.site-description {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* === Navigation === */
.main-navigation {
    border-top: 1px solid #eee;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #d4a574;
}

/* === Main Content === */
.site-content {
    min-height: calc(100vh - 200px);
    background: transparent !important;
}

.content-area {
    padding: 2rem 0;
    background: transparent !important;
}

/* === Footer === */
.site-footer {
    background: transparent !important;
    color: #333;
    padding: 3rem 0;
    text-align: center;
}

.site-footer a {
    color: #d4a574;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* === Mobile Menu === */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation ul.active {
        display: flex;
    }
    
    .main-navigation a {
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
    }
}
