:root {
    --bg-color: #F8FAFC;
    --primary-color: #1E3A8A;
    --accent-color: #D4AF37;
    --text-color: #334155;
    --white: #FFFFFF;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin: 0 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #162d6b;
    border-color: #162d6b;
    transform: translateY(-2px);
}

.btn-outline-accent {
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}

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

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

.text-accent {
    color: var(--accent-color);
}

/* Before/After Slider Styles */
.image-compare-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-compare-container img {
    display: block;
    width: 100%;
    height: auto;
}

.image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.image-after img {
    width: 800px; /* Should match container width */
    max-width: none;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--white);
    cursor: ew-resize;
    z-index: 3;
    transform: translateX(-50%);
}

.slider-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Smile Assessment Styles */
.assessment-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.assessment-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.assessment-card img {
    width: 80px;
    margin-bottom: 20px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--accent-color);
    border-radius: 50%;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

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