/* ===================================
   Lacannelle - Main Stylesheet
   =================================== */

/* CSS Variables */
:root {
    --color-black: #1a1a1a;
    --color-gold: #c9a96e;
    --color-gold-light: #d4b87a;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray: #666666;
    --color-gray-dark: #333333;
    --color-lake-blue: #a8d8ea;
    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-sans: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-gray-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo img {
    height: 20px;
}

.nav-logo-text {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
}

.nav-logo-text small {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
}

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

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

.nav-menu a.active {
    color: var(--color-gold);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-black);
    min-width: 160px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown li a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    white-space: nowrap;
}

.dropdown li a:hover {
    background: rgba(201, 169, 110, 0.1);
    color: var(--color-gold);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* ===================================
   Hero Banner
   =================================== */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.banner-subtitle {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.banner-title {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-desc {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Banner Controls */
.banner-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
}

.banner-prev,
.banner-next {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.3);
    color: var(--color-white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-prev:hover,
.banner-next:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.banner-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-black);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.4);
}

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

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

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-link {
    color: var(--color-gold);
    font-size: 14px;
    font-weight: 500;
}

.btn-link:hover {
    color: var(--color-gold-light);
}

/* ===================================
   Section Common
   =================================== */
.section {
    padding: 100px 0;
}

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

.section-header.left {
    text-align: left;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 14px;
    font-style: italic;
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 20px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto;
}

.section-header.left .section-line {
    margin: 0;
}

/* ===================================
   Featured Products
   =================================== */
.featured-products {
    background: var(--color-gray-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--color-white);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    overflow: hidden;
    aspect-ratio: 1;
}

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

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

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-black);
}

.product-info p {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 15px;
}

/* ===================================
   Brand Intro
   =================================== */
.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text .section-title {
    text-align: left;
}

.intro-text .section-line {
    margin: 0 0 30px 0;
}

.intro-desc {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-text .btn {
    margin-top: 20px;
}

.intro-image {
    overflow: hidden;
    border-radius: 4px;
}

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

.intro-image:hover img {
    transform: scale(1.02);
}

/* ===================================
   Product Categories
   =================================== */
.product-categories {
    background: var(--color-black);
}

.product-categories .section-title {
    color: var(--color-white);
}

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

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.category-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
}

.category-info h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 8px;
}

.category-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* ===================================
   Latest News
   =================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--color-white);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 12px;
    color: var(--color-gold);
    letter-spacing: 1px;
}

.news-content h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    margin: 10px 0;
    color: var(--color-black);
    line-height: 1.4;
}

.news-content p {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ===================================
   Page Hero
   =================================== */
.page-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
}

.page-hero-content h1 {
    font-family: var(--font-serif);
    font-size: 48px;
    margin-bottom: 10px;
}

.page-hero-content p {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    color: var(--color-gold);
    letter-spacing: 2px;
}

/* ===================================
   Brand Origin
   =================================== */
.origin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.origin-text p {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.origin-text .quote {
    font-family: var(--font-serif);
    font-size: 20px;
    font-style: italic;
    color: var(--color-gold);
    padding-left: 20px;
    border-left: 3px solid var(--color-gold);
    margin: 30px 0;
}

.origin-text strong {
    color: var(--color-black);
}

.origin-image {
    overflow: hidden;
    border-radius: 4px;
}

.origin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   Encounter Section
   =================================== */
.encounter {
    background: var(--color-gray-light);
}

.encounter-intro {
    text-align: center;
    font-size: 18px;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

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

.encounter-card {
    background: var(--color-white);
    padding: 40px;
    text-align: center;
    border-radius: 4px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.encounter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.encounter-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
}

.encounter-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.encounter-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--color-black);
}

.encounter-card p {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.8;
}

/* ===================================
   No-Makeup Section
   =================================== */
.no-makeup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.no-makeup-image {
    overflow: hidden;
    border-radius: 4px;
}

.no-makeup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-makeup-text p {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.no-makeup-text .quote {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    color: var(--color-gold);
    padding-left: 20px;
    border-left: 3px solid var(--color-gold);
    margin: 30px 0;
}

.no-makeup-text strong {
    color: var(--color-black);
}

/* ===================================
   Slogan Section
   =================================== */
.slogan-section {
    background: var(--color-black);
    padding: 80px 0;
    text-align: center;
}

.slogan-french {
    font-family: var(--font-serif);
    font-size: 28px;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.6;
}

.slogan-chinese {
    font-size: 18px;
    color: var(--color-white);
    opacity: 0.8;
    line-height: 1.8;
}

/* ===================================
   Products Page
   =================================== */
.products-page-section {
    padding-top: 40px;
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid var(--color-gray-light);
    background: var(--color-white);
    color: var(--color-gray);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
}

.filter-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.filter-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
}

.products-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-grid-card {
    background: var(--color-white);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-grid-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-grid-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-grid-card-info {
    padding: 25px;
    text-align: center;
}

.product-grid-card-series {
    font-size: 12px;
    color: var(--color-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-grid-card-info h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    margin: 8px 0;
    color: var(--color-black);
}

.product-grid-card-subtitle {
    font-family: var(--font-serif);
    font-size: 14px;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.product-grid-card-features {
    font-size: 13px;
    color: var(--color-gray);
    margin-bottom: 15px;
}

/* Product Detail Page */
.product-detail-section {
    padding-top: 40px;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-detail-image {
    background: var(--color-gray-light);
    border-radius: 4px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    max-height: 500px;
    object-fit: contain;
}

.product-detail-series {
    font-size: 13px;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-detail-info h1 {
    font-family: var(--font-serif);
    font-size: 36px;
    margin: 10px 0;
    color: var(--color-black);
}

.product-detail-subtitle {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 25px;
}

.product-detail-desc {
    font-size: 16px;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.product-detail-features li {
    padding: 10px 20px;
    background: var(--color-gray-light);
    font-size: 14px;
    color: var(--color-gray-dark);
    border-radius: 20px;
}

.product-detail-slogan {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-detail-info .btn {
    margin-top: 10px;
}

/* ===================================
   News List Page
   =================================== */
.news-list-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-gray-light);
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 4px;
}

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

.news-list-item:hover .news-list-image img {
    transform: scale(1.05);
}

.news-list-content .news-date {
    font-size: 13px;
    color: var(--color-gold);
    letter-spacing: 1px;
}

.news-list-content h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    margin: 10px 0 15px;
    color: var(--color-black);
}

.news-list-content p {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gray-light);
    font-size: 14px;
    color: var(--color-gray);
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
}

.page-link:first-child,
.page-link:last-child {
    width: auto;
    padding: 0 20px;
}

/* ===================================
   Contact Page
   =================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-desc {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--color-black);
}

.contact-text p {
    font-size: 14px;
    color: var(--color-gray);
}

.contact-time {
    font-size: 12px !important;
    color: var(--color-gold) !important;
}

.social-links h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--color-black);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--color-gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-gray-light);
    padding: 40px;
    border-radius: 4px;
}

.contact-form .section-header {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--color-gray-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-sans);
    transition: var(--transition);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 20px;
    margin-bottom: 20px;
}

.footer-logo-text {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    display: block;
    margin-bottom: 20px;
}

.footer-logo-text small {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.footer-brand p {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-gold);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

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

.footer-col ul li:not(:has(a)) {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ===================================
   Animations
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===================================
   Interactive Effects
   =================================== */

/* Magnetic Button Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Parallax Banner Effect */
.banner-slide {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .banner-slide {
        background-attachment: scroll;
    }
}

/* Text Reveal Animation */
.banner-title {
    animation: slideUp 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.banner-subtitle {
    animation: slideUp 1s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.banner-desc {
    animation: slideUp 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.banner-content .btn {
    animation: slideUp 1s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shimmer Effect on Product Cards */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::after {
    left: 100%;
}

.product-card {
    position: relative;
}

/* Gradient Border Animation */
.section-line {
    position: relative;
    overflow: hidden;
}

.section-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-white), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Floating Animation for Icons */
.encounter-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulse Effect for CTA Buttons */
.btn-primary {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(201, 169, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0); }
}

.btn-primary:hover {
    animation: none;
}

/* Image Zoom on Hover with Overlay */
.product-image::after,
.news-image::after,
.category-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.3), transparent);
    opacity: 0;
    transition: var(--transition);
}

.product-image,
.news-image,
.category-image {
    position: relative;
}

.product-card:hover .product-image::after,
.news-card:hover .news-image::after {
    opacity: 1;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 80px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    z-index: 999;
    transition: width 0.1s ease;
}

/* Typing Effect for Slogan */
.slogan-french {
    border-right: 2px solid var(--color-gold);
    animation: blink 0.8s infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes blink {
    0%, 100% { border-color: var(--color-gold); }
    50% { border-color: transparent; }
}

/* Ripple Effect on Click */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hover Glow Effect */
.social-icon {
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-gold), var(--color-lake-blue), var(--color-gold));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.social-icon:hover::before {
    opacity: 1;
}

/* Stagger Animation for Grid Items */
.products-grid .product-card,
.news-grid .news-card,
.encounter-grid .encounter-card {
    opacity: 0;
    transform: translateY(30px);
}

.products-grid .product-card.visible,
.news-grid .news-card.visible,
.encounter-grid .encounter-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.products-grid .product-card:nth-child(1).visible { transition-delay: 0.1s; }
.products-grid .product-card:nth-child(2).visible { transition-delay: 0.2s; }
.products-grid .product-card:nth-child(3).visible { transition-delay: 0.3s; }
.products-grid .product-card:nth-child(4).visible { transition-delay: 0.4s; }

.news-grid .news-card:nth-child(1).visible { transition-delay: 0.1s; }
.news-grid .news-card:nth-child(2).visible { transition-delay: 0.2s; }
.news-grid .news-card:nth-child(3).visible { transition-delay: 0.3s; }

.encounter-grid .encounter-card:nth-child(1).visible { transition-delay: 0.1s; }
.encounter-grid .encounter-card:nth-child(2).visible { transition-delay: 0.2s; }

/* Smooth Page Transition */
body {
    animation: pageLoad 0.5s ease;
}

@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Cursor Trail Effect */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, opacity 0.3s ease;
    opacity: 0;
}

.cursor-trail.active {
    opacity: 1;
}

/* Loading Skeleton Animation */
@keyframes skeleton-loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* Hover Tilt Effect for Cards */
.product-card,
.news-card,
.encounter-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Gold Accent Line Animation */
.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.8s ease;
}

.section-header.visible::before {
    width: 100px;
}

.section-header {
    position: relative;
}

/* Navigation Hover Effect Enhancement */
.nav-menu a {
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    opacity: 1;
}

/* Parallax Scroll for Section Backgrounds */
.brand-intro,
.encounter,
.slogan-section {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .brand-intro,
    .encounter,
    .slogan-section {
        background-attachment: scroll;
    }
}

/* Animated Counter for Stats (if needed) */
.counter {
    display: inline-block;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--color-gold), var(--color-lake-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Anchor Scroll Offset */
[id] {
    scroll-margin-top: 100px;
}
#products-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* News detail page */
.news-detail-hero {
    background-size: cover;
    background-position: center;
}

.news-detail-content {
    max-width: 1500px;
    margin: 0 auto;
}

.news-detail-content .btn-link {
    display: inline-block;
    margin-bottom: 24px;
}

.news-detail-body {
    text-align: left;
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text);
}

.news-detail-body p {
    margin-bottom: 1em;
}

.news-detail-body ul {
    margin: 1em 0 1em 1.5em;
}

.news-detail-body li {
    margin-bottom: 0.5em;
}

/* CMS 动态渲染的卡片默认可见（避免动画观察器漏掉） */
.products-grid[data-cms-state="ready"] .product-card,
.news-grid[data-cms-state="ready"] .news-card {
    opacity: 1;
    transform: translateY(0);
}
/* News detail: cover only as hero background, never as inline image */
.news-detail-cover-source {
    display: none !important;
}

#news-detail-hero[data-bg] {
    background-size: cover;
    background-position: center;
}
