/* CSS cho Trang Trang Spa */

/* --- Biến Hệ Thống & Cài Đặt Chung --- */
:root {
    --bg-dark: #fff0f3;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-header: rgba(255, 240, 243, 0.85);
    
    --color-pink: #ff2a74;
    --color-pink-glow: rgba(255, 42, 116, 0.2);
    --color-pink-light: #ff75a4;
    
    --color-gold: #c59b27;
    --color-gold-glow: rgba(197, 155, 39, 0.2);
    --color-gold-light: #f3dfa2;

    --text-main: #2b0c16;
    --text-muted: #664d55;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Canvas hiệu ứng hoa rơi */
#petal-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nút bấm (Buttons) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-pink), #c2134e);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px var(--color-pink-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--color-pink), 0 0 10px var(--color-pink);
}

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

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--color-gold-glow);
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 240, 243, 0.98);
    box-shadow: 0 4px 20px rgba(255, 42, 116, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

.header.scrolled .header-container {
    height: 65px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold-glow);
    transition: var(--transition-smooth);
}

.header.scrolled .logo-img {
    width: 42px;
    height: 42px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.5px;
}

.neon-text-pink {
    color: var(--color-pink);
    text-shadow: 0 0 10px var(--color-pink-glow);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-pink);
    text-shadow: 0 0 5px var(--color-pink-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-pink);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--color-pink);
}

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

.btn-phone-header {
    background: rgba(226, 186, 94, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(226, 186, 94, 0.3);
    padding: 8px 18px;
    font-size: 13px;
}

.btn-phone-header:hover {
    background: var(--color-gold);
    color: var(--bg-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Bộ chuyển đổi ngôn ngữ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 2px 6px;
    letter-spacing: 0.5px;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--color-pink);
    text-shadow: 0 0 8px var(--color-pink-glow);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.8;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(226, 186, 94, 0.15);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(226, 186, 94, 0.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-main);
}

.glow-animation {
    animation: neonBreathe 3s ease-in-out infinite alternate;
}

@keyframes neonBreathe {
    0% {
        text-shadow: 0 0 4px var(--color-pink-glow), 0 0 10px var(--color-pink-glow);
    }
    100% {
        text-shadow: 0 0 12px var(--color-pink), 0 0 25px var(--color-pink);
    }
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-gold-light);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
    border-left: 3px solid var(--color-pink);
    padding-left: 15px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-box {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.hero-img {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-gold);
    z-index: 2;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
}

.image-box:hover .hero-img {
    box-shadow: 0 0 35px var(--color-gold);
}

.neon-border-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--color-pink);
    box-shadow: 0 0 20px var(--color-pink), inset 0 0 20px var(--color-pink);
    z-index: 1;
    transition: var(--transition-smooth);
}

.image-box:hover .neon-border-circle {
    box-shadow: 0 0 30px var(--color-pink), inset 0 0 30px var(--color-pink);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: var(--color-pink);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px var(--color-pink-glow);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
}

.title-line {
    width: 70px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 5px var(--color-gold-glow);
    position: relative;
}

.title-line::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-dark);
    color: var(--color-gold);
    padding: 0 8px;
    font-size: 14px;
}

/* --- Về Chúng Tôi (About) --- */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--color-pink), #c2134e);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px var(--color-pink-glow), 0 0 10px var(--color-pink);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-badge .number {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.about-badge .text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    background: var(--bg-card);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    border-color: rgba(226, 186, 94, 0.3);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 24px;
    color: var(--color-gold);
    margin-top: 3px;
    text-shadow: 0 0 8px var(--color-gold-glow);
}

.feature-item h4 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 14px;
    margin-bottom: 0;
}

/* --- Dịch Vụ (Services) --- */
.services-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-dark), rgba(255, 227, 235, 0.5), var(--bg-dark));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 42, 116, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-pink);
    box-shadow: 0 10px 30px rgba(255, 42, 116, 0.2), 0 0 15px rgba(255, 42, 116, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(255, 42, 116, 0.08);
    border: 1px solid rgba(255, 42, 116, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--color-pink);
    transition: var(--transition-smooth);
    box-shadow: inset 0 0 10px rgba(255, 42, 116, 0.05);
    position: relative;
}

.service-card:hover .service-icon-box {
    background: var(--color-pink);
    color: #fff;
    box-shadow: 0 0 20px var(--color-pink);
    transform: scale(1.05);
}

.custom-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 14px;
    color: var(--color-gold);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-gold-light);
    transition: var(--transition-smooth);
}

.service-card:hover .service-title {
    color: var(--color-pink);
}

.service-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-lang {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 12px;
    color: var(--color-gold);
    font-weight: 500;
    letter-spacing: 1px;
}

/* --- Liên Hệ & Đặt Lịch (Contact) --- */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
}

.contact-info-card, .qr-container-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-card h3, .qr-container-card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 30px;
    color: var(--color-gold);
    border-left: 3px solid var(--color-gold);
    padding-left: 15px;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    font-size: 20px;
    color: var(--color-pink);
    background: rgba(255, 42, 116, 0.1);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 42, 116, 0.2);
    box-shadow: 0 0 10px var(--color-pink-glow);
    flex-shrink: 0;
}

.contact-info-list span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.contact-info-list strong {
    font-size: 18px;
    color: var(--text-main);
    font-weight: 600;
}

.sign-holder {
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.sign-holder h4 {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.neon-sign-preview {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--color-pink);
    box-shadow: 0 0 20px var(--color-pink-glow);
    background: #000;
    max-width: 320px;
}

.sign-img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.sign-img:hover {
    transform: scale(1.05);
}

.qr-container-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-container-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 15px;
}

.qr-box {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--color-gold);
    display: inline-block;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.qr-box:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px var(--color-gold-glow);
}

.qr-img {
    width: 220px;
    height: 220px;
    display: block;
    object-fit: contain;
}

.qr-label {
    display: block;
    margin-top: 15px;
    color: #333;
    font-weight: 700;
    font-size: 14px;
}

.qr-note {
    font-size: 13px !important;
    font-style: italic;
    color: var(--color-gold-light) !important;
    margin-top: 10px;
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    background: #ffe5ec;
    border-top: 1px solid rgba(255, 42, 116, 0.1);
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer p:last-child {
    margin-bottom: 0;
    color: var(--color-gold);
    font-family: var(--font-heading);
}

/* --- Floating Widgets --- */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.widget-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible;
}

.widget-btn i {
    font-size: 24px;
    z-index: 2;
}

.widget-label {
    position: absolute;
    right: 75px;
    background: var(--text-main);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.widget-btn:hover .widget-label {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Zalo Widget */
.widget-zalo {
    background: #0068ff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.zalo-icon-img {
    width: 32px;
    height: 32px;
    z-index: 2;
}

.zalo-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0068ff;
    opacity: 0.5;
    z-index: 1;
    animation: zaloPulseEffect 2s infinite;
}

@keyframes zaloPulseEffect {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.widget-zalo:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px #0068ff;
}

/* Phone Widget */
.widget-phone {
    background: var(--color-pink);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px var(--color-pink-glow);
    animation: wiggleCall 2.5s infinite;
}

.widget-phone:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px var(--color-pink);
}

@keyframes wiggleCall {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0); }
}

/* --- Hoạt Ảnh Cuộn Trang (Reveal on Scroll) --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive (Độ Tương Thích) --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 52px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-slogan {
        border-left: none;
        border-bottom: 2px solid var(--color-pink);
        padding-left: 0;
        padding-bottom: 10px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 240, 243, 0.98);
        backdrop-filter: blur(15px);
        transition: var(--transition-smooth);
        padding: 50px 20px;
        border-top: 1px solid rgba(255, 42, 116, 0.1);
    }
    
    .nav.open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .nav-link {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .image-box {
        width: 280px;
        height: 280px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .contact-info-card, .qr-container-card {
        padding: 25px;
    }
    
    .floating-widgets {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .about-badge {
        bottom: -10px;
        right: -10px;
        padding: 15px;
    }
    
    .about-badge .number {
        font-size: 24px;
    }
    
    .qr-img {
        width: 180px;
        height: 180px;
    }
}
