/* ========================================
   AN HƯƠNG VÂN - ZEN MINIMAL DESIGN
   An từ Hương – Vân từ Tâm
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --ivory: #F6F2EB;
    --charcoal: #1C1C1C;
    --agarwood: #6A4A32;
    --sage: #6E8475;
    --border: #E5DED4;
    --white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    
    /* Spacing - Generous */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 72px;
    --space-2xl: 120px;
    
    /* Effects */
    --shadow-soft: 0 4px 24px rgba(28, 28, 28, 0.06);
    --shadow-hover: 0 8px 32px rgba(28, 28, 28, 0.08);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--ivory);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========================================
   HEADER - Minimal & Calm
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(246, 242, 235, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--agarwood);
    line-height: 1;
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--charcoal);
    opacity: 0.6;
}

.nav {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav a {
    font-size: 15px;
    font-weight: 400;
    color: var(--charcoal);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--agarwood);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-cta {
    padding: 10px 24px;
    background-color: var(--sage);
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
}

.nav-cta:hover {
    background-color: var(--agarwood);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none;
}

/* ========================================
   HERO - Large, Breathable, Elegant
   ======================================== */
.hero {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    background: linear-gradient(180deg, var(--ivory) 0%, #FFFEFB 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--charcoal);
}

.hero-accent {
    font-style: italic;
    color: var(--agarwood);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--charcoal);
    opacity: 0.7;
    margin-bottom: var(--space-lg);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background-color: var(--agarwood);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background-color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--agarwood);
    border: 1.5px solid var(--agarwood);
}

.btn-secondary:hover {
    background-color: var(--agarwood);
    color: var(--white);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--charcoal);
    opacity: 0.8;
}

.feature-item svg {
    color: var(--sage);
    flex-shrink: 0;
}

/* Hero Image */
.hero-right {
    position: relative;
}

.hero-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(106, 74, 50, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
}

/* ========================================
   PRODUCT LAUNCH - Premium Showcase
   ======================================== */
.product-launch {
    padding: var(--space-2xl) 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-subtitle {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Product Card - Minimal & Elegant */
.product-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--agarwood);
}

.product-card.featured {
    background-color: var(--sage);
    color: var(--white);
    border: none;
}

.product-card.featured .product-name,
.product-card.featured .product-features li {
    color: var(--white);
}

.product-card.featured .product-divider {
    background-color: rgba(255, 255, 255, 0.2);
}

.product-card.featured .product-cta {
    color: var(--white);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background-color: var(--agarwood);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    z-index: 2;
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--ivory);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
}

.product-name {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--charcoal);
}

.product-divider {
    width: 40px;
    height: 1px;
    background-color: var(--border);
    margin-bottom: var(--space-md);
}

.product-features {
    list-style: none;
    margin-bottom: var(--space-md);
    flex: 1;
}

.product-features li {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--charcoal);
    opacity: 0.8;
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.product-features li::before {
    content: '◦';
    position: absolute;
    left: 0;
    opacity: 0.5;
}

.product-cta {
    font-size: 15px;
    font-weight: 500;
    color: var(--agarwood);
    display: inline-block;
    margin-top: auto;
}

.product-cta:hover {
    transform: translateX(4px);
}

/* ========================================
   COMBO PACKAGES - Premium Gift Sets
   ======================================== */
.combo-packages {
    padding: var(--space-2xl) 0;
    background-color: var(--white);
}

.combo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.combo-card {
    background-color: var(--ivory);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.combo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--agarwood);
}

.combo-card.featured {
    border: 2px solid var(--agarwood);
    position: relative;
}

.combo-card.featured::before {
    content: 'Khuyến mãi';
    position: absolute;
    top: 20px;
    left: -30px;
    background-color: var(--agarwood);
    color: white;
    padding: 4px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(-45deg);
    z-index: 3;
}

.combo-card.premium {
    background: linear-gradient(135deg, var(--ivory) 0%, #FFF9F0 100%);
    border: 2px solid var(--gold-accent);
}

.combo-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.combo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.combo-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background-color: var(--sage);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.combo-badge.sale {
    background-color: #E74C3C;
    animation: pulse 2s ease-in-out infinite;
}

.combo-badge.vip {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #D4A45A 100%);
    font-weight: 700;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.combo-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.combo-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--charcoal);
    line-height: 1.3;
}

.combo-items {
    list-style: none;
    margin-bottom: var(--space-lg);
    flex: 1;
}

.combo-items li {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--charcoal);
    opacity: 0.8;
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.combo-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage);
    font-weight: 700;
}

.combo-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.combo-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--agarwood);
    font-family: var(--font-display);
}

.combo-price-old {
    font-size: 1.25rem;
    color: var(--charcoal);
    opacity: 0.5;
    text-decoration: line-through;
}

.combo-gift {
    font-size: 14px;
    color: var(--sage);
    font-weight: 600;
    background-color: rgba(94, 124, 106, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
}

/* ========================================
   PHILOSOPHY - Centered Quote
   ======================================== */
.philosophy {
    padding: var(--space-2xl) 0;
    background-color: var(--white);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-quote {
    margin-bottom: var(--space-xl);
}

.quote-mark {
    font-size: 72px;
    font-family: var(--font-display);
    color: var(--sage);
    opacity: 0.3;
    line-height: 0.5;
    margin-bottom: var(--space-md);
}

.quote-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

.quote-attribution {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--agarwood);
}

.philosophy-description {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--charcoal);
    opacity: 0.8;
}

/* ========================================
   EXPERIENCE - Two Column
   ======================================== */
.experience {
    padding: var(--space-2xl) 0;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.smoke-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
}

.experience-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--charcoal);
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.experience-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.exp-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--agarwood);
    margin-top: 4px;
}

.exp-content h5 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.exp-content p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--charcoal);
    opacity: 0.7;
}

/* ========================================
   CTA - Soft Sage Background
   ======================================== */
.cta {
    padding: var(--space-2xl) 0;
    background-color: var(--sage);
    color: var(--white);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: var(--space-lg);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background-color: var(--white);
    color: var(--sage);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--agarwood);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    margin-bottom: var(--space-sm);
}

.phone-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.phone-label {
    font-size: 12px;
    opacity: 0.7;
}

.phone-number {
    font-size: 24px;
    font-weight: 600;
    font-family: var(--font-display);
}

.cta-note {
    font-size: 15px;
    opacity: 0.8;
}

/* ========================================
   FOOTER - Minimal Elegant
   ======================================== */
.footer {
    background-color: var(--agarwood);
    color: var(--ivory);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-slogan {
    font-size: 13px;
    font-weight: 300;
    opacity: 0.6;
}

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

.footer-col h6 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    color: var(--ivory);
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    font-size: 14px;
    font-weight: 300;
    color: var(--ivory);
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-col svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(246, 242, 235, 0.2);
}

.footer-bottom p {
    font-size: 13px;
    font-weight: 300;
    opacity: 0.6;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-content,
    .experience-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .combo-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 80px;
        --space-xl: 48px;
    }
    
    .nav {
        gap: var(--space-md);
    }
    
    .nav a:not(.nav-cta) {
        display: none;
    }
    
    .hero {
        padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .combo-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SUBTLE ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.product-card,
.experience-item {
    animation: fadeIn 0.8s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }

/* ========================================
   SOCIAL FLOATING BUTTONS
   ======================================== */
.social-floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999;
}

.social-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.social-float-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Zalo - Blue */
.zalo-btn {
    background: #0068ff;
}

.zalo-btn:hover {
    background: #0052cc;
}

/* Facebook - Blue */
.facebook-btn {
    background: #1877f2;
}

.facebook-btn:hover {
    background: #0d65d9;
}

/* TikTok - Black/Dark */
.tiktok-btn {
    background: #000000;
}

.tiktok-btn:hover {
    background: #ff0050;
}

/* Pulse Animation for Zalo (primary CTA) */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.zalo-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: #0068ff;
    opacity: 0;
    animation: pulse-ring 2s ease-out infinite;
}

/* Badge/Notification Dot (optional - can be enabled later) */
.social-float-btn .notification-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    background: #ff0050;
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-floating-buttons {
        right: 12px;
        bottom: 12px;
        gap: 10px;
    }

    .social-float-btn {
        width: 48px;
        height: 48px;
    }

    .social-float-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .social-floating-buttons {
        right: 16px;
        bottom: 16px;
    }

    .social-float-btn {
        width: 52px;
        height: 52px;
    }
}
