:root {
    --bg-dark: #fbf9f5;
    --panel-bg: rgba(244, 239, 229, 0.95);
    --primary-gold: #9e7d43;
    --primary-gold-hover: #836127;
    --border-gold: rgba(166, 124, 59, 0.25);
    --text-light: #2c2722;
    --text-muted: #6e6459;
    --card-hover-bg: rgba(235, 227, 212, 0.98);
    --shadow-gold: 0 8px 32px 0 rgba(223, 184, 108, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 5% 15%, rgba(223, 184, 108, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 95% 85%, rgba(244, 239, 229, 0.7) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(166, 124, 59, 0.02) 0%, transparent 60%);
    background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scroll Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(251, 249, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    padding: 14px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 52px;
    display: flex;
    align-items: center;
}

.logo svg {
    height: 100%;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

nav a {
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    position: relative;
    padding: 6px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--primary-gold);
    transition: var(--transition);
}

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

nav a:hover {
    color: var(--primary-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #9e7d43, #836127);
    color: #fbf9f5;
    box-shadow: 0 4px 15px rgba(223, 184, 108, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-gold), #fff);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(223, 184, 108, 0.35);
}

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

.btn-outline:hover {
    background: var(--primary-gold);
    color: #fbf9f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(223, 184, 108, 0.2);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 10px;
    letter-spacing: 1.5px;
}

/* Mobile Menu Button */
#mobile-menu-button {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: none;
    padding: 8px;
}

#mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    padding: 180px 0 110px;
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--primary-gold);
    background: rgba(223, 184, 108, 0.04);
    border-radius: 50px;
    color: var(--primary-gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 28px;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #2c2722 30%, #9e7d43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    background: var(--panel-bg);
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-gold);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-cover: cover;
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

/* General Sections */
.section-padding {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header span {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--primary-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 38px;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--primary-gold);
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 620px;
    margin: 18px auto 0;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card {
    background: var(--panel-bg);
    border: 1px solid var(--border-gold);
    padding: 44px;
    border-radius: 4px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    background: var(--card-hover-bg);
    border-color: var(--primary-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
}

.card-icon {
    font-size: 32px;
    color: var(--primary-gold);
    margin-bottom: 24px;
    display: inline-block;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 28px;
    flex-grow: 1;
}

.card-link {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link span {
    transition: var(--transition);
}

.card:hover .card-link span {
    transform: translateX(6px);
}

/* Timeline / Process Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-number {
    position: absolute;
    top: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 12px;
    z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-number {
    right: -16px;
}

.timeline-item:nth-child(even) .timeline-number {
    left: -16px;
}

.timeline-content {
    background: var(--panel-bg);
    border: 1px solid var(--border-gold);
    padding: 28px;
    border-radius: 4px;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.timeline-content h3 {
    font-size: 18px;
    color: var(--primary-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Image Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.showcase-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    aspect-ratio: 4/5;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 14, 10, 0.95) 15%, rgba(6, 14, 10, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0.9;
    transition: var(--transition);
}

.showcase-item:hover .showcase-img {
    transform: scale(1.06);
}

.showcase-item:hover .showcase-overlay {
    background: linear-gradient(0deg, rgba(6, 14, 10, 0.98) 30%, rgba(6, 14, 10, 0.5) 100%);
}

.showcase-overlay h3 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.showcase-overlay p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Factory / Capacity Block */
.factory-showcase {
    background: linear-gradient(180deg, rgba(6, 14, 10, 0.8) 0%, rgba(6, 14, 10, 0.95) 100%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 100px 0;
}

.factory-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.factory-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.factory-content p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.stat-item {
    border-left: 2px solid var(--primary-gold);
    padding-left: 20px;
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Contact CTA Block */
.cta {
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(180deg, rgba(6, 14, 10, 0) 0%, rgba(223, 184, 108, 0.03) 100%);
}

.cta-box {
    max-width: 750px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.cta p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
    font-style: italic;
}

/* Zalo Float Buttons */
.fixed-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.widget-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    border: 2px solid var(--primary-gold);
    transition: var(--transition);
    background-color: var(--bg-dark);
}

.widget-btn:hover {
    transform: scale(1.1);
}

.widget-zalo {
    background-color: #0068ff;
    border-color: #fff;
}

.widget-btn img, .widget-btn span {
    width: 30px;
    height: 30px;
}

.widget-phone {
    background-color: var(--primary-gold);
    color: #fbf9f5;
    font-size: 20px;
    border-color: #fff;
}

/* FAQs */
.faqs {
    padding: 100px 0;
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--panel-bg);
    border: 1px solid var(--border-gold);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--primary-gold);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
footer {
    background: #f1ebd9;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 20px;
    max-width: 320px;
}

.footer-title {
    font-size: 14px;
    color: var(--primary-gold);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(223, 184, 108, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
}

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

/* Page Sub-layouts (Articles, Contact, Forms) */
.sub-page-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, rgba(6,14,10,0.85) 0%, rgba(6,14,10,0) 100%);
    border-bottom: 1px solid var(--border-gold);
}

.sub-page-hero h1 {
    font-size: 42px;
    margin-bottom: 16px;
}

.sub-page-hero p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.page-content-wrapper {
    padding: 80px 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--primary-gold);
}

.article-body h3 {
    font-size: 22px;
    margin: 32px 0 16px;
    color: var(--text-light);
}

.article-body p {
    color: #4a4136;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.article-body ul, .article-body ol {
    margin-bottom: 28px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 12px;
    color: #4a4136;
    font-size: 15px;
}

.article-img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border-gold);
    margin: 32px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-gold);
    padding: 48px;
    border-radius: 4px;
}

.contact-info-card h2 {
    font-size: 28px;
    margin-bottom: 24px;
}

.contact-info-list {
    margin-bottom: 40px;
}

.contact-info-item {
    margin-bottom: 24px;
}

.contact-info-item h3 {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 6px;
}

.contact-info-item p {
    color: var(--text-light);
    font-size: 15px;
}

.contact-form-wrapper {
    background: var(--panel-bg);
    border: 1px solid var(--border-gold);
    padding: 48px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    background: rgba(251, 249, 245, 0.8);
    border: 1px solid var(--border-gold);
    padding: 14px 20px;
    color: var(--text-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    border-radius: 2px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(223, 184, 108, 0.1);
}

/* Scent Table */
.scent-search-box {
    margin-bottom: 40px;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: var(--panel-bg);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
}

.scent-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.scent-table th, .scent-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-gold);
}

.scent-table th {
    color: var(--primary-gold);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(251, 249, 245, 0.5);
}

.scent-table tr:hover td {
    background: rgba(223, 184, 108, 0.02);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-grid, .factory-grid, .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
    .cards-grid, .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 38px !important; }
    h2 { font-size: 30px !important; }
    .hero { padding: 140px 0 80px; }
    .section-padding { padding: 80px 0; }
    .cards-grid, .showcase-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .timeline::before {
        left: 32px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 72px;
        padding-right: 0;
        text-align: left !important;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-number {
        left: 16px !important;
        right: auto !important;
    }
    #mobile-menu-button {
        display: block;
    }
    nav {
        display: none;
    }
    #mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(251, 249, 245, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-gold);
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        z-index: 999;
    }
    #mobile-menu.hidden {
        display: none;
    }
    #mobile-menu a {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--text-light);
        padding: 8px 0;
        display: block;
    }
    .footer-grid {
        text-align: center;
    }
    .footer-brand p {
        margin: 20px auto 0;
    }
}
