/*
Theme Name: Taimal CNY
Theme URI: https://www.taimal.shop
Author: Taimal Herbs AI
Description: A festive Chinese New Year theme for Taimal Herbs WooCommerce shop.
Version: 1.0.0
Text Domain: taimal-cny
*/

/* =========================================
   VARIABLES & FONTS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&family=Poppins:wght@400;600&display=swap');

:root {
    --primary-red: #C41E3A;
    --dark-red: #8B0000;
    --gold: #FFD700;
    --cream: #FFF8E7;
    --green: #43A047;
    --blue: #2196F3;
    --text-main: #333333;
    --text-light: #555555;
    --font-heading: 'Noto Sans SC', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    background-color: var(--cream);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark-red);
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-branding .site-title a {
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    color: var(--cream);
    font-weight: 600;
    font-size: 1rem;
}

.main-navigation a:hover {
    color: var(--gold);
}

/* =========================================
   HERO SECTION (ANIMATED)
   ========================================= */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, var(--primary-red), var(--dark-red));
    color: var(--cream);
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    padding: 2rem;
    background: rgba(139, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-body);
    animation: fadeInUp 1.2s ease-out;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gold);
    color: var(--dark-red);
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1.4s ease-out;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    color: var(--dark-red);
}

/* =========================================
   ANIMATIONS (LANTERNS & PARTICLES)
   ========================================= */
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(-5deg);
        opacity: 0;
    }
}

.lantern {
    position: absolute;
    bottom: -100px;
    width: 60px;
    height: 80px;
    background: #FF4500;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
    animation: floatUp 15s linear infinite;
    z-index: 1;
}

.lantern::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 20px;
    height: 10px;
    background: var(--gold);
}

.lantern::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 25px;
    width: 10px;
    height: 30px;
    background: var(--gold);
}

/* Gold Dust Particles */
.particle {
    position: absolute;
    background: var(--gold);
    border-radius: 50%;
    animation: twinkle 5s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* =========================================
   WOOCOMMERCE OVERRIDES
   ========================================= */
.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(200, 200, 200, 0.2);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.15);
    border-color: var(--gold);
}

.woocommerce ul.products li.product .price {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.2rem;
}

.woocommerce span.onsale {
    background-color: var(--gold);
    color: var(--dark-red);
    border-radius: 50%;
    font-weight: 700;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: var(--primary-red);
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: var(--dark-red);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background-color: var(--dark-red);
    color: var(--cream);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 5rem;
}

.footer-credits {
    font-size: 0.9rem;
    opacity: 0.8;
}