/* ============================================
   LUXURY THEME - PHÚC LỘC GIA
   Thiết kế sang trọng, tinh tế, tối giản
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    /* Colors - Tối giản và sang trọng */
    --color-primary: #2C1810;           /* Nâu đen sâu cho text chính */
    --color-secondary: #4a4a4a;         /* Xám đậm cho text phụ */
    --color-gold: #D4AF37;              /* Vàng gold - chỉ dùng cho điểm nhấn */
    --color-gold-light: #E5C158;        /* Vàng nhạt */
    --color-gold-pale: rgba(212, 175, 55, 0.1); /* Vàng rất nhạt cho background */
    
    --color-bg-white: #FAF9F6;          /* Nền chính - be rất nhạt */
    --color-bg-cream: #F2EBE3;          /* Kem/be nhạt cho khối nổi */
    --color-bg-light: #F8F6F3;          /* Xám kem nhạt */
    
    --color-border: rgba(212, 175, 55, 0.3); /* Border vàng mờ 30% */
    --color-border-light: rgba(212, 175, 55, 0.15); /* Border vàng rất mờ */
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Be Vietnam Pro', sans-serif;
    
    /* Spacing */
    --section-spacing: 120px;           /* Khoảng cách giữa các section */
    --content-spacing: 60px;            /* Khoảng cách trong content */
    
    /* Shadows - Tinh tế và nổi khối */
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.02);
    --shadow-medium: 0 20px 50px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 25px 60px rgba(0, 0, 0, 0.04);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-primary);
    background-color: var(--color-bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 0.03em;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: 0.025em;
}

h3 {
    font-size: 1.75rem;
    letter-spacing: 0.02em;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Chỉ highlight từ khóa quan trọng bằng gold */
.text-gold {
    color: var(--color-gold);
    font-weight: 600;
}

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: var(--color-gold);
    margin: var(--section-spacing) 0;
    opacity: 0.3;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* === HEADER === */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-subtle);
}

.header .logo {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.header .logo:hover {
    transform: translateY(-2px);
}

.header nav a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.header nav a:hover,
.header nav a.active {
    color: var(--color-gold);
}

.header nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.header nav a:hover::after {
    width: 100%;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(to bottom, var(--color-bg-cream), var(--color-bg-white));
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.5;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* === CARDS === */
.card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-medium);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-gold);
}

.card-title {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--color-secondary);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-outline:hover {
    background: var(--color-gold);
    color: white;
}

/* === ICONS === */
.icon {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* === GRID === */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* === PRODUCT CARDS === */
.product-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-medium);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-gold);
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.product-price {
    color: var(--color-gold);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

/* === FORMS === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-primary);
    background: var(--color-bg-white);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px var(--color-gold-pale);
}

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: var(--section-spacing);
    border-top: 1px solid var(--color-gold);
}

.footer h4 {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-gold);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(212, 175, 55, 0.3);
    margin: 2rem 0;
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.bg-cream {
    background-color: var(--color-bg-cream);
}

.bg-light {
    background-color: var(--color-bg-light);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* === SPECIAL ELEMENTS === */
.decorative-line {
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 1.5rem auto;
}

.quote {
    border-left: 3px solid var(--color-gold);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--color-secondary);
    margin: 2rem 0;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-gold-pale);
    color: var(--color-gold);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--color-border);
}

/* === PHONG THỦY BOX === */
.phongthuy-box {
    background: var(--color-bg-cream);
    padding: 3rem 2.5rem;
    border-radius: 40px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-border-light);
    margin: 2rem 0;
}

.phongthuy-box h2,
.phongthuy-box h3 {
    color: var(--color-primary);
}
