/* ============================================
   泰國古牌旗艦店 - 主樣式表
   設計調性：奢華復古 × 泰式神秘感
   ============================================ */
/* --- CSS Variables --- */
:root {
    --gold: #C9A84C;
    --gold-light: #E8D48B;
    --gold-dark: #A8882E;
    --red: #8B1A1A;
    --red-dark: #6B1010;
    --cream: #FAF5EB;
    --cream-dark: #F0E8D8;
    --green: #2D6A4F;
    --green-light: #40916C;
    --dark: #1A1A2E;
    --dark-soft: #2D2D44;
    --text: #3D3D3D;
    --text-light: #7A7A7A;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
ul { list-style: none; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }
/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    line-height: 1.3;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    margin: 15px auto 0;
    border-radius: 2px;
}
.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: 10px;
}
/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 245, 235, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}
.logo span {
    color: var(--gold);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-links a {
    font-size: 0.95rem;
    color: var(--text);
    position: relative;
    padding: 5px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover {
    color: var(--gold-dark);
}
.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}
/* --- Mobile Menu --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}
.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 50%, var(--red-dark) 100%);
    z-index: -2;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 26, 26, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(45, 106, 79, 0.06) 0%, transparent 50%);
    z-index: -1;
}
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float 6s infinite;
}
@keyframes float {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}
.hero-text {
    color: var(--white);
}
.hero-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-text h1 span {
    color: var(--gold);
}
.hero-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Noto Sans TC', sans-serif;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}
.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-frame {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(201, 168, 76, 0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 46, 0.6));
    z-index: 1;
}
.hero-image-badge {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(201, 168, 76, 0.9);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}
.hero-deco {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(201, 168, 76, 0.2);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}
.hero-deco-1 { top: -30px; right: -30px; }
.hero-deco-2 { bottom: -30px; left: -30px; animation-direction: reverse; }
@keyframes spin {
    to { transform: rotate(360deg); }
}
/* --- Stats Section --- */
.stats {
    padding: 80px 0;
    background: var(--white);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 5px;
}
.stat-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}
/* --- Categories Section --- */
.categories {
    padding: 100px 0;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    height: 350px;
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.category-card:hover img {
    transform: scale(1.1);
}
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 46, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition);
}
.category-card:hover .category-overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(26, 26, 46, 0.95));
}
.category-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.category-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.category-count {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
/* --- Featured Products --- */
.featured {
    padding: 100px 0;
    background: var(--white);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: var(--cream);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(201, 168, 76, 0.1);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.product-info {
    padding: 25px;
}
.product-category {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.product-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--red);
    font-weight: 700;
}
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
}
.testimonials .section-title h2 {
    color: var(--white);
}
.testimonials .section-title p {
    color: rgba(255,255,255,0.6);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 35px;
    transition: var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}
.testimonial-stars {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.testimonial-card p {
    color: rgba(255,255,255,0.7);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-name {
    font-weight: 600;
    color: var(--white);
}
.testimonial-role {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
/* --- Blog Preview --- */
.blog {
    padding: 100px 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.blog-image {
    height: 200px;
    overflow: hidden;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-image img {
    transform: scale(1.05);
}
.blog-content {
    padding: 25px;
}
.blog-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.blog-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.blog-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.blog-link:hover {
    gap: 10px;
}
/* --- Newsletter --- */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}
.newsletter-content {
    text-align: center;
    color: var(--white);
}
.newsletter-content h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}
.newsletter-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}
.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
    outline: none;
}
.newsletter-form button {
    background: var(--dark);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Noto Sans TC', sans-serif;
    white-space: nowrap;
}
.newsletter-form button:hover {
    background: var(--dark-soft);
    transform: translateY(-2px);
}
/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}
.footer-brand p {
    line-height: 1.8;
    max-width: 300px;
}
.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}
.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}
.footer-contact i {
    color: var(--gold);
    margin-top: 4px;
    width: 16px;
}
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}
/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.5);
}
/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}
/* --- 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);
}
/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text p { margin: 0 auto 35px; }
    .hero-buttons { justify-content: center; }
    .hero-image { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 20px;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .hero-text h1 { font-size: 2.5rem; }
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .section-title h2 { font-size: 2rem; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 20px; left: 20px; }
    .back-to-top { width: 45px; height: 45px; bottom: 20px; right: 20px; }
}
@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item h3 { font-size: 2rem; }
}