/* Shared styles for service detail pages, matches index/bio boho theme */
@import url('site-nav.css');
:root {
    --primary-color: #A87B62;
    --bg-darker: #EFEBDF;
    --text-dark: #2C2420;
    --white: #ffffff;
}

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--bg-darker);
    line-height: 1.8;
    font-size: 1.1rem;
    min-height: 100vh;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 600px;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.text-col {
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(168, 123, 98, 0.1);
}

h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
}

.subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: block;
    text-align: center;
    font-weight: 700;
}

h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin: 35px 0 15px;
}

p { margin-bottom: 25px; color: #444; text-align: left; }

.benefits-list {
    margin: 0 0 25px;
    padding-left: 1.2rem;
    color: #444;
}

.benefits-list li { margin-bottom: 10px; }

.cta-box {
    margin-top: 10px;
    padding: 28px;
    text-align: center;
    background: rgba(168, 123, 98, 0.08);
    border: 1px solid rgba(168, 123, 98, 0.2);
    border-radius: 8px;
}

.cta-box p {
    text-align: center;
    margin-bottom: 18px;
}

.cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}
.cta-btn:hover { opacity: 0.9; }

.back-btn-container { text-align: center; margin-top: 20px; }
.back-btn {
    display: inline-block;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    transition: all 0.3s;
}
.back-btn:hover { color: var(--primary-color); border-color: var(--primary-color); }

footer { text-align: center; padding: 40px; font-size: 0.9rem; color: #666; }

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; }
    .text-col { padding: 25px; }
}

a:focus, button:focus, input:focus, textarea:focus, select:focus, #access-btn:focus, .access-option:focus {
    outline: 2px solid var(--text-dark);
    outline-offset: 2px;
}

#access-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: #004d40;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    border: 2px solid white;
}
#access-btn:hover { transform: scale(1.1); }

#access-menu {
    display: none;
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 9999;
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    width: 200px;
}
#access-menu h4 { margin: 0 0 10px 0; font-family: sans-serif; font-size: 16px; color: #333; }

.access-option {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    cursor: pointer;
    text-align: left;
    font-family: sans-serif;
    font-size: 14px;
}
.access-option:hover { background: #e0e0e0; }
.access-active { background-color: #004d40; color: white; }

html.access-large-text { font-size: 125% !important; }

html.access-high-contrast { background-color: black !important; color: white !important; }
html.access-high-contrast nav,
html.access-high-contrast footer,
html.access-high-contrast .text-col,
html.access-high-contrast .photo-card,
html.access-high-contrast .cta-box {
    background-color: #000 !important;
    border: 1px solid white !important;
}
html.access-high-contrast h1,
html.access-high-contrast h2,
html.access-high-contrast h3,
html.access-high-contrast p,
html.access-high-contrast a,
html.access-high-contrast i,
html.access-high-contrast li {
    color: yellow !important;
}

html.access-links a { text-decoration: underline !important; background: yellow !important; color: black !important; }
