/* Treatments Page Styles */
:root {
    --primary: #f2c472;
    --primary-dark: #e0b45c;
    --bg-dark: #1a1e26;
    --card-bg: #232833;
    --card-hover: #2a2f3d;
    --text-light: #e3e6ec;
    --text-muted: #b4bed2;
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

body.treatments-page { 
    background: var(--bg-dark); 
    color: var(--text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-top: 100px; /* Add padding to account for fixed header */
}

/* Ensure header stays fixed at the top */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #1a1e26; /* Match the background color */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.treatments-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.treatments-hero { 
    background: linear-gradient(135deg, #2a2f3d 0%, #1e232e 100%);
    padding: 60px 0 40px;
    text-align: center; 
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--primary);
}

.treatments-hero h1 { 
    color: var(--primary); 
    font-size: 2.8rem; 
    margin: 0 0 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.treatments-hero p { 
    color: var(--text-muted); 
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px 0 60px;
}

.treatment-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid #2d3440;
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.card-header {
    padding: 25px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid #2d3440;
    cursor: pointer;
    transition: var(--transition);
}

.card-header:hover {
    background: rgba(0, 0, 0, 0.25);
}

.card-header h2 {
    color: var(--primary);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 i {
    transition: var(--transition);
    font-size: 1.2rem;
}

.card-header.active h2 i {
    transform: rotate(180deg);
}

.card-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.1);
}

.card-body.expanded {
    padding: 0 25px 25px;
    max-height: 1000px;
}

.card-body p {
    color: var(--text-muted);
    margin: 0 0 15px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.treatment-section {
    background: rgba(242, 196, 114, 0.05);
    border-left: 3px solid var(--primary);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.treatment-section h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.treatment-section h3 i {
    font-size: 1rem;
}

.treatment-section ul {
    margin: 0;
    padding-left: 20px;
}

.treatment-section li {
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    line-height: 1.5;
    font-size: 0.9rem;
}

.treatment-section li:before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: -15px;
}

.learn-more {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--text-light);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .treatments-hero h1 {
        font-size: 2.2rem;
    }
    
    .treatments-hero p {
        font-size: 1.1rem;
    }
    
    .card-header {
        padding: 20px;
    }
    
    .card-body, .card-body.expanded {
        padding: 0 20px 20px !important;
    }
}
