@charset "utf-8";
/* Shauna Care Angels – Main Stylesheet */

/* --------------------
   Base
-------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1f2733;
    background-color: #ffffff;
    line-height: 1.6;
}

/* All content images rounded for softer look */
img {
    max-width: 100%;
    display: block;
    border-radius: 18px;
}

/* Do not round logo and small icons */
.logo img,
.service-icon img {
    border-radius: 0;
}

a {
    color: #0b3a6b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --------------------
   Buttons
-------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

/* Primary navy button */
.btn-primary {
    background-color: #0b3a6b;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(11, 58, 107, 0.35);
}

.btn-primary:hover {
    background-color: #072643;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Accent red button */
.btn-accent {
    background-color: #d23136;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(210, 49, 54, 0.35);
}

.btn-accent:hover {
    background-color: #aa262a;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #0b3a6b;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
}

/* --------------------
   Top Bar
-------------------- */

.top-bar {
    background: #0b3a6b;
    color: #ffffff;
    font-size: 0.82rem;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.top-tagline {
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.top-phone,
.top-email {
    color: #ffffff;
    font-weight: 500;
}

.top-divider {
    opacity: 0.7;
}

/* --------------------
   Header & Navigation
-------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #ffffff;
}

/* main nav bar */
.site-header .main-nav {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo img {
    height: 58px;
    width: auto;
}

/* main nav container */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    position: relative;
}

/* top-level list only */
.nav-menu > ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.nav-menu > ul > li {
    position: relative;
}

.nav-menu > ul > li > a {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
}

.nav-menu > ul > li > a:hover {
    border-color: #d23136;
    text-decoration: none;
}

.nav-cta {
    margin-left: 16px;
}

/* --------------------
   Dropdown (Care Services)
-------------------- */

.has-dropdown {
    position: relative;
}

/* compact vertical dropdown under “Care Services” */
.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition:
        opacity 0.15s ease,
        transform 0.15s ease,
        visibility 0.15s;
    z-index: 40;
}

/* make sure dropdown is NOT flex like the top-level menu */
.nav-menu .dropdown {
    display: block;
}

.nav-menu .dropdown li {
    display: block;
    margin: 0;
}

/* tidy dropdown links – neat wrapping */
.nav-menu .dropdown li a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #1f2733;
    white-space: normal;       /* allow wrapping at spaces */
    word-break: keep-all;      /* don’t split Live-in */
    max-width: 150px;         /* keeps “Live-in Care” to 1–2 lines */
}

.nav-menu .dropdown li a:hover {
    background: rgba(11, 58, 107, 0.05);
}

/* show on hover (desktop) */
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --------------------
   Mobile Nav
-------------------- */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #0b3a6b;
}

/* --------------------
   Hero (home)
-------------------- */

.hero {
    position: relative;
    color: #ffffff;
    padding: 84px 0 96px;
    overflow: hidden;
    background:
        linear-gradient(
            115deg,
            rgba(3, 10, 24, 0.94),
            rgba(11, 58, 107, 0.92),
            rgba(210, 49, 54, 0.75)
        ),
        url('/assets/img/hero-homecare.jpg') center/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.18) 0,
        transparent 55%
    );
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 40px;
    align-items: center;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.8;
}

.hero-title {
    font-size: 2.3rem;
    line-height: 1.15;
    margin: 10px 0 12px;
    font-weight: 800;
}

.hero-lede {
    font-size: 1.02rem;
    max-width: 32rem;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-meta {
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-meta strong {
    font-weight: 700;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
}

.hero-card h3 {
    font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.hero-card ul {
    padding-left: 18px;
    margin: 0 0 12px;
    font-size: 0.9rem;
}

.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
}

/* --------------------
   Inner page header
-------------------- */

.page-header {
    position: relative;
    padding: 80px 0 72px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(15, 23, 42, 0.45);
    overflow: hidden;
    background:
        linear-gradient(
            125deg,
            rgba(3, 10, 24, 0.96),
            rgba(11, 58, 107, 0.9),
            rgba(210, 49, 54, 0.78)
        ),
        url('https://shaunacareangels.d-n-s.org.uk/assets/img/hero-homecare.jpg')
            center/cover no-repeat !important;
}

.page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.18) 0,
        transparent 55%
    );
    mix-blend-mode: screen;
    pointer-events: none;
}

.page-header-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.page-header-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 6px;
    opacity: 0.9;
}

.page-header-breadcrumb a {
    color: #f9fafb;
}

.page-header-breadcrumb span {
    opacity: 0.9;
}

.page-header-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffccd0;
    margin-bottom: 4px;
}

.page-header-title {
    font-size: 2.1rem;
    margin: 4px 0 10px;
    font-weight: 800;
}

.page-header-lede {
    max-width: 40rem;
    font-size: 0.98rem;
}

/* --------------------
   Sections
-------------------- */

section {
    padding: 60px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 36px;
}

.section-heading h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.section-heading p {
    max-width: 36rem;
    margin: 0 auto;
    color: #4b5563;
}

/* --------------------
   Services Carousel
-------------------- */

.services-section {
    background: #f4f7fb;
}

.services-carousel {
    position: relative;
    overflow: hidden;
}

.services-track {
    display: flex;
    transition: transform 0.4s ease;
}

.service-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.service-card-inner {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 18px 22px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(11, 58, 107, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.service-icon img {
    width: 24px;
    height: 24px;
}

.service-title {
    font-size: 1.1rem;
    margin: 0;
}

.service-text {
    font-size: 0.92rem;
    color: #4b5563;
}

.service-meta {
    margin-top: auto;
    font-size: 0.85rem;
    color: #6b7280;
}

.services-dots {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.services-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.25);
    cursor: pointer;
}

.services-dots button.is-active {
    background: #d23136;
}

/* multi-card layout on larger screens */
@media (min-width: 700px) {
    .service-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 980px) {
    .service-card {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

/* --------------------
   Two-column info section
-------------------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.split .text-block h2 {
    margin-top: 0;
}

.split .text-block ul {
    padding-left: 18px;
}

/* --------------------
   Intro section
-------------------- */

.intro-section {
    background: #ffffff;
}

.intro-grid {
    display: grid;
    gap: 34px;
    align-items: center;
}

.intro-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: #d23136;
}

.intro-grid h2 {
    margin-top: 6px;
}

.intro-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(11, 58, 107, 0.06);
    font-size: 0.8rem;
    font-weight: 600;
    color: #0b3a6b;
}

/* --------------------
   Steps – How it works
-------------------- */

.steps-section {
    background:
        linear-gradient(0deg, rgba(249, 250, 251, 0.93), rgba(249, 250, 251, 0.93)),
        url('/assets/img/how-it-works-bg.png') center/cover no-repeat;
}

.steps-grid {
    display: grid;
    gap: 22px;
}

.step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 18px 20px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    position: relative;
}

.step-number {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(11, 58, 107, 0.08);
}

.step-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.92rem;
    color: #4b5563;
}

/* --------------------
   Areas we cover
-------------------- */

.areas-section {
    background: #ffffff;
}

.areas-grid {
    display: grid;
    gap: 26px;
    align-items: center;
}

.areas-map-card {
    background: #f4f7fb;
    border-radius: 18px;
    padding: 16px;
    text-align: center;
}

.areas-map-card img {
    max-width: 260px;
    margin: 0 auto 8px;
}

.areas-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    font-size: 0.92rem;
}

.areas-list li + li {
    margin-top: 4px;
}

/* --------------------
   Testimonials
-------------------- */

.testimonials-section {
    background:
        linear-gradient(0deg, rgba(244, 247, 251, 0.94), rgba(244, 247, 251, 0.94)),
        url('/assets/img/testimonials-bg.png') center/cover no-repeat;
}

.testimonials-slider {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.testimonial-card {
    display: none;
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 20px 20px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.15);
}

.testimonial-card.is-active {
    display: block;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 14px;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #6b7280;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.testimonials-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.25);
    cursor: pointer;
}

.testimonials-dots button.is-active {
    background: #d23136;
}

/* --------------------
   Trust strip
-------------------- */

.trust-strip {
    background: #020b16;
    color: #e5e7eb;
    padding: 26px 0;
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-badge {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 6px 14px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trust-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}

/* --------------------
   Quick enquiry strip
-------------------- */

.quick-enquiry {
    background: #f4f7fb;
    color: #111827;
    padding: 24px 0 26px;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.quick-enquiry-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.quick-enquiry-inner p {
    margin: 0;
    max-width: 480px;
}

/* Outline & primary buttons inside quick enquiry */

.quick-enquiry .btn-outline {
    border-color: #0b3a6b;
    color: #0b3a6b;
    background: transparent;
}

.quick-enquiry .btn-outline:hover {
    background: #0b3a6b;
    color: #ffffff;
}

/* main CTA here red */

.quick-enquiry .btn-primary {
    background-color: #d23136;
    box-shadow: 0 6px 14px rgba(210, 49, 54, 0.35);
}

.quick-enquiry .btn-primary:hover {
    background-color: #aa262a;
}

/* --------------------
   Footer
-------------------- */

.site-footer {
    background: #020b16;
    color: #e5e7eb;
    margin-top: 0;
}

.footer-main {
    padding: 42px 0 32px;
}

.footer-grid {
    display: grid;
    gap: 26px;
}

.footer-col h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f9fafb;
}

.footer-col p {
    font-size: 0.9rem;
    color: #9ca3af;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.footer-links li + li {
    margin-top: 5px;
}

.footer-links a {
    color: #d1d5db;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    font-size: 0.9rem;
}

.footer-contact li + li {
    margin-top: 8px;
}

.footer-contact a {
    color: #e5e7eb;
}

/* Footer Request Care button in red */

.site-footer .btn-primary {
    background-color: #d23136;
    box-shadow: 0 6px 14px rgba(210, 49, 54, 0.35);
}

.site-footer .btn-primary:hover {
    background-color: #aa262a;
}

/* Copyright bar */

.footer-bottom {
    background: #d23136;
    color: #ffffff;
    border-top: none;
    padding: 10px 0;
    font-size: 0.8rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #ffe4e5;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links span {
    margin: 0 4px;
}

/* --------------------
   Modal & Forms
-------------------- */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 16px;
}

.modal.is-open {
    display: flex;
}

.modal-dialog {
    background: #ffffff;
    border-radius: 18px;
    max-width: 420px;
    width: 100%;
    padding: 22px 20px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.modal-dialog h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.modal-dialog p {
    font-size: 0.9rem;
    color: #4b5563;
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.form-row {
    margin-bottom: 12px;
}

.form-row label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 0.9rem;
}

/* --------------------
   Layout – larger screens
-------------------- */

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    }
}

@media (min-width: 780px) {
    .intro-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .areas-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    }
}

/* --------------------
   Layout – mobile
-------------------- */

@media (max-width: 880px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 780px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px 16px;
    }

    .nav-inner {
        padding: 10px 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 16px 14px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        display: none;
        z-index: 30;
    }

    /* opened via JS (nav-menu.classList.toggle('open')) */
    .nav-menu.open {
        display: flex;
    }

    .nav-menu > ul {
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 6px;
    }

    /* mobile dropdown – nested list under “Care Services” */
    .has-dropdown .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 4px 0 0 12px;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
    }

    .nav-menu .dropdown li a {
        padding: 6px 0;
        max-width: none;
    }

    .hero {
        padding-top: 56px;
    }

    .footer-main {
        padding-top: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
}

/* Mobile stacking for split sections */
@media (max-width: 780px) {
    .split {
        grid-template-columns: 1fr !important;
        text-align: left;
    }

    .split > div:last-child {
        order: -1;                 /* Image on top */
    }

    .split img {
        width: 100%;
        border-radius: 18px;
        margin-bottom: 20px;
    }
}

/* Global alert cards (success / error messages) */
.alert-card {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.92rem;
}

.alert-card strong {
    display: block;
    margin-bottom: 2px;
}

.alert-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
