/* --- Fonts --- */
@font-face {
    font-family: 'Bookman';
    src: url('../fonts/bookmand.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Constantia';
    src: url('../fonts/constanb.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Sitka';
    src: url('../fonts/SitkaVF.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-Gilroy Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-Gilroy Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-Gilroy SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-Gilroy Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

:root {
    --primary-color: #0C5457; /* Deep teal/green */
    --gold-color: #603913;    /* Gold/Brown for titles and accents */
    --text-color: #333333;
    --text-gray: #666666;
    --white: #ffffff;
    --bg-gray: #F7F9F8;
    
    --font-constantia: 'Constantia', serif;
    --font-bookman: 'Bookman', serif;
    --font-sitka: 'Sitka', serif;
    
    --font-serif: var(--font-sitka); /* Default serif font */
    --font-sans: 'SVN-Gilroy', 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none !important;
    outline: none !important;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover, a:focus, a:active {
    text-decoration: none !important;
    outline: none !important;
    color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    margin-top: 0;
}

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

/* --- Base & Utility Classes --- */
ul, li {
    list-style-type: none;
}
img {
    max-width: 100%;
    width: auto;
    vertical-align: middle;
    height: auto;
    object-fit: cover;
    object-position: center;
}
.d-flex {
    display: flex;
}
.d-grid {
    display: grid;
}

/* --- Header Top --- */
#header-top { 
    background: var(--primary-color); 
    color: var(--white); 
    padding: 10px 0; 
    font-size: 14px; 
    font-family: var(--font-sans);
    font-weight: 600;
}
.header-top-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.header-contact i { margin-right: 8px; font-size: 14px; }
.header-contact span { margin-right: 25px; }
.header-lang ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    gap: 15px; 
}
.header-lang ul li a { 
    color: var(--white); 
    text-decoration: none; 
    text-transform: uppercase; 
}
.header-lang ul li.current-lang a { 
    font-weight: bold; 
}

/* --- Main Header --- */
#header {
    background-color: var(--white);
    color: var(--text-color);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo img {
    max-height: 90px;
}
.header-menu .menu {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}
.header-menu .menu li a {
    color: #6d4b29;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-sans);
}
.header-menu .menu li.current-menu-item > a,
.header-menu .menu li > a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Dropdown Menu CSS */
.header-menu .menu li {
    position: relative;
}
.header-menu .menu .sub-menu {
    position: absolute;
    top: 120%;
    left: 0;
    width: 250px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}
.header-menu .menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}
.header-menu .menu .sub-menu li {
    padding: 0;
    width: 100%;
}
.header-menu .menu .sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    text-transform: none;
    border-bottom: 1px dotted #eee;
}
.header-menu .menu .sub-menu li:last-child > a {
    border-bottom: none;
}
.header-menu .menu .sub-menu li > a:hover {
    color: var(--primary-color);
    background-color: #f9f9f9;
}

/* Level 3+ Sub Menus */
.header-menu .menu .sub-menu .sub-menu {
    top: 0 !important;
    left: 100%;
}
.header-menu .menu .sub-menu li:hover > .sub-menu {
    top: 0;
}

/* Menu Arrows */
.header-menu .menu li.menu-item-has-children > a::after {
    content: '\f107'; /* angle-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 13px;
}
.header-menu .menu .sub-menu li.menu-item-has-children > a::after {
    content: '\f105'; /* angle-right */
    float: right;
    margin-top: 2px;
}
.header-icons { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}
.header-icons img { 
    width: 24px; 
    height: 24px; 
    object-fit: contain; 
}
.cart-icon .cart-count {
    background: var(--primary-color);
    color: var(--white);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}
.lang-switcher ul {
    list-style: none;
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
}
.lang-switcher ul li a {
    color: var(--text-gray);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
}
.lang-switcher ul li.current-lang a {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0;
}
.hero-inner {
    display: grid;
    grid-template-columns: 45% 52%;
    align-items: center;
    justify-content: space-between;
}

.hero-content h1 {
    font-family: 'Sitka', serif;
    font-weight: bold;
    font-size: 42px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    margin-left: 10px;
}
.hero-content ul li {
    margin-bottom: 5px;
    font-size: 17px;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}
.hero-content ul li:last-child {
    margin-bottom: 0;
}
.hero-content ul li::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 10px;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}
.hero-buttons a {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.5px;
}
.btn-hero-double {
    background-color: #fff;
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 0 2px var(--primary-color), 0 0 0 4px #fff;
    border: none;
    margin: 4px;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-hero-double i {
    margin-left: 8px;
    font-size: 14px;
    vertical-align: baseline;
}
.btn-hero-double:hover {
    background-color: var(--gold-color);
    color: #fff;
    box-shadow: 0 0 0 2px var(--primary-color), 0 0 0 4px var(--gold-color);
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* --- Philosophy Section --- */
.philosophy-section {
    padding: 80px 0;
}
.philosophy-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}
.philosophy-image {
    flex: 1;
    position: relative;
    min-width: 0;
}
.philosophy-image img {
    width: 100%;
    border-radius: 30px;
    aspect-ratio: 0.9;
}
.philosophy-image .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.philosophy-image .owl-dots .owl-dot span {
    width: 16px;
    height: 16px;
    background: #E6E7E8;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}
.philosophy-image .owl-dots .owl-dot.active span {
    background: #754C29;
    width: 36px;
    border-radius: 10px;
}
.philosophy-content {
    flex: 1;
    min-width: 0;
}
.philosophy-content h2 {
    font-size: 32px;
    color: var(--gold-color);
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: var(--font-constantia);
    font-weight: bold;
}
.philosophy-content p {
    font-size: 15px;
    color: #754C29;
    line-height: 1.8;
    font-weight: 500;
}

/* --- Mid Banner --- */
.banner-section {
    position: relative;
}
.banner-section img {
    width: 100%;
    display: block;
    height: 550px;
    object-fit: cover;
}
.banner-section .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.banner-section .owl-dots .owl-dot span {
    width: 16px;
    height: 16px;
    background: #E6E7E8;
    border-radius: 50%;
    display: block;
    transition: background 0.3s;
}
.banner-section .owl-dots .owl-dot.active span {
    background: #754C29;
    width: 36px;
    border-radius: 10px;
}

/* --- Features Section --- */
.features-section {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    gap: 15px;
    background-color: var(--white);
}
.feature-box {
    background-color: transparent;
    color: var(--primary-color);
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.feature-box h3 {
    font-family: 'SVN-Gilroy';
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 5px;
}

.feature-box p {
    font-family: 'SVN-Gilroy';
    font-weight: 500;
    font-size: 14px;
}

.feature-box .icon-wrapper {
    background-color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-box img {
        width: 27px;
    aspect-ratio: 1;
    filter: brightness(0) invert(1);
    object-fit: contain;
}
.feature-box .icon-placeholder {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.feature-box span.feature-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--primary-color);
}
.feature-box span.feature-text strong {
    font-size: 15px;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}
.feature-box span.feature-text p,
.hero-content ul li p {
    margin: 0;
}

/* --- Featured Products --- */
.featured-products {
    padding: 60px 0 0px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
}
.section-header h2 {
    font-size: 32px;
    color: var(--gold-color);
    margin: 0;
    font-family: var(--font-constantia);
    font-weight: bold;
}
.section-header a {
    color: var(--gold-color);
    font-weight: bold;
    font-size: 16px;
}
.section-header a:hover {
    color: var(--gold-color);
}
.product-tabs {
    display: flex;
    justify-content: start;
    gap: 15px;
    margin-bottom: 50px;
}
.product-tabs span {
    padding: 10px 25px;
    border: 1px solid #0C5457;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: var(--gold-color);
}
.product-tabs span.active, .product-tabs span:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media(max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
.product-item {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.product-item:hover {
    transform: translateY(-5px);
}
.product-image {
    position: relative;
    aspect-ratio: 0.95;
    overflow: hidden;
    border-radius: inherit;
}
.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-item:hover .product-image img {
    transform: scale(1.08);
}
.product-info {
    padding: 25px 20px;
    text-align: center;
}
.product-info .sub-title {
    font-size: 13px;
    color: #939598;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}
.product-info .title {
    font-size: 19px;
    color: var(--gold-color);
    margin: 0;
    font-family: 'SVN-Gilroy';
    font-weight: bold;
}

/* --- Categories Grid (SẢN PHẨM ĐANG CUNG CẤP...) --- */
.categories-section {
    padding: 80px 0;
    text-align: center;
}
.categories-section h2 {
    color: var(--gold-color);
    margin-bottom: 40px;
    font-size: 32px;
    font-family: var(--font-constantia);
    font-weight: bold;
}
.categories-grid.owl-carousel .owl-stage {
    display: flex;
}
.categories-grid.owl-carousel .owl-item {
    display: flex;
}
.category-box {
    width: 100%;
    height: 100%;
    background: #E6F0EE;
    padding: 18px 15px;
    border-radius: 10px;
    color: var(--gold-color);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.category-box .category-title {
    display: block;
}
.category-box .category-subtitle {
    font-size: 12px;
    font-weight: normal;
    color: #6D6E71;
    text-transform: none;
    transition: all 0.3s ease;
}
.category-box:hover {
    background: var(--primary-color);
    color: var(--white);
}
.category-box:hover .category-subtitle {
    color: var(--white);
    opacity: 0.8;
}

/* --- Statistics Section --- */
.statistics-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.statistics-section h2 {
    font-family: var(--font-sitka);
    font-size: 34px;
    line-height: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}
.statistics-section h2 strong {
    font-weight: 900;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
    margin-top: 50px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 15px; */
    justify-content: space-between;
}
.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-icon img {
    width: 30px;
}
.stat-number {
    font-size: 44px;
    font-family: var(--font-bookman);
}
.stat-label {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

/* --- Video Section --- */
.video-section {
    padding: 80px 0;
    text-align: center;
}
.video-section h2 {
    color: var(--gold-color);
    margin-bottom: 40px;
    font-size: 32px;
    font-family: var(--font-constantia);
    font-weight: bold;
}
.video-container {
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.video-container iframe {
    width: 100%;
    aspect-ratio: 2/1;
    border-radius: 20px;
}
.video-container img {
    width: 100%;
    aspect-ratio: 1.8;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}
.video-thumb-wrapper {
    position: relative;
    cursor: pointer;
}
.video-fallback {
    width: 100%;
    aspect-ratio: 2/1;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}
.video-fallback .play-button {
    position: relative;
    transform: none;
    top: 0;
    left: 0;
}
.btn-outline-gold i {
    margin-left: 8px;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    width: 80px;
}
.play-button img {
    width: 100%;
    display: block;
    aspect-ratio: auto;
    border-radius: 0px;
}
.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}
.btn-outline-gold {
    border: 2px solid var(--gold-color);
    color: var(--gold-color);
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
}
.btn-outline-gold:hover {
    background-color: var(--gold-color);
    color: var(--white);
}

/* --- Footer --- */
#footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 40px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
}
.footer-left {
    flex: 1;
}
.footer-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}
.footer-slogan {
    font-family: 'UVN Ke Chuyen3', 'Sitka', cursive, serif;
    font-size: 24px;
    color: var(--gold-color);
    font-style: italic;
}
.footer-right {
    flex: 1;
    text-align: right;
}
.footer-right h3 {
    margin-top: 0;
    font-size: 16px;
    font-family: var(--font-sans);
    margin-bottom: 20px;
}
.footer-right p {
    margin: 8px 0;
    font-size: 16px;
    color: #fff;
}


/* --- Footer Section --- */
#footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0;
    font-size: 15px;
    font-family: var(--font-sans);
    border-top: 1px solid rgba(255,255,255,0.1);
}
#footer .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 40px;
}
#footer .footer-left {
    width: 40%;
    text-align: left;
}
#footer .footer-logo img {
    max-width: 280px;
    height: auto;
}
#footer .footer-slogan {
    margin-top: 5px;
    font-family: 'UVN Ke Chuyen3', cursive;
    font-size: 29px;
    line-height: 28px;
    letter-spacing: 0;
    color: #fff;
    text-align: center;
}
#footer .footer-right {
    width: 60%;
    text-align: left;
}
#footer .footer-right h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--white);
    text-transform: uppercase;
}
#footer .footer-right p {
    margin: 8px 0;
    line-height: 1.5;
    color: #f0f0f0;
}