/* =====================================================
   Aced Health Care LLC - Adult Family Home Website
   Warm, professional, home-like design
   ===================================================== */

:root {
    --gold: #C9A84C;
    --gold-dark: #B8943A;
    --gold-light: #E8D5A3;
    --teal: #2A6F8F;
    --teal-dark: #1E5A7A;
    --teal-light: #3A8BB0;
    --sage: #8BA888;
    --cream: #F8F4ED;
    --ivory: #FFFCF7;
    --warm-gray: #E8E4DC;
    --charcoal: #2C2C2C;
    --soft-navy: #1A3A4A;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(42, 111, 143, 0.08);
    --shadow-hover: 0 8px 30px rgba(42, 111, 143, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
    color: var(--soft-navy);
    line-height: 1.3;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

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

a:hover {
    color: var(--gold-dark);
}

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

/* ========== HEADER ========== */
.top-bar {
    background: var(--teal-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar a {
    color: var(--gold-light);
    font-weight: 600;
}

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

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: 12px 0;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    height: 70px;
    width: auto;
}

.logo-text {
    display: none;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

nav a {
    color: var(--soft-navy);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 6px;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    background: var(--cream);
    color: var(--teal);
}

.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.45);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: var(--teal-dark);
    color: var(--white);
    transform: translateY(-2px);
}

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

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

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

/* ========== CONTAINER ========== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, rgba(42, 111, 143, 0.92), rgba(30, 90, 122, 0.88)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23F8F4ED" width="100" height="100"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 90px 0 100px;
    text-align: center;
    position: relative;
}

.hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero .subheadline {
    font-size: 1.35rem;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 24px;
}

.hero p {
    max-width: 720px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.rn-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--soft-navy);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========== SECTIONS ========== */
section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: #555;
    margin-top: 16px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--gold);
}

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

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--teal-light), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: white;
    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 12px;
    color: var(--teal-dark);
}

/* Mission box */
.mission-box {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.mission-box h3 {
    color: var(--gold-light);
    margin-bottom: 16px;
}

.mission-box p {
    font-size: 1.15rem;
    font-style: italic;
    margin: 0;
}

/* Service list */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow-hover);
}

.service-item .icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--teal);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--gold-light);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.5;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--teal-dark);
}

.testimonial-role {
    font-size: 0.9rem;
    color: #777;
}

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 700;
    color: var(--soft-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question span {
    font-size: 1.4rem;
    color: var(--gold);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 24px 20px;
    display: none;
    color: #555;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* Contact form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    margin-bottom: 20px;
    color: var(--teal-dark);
}

.info-row {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.info-row .icon {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--soft-navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--warm-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: var(--white);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Map */
.map-section {
    margin-top: 50px;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 350px;
    background: var(--warm-gray);
}

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

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

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

.cta-banner p {
    max-width: 600px;
    margin: 0 auto 28px;
    opacity: 0.95;
}

/* ========== FOOTER ========== */
footer {
    background: var(--soft-navy);
    color: #c5d0d8;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 16px;
    background: white;
    border-radius: 8px;
    padding: 4px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: #c5d0d8;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--gold-light);
}

/* Page hero (inner pages) */
.page-hero {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-hero p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content pages */
.content-section {
    padding: 60px 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.highlight-box {
    background: var(--white);
    border-left: 5px solid var(--gold);
    padding: 28px 32px;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
    margin: 30px 0;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-success {
    background: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #fce8e6;
    color: #c5221f;
    border: 1px solid #f5c6cb;
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.gold-text { color: var(--gold-dark); }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .hero h1 { font-size: 2.1rem; }
    .hero { padding: 60px 0 70px; }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 16px;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 4px;
    }

    nav a {
        display: block;
        padding: 12px 16px;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .nav-cta {
        width: 100%;
        justify-content: space-between;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .logo-area img {
        height: 55px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 280px;
    }
}
/* ========== IMAGE PLACEHOLDERS & GALLERY ========== */
.img-placeholder {
    background: linear-gradient(145deg, #e8f0f5, #d4e4ed);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-weight: 600;
    text-align: center;
    padding: 20px;
    min-height: 220px;
    border: 2px dashed var(--teal-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.img-placeholder:hover {
    border-color: var(--gold);
    background: linear-gradient(145deg, #f0f7fb, #e0eef6);
}

.img-placeholder .ph-icon {
    font-size: 2.8rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.img-placeholder .ph-label {
    font-size: 0.9rem;
    color: var(--soft-navy);
    max-width: 180px;
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.9;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    position: relative;
}

.gallery-item .img-placeholder {
    height: 100%;
    min-height: 100%;
    border: none;
    border-radius: 0;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26,58,74,0.85));
    color: white;
    padding: 30px 16px 14px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Owner Spotlight */
.owner-spotlight {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.owner-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--gold);
    box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.owner-photo .img-placeholder {
    height: 100%;
    min-height: 100%;
    border: none;
    border-radius: 50%;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    counter-reset: step;
    margin-top: 30px;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    counter-increment: step;
}

.step-card::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.step-card h4 {
    margin-bottom: 10px;
    color: var(--teal-dark);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--gold);
    transition: var(--transition);
}

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

.value-card .v-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

/* Photo + Text split */
.photo-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.photo-text.reverse {
    direction: rtl;
}
.photo-text.reverse > * {
    direction: ltr;
}

@media (max-width: 768px) {
    .owner-spotlight {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .owner-photo {
        max-width: 220px;
        margin: 0 auto;
    }
    .photo-text,
    .photo-text.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}
