/* HRT Acupuncture & TCM Clinic - Stylesheet */
:root {
    --primary-color: #8B0000;
    --secondary-color: #C9A96E;
    --accent-color: #D4AF37;
    --dark-color: #1a1a1a;
    --light-bg: #FAF7F2;
    --text-color: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-color);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    line-height: 1.3;
    color: var(--dark-color);
    font-weight: 700;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark-color);
    color: var(--white);
    padding: 0.6rem 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.top-bar-info span,
.top-bar-info a {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-info a:hover { color: var(--accent-color); }

.top-bar-cta {
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-bar-cta:hover { background: var(--white); }

/* ===== Header ===== */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo img { height: 60px; width: auto; }

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after { width: 100%; }

nav ul li a:hover { color: var(--primary-color); }

.book-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
}

.book-btn:hover {
    background: var(--accent-color);
    color: var(--dark-color) !important;
    border-color: var(--accent-color);
}

.book-btn::after { display: none; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)), url('../images/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    font-style: italic;
    font-weight: 600;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.hero-tag {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    backdrop-filter: blur(8px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--dark-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ===== Section Common ===== */
section { padding: 5rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-subtitle {
    color: var(--accent-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

.section-header p {
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== Doctors Section ===== */
.doctors-section { background: var(--light-bg); }

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.doctor-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.doctor-image {
    width: 100%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.doctor-info { padding: 2rem 1.5rem; }

.doctor-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.doctor-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
    font-size: 0.95rem;
}

.doctor-credentials {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== Services Section ===== */
.services-section { background: var(--white); }

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

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    flex: 1;
}

.read-more {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    align-self: flex-start;
}

.read-more:hover { color: var(--primary-color); }

.read-more::after { content: ' →'; }

/* ===== Why Choose Us ===== */
.why-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #3a0000 100%);
    color: var(--white);
    position: relative;
}

.why-section .section-header h2 { color: var(--white); }
.why-section .section-header p { color: rgba(255, 255, 255, 0.85); }
.why-section .section-subtitle { color: var(--accent-color); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.2rem;
    font-weight: 700;
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

/* ===== Testimonials ===== */
.testimonials-section { background: var(--light-bg); }

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    border-top: 4px solid var(--accent-color);
}

.testimonial-stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info strong {
    color: var(--dark-color);
    display: block;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a0000 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
}

/* ===== Page Header (interior pages) ===== */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/hero.png') center/cover no-repeat;
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 0.8rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--accent-color);
}

/* ===== About Page ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

.about-features {
    list-style: none;
    margin-top: 1.5rem;
}

.about-features li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    color: var(--text-color);
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===== Service Categories on Services Page ===== */
.service-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

.category-wrap { text-align: center; margin-bottom: 2.5rem; }

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    font-weight: 700;
}

.contact-item h3 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form-wrap {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    transition: var(--transition);
    font-size: 0.95rem;
}

.contact-form button:hover { background: var(--accent-color); color: var(--dark-color); }

.map-section { padding-top: 0; }

.map-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== Hours Table ===== */
.hours-table {
    width: 100%;
    margin-top: 1rem;
}

.hours-table tr td {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.hours-table tr td:first-child {
    font-weight: 600;
    color: var(--dark-color);
}

.hours-table tr td:last-child {
    text-align: right;
    color: var(--text-light);
}

.hours-closed { color: #d9534f !important; font-weight: 600; }

/* ===== Footer ===== */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 1rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    font-size: 0.92rem;
}

.footer-section a:hover { color: var(--accent-color); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p { margin-bottom: 0.5rem; font-size: 0.9rem; }

.footer-partner {
    margin-top: 1.2rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-partner a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-partner a:hover { color: var(--white); }

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .menu-toggle { display: block; }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        background: var(--white);
        flex-direction: column;
        width: 280px;
        height: 100vh;
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        gap: 1.5rem;
        align-items: flex-start;
    }

    nav ul.active { right: 0; }

    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .top-bar-content { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
    section { padding: 3rem 0; }
    .hero { min-height: 75vh; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }
    .doctor-image { height: 320px; }
}
