/* 
  ARA Beauty Center - Luxury Core Styles 
  Design System: Premium, Elegant, K-Beauty
*/

:root {
    --primary-color: #CBA135;
    /* Elegant Gold */
    --primary-light: #F6EDD9;
    --primary-dark: #A67C00;
    --secondary-color: #F8EBEA;
    /* Soft Rose */
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Effects */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 15px 35px rgba(0, 0, 0, 0.06);
    --shadow-gold: 0 8px 25px rgba(203, 161, 53, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-muted);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 4rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.w-100 {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(203, 161, 53, 0.35);
    color: #fff;
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1rem;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--primary-color);
}

.section-desc {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    line-height: 1.9;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
}

/* ── Homepage nav (.nav-links) ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links>a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.nav-links>a:hover {
    color: var(--primary-color);
}

/* ── Blog article nav (.nav-menu) ── */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--primary-color);
}

/* ── Blog header right side ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-light);
    padding: 6px;
    border-radius: 30px;
    border: 1px solid #EAEAEA;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 4px 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: #999;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
    line-height: 1;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* ── Mobile toggles ── */
.mobile-menu-toggle,
.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 24px;
    word-break: keep-all;
}

.hero-title span:last-child {
    color: var(--primary-color);
    font-style: italic;
    display: inline-block;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

/* Services */
.bg-light {
    background-color: var(--bg-light);
}

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

.service-card {
    overflow: hidden;
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.service-content {
    padding: 35px 30px;
    background: var(--bg-white);
    text-align: center;
}

.service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Pricing */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0 60px;
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 36px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E0E0E0;
    transition: .4s;
    border-radius: 36px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(28px);
}

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

.pricing-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    border: 1px solid #F0F0F0;
    text-align: center;
}

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

.pricing-card.popular {
    border: 1px solid var(--primary-color);
    background: linear-gradient(to bottom, #ffffff, #fdfbf5);
}

.badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: var(--primary-color);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.price {
    margin-bottom: 35px;
}

.original-price {
    display: block;
    color: #BDBDBD;
    text-decoration: line-through;
    font-size: 1.1rem;
    min-height: 28px;
    font-weight: 500;
}

.current-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.pricing-card ul {
    margin-bottom: 40px;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dark);
}

.pricing-card ul li i {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: 20px;
    border: 1px solid #F5F5F5;
    text-align: center;
}

.stars {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.7;
}

.quote-translate {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 30px;
}

.client-info h4, .client-name {
    margin: 0;
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: #0A0A0A;
    color: #E0E0E0;
    padding: 80px 0 30px;
    border-top: 4px solid var(--primary-color);
}

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

.footer-logo {
    height: 70px;
    margin-bottom: 25px;
}

.footer-brand p {
    color: #A0A0A0;
    line-height: 1.8;
}

.social-links a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: #1A1A1A;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: var(--transition);
    color: #FFF;
    border: 1px solid #333;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-title {
    color: #FFFFFF !important;
    margin-bottom: 25px !important;
    font-family: var(--font-heading) !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #A0A0A0;
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-top: 5px;
    width: 20px;
}

.footer a {
    color: #A0A0A0;
    text-decoration: none !important;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Floating Widgets */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.widget-btn {
    display: flex;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    background: transparent;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.widget-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 104, 255, 0.4);
}

.widget-btn svg {
    width: 35px;
    height: 35px;
    fill: #FFF;
}

/* Team/Doctor Section E-E-A-T */
.team {
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 40px auto 0;
    gap: 30px;
}

.team-member-card {
    display: flex;
    flex-direction: row;
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.member-img-wrapper {
    position: relative;
    width: 320px;
    min-width: 320px;
    min-height: 440px;
    overflow: hidden;
}

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

.team-member-card:hover .member-img {
    transform: scale(1.05);
}

.member-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-gold);
}

.member-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin: 0 0 5px 0;
    font-weight: 700;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-edu, .member-exp, .member-cert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.member-edu i, .member-exp i, .member-cert i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 15px 0 0 0;
    border-top: 1px dashed rgba(212, 175, 55, 0.2);
    padding-top: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .team-member-card {
        flex-direction: column;
    }
    .member-img-wrapper {
        width: 100%;
        min-width: 100%;
        height: 380px;
        min-height: auto;
    }
    .member-info {
        padding: 30px 20px;
    }
    .member-info h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {

    /* Homepage mobile nav */
    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle,
    .mobile-toggle {
        display: block;
    }

    /* Blog article mobile nav */
    .nav-menu ul {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: var(--shadow-md);
        gap: 20px;
    }

    .nav-menu ul.active {
        display: flex;
    }

    .header-actions {
        gap: 10px;
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        align-items: flex-start;
        padding-top: 140px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
        /* Shrink font to fit the mobile screen width */
    }

    .hero-title span:last-child {
        white-space: nowrap;
        /* Prevent breaking mid-sentence */
    }
}

/* Mobile Bottom CTA Bar & Caching/PageSpeed support */
.mobile-cta-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        height: 60px;
        z-index: 998; /* Just below Messenger plugin */
        border-radius: 40px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 6px;
        gap: 6px;
    }

    .cta-item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 600;
        text-transform: uppercase;
        border-radius: 30px;
        transition: var(--transition);
        text-decoration: none !important;
    }

    .cta-call {
        background: transparent;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }

    .cta-call:hover {
        background: rgba(203, 161, 53, 0.1);
    }

    .cta-book {
        background: var(--primary-color);
        color: #FFFFFF;
        box-shadow: var(--shadow-gold);
    }

    .cta-book:hover {
        background: var(--primary-dark);
    }

    /* Shift Zalo floating button upward to prevent overlap on mobile */
    .floating-widgets {
        bottom: 95px !important;
        left: 25px !important;
        transition: var(--transition);
    }
}

/* FAQ Accordion Section */
.faq-accordion {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid rgba(203, 161, 53, 0.15);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-white);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 0.9rem;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-question {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 22px 28px;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    border-top: 1px solid rgba(203, 161, 53, 0.1);
}

/* Advisor Profile Card (E-E-A-T) */
.advisor-profile-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    gap: 30px;
    text-align: left;
}

.advisor-img-wrapper {
    width: 140px;
    height: 140px;
    min-width: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-gold);
}

.advisor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-info {
    flex-grow: 1;
}

.advisor-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.advisor-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.advisor-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .advisor-profile-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 20px;
    }
    .advisor-img-wrapper {
        margin: 0 auto;
    }
}