@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,900");

:root {
    --primary: #f3763e;
    --primary-hover: #d96035;
    --primary-light: #fef4f0;
    --text: #2c3e50;
    --text-light: #5a6a7a;
    --white: #ffffff;
    --off-white: #f9fafb;
    --border: #e8eaed;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Source Sans Pro', sans-serif;
    background: linear-gradient(135deg, #f3763e 0%, #ffffff 50%, #ffffff 100%);
    min-height: 100vh;
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    padding: 15px;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* CONTAINER */
.site-container {
    margin: 0 auto;
    max-width: 1300px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* HEADER */
.site-header {
    background: linear-gradient(135deg, #f3763e 0%, #e65c19 100%);
    color: var(--white);
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 1.5em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
}

.logo a { color: var(--white); }
.logo span { display: block; font-size: 0.5em; font-weight: 600; letter-spacing: 1px; opacity: 0.9; }

.header-contact {
    text-align: right;
}

.header-phone {
    font-size: 1.4em;
    font-weight: 900;
    color: var(--white);
}

.header-phone:hover { color: rgba(255,255,255,0.9); }

.header-address {
    font-size: 0.85em;
    opacity: 0.9;
    margin-top: 4px;
}

/* NAVIGATION */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 20px;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.nav-list li { position: relative; }

.nav-list a {
    display: block;
    padding: 18px 24px;
    color: var(--text);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--primary-light);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
    content: ' ▾';
    font-size: 0.7em;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    text-transform: none;
    font-size: 0.95em;
}

.dropdown-menu a:last-child { border-bottom: none; }

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius);
    width: 100%;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .nav-list.active { display: flex; }
    .nav-list a { text-align: center; }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--off-white);
    }
}

/* HERO SECTIONS */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #e65c19 100%);
    color: var(--white);
    padding: 80px 40px;
    text-align: center;
}

.hero-lg { padding: 100px 40px; }

.hero h1 {
    font-size: clamp(2em, 5vw, 3.2em);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2em;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.hero-breadcrumb {
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.8;
}

.hero-breadcrumb a { color: var(--white); opacity: 0.9; }
.hero-breadcrumb a:hover { opacity: 1; }

/* PAGE CONTENT */
.page-content {
    padding: 60px 40px;
}

@media (max-width: 768px) {
    .page-content { padding: 40px 20px; }
}

/* SECTIONS */
.section {
    padding: 80px 40px;
    border-bottom: 1px solid var(--border);
}

.section:last-child { border-bottom: none; }

.section-alt { background: var(--off-white); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2em;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
}

/* GRID LAYOUTS */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-2.wide-right { grid-template-columns: 1fr 1.3fr; }
    .grid-2.wide-left { grid-template-columns: 1.3fr 1fr; }
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

/* CARDS */
.card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

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

.card-highlight {
    border-color: var(--primary);
    border-width: 2px;
}

.card h3 {
    color: var(--primary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.card ul {
    list-style: none;
}

.card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text);
}

.card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* SERVICE CARD */
.service-card {
    text-align: center;
    padding: 45px 30px;
}

.service-card .icon {
    font-size: 3em;
    margin-bottom: 20px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95em;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 118, 62, 0.3);
}

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

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

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

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

.btn-lg {
    padding: 20px 40px;
    font-size: 1.05em;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* IMAGES */
.img-rounded {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.img-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* CONTENT ELEMENTS */
h2 {
    font-size: 2em;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

h4 {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

p { margin-bottom: 15px; }
p:last-child { margin-bottom: 0; }

.text-primary { color: var(--primary); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }
.text-small { font-size: 0.9em; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

/* LISTS */
.check-list {
    list-style: none;
}

.check-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1em;
}

/* FAQ ACCORDION */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.05em;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover { background: var(--off-white); }

.faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--primary);
    font-weight: 400;
}

.faq-item.active .faq-question { background: var(--primary-light); }
.faq-item.active .faq-question::after { content: '−'; }

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    background: var(--off-white);
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 500px;
}

/* FORMS */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-hint {
    font-size: 0.85em;
    color: var(--text-light);
    margin-top: 6px;
}

/* CONTACT INFO BOX */
.contact-box {
    background: var(--off-white);
    padding: 35px;
    border-radius: var(--radius-lg);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-icon {
    font-size: 1.5em;
    color: var(--primary);
}

.contact-details h4 {
    margin-bottom: 5px;
}

/* MAP */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow);
}

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

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #e65c19 100%);
    color: var(--white);
    padding: 80px 40px;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1em;
}

/* TRUST BADGES */
.trust-bar {
    background: var(--off-white);
    padding: 30px 40px;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
}

.trust-item {
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95em;
}

.trust-item span {
    display: block;
    font-size: 1.8em;
    color: var(--primary);
    margin-bottom: 5px;
}

/* STAFF CARDS */
.staff-card {
    text-align: center;
}

.staff-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--primary);
}

.staff-card h3 { margin-bottom: 5px; }
.staff-card .title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

/* FOOTER */
.site-footer {
    background: #2f333b;
    color: #999;
    padding: 50px 40px 30px;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1em;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #999;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 25px;
    text-align: center;
    font-size: 0.9em;
}

/* ADA ACCESSIBILITY THEME STYLES */
#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

#theme-toggle:hover { transform: scale(1.1); }

#theme-switcher {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 220px;
    border: 1px solid #eee;
}

#theme-switcher button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    transition: 0.2s;
}

#theme-switcher button:hover { background: #eee; }
#theme-switcher button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

#theme-switcher button:last-child { margin-bottom: 0; }

.hidden { display: none !important; }

/* High Contrast Theme */
body.theme-contrast {
    background: white !important;
}

body.theme-contrast .site-container {
    border: 3px solid black;
    box-shadow: none;
}

body.theme-contrast .card,
body.theme-contrast .faq-item {
    border: 2px solid black;
    background: white;
}

body.theme-contrast .site-header,
body.theme-contrast .hero,
body.theme-contrast .cta-section {
    background: #000 !important;
}

body.theme-contrast a { text-decoration: underline; }

/* Large Text Theme */
body.theme-large {
    font-size: 20px !important;
}

body.theme-large .nav-list a {
    font-size: 1em;
    padding: 20px 28px;
}

body.theme-large h1 { font-size: clamp(2.5em, 6vw, 4em); }
body.theme-large h2 { font-size: 2.5em; }
body.theme-large h3 { font-size: 1.7em; }

/* Print Styles */
@media print {
    .site-header, .main-nav, .cta-section, .site-footer,
    #theme-toggle, #theme-switcher { display: none; }
    .site-container { box-shadow: none; }
    body { background: white; padding: 0; }
}
